:root {
  color-scheme: dark;
  --navy: #07111d;
  --navy-2: #0b1827;
  --navy-3: #102237;
  --ink: #eaf0f7;
  --muted: #9eacbc;
  --steel: #c7d2df;
  --line: rgba(205, 221, 236, .16);
  --line-strong: rgba(205, 221, 236, .3);
  --glass: rgba(10, 23, 37, .7);
  --cobalt: #3975ff;
  --cobalt-bright: #5f91ff;
  --success: #74d69b;
  --warning: #f0be6a;
  --danger: #f17d73;
  --cream: #f0eee8;
  --dark-ink: #111a20;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; overflow-x: hidden; background: var(--navy); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 30; padding: .8rem 1rem; background: white; color: var(--navy); }
.skip-link:focus { top: 1rem; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 10; padding: 16px 22px; pointer-events: none; }
.nav-shell { position: relative; width: min(1240px, calc(100vw - 28px)); height: 64px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 0 10px 0 18px; background: rgba(8, 20, 33, .68); border: 1px solid rgba(230, 240, 250, .16); border-top-color: rgba(255, 255, 255, .25); border-radius: 18px; backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 20px 60px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .06); pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 650; letter-spacing: -.04em; font-size: 1.08rem; }
.brand-symbol { width: 30px; height: 30px; overflow: visible; }
.brand-symbol path, .brand-symbol rect { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.brand-symbol rect { fill: var(--cobalt); stroke: var(--cobalt); }
.nav-links { display: flex; justify-content: center; gap: 2.2rem; }
.nav-links a { color: #bcc9d6; font-size: .8rem; text-decoration: none; transition: color 160ms ease; }
.nav-action { padding: .78rem 1rem; border-radius: 11px; background: white; color: var(--navy); text-decoration: none; font-size: .77rem; font-weight: 650; white-space: nowrap; }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.menu-button span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }
.menu-button span { transition: transform 160ms var(--ease-out); }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.pressable { transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.pressable:active { transform: scale(.97); }

.hero { position: relative; min-height: 100dvh; isolation: isolate; display: grid; align-items: center; padding: 132px 24px 112px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -4; background-image: url("./assets/hero.jpg"); background-size: cover; background-position: center 45%; filter: grayscale(1) contrast(1.18) brightness(.55); transform: scale(1.03); }
.hero-wash { position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse at 50% 43%, rgba(9, 25, 42, .42) 0%, rgba(5, 13, 23, .88) 64%, var(--navy) 100%), linear-gradient(180deg, rgba(7, 17, 29, .25), var(--navy)); }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .15; background-image: linear-gradient(rgba(143, 177, 211, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 177, 211, .2) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at center, black, transparent 72%); }
.hero-content { width: min(76rem, 100%); margin: 0 auto; text-align: center; }
.hero-kicker, .section-kicker { margin: 0 0 1.5rem; color: #b7c5d4; font: 600 .69rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.hero h1 { max-width: 76rem; margin: 0 auto; font-size: clamp(3.5rem, 7vw, 7.5rem); font-weight: 500; line-height: .91; letter-spacing: -.068em; text-wrap: balance; }
.hero h1 span { color: var(--cobalt-bright); }
.hero-copy { max-width: 42rem; margin: 2rem auto 0; color: #c5d0da; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.5; text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-top: 2.1rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .9rem 1.25rem; border: 0; border-radius: 12px; text-decoration: none; font-weight: 650; font-size: .87rem; cursor: pointer; }
.button-primary { background: var(--cobalt); color: white; box-shadow: 0 12px 36px rgba(57, 117, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .28); }
.button-secondary { background: rgba(10, 24, 38, .58); color: white; border: 1px solid rgba(230, 240, 250, .26); backdrop-filter: blur(18px); }
.hero-ledger { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(680px, calc(100% - 40px)); display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.2rem; color: #aebdcb; background: rgba(7, 17, 29, .56); border: 1px solid rgba(225, 237, 247, .14); border-radius: 14px; backdrop-filter: blur(18px); font: .68rem/1.2 var(--mono); }
.hero-ledger i { display: block; height: 1px; background: linear-gradient(90deg, var(--cobalt), rgba(115, 154, 255, .18)); }
.hero-ledger strong { color: white; font-weight: 600; }

.chapter { padding: clamp(8rem, 13vw, 13rem) max(24px, calc((100vw - 1320px) / 2)); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .5fr); column-gap: 8vw; align-items: end; margin-bottom: 5rem; }
.section-heading .section-kicker { grid-column: 1 / -1; }
.section-heading h2, .replay-heading h2, .workflows-heading h2, .story-sticky h2, .architecture-content h2, .final-cta h2 { margin: 0; font-size: clamp(2.75rem, 5.3vw, 5.9rem); font-weight: 500; line-height: .98; letter-spacing: -.058em; }
.section-heading > p:last-child { margin: 0 0 .5rem; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.market-gap { background: var(--navy); }
.record-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(260px, 1fr)); grid-auto-flow: dense; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); gap: 1px; }
.record-bento > article { position: relative; overflow: hidden; background: var(--navy-2); }
.bento-primary { grid-column: span 2; grid-row: span 2; min-height: 600px; padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; }
.bento-copy { max-width: 30rem; }
.bento-copy > span, .bento-rule > span, .bento-audit > span { color: var(--cobalt-bright); font: .67rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.bento-copy h3 { margin: 1rem 0; font-size: clamp(2.1rem, 3.8vw, 4.2rem); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.bento-copy p, .bento-rule p { color: var(--muted); line-height: 1.55; }
.ledger-stack { position: relative; min-height: 260px; margin-top: 3rem; perspective: 1200px; }
.ledger-sheet { position: absolute; left: 50%; width: min(460px, 92%); height: 205px; padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(230, 240, 250, .16); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); transform-origin: 50% 100%; }
.ledger-sheet span, .ledger-sheet small { display: block; color: #9aacbd; font: .65rem/1.4 var(--mono); }
.ledger-sheet strong { display: block; margin-top: 4.5rem; font-size: 1.35rem; }
.ledger-back { bottom: 52px; transform: translateX(-50%) rotate(-5deg); background: #172d49; }
.ledger-mid { bottom: 27px; transform: translateX(-50%) rotate(3deg); background: #13253c; }
.ledger-front { bottom: 0; transform: translateX(-50%); background: linear-gradient(145deg, #162d49, #0f2033); }
.ledger-front small { margin-top: .5rem; }
.bento-evidence { grid-column: span 2; grid-row: span 1; min-height: 300px; }
.evidence-photo { position: absolute; inset: 0; background: url("./assets/paper-archive.jpg") center/cover; filter: grayscale(1) contrast(1.2) brightness(.65); transition: transform 700ms var(--ease-out); }
.bento-overlay { position: absolute; inset: 0; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, transparent 20%, rgba(7, 17, 29, .92)); }
.bento-overlay span { font: .65rem/1 var(--mono); color: #adbdca; text-transform: uppercase; letter-spacing: .12em; }
.bento-overlay strong { margin-top: .75rem; font-size: clamp(1.6rem, 2.8vw, 2.8rem); letter-spacing: -.04em; }
.bento-rule, .bento-audit { grid-column: span 1; grid-row: span 1; min-height: 300px; padding: 2rem; }
.bento-rule { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, #12305d, #0d2442) !important; }
.bento-rule strong { margin: .9rem 0 .5rem; font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: -.05em; }
.bento-audit { display: grid; align-content: space-between; background: var(--cream) !important; color: var(--dark-ink); }
.bento-audit > span { color: #365b9f; }
.bento-audit > strong { font-size: 1.8rem; line-height: 1.05; letter-spacing: -.04em; }
.audit-seal { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #294e8a; box-shadow: inset 0 0 0 6px var(--cream), inset 0 0 0 7px #294e8a; }
.audit-seal span { font: 600 .8rem/1 var(--mono); color: #294e8a; }

.proof-rail { overflow: hidden; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #081522; }
.rail-track { width: max-content; display: flex; align-items: center; gap: 2.2rem; animation: rail 32s linear infinite; color: #c0ccd7; }
.rail-track span { font-size: 1.05rem; white-space: nowrap; }
.rail-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(57, 117, 255, .16); }
@keyframes rail { to { transform: translateX(-50%); } }

.groundset-story { background: #f2f3f1; color: #121b23; }
.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; align-items: start; }
.story-sticky { align-self: start; padding-top: 1rem; }
.story-sticky .section-kicker { color: #3865b2; }
.story-sticky > p:not(.section-kicker) { max-width: 28rem; color: #63717c; line-height: 1.6; }
.inline-link { display: inline-flex; gap: .5rem; margin-top: 1.5rem; color: #162c4e; font-weight: 650; text-underline-offset: .35rem; }
.story-cards { display: grid; gap: 9rem; }
.story-card { min-height: 720px; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #cad0d2; border-radius: var(--radius-lg); background: #fbfcfa; box-shadow: 0 25px 70px rgba(25, 39, 46, .08); overflow: hidden; transform-origin: center; }
.story-card-head { display: flex; align-items: center; justify-content: space-between; color: #6a7780; font: .69rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.story-card-head span { color: #225cb8; }
.story-card h3 { max-width: 12ch; margin: 3rem 0 1rem; font-size: clamp(2.3rem, 4vw, 4.4rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.story-card > p { max-width: 36rem; color: #66747d; line-height: 1.6; }
.source-canvas, .policy-canvas, .route-canvas { min-height: 320px; margin-top: 4rem; border-radius: 20px; overflow: hidden; }
.source-canvas { position: relative; }
.source-image { position: absolute; inset: 0; background: url("./assets/paper-archive.jpg") center/cover; filter: grayscale(1) contrast(1.12); }
.source-callout { position: absolute; right: 1.5rem; bottom: 1.5rem; width: min(280px, calc(100% - 3rem)); padding: 1.2rem; border-radius: 14px; background: rgba(244, 247, 244, .78); backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255, 255, 255, .72); box-shadow: 0 14px 38px rgba(26, 39, 45, .14); }
.source-callout span, .source-callout small { display: block; color: #64727d; font: .62rem/1.4 var(--mono); }
.source-callout strong { display: block; margin: .5rem 0; }
.policy-canvas { display: grid; align-content: center; padding: 2rem; background: #0d1d2d; color: white; }
.policy-canvas > div { display: grid; grid-template-columns: 5rem 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid rgba(228, 238, 246, .16); }
.policy-canvas span, .policy-canvas b { font: .67rem/1 var(--mono); }
.policy-canvas b { color: var(--success); }
.policy-canvas .policy-review b { color: var(--warning); }
.route-canvas { display: grid; grid-template-columns: 1fr 120px 1.35fr; align-items: center; gap: 1rem; padding: 2rem; background: #e5e9eb; }
.route-origin, .route-owner { padding: 1.4rem; border-radius: 14px; background: white; border: 1px solid #c9d1d4; box-shadow: 0 14px 36px rgba(28, 41, 48, .07); }
.route-origin span, .route-owner span, .route-owner small { display: block; color: #66747e; font: .62rem/1.4 var(--mono); }
.route-origin strong, .route-owner strong { display: block; margin: .6rem 0; }
.route-line { height: 1px; background: linear-gradient(90deg, #608ae0, #2658b8); position: relative; }
.route-line::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #2658b8; }

.manifesto { min-height: 100dvh; display: grid; place-items: center; background: var(--navy); }
.manifesto-text { max-width: 1200px; margin: 0; font-size: clamp(2.8rem, 6.2vw, 7rem); line-height: 1.03; letter-spacing: -.056em; text-align: center; text-wrap: balance; }
.manifesto-text .word { opacity: .13; }
.manifesto-text strong { font-weight: 500; color: var(--cobalt-bright); }

.replay-section { background: #0a1624; }
.replay-heading { max-width: 760px; margin-bottom: 4.5rem; }
.replay-heading > p:last-child { color: var(--muted); line-height: 1.6; }
.decision-console { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: #0c1a29; box-shadow: 0 38px 100px rgba(0, 0, 0, .28); }
.console-topbar { min-height: 76px; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.console-id { display: flex; align-items: baseline; gap: .8rem; }
.console-id span, .console-state, .receipt-trigger { font: .67rem/1 var(--mono); }
.console-id span { color: var(--muted); text-transform: uppercase; }
.console-state { display: flex; align-items: center; gap: .45rem; color: var(--muted); }
.console-state span { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt-bright); }
.receipt-trigger { padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 9px; background: transparent; cursor: pointer; }
.console-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.console-grid > section { min-width: 0; padding: 1.4rem; }
.console-grid > section + section { border-left: 1px solid var(--line); }
.console-label { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.3rem; }
.console-label > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #173d76; color: white; font: .65rem/1 var(--mono); }
.console-label h3 { margin: 0; font-size: .9rem; }
.console-label small { margin-left: auto; color: var(--muted); font: .62rem/1 var(--mono); }
.document-page { min-height: 410px; padding: 1.5rem; background: var(--cream); color: #20292c; border-radius: 12px; box-shadow: 0 16px 38px rgba(0, 0, 0, .2); }
.document-meta { display: flex; justify-content: space-between; padding-bottom: .8rem; border-bottom: 1px solid #c9c8c1; color: #687174; font: .58rem/1 var(--mono); }
.document-page h4 { margin: 2.8rem 0 .7rem; font-size: 1.2rem; }
.document-page p { color: #687174; font-size: .74rem; line-height: 1.55; }
.document-field { margin-top: 2rem; padding: 1rem; outline: 1px solid #6e91cf; background: #dfe8f7; }
.document-field span, .document-field small { display: block; color: #536370; font: .58rem/1.4 var(--mono); }
.document-field strong { display: block; margin: .35rem 0; font-size: 1.35rem; }
.document-signature { margin-top: 3rem; color: #687174; font: .62rem/1.5 var(--mono); }
.ltv-control { padding: 1.15rem; border-radius: 12px; background: #122337; border: 1px solid var(--line); }
.ltv-control > div { display: flex; justify-content: space-between; align-items: baseline; }
.ltv-control label { font-size: .75rem; }
.ltv-control output { font: 600 1.25rem/1 var(--mono); }
.ltv-control input { width: 100%; margin: 1.1rem 0 .65rem; accent-color: var(--cobalt); }
.ltv-control p { margin: 0; color: var(--muted); font-size: .67rem; }
.rule-list { margin-top: 1rem; }
.rule-list > div { display: grid; grid-template-columns: 4rem 1fr; gap: .6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .74rem; }
.rule-list b { color: var(--success); font: 600 .64rem/1.2 var(--mono); }
#ltv-rule b { color: var(--warning); }
#ltv-rule.rule-fail b { color: var(--danger); }
.decision-outcome { min-height: 255px; padding: 1.5rem; border-radius: 12px; background: linear-gradient(145deg, #173864, #112945); transition: background-color 200ms ease, transform 200ms var(--ease-out); }
.decision-outcome > span, .model-boundary > span { color: #9bb5d8; font: .61rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.decision-outcome h3 { max-width: 9ch; margin: 3.6rem 0 .8rem; font-size: clamp(2rem, 3vw, 3.2rem); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.decision-outcome p { margin: 0; color: #b9c8d8; font-size: .72rem; line-height: 1.5; }
.decision-outcome[data-outcome="approved"] { background: linear-gradient(145deg, #18452c, #102f20); }
.decision-outcome[data-outcome="declined"] { background: linear-gradient(145deg, #4b292b, #321c20); }
.route-details { margin: 1rem 0; }
.route-details > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.route-details dt { color: var(--muted); font-size: .68rem; }
.route-details dd { margin: 0; text-align: right; font-size: .7rem; }
.model-boundary { padding: 1rem; border-radius: 10px; background: #08111b; }
.model-boundary p { margin: .6rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }

.workflows { background: #f2f3f1; color: #121b23; }
.workflows-heading { max-width: 920px; margin-bottom: 4.5rem; }
.workflows-heading .section-kicker { color: #3865b2; }
.workflow-accordion { display: flex; min-height: 610px; overflow: hidden; border: 1px solid #c8cfd2; border-radius: var(--radius-lg); background: #d0d5d7; gap: 1px; }
.workflow-panel { flex: 0 0 88px; min-width: 0; display: grid; grid-template-columns: 88px 1fr; overflow: hidden; background: #f8f9f7; transition: flex-basis 500ms var(--ease-drawer); }
.workflow-panel.active { flex-basis: calc(100% - 176px); }
.workflow-panel > button { width: 88px; padding: 1.25rem 0; border: 0; border-right: 1px solid #d0d5d7; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.workflow-panel > button span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.2rem; font-weight: 600; }
.workflow-panel > button small { writing-mode: vertical-rl; transform: rotate(180deg); color: #768189; font: .6rem/1 var(--mono); }
.workflow-content { min-width: min(760px, calc(100vw - 260px)); padding: 1.5rem; display: grid; grid-template-rows: 1fr auto; gap: 2.5rem; opacity: .2; transform: translateX(12px); transition: opacity 220ms ease, transform 400ms var(--ease-out); }
.workflow-panel.active .workflow-content { opacity: 1; transform: translateX(0); transition-delay: 120ms; }
.workflow-image { min-height: 330px; border-radius: 18px; background-position: center; background-size: cover; filter: grayscale(1) contrast(1.15); transition: transform 700ms var(--ease-out); }
.workflow-credit { background-image: url("./assets/credit.jpg"); }
.workflow-claims { background-image: url("./assets/claims.jpg"); }
.workflow-compliance { background-image: url("./assets/compliance.jpg"); }
.workflow-content h3 { max-width: 18ch; margin: 0; font-size: clamp(2rem, 3.7vw, 3.9rem); line-height: 1; letter-spacing: -.05em; }
.workflow-content p { max-width: 42rem; color: #68757e; line-height: 1.55; }

.architecture { position: relative; isolation: isolate; min-height: 100dvh; display: grid; align-items: end; overflow: hidden; }
.architecture-image { position: absolute; inset: 0; z-index: -3; background: url("./assets/data-center.jpg") center/cover; filter: grayscale(1) contrast(1.25) brightness(.58); }
.architecture-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7, 17, 29, .97) 0%, rgba(7, 17, 29, .8) 45%, rgba(7, 17, 29, .22) 100%), linear-gradient(0deg, var(--navy), transparent 45%); }
.architecture-content { max-width: 760px; padding-bottom: 2rem; }
.architecture-content > p:not(.section-kicker) { max-width: 40rem; color: #bdc9d4; line-height: 1.6; font-size: 1.05rem; }
.architecture-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid var(--line-strong); }
.architecture-facts div { padding: 1.2rem 1rem 0 0; }
.architecture-facts span, .architecture-facts strong { display: block; }
.architecture-facts span { color: #94a6b6; font: .62rem/1 var(--mono); }
.architecture-facts strong { margin-top: .65rem; font-size: .9rem; }

.final-cta { position: relative; min-height: 82vh; padding: 10rem 24px; display: grid; place-items: center; align-content: center; text-align: center; background: var(--cobalt); color: white; overflow: hidden; }
.final-cta .section-kicker { color: #dce7ff; }
.final-cta h2 { max-width: 1100px; }
.final-cta > p:not(.section-kicker) { max-width: 580px; margin: 1.6rem auto 2rem; color: #e0e9ff; line-height: 1.6; }
.final-cta .button-primary { background: white; color: #11326f; box-shadow: 0 16px 50px rgba(16, 45, 102, .26); }
.cta-frame { position: absolute; width: min(82vw, 1100px); aspect-ratio: 1.9; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-7deg); }
.cta-frame::before, .cta-frame::after { content: ""; position: absolute; inset: 12%; border: inherit; border-radius: inherit; }
.cta-frame::after { inset: 24%; }

footer { padding: 6rem max(24px, calc((100vw - 1320px) / 2)) 2rem; background: #050c14; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 5rem; border-bottom: 1px solid var(--line); }
.footer-top p { max-width: 280px; margin: 0; color: var(--muted); text-align: right; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 4rem 0 6rem; }
.footer-links div { display: grid; align-content: start; gap: .85rem; }
.footer-links span { margin-bottom: .5rem; color: #708092; font: .64rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { width: fit-content; color: #bec9d5; font-size: .83rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; color: #657484; font: .62rem/1 var(--mono); }

dialog { width: min(680px, calc(100vw - 28px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; color: var(--ink); background: #0e1d2c; box-shadow: 0 35px 100px rgba(0,0,0,.55); }
dialog::backdrop { background: rgba(3, 8, 13, .72); backdrop-filter: blur(10px); }
.receipt-head { display: flex; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.receipt-head span { color: var(--muted); font: .62rem/1 var(--mono); text-transform: uppercase; }
.receipt-head h2 { margin: .5rem 0 0; font-size: 2rem; letter-spacing: -.04em; }
.dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.4rem; cursor: pointer; }
.receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 1.5rem; background: var(--line); }
.receipt-grid > div { padding: 1rem; background: #122337; }
.receipt-grid dt { color: var(--muted); font: .6rem/1 var(--mono); }
.receipt-grid dd { margin: .55rem 0 0; font: .7rem/1.4 var(--mono); }
.receipt-events { margin: 0 1.5rem 1.5rem; padding: 1rem; border-radius: 12px; background: #07111b; }
.receipt-events p { display: grid; grid-template-columns: 5rem 1fr; margin: 0; padding: .45rem 0; font-size: .7rem; }
.receipt-events time { color: var(--cobalt-bright); font-family: var(--mono); }
dialog > .button { margin: 0 1.5rem 1.5rem; }

:focus-visible { outline: 3px solid #82a5ff; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .footer-links a:hover { color: white; }
  .button-primary:hover { background: var(--cobalt-bright); transform: translateY(-2px); }
  .button-secondary:hover, .receipt-trigger:hover { background: rgba(42, 67, 91, .58); border-color: rgba(240, 247, 252, .4); }
  .bento-evidence:hover .evidence-photo, .workflow-panel.active:hover .workflow-image { transform: scale(1.035); }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-shell.menu-open .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: flex; flex-direction: column; gap: 0; padding: .55rem; background: rgba(8, 20, 33, .94); border: 1px solid rgba(230, 240, 250, .18); border-radius: 16px; backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 24px 60px rgba(0,0,0,.34); }
  .nav-shell.menu-open .nav-links a { padding: .95rem 1rem; border-radius: 10px; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-action { display: none; }
  .menu-button { display: block; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .record-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .bento-primary { grid-column: span 2; grid-row: span 1; }
  .bento-evidence { grid-column: span 2; }
  .story-grid { grid-template-columns: 1fr; }
  .story-sticky { margin-bottom: 4rem; }
  .story-cards { gap: 4rem; }
  .console-grid { grid-template-columns: 1fr 1fr; }
  .console-route { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
  .workflow-content { min-width: calc(100vw - 250px); }
}

@media (max-width: 720px) {
  .topbar { padding: 10px; }
  .nav-shell { width: 100%; height: 58px; border-radius: 15px; }
  .hero { padding: 118px 20px 104px; }
  .hero h1 { font-size: clamp(3.4rem, 15.5vw, 5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: min(100%, 320px); }
  .hero-ledger { grid-template-columns: 1fr auto 1fr; text-align: center; }
  .hero-ledger i:first-of-type { display: none; }
  .hero-ledger span:first-child { display: none; }
  .chapter { padding: 7rem 18px; }
  .record-bento { display: block; border-radius: 20px; }
  .record-bento > article + article { border-top: 1px solid var(--line); }
  .bento-primary { min-height: 620px; }
  .bento-evidence, .bento-rule, .bento-audit { min-height: 320px; }
  .story-card { min-height: auto; border-radius: 20px; }
  .story-card-head small { display: none; }
  .source-canvas, .policy-canvas, .route-canvas { min-height: 300px; margin-top: 3rem; }
  .route-canvas { grid-template-columns: 1fr; }
  .route-line { height: 60px; width: 1px; margin: 0 auto; background: linear-gradient(180deg, #608ae0, #2658b8); }
  .route-line::after { right: -3px; top: auto; bottom: -1px; }
  .manifesto { min-height: 80vh; }
  .console-topbar { align-items: flex-start; }
  .console-state { display: none; }
  .console-grid { grid-template-columns: 1fr; }
  .console-grid > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .console-route { grid-column: auto; }
  .workflow-accordion { display: grid; min-height: 0; }
  .workflow-panel, .workflow-panel.active { display: block; flex-basis: auto; }
  .workflow-panel > button { width: 100%; height: 72px; padding: 0 1rem; flex-direction: row; border-right: 0; border-bottom: 1px solid #d0d5d7; }
  .workflow-panel > button span, .workflow-panel > button small { writing-mode: initial; transform: none; }
  .workflow-content { min-width: 0; max-height: 0; padding: 0 1rem; overflow: hidden; display: block; opacity: 0; transition: max-height 500ms var(--ease-drawer), opacity 180ms ease, padding 500ms var(--ease-drawer); }
  .workflow-panel.active .workflow-content { max-height: 700px; padding: 1rem; opacity: 1; }
  .workflow-image { min-height: 260px; margin-bottom: 2rem; }
  .architecture { min-height: 900px; }
  .architecture-wash { background: linear-gradient(0deg, var(--navy) 10%, rgba(7,17,29,.78) 70%, rgba(7,17,29,.4)); }
  .architecture-facts { grid-template-columns: 1fr; }
  .architecture-facts div { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .footer-top { display: grid; }
  .footer-top p { text-align: left; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .receipt-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail-track { animation: none; }
  .pressable, .evidence-photo, .workflow-image, .workflow-panel, .workflow-content, .decision-outcome { transition-duration: .01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-shell, .button-secondary, .hero-ledger, .source-callout { backdrop-filter: none; background: #0d1c2c; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(255,255,255,.32); --line-strong: rgba(255,255,255,.6); }
  .nav-shell { background: #07111d; }
}
