:root {
  --paper: #f4efe4;
  --paper-deep: #ebe3d3;
  --card: #fffdf7;
  --ink: #26221b;
  --muted: #817868;
  --dim: #a59b89;
  --line: #e2d8c3;
  --acid: #b6f542;
  --acid-dark: #7da92f;
  --shadow: rgba(61, 49, 31, 0.14);
  --mono: "SFMono-Regular", "SF Mono", "JetBrains Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}
button,
a {
  font: inherit;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
mark {
  padding: 0 0.18em;
  color: inherit;
  background: linear-gradient(
    transparent 28%,
    var(--acid) 28%,
    var(--acid) 84%,
    transparent 84%
  );
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 56px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(55, 47, 34, 0.08);
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(16px);
}
.brand {
  justify-self: start;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.site-header nav {
  display: flex;
  gap: 27px;
  font-size: 11px;
  color: var(--muted);
}
.site-header nav a:hover {
  color: var(--ink);
}
.header-cta {
  justify-self: end;
  padding: 8px 15px;
  border: 0;
  border-radius: 3px;
  color: var(--card);
  background: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}
.paper-section,
.white-section,
.terminal-section {
  padding: 112px 0;
}
.white-section {
  background: var(--card);
}
.terminal-section {
  background: #eee5d4;
}
.hero {
  display: grid;
  place-items: center;
  min-height: 760px;
  padding-top: 78px;
  text-align: center;
}
.hero-inner {
  width: min(970px, calc(100% - 48px));
}
.eyebrow,
.kick {
  margin: 0 0 18px;
  color: var(--acid-dark);
  font: 700 11px/1.4 var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(39px, 5.3vw, 72px);
  line-height: 1.17;
  letter-spacing: -0.055em;
}
.hero-lead {
  margin: 28px auto 10px;
  max-width: 820px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 750;
  line-height: 1.55;
}
.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.button,
.start-grid button,
.evidence-placeholder button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.button:active,
.start-grid button:active,
.header-cta:active {
  transform: translateY(1px);
}
.primary,
.start-grid button {
  color: var(--card);
  background: var(--ink);
}
.secondary,
.outline {
  color: var(--ink) !important;
  background: transparent !important;
}
.hero-note {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 11px;
}
.hero-proof {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 27px;
  color: var(--muted);
  font: 600 10px/1.4 var(--mono);
}
.hero-proof span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--acid-dark);
}

.section-heading {
  max-width: 760px;
}
.section-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(31px, 4vw, 51px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}
.section-heading > p:last-child {
  margin: 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 15px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.pain-grid article {
  position: relative;
  min-height: 170px;
  padding: 29px 32px 26px 74px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.pain-grid .number {
  position: absolute;
  top: 29px;
  left: 27px;
  color: var(--acid-dark);
  font: 800 12px/1 var(--mono);
}
.pain-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.pain-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.solution-banner {
  margin-top: 24px;
  padding: 38px 44px;
  border-radius: 9px;
  color: var(--card);
  background: var(--ink);
  box-shadow: 0 18px 44px -24px rgba(38, 34, 27, 0.55);
}
.solution-banner p {
  margin: 0;
  color: #b9b09e;
  font-size: 13px;
}
.solution-banner h3 {
  margin: 6px 0 4px;
  font-size: 25px;
}
.solution-banner span {
  display: block;
  color: #d8d0c0;
  font-size: 13px;
}
.solution-banner a {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 3px;
  color: var(--ink);
  background: var(--acid);
  font-size: 11px;
  font-weight: 850;
}

.system-map {
  max-width: 820px;
  margin: 58px auto 0;
  text-align: center;
}
.map-node {
  padding: 23px 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
.map-node strong,
.map-node small {
  display: block;
}
.map-node strong {
  margin-top: 8px;
  font-size: 19px;
}
.map-node small {
  color: var(--muted);
  font-size: 12px;
}
.map-icons {
  display: flex;
  justify-content: center;
  gap: 9px;
}
.map-icons span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-deep);
  font-size: 12px;
  font-weight: 850;
}
.engine {
  background: #fbf8ef;
}
.engine-glyph {
  display: block;
  color: var(--acid-dark);
  font-size: 26px;
  line-height: 1;
}
.map-arrow {
  padding: 14px 0;
  color: var(--acid-dark);
  font-weight: 900;
}
.map-arrow span {
  margin-left: 9px;
  color: var(--muted);
  font: 500 10px/1 var(--mono);
}
.map-equals {
  margin: 8px 0;
  font: 900 22px/1 var(--mono);
}
.output {
  border-color: var(--acid-dark);
  box-shadow: inset 0 0 0 1px var(--acid);
}
.map-caption {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 800;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 62px 0 24px;
  border-block: 1px solid var(--line);
}
.metric-strip div {
  padding: 28px 18px;
  text-align: center;
}
.metric-strip div + div {
  border-left: 1px solid var(--line);
}
.metric-strip strong {
  display: block;
  font: 850 38px/1 var(--mono);
}
.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.deliverable-grid article {
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 247, 0.55);
}
.deliverable-grid article > span {
  color: var(--acid-dark);
  font: 800 11px/1 var(--mono);
}
.deliverable-grid h3 {
  margin: 14px 0 5px;
  font-size: 15px;
}
.deliverable-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.showcase-section {
  overflow: hidden;
}
.cover-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: 52px;
}
.cover-stage figure {
  margin: 0;
}
.cover-stage figure:nth-child(2) {
  transform: translateY(34px);
}
.cover-stage img {
  aspect-ratio: 1;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 24px 50px -25px var(--shadow);
}
.cover-stage figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  font-size: 12px;
}
.cover-stage figcaption span {
  color: var(--muted);
  text-align: right;
}

