:root {
  --ink: #11130f;
  --ink-2: #191c17;
  --paper: #f0eee5;
  --paper-2: #e4e0d4;
  --acid: #d9ff43;
  --signal: #f05b35;
  --blue: #3658e8;
  --muted: #6e7168;
  --line: rgba(17, 19, 15, .18);
  --line-light: rgba(240, 238, 229, .2);
  --pad: clamp(22px, 5.2vw, 82px);
  --sans: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 1100; top: 8px; left: 8px; padding: 8px 12px; color: var(--ink); background: var(--acid); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; min-height: 76px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: var(--paper); border-bottom: 1px solid var(--line-light); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { position: relative; width: 29px; height: 31px; border-inline: 2px solid var(--paper); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; left: 3px; right: 3px; height: 1px; background: var(--acid); transform: rotate(-13deg); }
.brand-mark::before { top: 8px; }
.brand-mark::after { bottom: 8px; }
.brand-mark i { position: absolute; inset: 14px -6px auto; height: 3px; background: var(--signal); }
.brand-name { font-size: 19px; }
.brand-name span { color: var(--acid); }
.brand small { margin-left: 3px; color: #8d9387; font: 9px/1 var(--mono); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.nav-links a { padding: 10px 12px; color: #c5c8be; font-size: 12px; letter-spacing: .06em; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: 10px; color: var(--ink) !important; background: var(--acid); }
.nav-cta span { margin-left: 12px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; padding: 0; color: var(--paper); background: transparent; border: 1px solid var(--line-light); }
.menu-toggle span { display: block; width: 17px; height: 1px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(440px, .98fr) minmax(540px, 1.02fr); align-items: center; gap: clamp(38px, 5vw, 88px); padding: 138px var(--pad) 72px; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero-grid { position: absolute; inset: 76px 0 0; pointer-events: none; opacity: .22; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(104deg, #000, transparent 72%); }
.hero-index { position: absolute; top: 112px; right: 0; width: 46px; display: grid; justify-items: center; gap: 8px; color: #878d82; font: 9px/1 var(--mono); }
.hero-index b { color: var(--acid); font-size: 18px; }
.hero-index i { width: 1px; height: 74px; background: var(--line-light); }
.hero-index small { writing-mode: vertical-rl; letter-spacing: .2em; }
.hero-copy, .hero-rail { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 29px; font: 10px/1.3 var(--mono); letter-spacing: .15em; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--signal); }
.eyebrow b { color: #858b81; font-weight: 400; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(48px, 5.4vw, 96px); font-weight: 850; line-height: .93; letter-spacing: -.075em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-top: .16em; color: var(--acid); font-family: var(--serif); font-weight: 400; letter-spacing: -.07em; }
.hero-lead { max-width: 670px; margin: 35px 0 0; color: #bdc2b7; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 228px; padding: 15px 18px; font-size: 13px; font-weight: 750; }
.button span { margin-left: 24px; }
.button-primary { color: var(--ink); background: var(--acid); }
.button-primary:hover { background: #e4ff73; }
.text-link { padding: 10px 0 7px; color: #d1d4cc; font-size: 12px; border-bottom: 1px solid #5f655b; }
.text-link span { margin-left: 13px; color: var(--signal); }
.availability { display: flex; align-items: center; gap: 9px; margin: 32px 0 0; color: #7f857a; font: 9px/1 var(--mono); letter-spacing: .11em; }
.availability i { width: 7px; height: 7px; background: var(--acid); box-shadow: 0 0 0 4px rgba(217,255,67,.12); }

.hero-rail { min-width: 0; transform: rotate(-2deg); }
.rail-caption, .rail-footer { display: flex; justify-content: space-between; gap: 20px; font: 9px/1 var(--mono); letter-spacing: .13em; }
.rail-caption { margin-bottom: 12px; color: #91978c; }
.rail-caption b { color: var(--acid); font-weight: 400; }
.rail-board { position: relative; min-height: 510px; background: #151813; border: 1px solid #454a42; box-shadow: 20px 22px 0 rgba(0,0,0,.28); overflow: hidden; }
.rail-board::before { content: ""; position: absolute; inset: 20px; border: 1px dashed #343930; }
.rail-board::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 49.7%, rgba(240,91,53,.5) 49.8%, rgba(240,91,53,.5) 50.2%, transparent 50.3%); opacity: .3; }
.rail-line { position: absolute; z-index: 2; top: 70px; bottom: 72px; width: 27%; border-inline: 4px solid var(--paper); }
.rail-line::before, .rail-line::after { content: ""; position: absolute; left: -13%; right: -13%; height: 3px; background: var(--acid); transform: rotate(-9deg); }
.rail-line::before { top: 24%; }
.rail-line::after { bottom: 22%; background: var(--signal); }
.rail-line-a { left: 19%; }
.rail-line-b { right: 19%; }
.rail-line i { position: absolute; left: -18%; width: 136%; height: 1px; background: #656b61; }
.rail-line i:nth-child(1) { top: 9%; }.rail-line i:nth-child(2) { top: 39%; }.rail-line i:nth-child(3) { top: 66%; }.rail-line i:nth-child(4) { top: 91%; }
.rail-label { position: absolute; z-index: 3; top: 34px; color: #8e9589; font: 8px/1 var(--mono); letter-spacing: .15em; }
.rail-label-a { left: 17%; }.rail-label-b { right: 17%; }
.rail-switch { position: absolute; z-index: 4; inset: 45% auto auto 50%; width: 138px; height: 138px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; align-items: center; padding: 20px; color: var(--ink); background: var(--acid); transform: translate(-50%,-50%) rotate(3deg); box-shadow: 9px 10px 0 rgba(0,0,0,.3); }
.rail-switch span { width: 25px; height: 25px; border: 3px solid var(--ink); border-radius: 50%; }
.rail-switch b { justify-self: end; font-size: 58px; line-height: 1; letter-spacing: -.08em; }
.rail-switch small { grid-column: 1 / -1; align-self: end; font: 9px/1.2 var(--mono); letter-spacing: .12em; }
.rail-stamp { position: absolute; z-index: 3; right: 28px; bottom: 26px; width: 136px; padding: 12px; color: var(--paper); border: 1px solid #596057; transform: rotate(-3deg); }
.rail-stamp span { color: var(--signal); font: 11px/1 var(--mono); }
.rail-stamp strong { display: block; margin: 7px 0 14px; font-size: 21px; line-height: .9; letter-spacing: -.04em; }
.rail-stamp small { color: #7d8379; font: 7px/1.2 var(--mono); }
.rail-footer { margin-top: 13px; color: #777d73; }

.proof-bar { min-height: 150px; display: grid; grid-template-columns: repeat(3, 1fr) .65fr; color: var(--ink); background: var(--acid); border-bottom: 1px solid var(--ink); }
.proof-bar article, .proof-bar > p { min-width: 0; display: flex; align-items: center; gap: 18px; padding: 24px clamp(18px, 3vw, 46px); border-right: 1px solid rgba(17,19,15,.4); }
.proof-bar strong { font-size: clamp(31px, 3.4vw, 55px); line-height: 1; letter-spacing: -.07em; }
.proof-bar span { font-size: 12px; font-weight: 750; line-height: 1.45; }
.proof-bar small { font: 8px/1.5 var(--mono); font-weight: 400; }
.proof-bar > p { margin: 0; justify-content: center; font: 9px/1.5 var(--mono); letter-spacing: .14em; }
.section-code { font: 10px/1 var(--mono); letter-spacing: .14em; }
.chapter { position: relative; padding: clamp(86px, 11vw, 168px) var(--pad); border-bottom: 1px solid var(--line); }
.chapter-heading h2, .gate-copy h2, .local-copy h2 { margin: 46px 0 0; font-size: clamp(49px, 7.2vw, 112px); line-height: .94; letter-spacing: -.075em; }
.chapter-heading h2 em, .gate-copy h2 em { color: var(--signal); font-family: var(--serif); font-weight: 400; }
.chapter-reason { overflow: hidden; }
.chapter-reason::before { content: "ACCORD"; position: absolute; right: -1vw; top: 2vw; color: transparent; font-size: clamp(120px, 20vw, 360px); font-weight: 900; line-height: 1; letter-spacing: -.08em; -webkit-text-stroke: 1px rgba(17,19,15,.08); pointer-events: none; }
.chapter-reason .chapter-heading { position: relative; z-index: 1; max-width: 1200px; }
.time-sequence { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--ink); }
.time-sequence article { position: relative; min-height: 320px; padding: 26px 34px 40px 0; border-right: 1px solid var(--line); }
.time-sequence article + article { padding-left: 34px; }
.time-sequence article:last-child { border-right: 0; }
.time-sequence time { font: 9px/1 var(--mono); letter-spacing: .13em; }
.time-sequence span { position: absolute; right: 22px; top: 18px; color: #c2bfb5; font: 58px/1 var(--serif); }
.time-sequence h3 { margin: 116px 0 16px; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.035em; }
.time-sequence p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; }

.chapter-dark { color: var(--paper); background: var(--ink); border-color: var(--line-light); }
.split-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 80px; }
.chapter-intro { max-width: 560px; margin: 0 0 7px; color: #aeb3a8; font-size: 16px; line-height: 1.9; }
.route-map { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid #4c5248; border-bottom: 1px solid #4c5248; }
.route-map a { position: relative; min-height: 430px; padding: 30px 26px; border-right: 1px solid #4c5248; transition: color .2s, background .2s; }
.route-map a:last-child { border-right: 0; }
.route-map a:hover { color: var(--ink); background: var(--acid); }
.route-map > a > span { color: var(--signal); font: 28px/1 var(--serif); }
.route-map small { float: right; color: #787f74; font: 8px/1 var(--mono); letter-spacing: .12em; }
.route-map h3 { margin: 115px 0 22px; font-size: 42px; letter-spacing: -.07em; }
.route-map p { max-width: 250px; color: #a9afa4; font-size: 13px; }
.route-map a:hover p, .route-map a:hover small { color: #42453f; }
.route-map b { position: absolute; left: 26px; bottom: 30px; font: 9px/1 var(--mono); letter-spacing: .12em; }

.gate-preview { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(60px, 8vw, 140px); background: var(--paper-2); overflow: hidden; }
.gate-copy p:not(.section-code), .local-copy > p:not(.section-code) { max-width: 560px; margin: 36px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.inline-link { display: inline-flex; align-items: center; gap: 22px; margin-top: 32px; padding-bottom: 6px; font: 10px/1 var(--mono); letter-spacing: .12em; border-bottom: 1px solid var(--ink); }
.inline-link span { color: var(--signal); }
.gate-specimen { position: relative; color: var(--paper); background: var(--ink-2); border: 1px solid #4a5046; box-shadow: 22px 24px 0 #ccc7b9; transform: rotate(1deg); }
.gate-specimen::before { content: ""; position: absolute; top: -18px; right: 46px; width: 82px; height: 37px; background: rgba(217,255,67,.65); transform: rotate(4deg); }
.specimen-head, .specimen-foot { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; font: 8px/1 var(--mono); letter-spacing: .11em; border-bottom: 1px solid #444a41; }
.specimen-head b { color: var(--signal); font-weight: 400; }
.specimen-body { min-height: 390px; padding: clamp(28px, 5vw, 74px); background-image: linear-gradient(rgba(240,238,229,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(240,238,229,.05) 1px, transparent 1px); background-size: 36px 36px; }
.specimen-body small { color: #838a7f; font: 8px/1 var(--mono); letter-spacing: .13em; }
.specimen-body code { display: block; margin-top: 34px; font: clamp(15px, 1.4vw, 21px)/2 var(--mono); }
.specimen-body code i { color: var(--signal); font-style: normal; }
.specimen-rule { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 45px 0 28px; color: var(--signal); }
.specimen-rule span { height: 1px; background: var(--signal); }
.specimen-rule b { font-size: 12px; letter-spacing: .12em; }
.specimen-body p { max-width: 600px; color: #bfc4b9; font-size: 13px; }
.specimen-foot { color: #858b81; border-top: 1px solid #444a41; border-bottom: 0; }
.specimen-foot span:first-child { color: var(--acid); }

.local-chapter { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 9vw, 150px); color: var(--paper); background: var(--blue); }
.local-figure { position: relative; min-height: 450px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.32); }
.local-figure::before, .local-figure::after { content: ""; position: absolute; background: rgba(255,255,255,.25); }
.local-figure::before { top: 50%; left: 0; right: 0; height: 1px; }
.local-figure::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.local-figure span { position: relative; z-index: 2; font-size: clamp(150px, 20vw, 310px); font-weight: 900; line-height: .65; letter-spacing: -.12em; }
.local-figure strong { position: relative; z-index: 2; margin-top: 34px; color: var(--acid); font: 22px/1 var(--mono); letter-spacing: .3em; }
.local-figure i { position: absolute; z-index: 2; right: 8%; top: 10%; width: 54px; height: 54px; border-radius: 50%; background: var(--signal); }
.local-figure small { position: absolute; z-index: 2; left: 20px; bottom: 20px; font: 8px/1.5 var(--mono); letter-spacing: .13em; }
.local-copy .section-code { color: #cbd0ff; }
.local-copy h2 { color: #fff; }
.local-copy > p:not(.section-code) { color: #d5d9fb; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.tag-row span { padding: 8px 11px; font: 8px/1 var(--mono); letter-spacing: .08em; border: 1px solid rgba(255,255,255,.4); }

.closing-statement { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px var(--pad); text-align: center; color: var(--paper); background: var(--ink); }
.closing-statement blockquote { margin: 48px 0 68px; font-size: clamp(58px, 10vw, 150px); font-weight: 850; line-height: .82; letter-spacing: -.08em; }
.closing-statement blockquote em { color: var(--acid); font-family: var(--serif); font-weight: 400; }
.closing-statement .button { min-width: 260px; }

.site-footer { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; padding: 76px var(--pad) 28px; color: var(--paper); background: var(--ink-2); border-top: 1px solid var(--line-light); }
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p { color: #858b81; font-family: var(--serif); font-size: 20px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h3 { margin: 0 0 24px; color: #747a70; font: 8px/1 var(--mono); letter-spacing: .14em; }
.footer-links a { display: block; width: fit-content; margin: 12px 0; color: #c7cbc2; font-size: 12px; }
.footer-links a:hover { color: var(--acid); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 45px; padding-top: 18px; color: #6f756b; font: 8px/1 var(--mono); letter-spacing: .12em; border-top: 1px solid #383d35; }

/* Interior pages */
.page-header { position: absolute; background: transparent; }
.start-header { color: var(--ink); border-bottom-color: rgba(17,19,15,.25); }
.start-header .brand-mark { border-color: var(--ink); }
.start-header .brand-name span { color: var(--blue); }
.start-header .nav-links a { color: #41443d; }
.start-header .nav-links a:hover { color: var(--ink); }
.start-header .nav-cta { color: var(--paper) !important; background: var(--ink); }
.start-header .menu-toggle { color: var(--ink); border-color: rgba(17,19,15,.3); }
.nav-links [aria-current="page"]:not(.nav-cta) { color: var(--paper); box-shadow: inset 0 -2px var(--acid); }
.page-hero { position: relative; min-height: 82vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px var(--pad) 70px; color: var(--paper); background: var(--ink); overflow: hidden; }
.page-hero::after { content: attr(data-code); position: absolute; right: 1.2vw; top: 11%; color: transparent; font: 900 clamp(180px, 35vw, 560px)/.8 var(--sans); letter-spacing: -.12em; -webkit-text-stroke: 1px rgba(240,238,229,.13); }
.page-hero-grid { position: absolute; inset: 76px 0 0; opacity: .22; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(0deg, #000, transparent 92%); }
.page-hero > *:not(.page-hero-grid) { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1200px; margin: 38px 0 55px; font-size: clamp(64px, 11vw, 168px); font-weight: 850; line-height: .8; letter-spacing: -.085em; }
.page-hero h1 em { color: var(--acid); font-family: var(--serif); font-weight: 400; }
.page-kicker { width: min(860px, 70%); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; margin-left: auto; }
.page-kicker p { max-width: 620px; margin: 0; color: #bbc0b6; font-size: 16px; line-height: 1.9; }
.page-kicker div { color: #858b81; font: 8px/1.65 var(--mono); letter-spacing: .15em; border-left: 3px solid var(--signal); padding-left: 14px; }
.page-hero-signal h1 em { color: var(--signal); }
.page-hero-blue { background: var(--blue); }
.page-hero-blue h1 em { color: var(--acid); }
.page-hero-blue .page-kicker p { color: #e0e3ff; }
.page-hero-acid { color: var(--ink); background: var(--acid); }
.page-hero-acid .site-header { color: var(--ink); }
.page-hero-acid h1 em { color: var(--blue); }
.page-hero-acid .page-kicker p { color: #41443d; }
.page-hero-acid .page-kicker div { color: #55594f; border-color: var(--blue); }
.page-hero-acid .page-hero-grid { opacity: .18; background-image: linear-gradient(rgba(17,19,15,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(17,19,15,.25) 1px, transparent 1px); }

.detail-title { margin: 40px 0 0; font-size: clamp(48px, 7vw, 104px); line-height: .92; letter-spacing: -.075em; }
.editorial-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 11vw, 180px); }
.prose { max-width: 680px; font-size: 16px; line-height: 2; }
.prose p { margin: 0 0 28px; color: var(--muted); }
.prose code { padding: 2px 5px; color: var(--ink); background: var(--acid); font: 13px/1.4 var(--mono); }
.prose blockquote { margin: 70px 0 0; font: 700 clamp(34px, 4vw, 61px)/1.08 var(--sans); letter-spacing: -.055em; }
.prose blockquote em { color: var(--signal); font-family: var(--serif); font-weight: 400; }
.sheet-layout, .terminal-layout, .contract-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(60px, 10vw, 160px); }
.spec-sheet, .contract-card { position: relative; border: 1px solid #50564d; background: #151813; box-shadow: 18px 20px 0 rgba(0,0,0,.26); transform: rotate(.6deg); }
.sheet-head, .sheet-foot, .contract-head, .contract-foot { display: flex; justify-content: space-between; gap: 20px; padding: 15px 18px; color: #8b9187; font: 8px/1 var(--mono); letter-spacing: .1em; border-bottom: 1px solid #454a42; }
.sheet-head b, .contract-head b { color: var(--acid); font-weight: 400; }
.spec-sheet pre, .contract-card pre { min-height: 510px; margin: 0; padding: clamp(28px, 5vw, 72px); color: #d7dbd1; font: clamp(11px, 1.1vw, 15px)/1.75 var(--mono); overflow: auto; background-image: linear-gradient(rgba(240,238,229,.045) 1px, transparent 1px); background-size: 100% 28px; }
.spec-sheet pre span, .contract-card pre span { color: var(--acid); }
.sheet-foot, .contract-foot { border-top: 1px solid #454a42; border-bottom: 0; }
.sheet-foot span:first-child, .contract-foot span:first-child { color: var(--signal); }
.compact-heading { max-width: 1240px; }
.compact-heading .chapter-intro { margin: 48px 0 0 auto; }
.dark-intro { color: var(--muted); }
.baseline-diagram { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 20px; margin-top: 90px; padding: 42px; border: 1px solid var(--ink); }
.baseline-diagram div { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--paper-2); }
.baseline-diagram small { font: 8px/1 var(--mono); letter-spacing: .13em; }
.baseline-diagram strong { font-size: clamp(30px, 4vw, 56px); letter-spacing: -.06em; }
.baseline-diagram span { color: var(--muted); font-size: 12px; }
.baseline-diagram i { height: 3px; background: var(--signal); }
.baseline-diagram b { position: absolute; left: 50%; top: 18px; color: var(--signal); font: 9px/1 var(--mono); letter-spacing: .15em; transform: translateX(-50%); }
.approval-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 9vw, 150px); background: var(--paper-2); }
.authority-list { border-top: 1px solid var(--ink); }
.authority-list article { display: grid; grid-template-columns: 110px 1fr 1.2fr; align-items: center; gap: 28px; min-height: 150px; border-bottom: 1px solid var(--line); }
.authority-list span { font: 9px/1 var(--mono); letter-spacing: .12em; }
.authority-list h3 { font-size: 30px; letter-spacing: -.05em; }
.authority-list p { color: var(--muted); font-size: 13px; }
.authority-human { margin-inline: -22px; padding-inline: 22px; background: var(--acid); }
.authority-human p { color: #44473f; }
.page-next { display: grid; grid-template-columns: 180px 1fr; align-items: stretch; color: var(--paper); background: var(--blue); }
.page-next > p { margin: 0; padding: 28px var(--pad); font: 8px/1 var(--mono); letter-spacing: .13em; border-right: 1px solid rgba(255,255,255,.3); }
.page-next a { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 52px var(--pad); }
.page-next a span { font: 400 clamp(23px, 3vw, 42px)/1.2 var(--serif); }
.page-next a strong { color: var(--acid); font: 9px/1 var(--mono); letter-spacing: .12em; }

.two-routes { display: grid; grid-template-columns: 1fr 1fr; margin-top: 86px; border: 1px solid var(--ink); }
.two-routes article { position: relative; min-height: 500px; padding: 36px; overflow: hidden; }
.two-routes article + article { border-left: 1px solid var(--ink); }
.route-number { position: absolute; right: -10px; top: -30px; color: transparent; font: 900 250px/.8 var(--sans); -webkit-text-stroke: 1px rgba(17,19,15,.18); }
.two-routes small { font: 9px/1 var(--mono); letter-spacing: .13em; }
.two-routes h3 { max-width: 440px; margin: 190px 0 20px; font-size: clamp(32px, 4vw, 58px); line-height: 1; letter-spacing: -.065em; }
.two-routes p { max-width: 500px; color: var(--muted); font-size: 14px; }
.two-routes article > span { position: absolute; left: 36px; bottom: 34px; color: var(--signal); font: 9px/1 var(--mono); letter-spacing: .12em; }
.terminal { color: #d7dbd1; background: #10120f; border: 1px solid #50564d; box-shadow: 18px 20px 0 rgba(0,0,0,.26); }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid #3c4139; }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #51564e; }
.terminal-bar span:first-child { background: var(--signal); }
.terminal-bar b { margin-left: auto; color: #767d72; font: 8px/1 var(--mono); letter-spacing: .1em; }
.terminal-body { min-height: 560px; padding: clamp(28px, 5vw, 64px); font: 12px/1.75 var(--mono); background-image: linear-gradient(rgba(240,238,229,.04) 1px, transparent 1px); background-size: 100% 30px; }
.terminal-body i { color: var(--acid); font-style: normal; }
.terminal-body code { display: block; margin: 24px 0; color: #fff; font-size: 14px; }
.terminal-body code b { color: var(--signal); }
.terminal-body hr { margin: 28px 0; border: 0; border-top: 1px solid #3b4038; }
.term-deny { color: var(--signal); font-size: 21px; font-weight: 800; }
.term-deny small { color: #7e8579; font-size: 8px; }
.term-next { margin-top: 35px; color: #aeb4aa; }
.term-ok { margin-top: 38px; color: var(--acid); }
.stopped-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(60px, 9vw, 150px); background: var(--paper-2); }
.stopped-copy > p:last-child { max-width: 520px; margin-top: 35px; color: var(--muted); }
.stopped-ledger { border: 1px solid var(--ink); background: var(--paper); }
.ledger-head, .ledger-foot { display: flex; justify-content: space-between; gap: 15px; padding: 15px 18px; font: 8px/1 var(--mono); letter-spacing: .1em; background: var(--ink); color: var(--paper); }
.ledger-head b { color: var(--signal); font-weight: 400; }
.stopped-ledger article { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 25px; min-height: 130px; padding: 20px; border-bottom: 1px solid var(--line); }
.stopped-ledger time { font: 9px/1 var(--mono); }
.stopped-ledger p { margin: 0; font-family: var(--mono); }
.stopped-ledger p small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }
.stopped-ledger strong { color: var(--signal); font: 9px/1 var(--mono); }
.ledger-foot { justify-content: flex-end; color: #7e8579; }

.assignment-flow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border: 1px solid var(--ink); }
.assignment-flow article { position: relative; min-height: 370px; padding: 30px; border-right: 1px solid var(--ink); }
.assignment-flow article:last-child { border-right: 0; }
.assignment-flow article::after { content: "→"; position: absolute; z-index: 2; right: -18px; top: 50%; width: 36px; height: 36px; display: grid; place-items: center; color: var(--paper); background: var(--ink); }
.assignment-flow article:last-child::after { display: none; }
.assignment-flow span { color: var(--signal); font: 28px/1 var(--serif); }
.assignment-flow small { float: right; font: 8px/1 var(--mono); letter-spacing: .12em; }
.assignment-flow h3 { margin: 140px 0 18px; font-size: 38px; letter-spacing: -.06em; }
.assignment-flow p { color: var(--muted); font-size: 13px; }
.contract-card pre { min-height: 480px; }
.memory-section { background: var(--paper-2); }
.memory-rails { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--ink); }
.memory-rails article { min-height: 320px; padding: 26px; border-right: 1px solid var(--line); }
.memory-rails article:last-child { border-right: 0; }
.memory-rails span { color: var(--signal); font: 9px/1 var(--mono); letter-spacing: .1em; }
.memory-rails h3 { margin: 120px 0 16px; font-size: 34px; letter-spacing: -.055em; }
.memory-rails p { color: var(--muted); font-size: 13px; }
.chapter-acid { background: var(--acid); }

/* Evidence */
.measure-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--acid); border-bottom: 1px solid var(--ink); }
.measure-ribbon article { min-height: 190px; display: flex; align-items: center; gap: 25px; padding: 30px var(--pad); border-right: 1px solid rgba(17,19,15,.35); }
.measure-ribbon article:last-child { border-right: 0; }
.measure-ribbon strong { font-size: clamp(42px, 5vw, 78px); letter-spacing: -.08em; }
.measure-ribbon span { font: 9px/1.4 var(--mono); letter-spacing: .1em; }
.measure-ribbon small { display: block; margin-top: 7px; color: #565a50; font-size: 8px; letter-spacing: 0; }
.evidence-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 160px); }
.benchmark-heading { max-width: 900px; }
.benchmark-table { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 80px; border: 1px solid #4a5046; }
.benchmark-table article { min-height: 290px; padding: 32px; border-right: 1px solid #4a5046; border-bottom: 1px solid #4a5046; }
.benchmark-table article:nth-child(2n) { border-right: 0; }
.benchmark-table article:nth-child(n+3) { border-bottom: 0; }
.benchmark-table div { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.benchmark-table small { color: #858c80; font: 8px/1.4 var(--mono); letter-spacing: .11em; }
.benchmark-table strong { color: var(--acid); font-size: clamp(45px, 6vw, 88px); line-height: .8; letter-spacing: -.08em; }
.benchmark-table strong em { color: var(--paper); font: 13px/1 var(--mono); letter-spacing: 0; }
.benchmark-table p { max-width: 330px; margin-top: 105px; color: #aeb4aa; font-size: 13px; }
.benchmark-note { margin: 18px 0 0; color: #747b70; font: 8px/1.5 var(--mono); }
.privacy-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 10vw, 160px); background: var(--blue); color: #fff; }
.privacy-section > div:last-child > p:not(.section-code) { max-width: 650px; color: #d8dcff; line-height: 1.9; }
.privacy-zero { min-height: 500px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.35); text-align: center; }
.privacy-zero span { font-size: clamp(150px, 20vw, 310px); font-weight: 900; line-height: .65; letter-spacing: -.1em; }
.privacy-zero strong { margin-top: 38px; color: var(--acid); font: 22px/1 var(--mono); letter-spacing: .25em; }
.privacy-zero small { margin-top: 18px; color: #c2c8ff; font: 8px/1 var(--mono); letter-spacing: .14em; }
.plain-list { margin: 45px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.35); }
.plain-list li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.plain-list span { color: var(--acid); font: 9px/1.7 var(--mono); }
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 10vw, 160px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--signal); font: 24px/1 var(--mono); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: 14px; }

/* Start */
.start-status { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: clamp(60px, 10vw, 160px); }
.start-status > div:first-child > p:last-child { max-width: 680px; margin-top: 35px; color: var(--muted); }
.status-plate { padding: 32px; color: var(--paper); background: var(--ink); border: 1px solid #454a42; box-shadow: 16px 18px 0 var(--paper-2); transform: rotate(1deg); }
.status-plate > span { color: var(--acid); font: 9px/1 var(--mono); letter-spacing: .13em; }
.status-plate strong { display: block; margin: 65px 0; font-size: clamp(42px, 5vw, 73px); line-height: .85; letter-spacing: -.07em; }
.status-plate ul { padding: 0; list-style: none; border-top: 1px solid #464c43; }
.status-plate li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #353a33; font: 10px/1 var(--mono); }
.status-plate li i { width: 7px; height: 7px; background: var(--acid); }
.status-plate li.muted { color: #71786d; }
.status-plate li.muted i { background: #4c5249; }
.status-plate small { display: block; margin-top: 24px; color: #70776c; font: 7px/1 var(--mono); letter-spacing: .12em; }
.command-intro { max-width: 1000px; }
.command-steps { margin: 80px 0 0; padding: 0; list-style: none; border-top: 1px solid #4a5046; }
.command-steps li { display: grid; grid-template-columns: 150px .8fr 1.2fr; align-items: center; gap: 35px; min-height: 170px; border-bottom: 1px solid #3f453c; }
.command-steps li > div { display: flex; align-items: baseline; gap: 12px; }
.command-steps li > div span { color: var(--signal); font: 32px/1 var(--serif); }
.command-steps li > div small { color: #737a6f; font: 8px/1 var(--mono); }
.command-steps h3 { font-size: 26px; letter-spacing: -.04em; }
.command-steps pre { position: relative; min-width: 0; margin: 0; padding: 24px 88px 24px 24px; background: #20241e; overflow-x: auto; }
.command-steps code { color: var(--acid); font: 12px/1 var(--mono); }
.command-steps button { position: absolute; right: 12px; top: 50%; padding: 8px; color: #858c80; background: transparent; border: 1px solid #50564d; font: 7px/1 var(--mono); transform: translateY(-50%); cursor: pointer; }
.release-caveat { margin: 22px 0 0; color: #7e857a; font: 8px/1.5 var(--mono); }
.first-day { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 9vw, 150px); }
.day-sequence { border-top: 1px solid var(--ink); }
.day-sequence article { display: grid; grid-template-columns: 120px .7fr 1.3fr; align-items: center; gap: 25px; min-height: 150px; border-bottom: 1px solid var(--line); }
.day-sequence span { color: var(--signal); font: 9px/1 var(--mono); letter-spacing: .12em; }
.day-sequence h3 { font-size: 28px; letter-spacing: -.05em; }
.day-sequence p { color: var(--muted); font-size: 13px; }
.doctor-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(60px, 10vw, 160px); background: var(--paper-2); }
.doctor-card { color: #d6dbd1; background: var(--ink); box-shadow: 18px 20px 0 #c8c3b5; }
.doctor-card > div { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #40463d; font: 8px/1 var(--mono); letter-spacing: .1em; }
.doctor-card > div b { color: var(--acid); font-weight: 400; }
.doctor-card pre { margin: 0; padding: clamp(28px, 5vw, 65px); font: clamp(11px, 1.2vw, 15px)/2 var(--mono); white-space: pre-wrap; }
.doctor-card pre i { color: var(--acid); font-style: normal; }
.doctor-card pre strong { color: var(--acid); }
.doctor-card pre em { color: #939a8e; font-style: normal; }
.start-closing { min-height: 80vh; }
.start-closing blockquote { font-size: clamp(50px, 9vw, 130px); }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: var(--pad); color: var(--paper); background: var(--ink); }
.error-page main { width: min(1100px, 100%); }
.error-page p { color: var(--signal); font: 9px/1 var(--mono); letter-spacing: .14em; }
.error-page h1 { margin: 45px 0 70px; font-size: clamp(68px, 12vw, 170px); line-height: .8; letter-spacing: -.085em; }
.error-page h1 em { color: var(--acid); font-family: var(--serif); font-weight: 400; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 126px; }
  .hero-copy { max-width: 780px; }
  .hero-rail { width: min(720px, 92%); margin-inline: auto; }
  .proof-bar { grid-template-columns: repeat(3, 1fr); }
  .proof-bar > p { display: none; }
  .split-heading, .gate-preview, .local-chapter { grid-template-columns: 1fr; }
  .route-map { grid-template-columns: repeat(2, 1fr); }
  .route-map a:nth-child(2) { border-right: 0; }
  .route-map a:nth-child(-n+2) { border-bottom: 1px solid #4c5248; }
  .local-figure { max-width: 720px; }
  .editorial-split, .sheet-layout, .approval-grid, .terminal-layout, .contract-layout, .stopped-section, .evidence-intro, .privacy-section, .faq-section, .start-status, .first-day, .doctor-section { grid-template-columns: 1fr; }
  .page-kicker { width: min(760px, 90%); }
  .measure-ribbon { grid-template-columns: 1fr; }
  .measure-ribbon article { min-height: 130px; border-right: 0; border-bottom: 1px solid rgba(17,19,15,.35); }
  .privacy-zero { max-width: 720px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; }
  .nav-links { position: absolute; top: 66px; left: 0; right: 0; display: none; padding: 18px var(--pad) 24px; background: var(--ink); border-bottom: 1px solid var(--line-light); }
  .nav-links.is-open { display: grid; }
  .start-header .nav-links { background: var(--acid); border-bottom-color: rgba(17,19,15,.3); }
  .start-header .nav-links a { border-bottom-color: rgba(17,19,15,.2); }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-light); }
  .nav-cta { margin: 8px 0 0; padding: 13px !important; text-align: center; }
  .menu-toggle { display: block; }
  .hero { display: block; min-height: auto; padding: 112px 22px 54px; }
  .hero-index { display: none; }
  .hero h1 { font-size: clamp(43px, 14vw, 68px); }
  .hero-lead { font-size: 14px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .hero-rail { width: 100%; margin-top: 70px; transform: none; }
  .rail-board { min-height: 380px; }
  .rail-switch { width: 112px; height: 112px; }
  .rail-switch b { font-size: 46px; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar article { border-right: 0; border-bottom: 1px solid rgba(17,19,15,.4); }
  .chapter { padding: 76px 22px; }
  .chapter-heading h2, .gate-copy h2, .local-copy h2 { font-size: clamp(43px, 13vw, 66px); }
  .time-sequence { grid-template-columns: 1fr; }
  .time-sequence article { min-height: 240px; padding: 25px 0 34px !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .time-sequence h3 { margin-top: 82px; }
  .split-heading { gap: 36px; }
  .route-map { grid-template-columns: 1fr; }
  .route-map a { min-height: 330px; border-right: 0; border-bottom: 1px solid #4c5248 !important; }
  .route-map a:last-child { border-bottom: 0 !important; }
  .gate-specimen { box-shadow: 10px 12px 0 #ccc7b9; }
  .specimen-head, .specimen-foot { flex-direction: column; }
  .specimen-body { min-height: 330px; padding: 32px 24px; }
  .local-figure { min-height: 330px; }
  .site-footer { grid-template-columns: 1fr; gap: 45px; padding-inline: 22px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-hero { min-height: 76vh; padding: 115px 22px 58px; }
  .page-hero h1 { margin: 34px 0 45px; font-size: clamp(55px, 18vw, 88px); }
  .page-kicker { width: 100%; grid-template-columns: 1fr; gap: 28px; }
  .page-kicker p { font-size: 14px; }
  .detail-title { font-size: clamp(43px, 13vw, 66px); }
  .editorial-split, .sheet-layout, .approval-grid, .terminal-layout, .contract-layout, .stopped-section, .evidence-intro, .privacy-section, .faq-section, .start-status, .first-day, .doctor-section { gap: 55px; }
  .spec-sheet pre, .contract-card pre { min-height: 420px; padding: 28px 22px; }
  .sheet-head, .sheet-foot, .contract-head, .contract-foot { flex-direction: column; }
  .baseline-diagram { grid-template-columns: 1fr; padding: 22px; }
  .baseline-diagram i { width: 3px; height: 50px; justify-self: center; }
  .baseline-diagram b { top: 6px; }
  .authority-list article { grid-template-columns: 1fr; gap: 4px; padding: 24px 0; }
  .authority-list h3, .authority-list p { margin: 4px 0; }
  .authority-human { padding-inline: 22px !important; }
  .page-next { grid-template-columns: 1fr; }
  .page-next > p { padding: 18px 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
  .page-next a { align-items: flex-start; flex-direction: column; padding: 38px 22px; }
  .two-routes, .assignment-flow, .memory-rails { grid-template-columns: 1fr; }
  .two-routes article + article, .assignment-flow article, .memory-rails article { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .two-routes article { min-height: 420px; }
  .assignment-flow article::after { right: auto; left: 50%; top: auto; bottom: -18px; transform: rotate(90deg); }
  .stopped-ledger article { grid-template-columns: 1fr; gap: 9px; }
  .benchmark-table { grid-template-columns: 1fr; }
  .benchmark-table article { min-height: 250px; border-right: 0; border-bottom: 1px solid #4a5046 !important; }
  .benchmark-table article:last-child { border-bottom: 0 !important; }
  .benchmark-table p { margin-top: 75px; }
  .privacy-zero { min-height: 340px; }
  .plain-list li { font-size: 13px; }
  .command-steps li { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .command-steps h3 { margin: 7px 0 14px; }
  .day-sequence article { grid-template-columns: 1fr; gap: 4px; padding: 24px 0; }
  .day-sequence h3, .day-sequence p { margin: 4px 0; }
  .doctor-card { box-shadow: 10px 12px 0 #c8c3b5; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* hero terminal (replaces the abstract conformance plate) */
.hero-terminal .terminal-body { min-height: 430px; font-size: 12px; }
.hero-terminal .term-next { margin-top: 26px; }
.hero-terminal .term-ok { margin-top: 28px; }

/* language switch */
.lang-switch { margin-left: 10px; padding: 7px 11px; color: var(--paper); border: 1px solid #4b5046; font: 10px/1 var(--mono); letter-spacing: .14em; text-decoration: none; }
.lang-switch:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.page-header .lang-switch, .start-header .lang-switch { color: inherit; }

/* AR monogram (vector) */
.brand-logo { display: block; flex: none; }
