@font-face { font-family: Geist; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --paper: #f6f6f0;
  --white: #ffffff;
  --ink: #191b18;
  --muted: #60635c;
  --accent: #cc3b08;
  --orange: #f4511e;
  --peach: #ffe5d9;
  --mint: #e0eddf;
  --green: #35633f;
  --line: #dcdfd4;
  --line-strong: #a8afa1;
  --grid: #e4e7dc;
  /* Thin sheet edges keep the hero's depth inside the drawing. */
  --iso-platform: #eef0e6;
  --iso-side: #e7ead9;
  --iso-peach-side: #f7d8c3;
  --iso-mint-side: #d0dfcb;
  --sans: Geist, system-ui, sans-serif;
  --mono: 'Geist Mono', monospace;
  --ease-out: cubic-bezier(.2, 0, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
body { scrollbar-color: var(--line-strong) var(--paper); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button, .button, .nav-action { transition: background-color 150ms var(--ease-out), transform 150ms var(--ease-out); }
button:active, .button:active, .nav-action:active { transform: scale(.97); }
svg { display: block; }
p, h1, h2, figure { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.04em; line-height: 1.07; text-wrap: balance; }
p { color: var(--muted); }
.page-frame { max-width: 1280px; margin: 0 auto; border-inline: 1px solid var(--line); }
.navigation { display: flex; align-items: center; justify-content: space-between; min-height: 94px; padding: 0 48px; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 26px; font-weight: 600; letter-spacing: -.05em; }
.brand svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
nav { display: flex; gap: 32px; font-size: 14px; }
nav a:hover, .text-link:hover { color: var(--accent); }
.nav-action { font-size: 13px; border: 1px solid var(--line-strong); padding: 9px 15px; }
.nav-action:hover { background: var(--peach); }
.hero { padding: 73px 48px 49px; }
.hero-heading { position: relative; }
h1 { font-size: clamp(52px, 7.6vw, 96px); max-width: 1060px; }
.accent { color: var(--accent); position: relative; display: inline-block; }
.line { display: block; overflow: hidden; padding-bottom: .15em; margin-bottom: -.15em; }
.line-inner { display: block; }
.h1-underline { position: absolute; left: 0; bottom: -.11em; width: 103%; height: .13em; overflow: visible; }
.h1-underline path { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; }
.corner-mark { position: absolute; right: 0; top: 5px; height: 20px; width: 20px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  html.is-booted .line-inner { animation: line-rise 0.7s var(--ease-out) both; }
  html.is-booted .line:nth-child(2) .line-inner { animation-delay: .09s; }
  html.is-booted .hero-bottom { animation: rise-in .6s var(--ease-out) .4s both; }
  html.is-booted .hero-heading .corner-mark { animation: corner-in .4s var(--ease-out) .55s both; }
  html.is-booted .h1-underline path { animation: underline-draw .7s var(--ease-out) .35s both; }
}
@keyframes line-rise { 0% { transform: translateY(112%); } 100% { transform: translateY(0); } }
@keyframes rise-in { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
@keyframes corner-in { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: none; } }
@keyframes underline-draw { 0% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 0; } }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-top: 37px; }
.hero-bottom p { font-size: 18px; max-width: 540px; line-height: 1.55; }
.hero-actions { display: flex; flex-direction: column; gap: 17px; align-items: start; min-width: 255px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 12px 22px; font-weight: 500; font-size: 15px; }
.button svg { transition: transform .15s var(--ease-out); }
.button:hover svg { transform: translateX(3px); }
.primary { color: var(--white); background: var(--accent); }
.primary:hover { background: #a93108; }
.button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.text-link { font-size: 14px; display: inline-flex; align-items: center; gap: 17px; text-decoration: underline; text-decoration-color: var(--line-strong); }
.text-link span[aria-hidden] { display: inline-block; transition: transform .15s var(--ease-out); }
.text-link:hover span[aria-hidden] { transform: translate(2px, -2px); }
.circuit { border-top: 1px solid var(--line); }
.figure-top, .circuit figcaption { display: flex; justify-content: space-between; align-items: center; padding: 12px 25px; gap: 20px; }
.figure-top { font: 11px var(--mono); border-bottom: 1px solid var(--line); }
.circuit-art { width: 100%; height: auto; }
.circuit figcaption { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.paper { fill: var(--paper); stroke: var(--line-strong); stroke-width: 1; }
.sheet-lines { fill: none; stroke: var(--line-strong); }
.svg-label { font: 11px var(--mono); letter-spacing: .035em; fill: var(--ink); stroke: none; }
.svg-copy { font: 13px var(--sans); fill: var(--ink); stroke: none; }
.station-2 .svg-copy, .q-chip .svg-copy { fill: var(--accent); }
.svg-small { font: 11px var(--sans); fill: var(--muted); stroke: none; }
.svg-code { font: 13px var(--mono); fill: var(--green); }
.principle-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); font: 12px var(--mono); }
.principle-strip span { padding: 23px 12px; text-align: center; }
.principle-strip span + span { border-left: 1px solid var(--line); }
.section-pad { padding: 88px 48px; }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; }
.intro p { align-self: end; max-width: 430px; }
/* Trust gap: the confidence numbers are product facts, styled as a ruled register. */
.gap { border-top: 1px solid var(--line); }
.gap-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; margin-bottom: 64px; }
.gap-head p { align-self: end; max-width: 430px; }
.gap-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.gap-stat { border-top: 1px solid var(--line-strong); padding-top: 22px; position: relative; }
.gap-stat::before { content: ''; position: absolute; top: -3.5px; left: 0; width: 7px; height: 7px; background: var(--accent); }
.stat-number { display: block; font-size: clamp(46px, 5.4vw, 78px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.gap-stat:first-child .stat-number { color: var(--accent); }
.stat-unit { font-size: .55em; letter-spacing: 0; }
.stat-label { display: block; margin-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 26ch; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.start { scroll-margin-top: 24px; }
.chapter-copy { padding: 45px 48px 49px; }
.chapter-copy > .chapter-status { font: 12px var(--mono); margin-top: 16px; }
.chapter-status.prototype { color: var(--accent); }
.benchmark-note { font-size: 12px; }
.prototype { color: var(--accent); }
.chapter h2 { font-size: clamp(32px, 3.7vw, 46px); }
.chapter-copy > p { margin-top: 24px; font-size: 16px; }
.detail-list { list-style: none; margin: 29px 0; padding: 0; }
.detail-list li { border-top: 1px solid var(--line); padding: 15px 0; }
.detail-list strong { display: block; font-size: 14px; font-weight: 500; }
.detail-list span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.chapter-copy .honest-note { font-size: 12px; max-width: 340px; }
.chapter figure { border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; background: #eef0e7; }
.chapter figure svg { width: 100%; }
.chapter figcaption { font: 11px var(--mono); padding: 17px 26px; border-top: 1px solid var(--line); }
.after .chapter-copy { grid-column: 2; grid-row: 1; }
.after figure { grid-column: 1; grid-row: 1; border-left: 0; border-right: 1px solid var(--line); background: #edf2e9; }
.local { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: center; }
.local p { max-width: 510px; margin-top: 26px; }
.local-art { width: 100%; }
/* Confidence loop: four sequential steps on one rail, reading order left to right. */
.loop { border-top: 1px solid var(--line); }
.loop h2 { margin-bottom: 58px; }
.loop-steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
.loop-step { border-top: 1px solid var(--line-strong); padding: 22px 0 0; position: relative; }
.loop-step::before { content: ''; position: absolute; top: -3.5px; left: 0; width: 7px; height: 7px; background: var(--accent); }
.step-index { display: block; font: 12px var(--mono); letter-spacing: .035em; color: var(--accent); margin-bottom: 15px; }
.loop-step strong { display: block; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.loop-step p { font-size: 14px; max-width: 30ch; }
.loop-step code { font: 13px var(--mono); background: var(--peach); padding: 1px 5px; }
.loop-note { margin-top: 46px; font: 12px var(--mono); color: var(--muted); }
.loop-note::before { content: '✓ '; color: var(--green); }
/* Handoff: the structured verdict the agent receives, as a contract document. */
.handoff { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.handoff-copy p { margin-top: 22px; max-width: 470px; }
.handoff-copy .text-link { margin-top: 26px; }
.handoff-copy code, .handoff-figure figcaption code { font: 13px var(--mono); background: var(--peach); padding: 1px 5px; }
.handoff-figure { border: 1px solid var(--line-strong); background: var(--paper); min-width: 0; }
.handoff-json { margin: 0; padding: 24px 26px; font: 12.5px/1.8 var(--mono); color: var(--ink); overflow-x: auto; }
.handoff-json .j-key { color: var(--ink); }
.handoff-json .j-str { color: var(--green); }
.handoff-json .j-punc { color: var(--muted); }
.handoff-figure figcaption { font: 11px var(--mono); color: var(--muted); padding: 15px 26px; border-top: 1px solid var(--line); }
.start { border-block: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; background: var(--peach); }
.start h2 { font-size: clamp(32px, 3.7vw, 46px); }
.start-copy p { margin: 23px 0; max-width: 400px; color: #715342; }
.install { align-self: center; min-width: 0; }
.install label { font: 11px var(--mono); }
.command { display: flex; align-items: center; gap: 13px; padding: 12px 13px 12px 18px; border: 1px solid #c3957f; background: var(--paper); margin-top: 13px; }
.command > span { color: var(--accent); }
.command input { border: 0; background: transparent; min-width: 0; width: 100%; outline-offset: 1px; font: 13px var(--mono); caret-color: var(--accent); }
.copy-command { display: grid; place-items: center; background: transparent; border: 0; min-width: 36px; height: 36px; }
.copy-command:hover { background: var(--peach); }
.copy-command svg { height: 18px; width: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.icon-check { display: none; }
.copy-command .icon-check { stroke: var(--green); }
.copy-command.is-copied .icon-copy { display: none; }
.copy-command.is-copied .icon-check { display: block; }
.command:has(.copy-command.is-copied) { border-color: var(--green); }
.install p { font-size: 12px; margin: 18px 0 9px; color: #715342; }
.install code { font: 14px var(--mono); }
.install .copy-status { min-height: 20px; margin-bottom: 0; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 90px; }
.faq h2 { font-size: 36px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; padding: 21px 30px 21px 0; cursor: pointer; font-size: 15px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 2px; top: 26px; width: 10px; height: 10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform 150ms var(--ease-out); }
details[open] summary::after { transform: rotate(225deg); top: 31px; }
details p { font-size: 14px; padding: 0 28px 23px 0; }
footer { border-top: 1px solid var(--line); }
.footer-top { padding: 26px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-top > span, .footer-top > a:last-child { font-size: 13px; }
.footer-word { padding: 0 37px; font-weight: 500; font-size: clamp(90px, 20vw, 268px); letter-spacing: -.075em; line-height: 1.16; color: #dfe3d6; overflow: hidden; }
.footer-bottom { padding: 23px 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--muted); }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px; background: var(--paper); z-index: 2; }
.skip-link:focus { top: 10px; }
@media (max-width: 900px) {
  .navigation { padding-inline: 26px; min-height: 80px; }
  nav { gap: 20px; font-size: 12px; }
  .hero, .section-pad { padding-inline: 30px; }
  .hero-bottom { gap: 24px; }
  .hero-bottom p { font-size: 16px; }
  .chapter-copy { padding: 36px 28px; }
  .intro, .local, .start, .faq { gap: 35px; }
  .gap-head { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
  .gap-stats { grid-template-columns: repeat(2, 1fr); }
  .loop-steps { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .handoff { grid-template-columns: 1fr; gap: 44px; }
  .local { grid-template-columns: 1fr 260px; }
  .principle-strip { grid-template-columns: repeat(2, 1fr); }
  .principle-strip span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .principle-strip span:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 750px) {
  .intro, .local, .start, .faq, .chapter { grid-template-columns: 1fr; gap: 0; }
  .after .chapter-copy, .after figure { grid-column: auto; grid-row: auto; }
  .gap-stats { grid-template-columns: 1fr 1fr; }
  .loop-steps { grid-template-columns: 1fr; row-gap: 30px; }
  .handoff { grid-template-columns: 1fr; gap: 0; }
  .handoff-copy p { max-width: none; }
  .chapter figure svg { max-height: 420px; }
  .chapter svg .svg-label, .chapter svg .svg-copy, .chapter svg .svg-small, .chapter svg .svg-code { font-size: 19px; letter-spacing: 0; }
}
@media (max-width: 600px) {
  .navigation { padding: 0 20px; min-height: 76px; gap: 10px; }
  nav { display: none; }
  .brand { font-size: 25px; }
  .hero { padding: 51px 20px 35px; }
  h1 { font-size: clamp(44px, 9.2vw, 55px); }
  .corner-mark { width: 12px; height: 12px; right: 0; top: -18px; }
  .hero-bottom { flex-direction: column; align-items: start; margin-top: 25px; gap: 25px; }
  .hero-bottom p { max-width: 36ch; }
  .hero-actions { flex-direction: row; align-items: center; gap: 17px; flex-wrap: wrap; }
  .button { font-size: 13px; padding: 11px 15px; gap: 13px; }
  .text-link { font-size: 13px; }
  .figure-top { font-size: 11px; padding: 9px 12px; gap: 5px; }
  .figure-top > span { max-width: 20ch; }
  .circuit figcaption { padding: 10px 14px; font-size: 12px; gap: 8px; }
  .principle-strip { font-size: 11px; }
  .principle-strip span { padding: 17px 8px; }
  .section-pad { padding: 53px 20px; }
  .intro, .local, .start, .faq, .chapter { grid-template-columns: 1fr; gap: 0; }
  h2 { font-size: 33px; }
  .intro p { margin-top: 27px; }
  .chapter-copy { padding: 33px 20px; }
  .chapter h2 { font-size: 36px; }
  .chapter figure, .after figure { border-inline: 0; border-top: 1px solid var(--line); }
  .after .chapter-copy, .after figure { grid-column: auto; grid-row: auto; }
  .local-art { max-width: 300px; margin: 33px auto 0; }
  .start h2 { font-size: 34px; }
  .install { margin-top: 36px; }
  .faq h2 { font-size: 31px; margin-bottom: 30px; }
  .footer-top { padding: 23px 20px; flex-wrap: wrap; }
  .footer-top > span { display: none; }
  .footer-word { padding-inline: 13px; font-size: 22vw; }
  .footer-bottom { padding: 18px 20px; gap: 18px; font-size: 11px; }
}