.steps {
  margin-top: 65px;
  border-top: 1px solid var(--line);
}
.steps article {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.step-no {
  color: var(--acid-dark);
  font: 850 34px/1 var(--mono);
}
.step-kicker {
  margin: 0;
  color: var(--muted);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.steps h3 {
  margin: 8px 0;
  font-size: 25px;
}
.steps article div > p:not(.step-kicker) {
  max-width: 630px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
}
.steps b {
  padding-bottom: 3px;
  background: linear-gradient(transparent 66%, var(--acid) 66%);
  font-size: 12px;
}
.workflow-closer {
  padding-top: 70px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
}
.workflow-closer strong {
  color: var(--acid-dark);
}

.terminal-section .section-heading {
  margin-bottom: 48px;
}
.terminal {
  overflow: hidden;
  border: 1px solid #3a342b;
  border-radius: 9px;
  background: #211e19;
  box-shadow: 0 28px 60px -24px rgba(31, 25, 17, 0.55);
}
.terminal-bar {
  position: relative;
  display: flex;
  gap: 7px;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #3d382e;
}
.terminal-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #625b4f;
}
.terminal-bar b {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #8e8678;
  font: 600 10px/1 var(--mono);
}
.terminal-body {
  padding: 34px;
}
.chat {
  margin: 0 0 25px;
}
.chat small {
  display: block;
  margin-bottom: 7px;
  color: #80776a;
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.12em;
}
.chat p {
  max-width: 720px;
  margin: 0;
  color: #e8e0d2;
  font-size: 13px;
}
.chat.agent p {
  color: #c9c0b0;
}
.chat i {
  color: var(--acid);
  font-style: normal;
}
.command {
  margin: -10px 0 26px;
  padding: 12px 15px;
  border-left: 2px solid var(--acid);
  color: var(--acid);
  background: #191713;
  font: 500 11px/1.5 var(--mono);
}
.release-card {
  margin-top: 35px;
  padding: 24px;
  border: 1px solid #4c463a;
  border-radius: 6px;
  background: #29251e;
}
.release-card small {
  display: block;
  color: var(--acid);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.14em;
}
.release-card strong {
  display: block;
  margin: 10px 0 17px;
  color: #fff8e9;
  font-size: 20px;
}
.release-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.release-card span {
  padding: 5px 9px;
  border: 1px solid #4d473b;
  border-radius: 3px;
  color: #aaa191;
  font: 500 9px/1 var(--mono);
}

.package-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 22px;
  margin-top: 54px;
}
.folder-tree {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.folder-title {
  margin-bottom: 18px;
  font: 800 13px/1.4 var(--mono);
}
.folder-tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.folder-tree li {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.folder-tree li span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 22px;
  border-radius: 3px;
  color: var(--ink);
  background: var(--acid);
  font: 800 9px/1 var(--mono);
}
.package-notes {
  display: grid;
  gap: 12px;
}
.package-notes article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.package-notes b {
  color: var(--acid-dark);
  font: 750 10px/1 var(--mono);
}
.package-notes h3 {
  margin: 9px 0 5px;
  font-size: 17px;
}
.package-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.proof-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
.proof-grid strong {
  font: 900 44px/1 var(--mono);
}
.proof-grid h3 {
  margin: 13px 0 8px;
  font-size: 16px;
}
.proof-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.evidence-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 15px;
  padding: 30px;
  border: 1px dashed var(--dim);
  border-radius: 9px;
}
.evidence-placeholder span {
  color: var(--acid-dark);
  font: 750 10px/1 var(--mono);
}
.evidence-placeholder h3 {
  margin: 10px 0 4px;
}
.evidence-placeholder p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.evidence-placeholder button {
  flex: 0 0 auto;
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
}

