:root {
  --paper: #f4f1e8;
  --paper-2: #e9e4d7;
  --ink: #14241d;
  --ink-2: #1a3128;
  --muted: #65726b;
  --green: #087054;
  --lime: #b8ef79;
  --orange: #ef7040;
  --blue: #68a7ff;
  --line: rgba(20, 36, 29, .15);
  --shadow: 0 22px 55px rgba(20, 36, 29, .10);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-size: 16px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.shell { width: min(1200px, calc(100% - 44px)); margin: 0 auto; }

.atlas-locked { overflow: hidden; }
.atlas-locked body { background: #091c16; }
.atlas-locked #atlas-content { visibility: hidden; }
.atlas-unlocked .access-gate, .access-gate[hidden] { display: none; }
.access-gate { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; color: #faf9f4; background: radial-gradient(circle at 74% 18%, rgba(184,239,121,.2), transparent 28%), radial-gradient(circle at 18% 90%, rgba(104,167,255,.12), transparent 30%), linear-gradient(137deg, #102b22 0%, #163a2b 56%, #091c16 100%); }
.access-card { width: min(560px, 100%); padding: clamp(30px, 6vw, 54px); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.055); box-shadow: 0 30px 90px rgba(0,0,0,.24); backdrop-filter: blur(12px); }
.access-brand { margin: 0 0 70px; font-size: 14px; font-weight: 850; letter-spacing: .13em; }
.access-brand span { color: var(--lime); }
.access-brand b { margin-left: 8px; padding: 4px 7px; color: #143025; background: var(--lime); border-radius: 99px; font-size: 13px; }
.access-kicker { margin: 0 0 14px; color: var(--orange); font-size: 14px; font-weight: 850; letter-spacing: .19em; }
.access-card h1 { margin: 0; font: 500 clamp(35px, 8vw, 52px)/1.08 Georgia, "Noto Serif SC", serif; letter-spacing: -.035em; }
.access-copy { margin: 22px 0 30px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }
.access-card label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 750; letter-spacing: .08em; }
.access-input-row { display: grid; grid-template-columns: 1fr auto; }
.access-input-row input { min-width: 0; padding: 14px 15px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-right: 0; border-radius: 0; outline: 0; background: rgba(0,0,0,.16); font: 14px ui-monospace, monospace; }
.access-input-row input:focus { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.access-input-row button { padding: 0 18px; color: #10261d; border: 1px solid var(--lime); background: var(--lime); cursor: pointer; font-size: 14px; font-weight: 800; }
.access-error { min-height: 18px; margin: 10px 0 0; color: #ff9a74; font-size: 14px; }

.hero { min-height: 760px; color: #faf9f4; overflow: hidden; background: radial-gradient(circle at 76% 14%, rgba(184,239,121,.22), transparent 27%), radial-gradient(circle at 20% 100%, rgba(104,167,255,.12), transparent 30%), linear-gradient(137deg, #102b22 0%, #163a2b 56%, #091c16 100%); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { font-size: 14px; font-weight: 850; letter-spacing: .13em; }
.brand span { color: var(--lime); }
.brand b { margin-left: 8px; padding: 4px 7px; color: #143025; background: var(--lime); border-radius: 99px; font-size: 13px; }
.nav-links { display: flex; gap: 26px; color: rgba(255,255,255,.65); font-size: 14px; }
.nav-links a:hover { color: var(--lime); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 86px; align-items: center; padding: 105px 0 115px; }
.eyebrow { margin: 0 0 15px; color: var(--orange); font-size: 14px; font-weight: 850; letter-spacing: .19em; }
.hero h1 { max-width: 850px; margin: 0; font: 500 clamp(54px, 7vw, 92px)/.99 Georgia, "Noto Serif SC", serif; letter-spacing: -.045em; }
.hero h1 em { color: var(--lime); font-style: italic; }
.hero-copy { max-width: 730px; margin: 30px 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { padding: 13px 19px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: 14px; font-weight: 750; }
.button.primary { color: #10261d; background: var(--lime); border-color: var(--lime); }
.button.secondary:hover { border-color: var(--lime); }
.text-link { margin-left: 8px; color: rgba(255,255,255,.63); font-size: 14px; }
.text-link:hover { color: var(--lime); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 55px; color: rgba(255,255,255,.68); font: 14px ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.hero-facts b { display: block; margin-bottom: 5px; color: #fff; font: 650 23px Inter, sans-serif; letter-spacing: -.03em; }
.hero-facts b small { display: block; margin-top: 5px; color: var(--lime); font: 700 13px Inter, sans-serif; letter-spacing: 0; }
.status-panel { padding: 28px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); box-shadow: 0 30px 90px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--lime); font-size: 14px; font-weight: 850; letter-spacing: .14em; }
.panel-head b { padding: 5px 8px; color: #123022; background: var(--lime); border-radius: 99px; font-size: 13px; }
.status-item { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.status-dot { width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; }
.status-dot.complete { color: var(--lime); background: var(--lime); }
.status-dot.pilot { color: var(--orange); background: var(--orange); }
.status-dot.pending { color: rgba(255,255,255,.28); }
.status-item b { display: block; font-size: 14px; }
.status-item small { color: rgba(255,255,255,.68); font-size: 14px; }
.status-item > span:last-child { color: rgba(255,255,255,.68); font: 13px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.generated { margin: 20px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }

.question-index { position: relative; z-index: 2; margin-top: -56px; padding: 30px; border: 1px solid var(--line); background: #f7f4eb; box-shadow: var(--shadow); }
.question-index-head { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 30px; align-items: end; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.question-index-head .eyebrow { margin: 0; }
.question-index-head h2 { margin: 0; font: 500 28px Georgia, "Noto Serif SC", serif; }
.question-index-head > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.question-links { display: grid; grid-template-columns: repeat(5, 1fr); }
.question-links a { min-width: 0; padding: 23px 18px 4px; border-right: 1px solid var(--line); transition: background .18s ease; }
.question-links a:first-child { padding-left: 0; }
.question-links a:last-child { padding-right: 0; border-right: 0; }
.question-links a:hover { background: rgba(8,112,84,.05); }
.question-links span { color: var(--orange); font: 850 13px ui-monospace, monospace; letter-spacing: .13em; }
.question-links b { display: block; margin: 15px 0 7px; font: 500 18px Georgia, serif; }
.question-links small { color: var(--muted); font-size: 14px; line-height: 1.5; }

.section { padding: 96px 0; }
.section-tint { background: var(--paper-2); }
.section-dark { color: #faf9f4; background: var(--ink-2); }
.section-ink { color: #faf9f4; background: #111f1a; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 45px; }
.section-heading h2 { margin: 0; font: 500 clamp(35px, 4vw, 55px) Georgia, "Noto Serif SC", serif; letter-spacing: -.03em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.75; }
.section-heading.light > p { color: rgba(255,255,255,.72); }
.direct-answer { display: grid; grid-template-columns: 145px 1fr; gap: 25px; align-items: start; margin-bottom: 30px; padding: 22px 24px; border-left: 4px solid var(--green); background: rgba(8,112,84,.07); }
.direct-answer > span { padding-top: 3px; color: var(--green); font: 850 13px ui-monospace, monospace; letter-spacing: .14em; }
.direct-answer p { margin: 0; font-size: 15px; font-weight: 590; line-height: 1.75; }
.direct-answer code { color: var(--green); }
.direct-answer.inverse { border-left-color: var(--lime); background: rgba(184,239,121,.08); }
.direct-answer.inverse > span, .direct-answer.inverse code { color: var(--lime); }
.direct-answer.inverse p { color: rgba(255,255,255,.82); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { min-height: 184px; padding: 23px; border: 1px solid var(--line); background: rgba(255,255,255,.34); }
.metric-tag { color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: .14em; }
.metric-value { margin: 30px 0 8px; font: 680 clamp(30px, 3vw, 44px)/1 Inter, sans-serif; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.metric-value i { margin-left: 5px; color: var(--green); font-size: 14px; font-style: normal; letter-spacing: 0; }
.metric p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.frequency-wrap { margin-top: 28px; }
table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.24); font-size: 14px; line-height: 1.55; }
th, td { padding: 15px 16px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 13px; letter-spacing: .11em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td b { color: var(--green); }
.table-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.unit-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
.unit-flow article { min-height: 180px; padding: 25px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); }
.unit-flow article span { color: var(--lime); font: 800 14px ui-monospace, monospace; letter-spacing: .13em; }
.unit-flow article b { display: block; margin: 22px 0 10px; font: 500 25px Georgia, serif; }
.unit-flow article p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; }
.unit-flow > i { color: var(--orange); font: 700 14px ui-monospace, monospace; font-style: normal; }
.schema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 28px; }
.schema-card { padding: 23px; border: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.1); }
.schema-card.wide { grid-column: 1 / -1; }
.schema-title { display: flex; justify-content: space-between; margin-bottom: 18px; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .12em; }
.schema-title b { color: var(--lime); }
.field-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.field-cloud code { padding: 7px 9px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); font-size: 14px; }
.orientation-note { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 17px; padding: 18px 22px; color: rgba(255,255,255,.66); border-left: 3px solid var(--orange); background: rgba(239,112,64,.08); }
.orientation-note span { color: var(--orange); font: 850 13px ui-monospace, monospace; letter-spacing: .13em; }
.orientation-note p { margin: 0; font-size: 14px; line-height: 1.7; }
.orientation-note code { color: var(--lime); }
.field-meaning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 17px; }
.field-meaning-grid article { padding: 22px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); }
.field-meaning-grid span { color: var(--lime); font: 800 13px ui-monospace, monospace; letter-spacing: .12em; }
.field-meaning-grid h3 { margin: 16px 0 9px; font: 500 20px Georgia, serif; }
.field-meaning-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.field-meaning-grid code { color: rgba(255,255,255,.72); }
.trajectory-contract { display: grid; grid-template-columns: 1.15fr .85fr; margin-top: 17px; border: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.12); }
.trajectory-contract > div { padding: 25px; }
.trajectory-contract span { color: var(--orange); font: 800 13px ui-monospace, monospace; letter-spacing: .12em; }
.trajectory-contract h3 { margin: 16px 0 10px; font: 500 22px Georgia, serif; }
.trajectory-contract p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.75; }
.trajectory-contract code { color: var(--lime); }
.trajectory-contract pre { min-height: 0; max-height: none; padding: 25px; border-left: 1px solid rgba(255,255,255,.1); font-size: 14px; }

.frequency-tabs, .case-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.frequency-tabs button, .case-toolbar button { padding: 10px 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; }
.frequency-tabs button.active { color: #fff; background: var(--green); border-color: var(--green); }
.distribution-grid { display: grid; grid-template-columns: 1.5fr .75fr; gap: 18px; }
.distribution-card { padding: 27px; border: 1px solid var(--line); background: rgba(255,255,255,.35); box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; gap: 25px; align-items: start; }
.card-head span { color: var(--green); font: 800 13px ui-monospace, monospace; letter-spacing: .12em; }
.card-head h3 { margin: 8px 0 0; font: 500 21px Georgia, serif; }
.card-head > b { color: var(--green); font: 650 28px Inter, sans-serif; }
.quantile-chart, .compact-chart { margin-top: 27px; }
.quantile-row { display: grid; grid-template-columns: 42px 1fr minmax(145px, auto); gap: 11px; align-items: center; margin: 13px 0; font-size: 14px; }
.quantile-row span:first-child { color: var(--muted); font: 700 14px ui-monospace, monospace; }
.bar-track { height: 10px; overflow: hidden; background: rgba(20,36,29,.08); }
.bar-track i { display: block; height: 100%; min-width: 2px; background: linear-gradient(90deg, var(--green), #38a57e); }
.quantile-row b { text-align: right; font-variant-numeric: tabular-nums; }
.frequency-detail { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 25px; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }
.frequency-detail b { color: var(--ink); }
.insight { margin: 25px 0 0; padding: 15px; color: var(--muted); border-left: 2px solid var(--orange); background: rgba(239,112,64,.06); font-size: 14px; line-height: 1.7; }

.case-toolbar button { color: rgba(255,255,255,.74); border-color: rgba(255,255,255,.15); }
.case-toolbar button.active { color: #13271e; background: var(--lime); border-color: var(--lime); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.case-card { min-width: 0; padding: 26px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.045); }
.case-card.hidden { display: none; }
.case-top { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.62); font: 13px ui-monospace, monospace; letter-spacing: .1em; }
.case-top b { color: var(--lime); }
.case-card h3 { margin: 22px 0 8px; font: 500 24px/1.28 Georgia, "Noto Serif SC", serif; }
.case-event { margin: 0 0 7px; color: var(--lime); font-size: 14px; line-height: 1.5; }
.case-question { min-height: 38px; margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.6; }
.case-summary { min-height: 46px; margin: 14px 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.65; }
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 18px 0; background: rgba(255,255,255,.1); }
.case-stats span { padding: 12px; background: #14231d; color: rgba(255,255,255,.68); font-size: 13px; }
.case-stats b { display: block; margin-bottom: 5px; color: #fff; font-size: 14px; }
.case-stats em { display: block; min-height: 18px; margin-bottom: 4px; color: var(--lime); font-size: 13px; font-style: normal; font-weight: 750; }
.sparkline { display: block; width: 100%; height: auto; aspect-ratio: 640 / 210; background: rgba(0,0,0,.12); }
.sparkline .grid { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.sparkline .axis, .sparkline .tick-mark { stroke: rgba(255,255,255,.24); stroke-width: 1; }
.sparkline .area { fill: rgba(184,239,121,.08); }
.sparkline .line { fill: none; stroke: var(--lime); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sparkline .tick { fill: rgba(255,255,255,.45); font: 13px ui-monospace, monospace; }
.sparkline .y-tick { text-anchor: end; }
.sparkline .axis-label { fill: rgba(255,255,255,.62); font: 800 13px ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.no-trajectory { display: grid; min-height: 180px; place-content: center; gap: 9px; text-align: center; color: rgba(255,255,255,.62); border: 1px dashed rgba(255,255,255,.14); font-size: 14px; }
.no-trajectory b { color: rgba(255,255,255,.7); font-weight: 650; }
.no-trajectory span { font: 13px ui-monospace, monospace; }
.axis-legend { display: flex; justify-content: space-between; gap: 18px; margin-top: 9px; color: rgba(255,255,255,.68); font-size: 13px; }
.axis-legend span { display: flex; gap: 7px; align-items: center; }
.axis-legend b { color: var(--lime); font: 800 13px ui-monospace, monospace; letter-spacing: .1em; }
.axis-legend code { color: rgba(255,255,255,.7); }
.case-callout { margin: 18px 0 0; padding: 13px 15px; color: rgba(255,255,255,.62); border-left: 2px solid var(--orange); background: rgba(0,0,0,.12); font-size: 14px; line-height: 1.65; }
.case-timeline { display: flex; justify-content: space-between; gap: 18px; margin: 10px 0 0; color: rgba(255,255,255,.62); font: 13px ui-monospace, monospace; }
.case-timeline b { color: rgba(255,255,255,.75); }
.case-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 18px; background: rgba(255,255,255,.1); }
.case-detail-grid section { padding: 15px; background: #14231d; }
.case-detail-grid span { color: var(--orange); font: 800 13px ui-monospace, monospace; letter-spacing: .12em; }
.case-detail-grid p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.65; }
.case-card[data-kind="governance"] .case-detail-grid { grid-template-columns: 1fr; }

.llm-protocol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.llm-protocol-grid article { padding: 21px; border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.llm-protocol-grid span { color: var(--orange); font: 850 13px ui-monospace, monospace; letter-spacing: .13em; }
.llm-protocol-grid h3 { margin: 18px 0 8px; font: 500 19px Georgia, "Noto Serif SC", serif; }
.llm-protocol-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.llm-protocol-grid code { color: var(--green); }
.llm-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 18px; }
.llm-metric { padding: 21px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.llm-metric span { color: var(--green); font: 850 13px ui-monospace, monospace; letter-spacing: .12em; }
.llm-metric b { display: block; margin: 18px 0 7px; font-size: 29px; letter-spacing: -.04em; }
.llm-metric small { color: var(--muted); font-size: 14px; }
.llm-table-wrap { margin-bottom: 22px; }
.llm-table-wrap td.best { color: var(--green); font-weight: 800; }
.forecast-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 14px; color: var(--muted); font-size: 14px; }
.forecast-legend span { display: flex; gap: 8px; align-items: center; }
.forecast-legend span::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.forecast-legend .history { color: var(--green); }
.forecast-legend .actual { color: var(--orange); }
.forecast-legend .trajectory { color: #347fe7; }
.forecast-legend .sanitized { color: #8a5bd1; }
.forecast-legend .full { color: #c53f74; }
.forecast-legend .persist { color: #7d8883; }
.forecast-legend .persist::before { background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px); }
.llm-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.llm-case-card { padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.35); box-shadow: var(--shadow); }
.llm-case-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.llm-case-top { display: flex; justify-content: space-between; gap: 15px; color: var(--green); font: 800 13px ui-monospace, monospace; letter-spacing: .1em; }
.llm-case-top b { color: var(--orange); }
.llm-case-card h3 { margin: 15px 0 5px; font: 500 20px/1.3 Georgia, "Noto Serif SC", serif; }
.llm-case-card > p { margin: 0 0 13px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.forecast-chart { display: block; width: 100%; height: auto; aspect-ratio: 520 / 175; background: rgba(20,36,29,.035); }
.forecast-chart .grid { stroke: rgba(20,36,29,.11); stroke-width: 1; }
.forecast-chart .axis, .forecast-chart .cutoff { stroke: rgba(20,36,29,.24); stroke-width: 1; }
.forecast-chart .cutoff { stroke-dasharray: 4 4; }
.forecast-chart .history { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.forecast-chart .actual { fill: none; stroke: var(--orange); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.forecast-chart .trajectory { fill: none; stroke: #347fe7; stroke-width: 2; vector-effect: non-scaling-stroke; }
.forecast-chart .sanitized { fill: none; stroke: #8a5bd1; stroke-width: 1.8; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.forecast-chart .full { fill: none; stroke: #c53f74; stroke-width: 1.8; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.forecast-chart .persist { fill: none; stroke: #7d8883; stroke-width: 1.6; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.forecast-chart text { fill: var(--muted); font: 13px ui-monospace, monospace; }
.forecast-chart .cutoff-label { fill: var(--orange); font-weight: 800; }
.llm-case-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 12px; background: var(--line); }
.llm-case-metrics span { padding: 11px; background: var(--paper); color: var(--muted); font-size: 13px; }
.llm-case-metrics b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; }
.demo-boundary { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 18px; padding: 19px 21px; border-left: 3px solid var(--orange); background: rgba(239,112,64,.07); }
.demo-boundary b { color: var(--orange); font-size: 14px; }
.demo-boundary p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.demo-boundary a { color: var(--green); font-size: 14px; font-weight: 800; white-space: nowrap; }

.baseline-section { background: linear-gradient(155deg, #193329 0%, #10251d 72%, #0d1c17 100%); }
.baseline-answer b { color: var(--lime); }
.agentic-boundary { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; margin: 24px 0 18px; }
.agentic-boundary article { min-width: 0; padding: 21px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04); }
.agentic-boundary article.missing { border-color: rgba(239,112,64,.3); background: rgba(239,112,64,.06); }
.agentic-boundary span { color: var(--lime); font: 850 13px ui-monospace, monospace; letter-spacing: .13em; }
.agentic-boundary .missing span { color: var(--orange); }
.agentic-boundary h3 { margin: 18px 0 8px; font: 500 19px Georgia, "Noto Serif SC", serif; }
.agentic-boundary p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.agentic-boundary > i { align-self: center; color: var(--orange); font: 750 14px ui-monospace, monospace; font-style: normal; }
.baseline-paper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.baseline-paper-card { min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.13); }
.baseline-paper-card.eventconnector { box-shadow: inset 0 3px 0 var(--blue); }
.baseline-paper-card.swm { box-shadow: inset 0 3px 0 var(--lime); }
.baseline-card-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; color: rgba(255,255,255,.68); font: 850 13px ui-monospace, monospace; letter-spacing: .12em; }
.baseline-card-head > div { display: flex; gap: 13px; }
.baseline-card-head a { color: var(--lime); letter-spacing: 0; white-space: nowrap; }
.baseline-paper-card.eventconnector .baseline-card-head a { color: #93bfff; }
.baseline-paper-card h3 { margin: 28px 0 14px; font: 500 27px/1.27 Georgia, "Noto Serif SC", serif; }
.baseline-thesis { min-height: 78px; margin: 0 0 22px; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.75; }
.baseline-facts { margin: 0; }
.baseline-facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.baseline-facts dt { color: var(--lime); font-size: 14px; font-weight: 780; }
.eventconnector .baseline-facts dt { color: #93bfff; }
.baseline-facts dd { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; }
.baseline-comparison { margin-top: 16px; border-color: rgba(255,255,255,.14); }
.baseline-comparison table { color: rgba(255,255,255,.68); background: rgba(0,0,0,.12); }
.baseline-comparison th, .baseline-comparison td { white-space: normal; border-color: rgba(255,255,255,.1); vertical-align: top; line-height: 1.6; }
.baseline-comparison th { color: rgba(255,255,255,.68); }
.baseline-comparison td:first-child { width: 125px; }
.baseline-comparison td b { color: var(--lime); }
.migration-heading { display: grid; grid-template-columns: 170px .72fr 1fr; gap: 28px; align-items: end; margin: 70px 0 25px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.migration-heading > span { color: var(--orange); font: 850 13px ui-monospace, monospace; letter-spacing: .14em; }
.migration-heading h3 { margin: 0; font: 500 31px Georgia, "Noto Serif SC", serif; }
.migration-heading p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.migration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.migration-grid > article { min-width: 0; padding: 26px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.035); }
.migration-title { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 21px; }
.migration-title span { color: var(--orange); font: 850 13px ui-monospace, monospace; letter-spacing: .12em; }
.migration-title b { color: var(--lime); font-size: 14px; }
.migration-grid section { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); }
.migration-grid h4 { margin: 0 0 10px; color: #fff; font: 500 18px Georgia, "Noto Serif SC", serif; }
.migration-grid section p, .migration-grid li { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.75; }
.migration-grid section p { margin: 0; }
.migration-grid ul { margin: 0; padding-left: 18px; }
.migration-grid li + li { margin-top: 6px; }
.migration-grid code { color: var(--lime); }
.migration-status { margin: 5px 0 0; padding: 16px; color: rgba(255,255,255,.6); border-left: 2px solid var(--orange); background: rgba(0,0,0,.13); font-size: 14px; line-height: 1.75; }
.migration-status b { color: var(--orange); }
.baseline-gates { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; margin-top: 18px; }
.baseline-gates article { padding: 18px; border: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.11); }
.baseline-gates span { float: right; color: var(--orange); font: 850 13px ui-monospace, monospace; }
.baseline-gates b { display: block; margin: 0 0 11px; color: var(--lime); font-size: 14px; }
.baseline-gates p { clear: both; margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.6; }
.baseline-gates > i { align-self: center; color: var(--orange); font: 750 14px ui-monospace, monospace; font-style: normal; }
.baseline-source-note { margin: 18px 0 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }

.pilot-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.pilot-metric { padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.3); }
.pilot-metric b { display: block; margin-bottom: 6px; font-size: 24px; letter-spacing: -.04em; }
.pilot-metric small { display: block; margin: -1px 0 8px; color: var(--green); font-size: 13px; font-weight: 750; }
.pilot-metric span { color: var(--muted); font-size: 14px; }
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.sample-card { min-width: 0; overflow: hidden; background: #13231c; box-shadow: var(--shadow); }
.sample-card h3 { margin: 0; padding: 12px 20px 18px; color: #fff; font: 500 20px Georgia, serif; border-bottom: 1px solid rgba(255,255,255,.1); }
.sample-label { padding: 18px 20px 5px; font: 800 13px ui-monospace, monospace; letter-spacing: .13em; }
.sample-label.pilot { color: var(--orange); }
.sample-label.formal { color: var(--lime); }
pre { min-height: 420px; max-height: 520px; margin: 0; padding: 20px; overflow: auto; color: #d9e8dd; font-size: 14px; line-height: 1.65; }
.limitation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; counter-reset: limit; }
.limitation { position: relative; min-height: 120px; padding: 36px 17px 16px; color: var(--muted); border: 1px solid var(--line); font-size: 14px; line-height: 1.6; counter-increment: limit; }
.limitation::before { content: "0" counter(limit); position: absolute; top: 13px; left: 17px; color: var(--orange); font: 800 13px ui-monospace, monospace; }
.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 9px; align-items: stretch; margin-bottom: 22px; }
.pipeline article { min-height: 175px; padding: 19px; border: 1px solid var(--line); background: rgba(255,255,255,.36); }
.pipeline article span { float: right; color: rgba(20,36,29,.22); font: 700 22px Inter, sans-serif; }
.pipeline article > b { color: var(--green); font: 850 13px ui-monospace, monospace; letter-spacing: .12em; }
.pipeline article h3 { clear: both; margin: 25px 0 9px; font: 500 18px Georgia, "Noto Serif SC", serif; }
.pipeline article p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.pipeline article code { color: var(--green); }
.pipeline > i { align-self: center; color: var(--orange); font: 750 14px ui-monospace, monospace; font-style: normal; }
.protocol-table { margin: 0 0 22px; }
.protocol-table td:first-child b { color: var(--green); }

.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.boundary-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); }
.boundary-grid span, .next-step > span { font: 850 13px ui-monospace, monospace; letter-spacing: .14em; }
.boundary-grid .yes span { color: var(--green); }
.boundary-grid .no span { color: var(--orange); }
.boundary-grid h3 { max-width: 490px; margin: 35px 0 12px; font: 500 27px/1.25 Georgia, serif; }
.boundary-grid p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.next-step { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 16px; padding: 22px; color: rgba(255,255,255,.72); background: var(--ink-2); }
.next-step > span { color: var(--lime); }
.next-step p { margin: 0; font-size: 14px; line-height: 1.65; }
.next-step a { color: var(--lime); font-size: 14px; }

footer { padding: 30px 0; color: rgba(255,255,255,.68); background: #0a1712; font-size: 14px; }
footer .shell { display: flex; justify-content: space-between; gap: 20px; }
footer a { color: var(--lime); }

@media (max-width: 950px) {
  .hero-grid, .distribution-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; padding-top: 75px; }
  .section-heading { display: grid; gap: 28px; }
  .metric-grid, .pilot-metrics, .limitation-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-flow { grid-template-columns: 1fr; }
  .unit-flow > i { text-align: center; transform: rotate(90deg); }
  .schema-grid, .sample-grid { grid-template-columns: 1fr; }
  .schema-card.wide { grid-column: auto; }
  .question-index-head { grid-template-columns: 1fr; gap: 12px; }
  .question-links { grid-template-columns: repeat(3, 1fr); }
  .question-links a { padding-left: 16px; border-bottom: 1px solid var(--line); }
  .question-links a:first-child { padding-left: 16px; }
  .field-meaning-grid { grid-template-columns: 1fr; }
  .trajectory-contract { grid-template-columns: 1fr; }
  .trajectory-contract pre { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .llm-protocol-grid, .llm-metrics { grid-template-columns: repeat(2, 1fr); }
  .agentic-boundary, .baseline-gates { grid-template-columns: 1fr 1fr; }
  .agentic-boundary > i, .baseline-gates > i { display: none; }
  .baseline-paper-grid, .migration-grid { grid-template-columns: 1fr; }
  .migration-heading { grid-template-columns: 1fr; align-items: start; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline > i { display: none; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 24px, 1200px); }
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 78px; }
  .hero h1 { font-size: 48px; }
  .hero-facts { gap: 20px; }
  .section { padding: 72px 0; }
  .metric-grid, .case-grid, .pilot-metrics, .limitation-grid, .boundary-grid { grid-template-columns: 1fr; }
  .case-question, .case-summary { min-height: auto; }
  .next-step { grid-template-columns: 1fr; }
  footer .shell { flex-direction: column; }
  .access-brand { margin-bottom: 48px; }
  .access-input-row { grid-template-columns: 1fr; gap: 9px; }
  .access-input-row input { border-right: 1px solid rgba(255,255,255,.22); }
  .access-input-row button { min-height: 46px; }
  .question-index { margin-top: -28px; padding: 22px; }
  .question-links { grid-template-columns: 1fr; }
  .question-links a, .question-links a:first-child, .question-links a:last-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .question-links a:last-child { border-bottom: 0; }
  .direct-answer { grid-template-columns: 1fr; gap: 9px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: repeat(2, 1fr); }
  .axis-legend { display: grid; gap: 5px; font-size: 14px; }
  .llm-protocol-grid, .llm-metrics, .llm-case-grid { grid-template-columns: 1fr; }
  .agentic-boundary, .baseline-gates { grid-template-columns: 1fr; }
  .baseline-card-head, .migration-title { align-items: start; }
  .baseline-card-head { flex-direction: column; }
  .baseline-facts > div { grid-template-columns: 1fr; gap: 7px; }
  .baseline-comparison table { min-width: 780px; }
  .llm-case-metrics { grid-template-columns: repeat(2, 1fr); }
  .llm-case-card:last-child:nth-child(odd) { grid-column: auto; }
  .demo-boundary { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
}
