:root {
  --ink: #eef8f2;
  --muted: #91a49b;
  --bg: #07110f;
  --panel: rgba(13, 28, 24, .82);
  --panel-2: #10241e;
  --line: rgba(191, 230, 210, .14);
  --mint: #6fffb0;
  --cyan: #5ee7f2;
  --amber: #ffc66b;
  --red: #ff7b75;
  --baseline: #70857c;
  --shadow: 0 28px 80px rgba(0, 0, 0, .28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: radial-gradient(circle at 72% 0%, #10382c 0, transparent 32rem), var(--bg); }
button, input { font: inherit; }
button { color: inherit; }
.ambient { position: fixed; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(111,255,176,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(111,255,176,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.topbar { position: sticky; top: 0; z-index: 10; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px)/2)); border-bottom: 1px solid var(--line); background: rgba(7,17,15,.78); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 760; letter-spacing: .08em; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--mint); border-radius: 9px; color: var(--mint); box-shadow: inset 0 0 18px rgba(111,255,176,.12); }
.status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links > a { color: var(--cyan); font-size: 11px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.topbar-links > a:hover { text-decoration: underline; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.hero { min-height: 700px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; padding-block: 92px 74px; }
.eyebrow { margin: 0 0 18px; color: var(--mint); font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .16em; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; max-width: 760px; font-size: clamp(52px, 6.6vw, 92px); line-height: .96; letter-spacing: -.065em; font-weight: 620; }
h1 span { color: var(--mint); }
.context-line { max-width: 660px; margin: 0 0 20px; color: #c7d7cf; font-size: clamp(15px, 1.7vw, 19px); line-height: 1.45; }
.mechanism-headline { font-size: clamp(45px, 5.3vw, 74px); }
.hero-deck { max-width: 690px; margin: 28px 0 0; color: #b7c9c0; font-size: clamp(17px, 2vw, 21px); line-height: 1.58; }
.hero-deck strong { color: var(--ink); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.economic-translation { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; max-width: 660px; margin-top: 22px; padding: 15px 18px; border: 1px solid rgba(111,255,176,.22); border-radius: 14px; background: rgba(111,255,176,.045); }
.economic-translation div { padding-right: 20px; border-right: 1px solid var(--line); }
.economic-translation span, .economic-translation small { display: block; color: var(--muted); font-size: 10px; }
.economic-translation strong { display: block; margin-top: 3px; color: var(--mint); font-size: 27px; line-height: 1; }
.economic-translation p { margin: 0; color: #c4d4cc; font-size: 12px; line-height: 1.35; }
.economic-translation small { margin-top: 4px; line-height: 1.3; }
.primary-button, .quiet-button { cursor: pointer; border-radius: 999px; padding: 13px 19px; border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.primary-button { border-color: var(--mint); background: var(--mint); color: #062017; font-weight: 760; }
.primary-button span { margin-left: 16px; }
.quiet-button { background: rgba(255,255,255,.025); color: #c0d1c8; }
.primary-button:hover, .quiet-button:hover { transform: translateY(-2px); }
.quiet-button:hover { border-color: rgba(111,255,176,.5); }
.hero-result { position: relative; aspect-ratio: 1; display: grid; place-items: center; max-width: 470px; width: 100%; justify-self: end; }
.result-orbit, .result-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(111,255,176,.15); }
.result-orbit { animation: breathe 5s ease-in-out infinite; }
.result-orbit span:nth-child(1) { inset: 8%; border-color: rgba(94,231,242,.24); }
.result-orbit span:nth-child(2) { inset: 18%; border-style: dashed; animation: spin 32s linear infinite; }
.result-orbit span:nth-child(3) { inset: 27%; border-color: rgba(111,255,176,.32); background: radial-gradient(circle, rgba(111,255,176,.1), transparent 68%); }
.result-content { position: relative; z-index: 1; text-align: center; }
.result-content p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.result-content strong { display: block; margin-top: 11px; font-size: clamp(68px, 8vw, 108px); line-height: .85; letter-spacing: -.07em; color: var(--mint); font-variant-numeric: tabular-nums; }
.result-content strong span { font-size: .42em; margin-left: 5px; }
.result-content h2 { margin: 14px 0 10px; font-size: 27px; font-weight: 540; }
.result-content small { color: var(--muted); }
.proof-strip { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(7,17,15,.55); }
.proof-strip div { padding: 28px clamp(18px, 3vw, 44px); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border: 0; }
.proof-strip span { display: block; margin-bottom: 6px; font-size: 24px; font-weight: 650; color: var(--ink); }
.proof-strip small { color: var(--muted); line-height: 1.4; }
.replication, .evidence, .mechanism, .calculator, .receipts { padding-block: 112px; }
.replication { border-bottom: 1px solid var(--line); }
.cohort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cohort-card { padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(16,36,30,.94), rgba(9,23,19,.78)); box-shadow: var(--shadow); }
.cohort-top { display: flex; justify-content: space-between; gap: 15px; color: var(--cyan); font-size: 12px; font-weight: 700; }
.cohort-top small { color: var(--muted); font-weight: 500; }
.cohort-card > strong { display: block; margin-top: 34px; color: var(--mint); font-size: clamp(42px, 4vw, 58px); letter-spacing: -.05em; }
.cohort-card h3 { margin: 4px 0 25px; color: var(--ink); font-size: 16px; font-weight: 580; }
.cohort-card dl { margin: 0; border-top: 1px solid var(--line); }
.cohort-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cohort-card dt { color: var(--muted); font-size: 11px; }
.cohort-card dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 650; }
.cohort-card > p { margin: 16px 0 0; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.hardware-readout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; margin-top: 18px; padding: 25px 28px; border: 1px solid rgba(94,231,242,.22); border-radius: 18px; background: rgba(94,231,242,.035); }
.hardware-readout span, .hardware-readout small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.hardware-readout strong { display: block; margin: 7px 0; color: var(--cyan); font-size: 25px; }
.hardware-readout p { margin: 0; color: #b7c9c0; font-size: 13px; line-height: 1.6; }
.pool-boundary { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pool-boundary strong, .pool-boundary span { color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading.compact { align-items: center; }
.section-heading h2, .calculator h2 { margin: 0; font-size: clamp(35px, 4vw, 54px); line-height: 1.05; letter-spacing: -.045em; font-weight: 580; }
.metric-toggle { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.metric-toggle button { border: 0; border-radius: 999px; padding: 9px 14px; color: var(--muted); background: transparent; cursor: pointer; }
.metric-toggle button.active { color: #062017; background: var(--mint); font-weight: 700; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .7fr); gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(16,36,30,.94), rgba(9,23,19,.78)); box-shadow: var(--shadow); }
.chart-panel { min-height: 585px; padding: 26px; }
.panel-topline { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.panel-kicker { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.panel h3 { margin: 6px 0 0; font-size: 22px; font-weight: 590; }
.legend { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 8px; color: var(--muted); font-size: 11px; }
.legend span { width: 8px; height: 8px; border-radius: 50%; margin-left: 8px; }
.baseline-dot { background: var(--baseline); }
.aegis-dot { background: var(--mint); box-shadow: 0 0 8px rgba(111,255,176,.5); }
.seed-chart { margin-top: 28px; min-height: 440px; }
.seed-row { display: grid; grid-template-columns: 92px 1fr 72px; align-items: center; gap: 13px; min-height: 39px; }
.seed-label { color: #aebfb7; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; }
.seed-track { position: relative; height: 22px; }
.seed-track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.pair-line { position: absolute; top: 10px; height: 1px; background: linear-gradient(90deg, var(--baseline), var(--mint)); }
.point { position: absolute; top: 5px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; }
.point.baseline { background: var(--baseline); }
.point.aegis { background: var(--mint); box-shadow: 0 0 10px rgba(111,255,176,.42); }
.seed-delta { text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.seed-delta.win { color: var(--mint); }
.seed-delta.loss { color: var(--red); }
.axis { display: grid; grid-template-columns: 92px 1fr 72px; gap: 13px; margin-top: 5px; color: var(--muted); font-size: 10px; }
.axis div { display: flex; justify-content: space-between; }
.chart-note { margin: 17px 0 0; color: var(--muted); font-size: 12px; }
.readout-panel { padding: 27px; }
.mean-race { margin: 44px 0 35px; }
.race-label { display: flex; justify-content: space-between; align-items: baseline; margin: 17px 0 8px; color: #b6c7bf; font-size: 13px; }
.race-label b { color: var(--ink); font-size: 19px; font-variant-numeric: tabular-nums; }
.race-track { height: 12px; border-radius: 99px; background: rgba(255,255,255,.05); overflow: hidden; }
.race-track i { display: block; height: 100%; border-radius: inherit; transition: width .5s ease; }
.baseline-bar { width: 100%; background: var(--baseline); }
.aegis-bar { width: 95.691%; background: linear-gradient(90deg, #36b87a, var(--mint)); box-shadow: 0 0 16px rgba(111,255,176,.28); }
.readout-list { margin: 0; border-top: 1px solid var(--line); }
.readout-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.readout-list dt { color: var(--muted); font-size: 12px; }
.readout-list dd { margin: 0; color: var(--mint); font-size: 18px; font-weight: 650; }
.plain-language { margin: 26px 0 0; color: #a9bbb2; font-size: 13px; line-height: 1.65; }
.mechanism { border-top: 1px solid var(--line); }
.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; align-items: center; margin-top: 48px; }
.pipeline article { min-height: 235px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.pipeline > i { color: var(--mint); font-size: 22px; font-style: normal; }
.pipeline article > span { color: var(--mint); font: 12px ui-monospace, monospace; }
.pipeline h3 { margin: 54px 0 10px; font-size: 24px; }
.pipeline p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
code { color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.safety-callout { margin-top: 20px; padding: 17px 20px; border-left: 2px solid var(--amber); border-radius: 4px 12px 12px 4px; background: rgba(255,198,107,.06); color: #c9b994; font-size: 13px; }
.calculator { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; border-top: 1px solid var(--line); }
.calculator > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.calc-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.calc-card label { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.calc-card label span { color: var(--ink); }
.calc-card input { width: 100%; margin: 31px 0 36px; accent-color: var(--mint); }
.calc-output { display: grid; grid-template-columns: 1fr auto; align-items: end; padding-top: 26px; border-top: 1px solid var(--line); }
.calc-output span { color: var(--muted); }
.calc-output strong { color: var(--mint); font-size: 58px; line-height: .9; letter-spacing: -.04em; }
.calc-output small { grid-column: 1 / -1; margin-top: 9px; color: var(--muted); text-align: right; }
.receipts { border-top: 1px solid var(--line); }
.receipt-list { display: grid; gap: 10px; }
.receipt-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.receipt { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 15px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.receipt-index { color: var(--mint); font: 11px ui-monospace, monospace; }
.receipt strong { display: block; font-size: 13px; font-weight: 580; }
.receipt code { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.receipt span:last-child { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.freeze-receipt { display: grid; gap: 7px; margin-top: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.freeze-receipt span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.freeze-receipt code { color: var(--cyan); overflow-wrap: anywhere; }
.freeze-receipt a { width: fit-content; color: var(--mint); font-size: 12px; text-decoration: none; }
.freeze-receipt a:hover { text-decoration: underline; }
.momentum-line { margin-top: 22px; padding: 19px 22px; border: 1px solid rgba(111,255,176,.22); border-radius: 14px; background: rgba(111,255,176,.045); color: #c4d4cc; line-height: 1.5; }
.momentum-line span, .momentum-line i { color: var(--mint); font-style: normal; font-weight: 700; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 28px max(24px, calc((100vw - 1180px)/2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
dialog { max-width: 630px; padding: 38px; border: 1px solid rgba(111,255,176,.3); border-radius: 22px; background: #0c1c17; color: var(--ink); box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(2,8,6,.78); backdrop-filter: blur(8px); }
dialog h2 { font-size: 34px; letter-spacing: -.035em; }
dialog p, dialog li { color: #b5c6be; line-height: 1.6; }
.dialog-stance { color: var(--mint); font-weight: 650; }
dialog li { margin-bottom: 9px; }
.dialog-close { position: absolute; right: 15px; top: 13px; border: 0; background: transparent; color: var(--muted); font-size: 27px; cursor: pointer; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.025); opacity: .86; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 76px; }
  .hero-result { max-width: 400px; justify-self: center; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cohort-grid, .evidence-grid, .calculator { grid-template-columns: 1fr; }
  .hardware-readout { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline > i { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 600px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .topbar { height: 62px; padding-inline: 14px; }
  .brand em, .status { display: none; }
  .topbar-links { gap: 8px; }
  .hero { min-height: auto; padding-block: 62px; gap: 40px; }
  .hero-result { max-width: 310px; }
  .economic-translation { grid-template-columns: 1fr; }
  .economic-translation div { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { align-items: start; flex-direction: column; }
  .replication, .evidence, .mechanism, .calculator, .receipts { padding-block: 76px; }
  .chart-panel { padding: 18px 12px; }
  .panel-topline { padding-inline: 6px; }
  .legend { display: none; }
  .seed-row, .axis { grid-template-columns: 68px 1fr 57px; gap: 7px; }
  .seed-label { font-size: 9px; }
  .receipt { grid-template-columns: 24px 1fr; }
  .receipt span:last-child { display: none; }
  footer { flex-direction: column; }
}