.faq-list {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  padding: 22px 50px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 800;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 20px;
  font: 400 23px/1 var(--mono);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  max-width: 820px;
  margin: -3px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.start-grid article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
.start-grid article > span {
  color: var(--acid-dark);
  font: 750 10px/1.4 var(--mono);
}
.start-grid h3 {
  margin: 13px 0 10px;
  font-size: 21px;
  line-height: 1.45;
}
.start-grid p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
}
.start-grid button {
  min-height: 39px;
}
footer {
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  font: 600 9px/1.5 var(--mono);
  letter-spacing: 0.08em;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(38, 34, 27, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.modal-mask.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 34px;
  border-radius: 9px;
  background: var(--card);
  transform: translateY(10px);
  transition: transform 180ms ease;
}
.modal-mask.is-open .modal-card {
  transform: translateY(0);
}
.modal-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
}
.modal-card > p:not(.kick) {
  color: var(--muted);
  font-size: 13px;
}
.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}
.contact-card {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  text-align: center;
}
.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card strong {
  display: block;
  font: 850 24px/1.25 var(--mono);
  letter-spacing: -0.03em;
}
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  padding: 11px 15px;
  border-radius: 4px;
  color: var(--card);
  background: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  font-size: 11px;
  transition: 180ms ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .modal-mask,
  .modal-card,
  .toast {
    transition: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }
  .site-header nav {
    display: none;
  }
  .wrap,
  .hero-inner {
    width: min(100% - 32px, 680px);
  }
  .paper-section,
  .white-section,
  .terminal-section {
    padding: 78px 0;
  }
  .hero {
    min-height: 690px;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: clamp(35px, 9.4vw, 52px);
  }
  .pain-grid,
  .deliverable-grid,
  .cover-stage,
  .proof-grid,
  .start-grid,
  .package-layout {
    grid-template-columns: 1fr;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric-strip div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .cover-stage {
    max-width: 520px;
    margin-inline: auto;
  }
  .cover-stage figure:nth-child(2) {
    transform: none;
  }
  .steps article {
    grid-template-columns: 66px 1fr;
  }
  .evidence-placeholder {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 10px;
  }
  .header-cta {
    padding: 7px 10px;
  }
  .hero {
    min-height: 650px;
    text-align: left;
  }
  .hero-actions,
  .hero-proof {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-proof {
    gap: 10px;
  }
  .button {
    width: 100%;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .pain-grid article {
    padding-left: 60px;
  }
  .solution-banner {
    padding: 30px 25px;
  }
  .metric-strip strong {
    font-size: 30px;
  }
  .terminal-body {
    padding: 22px;
  }
  .terminal-bar b {
    display: none;
  }
  .release-card div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .steps article {
    grid-template-columns: 1fr;
  }
  .step-no {
    font-size: 24px;
  }
  .workflow-closer {
    font-size: 19px;
  }
}
