:root {
  --ink: #111827;
  --muted: #667085;
  --line: #dfe5ec;
  --paper: #f5f7fa;
  --white: #ffffff;
  --night: #08111f;
  --night-2: #0e1a2b;
  --blue: #4c9fff;
  --blue-strong: #2369dc;
  --cyan: #52d3d8;
  --gold: #e4ad3a;
  --max: 1240px;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); line-height: 1.55; }
button, select { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--blue-strong);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  color: #eef5ff;
  background: rgba(8, 17, 31, 0.94);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--night); background: var(--blue); border-radius: 9px; font-weight: 900; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { color: #aab9cd; text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: white; }
.github-link { justify-self: end; color: white; text-decoration: none; font-size: .9rem; font-weight: 650; }

main { overflow: clip; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 72px;
  min-height: 570px;
  padding: 100px max(28px, calc((100vw - var(--max)) / 2)) 92px;
  color: #f7fbff;
  background:
    linear-gradient(rgba(76,159,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,159,255,.07) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(76,159,255,.17), transparent 27%),
    var(--night);
  background-size: 44px 44px, 44px 44px, auto, auto;
}
.hero::after { content: ""; position: absolute; right: 6%; bottom: -130px; width: 360px; height: 360px; border: 1px solid rgba(82,211,216,.22); border-radius: 50%; box-shadow: 0 0 0 60px rgba(82,211,216,.035), 0 0 0 120px rgba(82,211,216,.025); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-index { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px rgba(82,211,216,.12); }
h1 { margin: 24px 0 20px; font-size: clamp(4rem, 8vw, 7rem); line-height: .88; letter-spacing: -.075em; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(238,245,255,.6); }
.lede { max-width: 700px; margin: 0; color: #aebdd0; font-size: clamp(1.1rem, 2vw, 1.34rem); }
.author-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; color: #8ea0b7; font-size: .92rem; }
.author-line strong { color: white; }
.hero-verdict { position: relative; align-self: end; z-index: 1; padding: 30px 0 4px 28px; border-left: 2px solid var(--blue); }
.verdict-label { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-verdict p { margin: 12px 0 24px; font-family: Georgia, "Songti SC", serif; font-size: 1.45rem; line-height: 1.55; }
.hero-verdict a { color: #b9d9ff; font-size: .9rem; font-weight: 700; text-decoration: none; }

.kpi-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: -40px auto 0; position: relative; z-index: 5; background: white; border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(16,24,40,.1); }
.kpi-strip article { display: grid; gap: 5px; padding: 24px 28px; border-right: 1px solid var(--line); }
.kpi-strip article:last-child { border-right: 0; }
.kpi-strip span { color: var(--muted); font-size: .82rem; }
.kpi-strip strong { font-size: 1.85rem; letter-spacing: -.04em; }
.kpi-strip small { color: #98a2b3; }

.section { max-width: var(--max); margin: 0 auto; padding: 110px 0; }
.section-alt { max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); background: #eaf0f6; }
.launch-performance { padding-top: 128px; }
.release-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; align-items: end; margin-bottom: 40px; }
.release-claim { padding: 4px 0 4px 28px; border-left: 2px solid var(--blue-strong); }
.release-claim strong { display: block; color: var(--blue-strong); font-size: clamp(3rem, 6vw, 5rem); line-height: .9; letter-spacing: -.07em; }
.release-claim p { margin: 14px 0 7px; font-size: 1.05rem; font-weight: 700; }
.release-claim small { color: var(--muted); }
.release-chart-card { padding: 34px 36px 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 55px rgba(16,24,40,.07); }
.release-chart-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.release-chart-head h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.release-chart-head p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; }
.protocol-badge { padding: 7px 11px; color: var(--blue-strong); background: #edf5ff; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.release-chart { margin-top: 12px; overflow-x: auto; }
.release-chart svg { display: block; width: 100%; min-width: 850px; height: auto; }
.chart-footnote { margin: 16px 0 0; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }
.release-takeaways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; background: var(--night); color: white; border-radius: 18px; overflow: hidden; }
.release-takeaways article { min-height: 180px; padding: 28px; border-right: 1px solid rgba(255,255,255,.1); }
.release-takeaways article:last-child { border-right: 0; }
.release-takeaways span { color: #8fa5bd; font-size: .77rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.release-takeaways strong { display: block; margin: 14px 0 8px; color: var(--blue); font-size: 2.25rem; letter-spacing: -.05em; }
.release-takeaways article:last-child strong { color: #ffb0a8; }
.release-takeaways p { margin: 0; color: #b7c6d7; font-size: .9rem; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; align-items: end; margin-bottom: 38px; }
.section-heading.compact { align-items: center; }
h2 { max-width: 820px; margin: 10px 0 0; font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.03; letter-spacing: -.055em; }
.section-heading > p { margin: 0; color: var(--muted); }

.chart-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.chart-card-dark { padding: 30px 32px 22px; color: #edf5ff; background: var(--night); box-shadow: 0 24px 70px rgba(8,17,31,.16); }
.light-card { padding: 30px 32px; background: white; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(16,24,40,.06); }
.chart-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.chart-toolbar h3 { margin: 0; font-size: 1.15rem; }
.chart-toolbar p { margin: 4px 0 0; color: #8699b1; font-size: .84rem; }
.segmented { display: flex; padding: 4px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.045); border-radius: 12px; }
.segment { padding: 8px 12px; color: #9eb0c5; background: transparent; border: 0; border-radius: 8px; cursor: pointer; font-size: .82rem; }
.segment:hover, .segment:focus-visible { color: white; }
.segment.is-active { color: var(--night); background: #edf5ff; font-weight: 750; }
.svg-chart { width: 100%; min-height: 360px; }
.svg-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-legend { display: flex; gap: 28px; color: #95a8bf; font-size: .8rem; }
.legend-line { display: inline-block; width: 22px; height: 3px; margin-right: 8px; vertical-align: middle; }
.legend-line.blue { background: var(--blue); }
.legend-line.gold { background: var(--gold); }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.insight-card { position: relative; min-height: 205px; padding: 26px; background: white; border: 1px solid var(--line); overflow: hidden; }
.insight-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--blue); }
.insight-card.accent-gold::before { background: var(--gold); }
.insight-card.accent-cyan::before { background: var(--cyan); }
.insight-card span { color: var(--muted); font-size: .84rem; }
.insight-card strong { display: block; margin: 18px 0 8px; font-size: 2.65rem; letter-spacing: -.05em; }
.insight-card p { margin: 0; color: var(--muted); }

.sota-key { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: -8px 0 24px; color: var(--muted); font-size: .8rem; }
.sota-key span { display: inline-flex; align-items: center; gap: 8px; }
.key-dot { width: 9px; height: 9px; background: #b9c4d0; border-radius: 50%; }
.key-dot.jev { background: var(--blue-strong); }
.key-dot.sota { background: var(--gold); }
.sota-dossiers { display: grid; gap: 24px; }
.sota-card { background: white; border: 1px solid #d5dde7; border-radius: var(--radius); box-shadow: 0 16px 42px rgba(16,24,40,.055); overflow: hidden; }
.sota-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 28px 30px 22px; border-bottom: 1px solid var(--line); }
.sota-card-title { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.sota-card h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.025em; }
.snapshot-badge { padding: 5px 9px; color: #38516d; background: #edf2f7; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sota-card-head p { max-width: 760px; margin: 8px 0 0; color: var(--muted); font-size: .86rem; }
.sota-source { color: var(--blue-strong); font-size: .78rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.sota-source:hover, .sota-source:focus-visible { text-decoration: underline; }
.sota-table-wrap { overflow-x: auto; }
.sota-table { width: 100%; min-width: 760px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sota-table th { padding: 11px 16px; color: #7b8999; background: #f7f9fb; border-bottom: 1px solid var(--line); font-size: .69rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.sota-table th:first-child, .sota-table td:first-child { width: 58px; padding-left: 30px; }
.sota-table th:nth-last-child(-n+2), .sota-table td:nth-last-child(-n+2) { text-align: right; }
.sota-table td { padding: 13px 16px; border-bottom: 1px solid #edf0f4; font-size: .86rem; }
.sota-table tbody tr:last-child td { border-bottom: 0; }
.sota-table tr.is-jev { background: #edf5ff; }
.sota-table tr.is-jev td { color: #174f9f; font-weight: 780; }
.sota-table tr.is-sota td:first-child { color: #a56a00; font-weight: 850; }
.model-cell { font-weight: 680; }
.model-type { color: var(--muted); }
.rank-number { color: #8a98a8; }
.delta-positive { color: #8a5a00; }
.delta-negative { color: #2c6c58; }
.sota-analysis { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.sota-analysis div { padding: 20px 28px; }
.sota-analysis div + div { border-left: 1px solid var(--line); }
.sota-analysis span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sota-analysis p { margin: 0; font-size: .88rem; }

.capability-grid { display: grid; gap: 12px; }
.cap-row { display: grid; grid-template-columns: 190px repeat(6, minmax(92px, 1fr)); gap: 10px; align-items: stretch; }
.cap-label { align-self: center; font-weight: 750; }
.cap-cell { display: grid; min-height: 88px; place-content: center; gap: 3px; padding: 12px; color: var(--ink); border-radius: 12px; text-align: center; }
.cap-cell span { font-size: .76rem; font-weight: 700; }
.cap-cell strong { font-size: 1.15rem; }
.cap-cell.is-dark { color: white; }
.finding-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finding-row > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.finding-row > div:last-child { border-right: 0; }
.finding-row span { color: var(--muted); font-size: .78rem; }
.finding-row strong { display: block; margin-top: 4px; font-size: 1.7rem; }
.finding-row p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; }

.ppe-chart { min-height: 520px; }
.ppe-brier { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: .86rem; }
.ppe-brier b { color: var(--blue-strong); }
.efficiency-card { padding-top: 12px; }

.methodology { padding-bottom: 90px; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid article { padding: 28px 24px; border-right: 1px solid var(--line); }
.method-grid article:last-child { border-right: 0; }
.method-grid article > span { color: var(--blue-strong); font-size: .76rem; font-weight: 800; }
.method-grid h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.method-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
code { padding: 2px 5px; background: #e7edf5; border-radius: 5px; font-size: .86em; }
.text-link { display: inline-block; margin-top: 26px; color: var(--blue-strong); font-weight: 750; text-decoration: none; }

.citation-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 90px max(28px, calc((100vw - var(--max)) / 2)); color: white; background: #101c2e; }
.citation-section h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.citation-section p { color: #9fb0c5; }
.contact-link { display: inline-block; margin-top: 8px; color: #c8e2ff; font-weight: 750; text-decoration: none; }
.contact-link:hover { color: white; text-decoration: underline; }
.citation-box { position: relative; padding: 26px; background: #08111f; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
.citation-box pre { margin: 0 0 22px; color: #c6d7ea; white-space: pre-wrap; overflow-wrap: anywhere; font: .85rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.citation-box button { padding: 10px 15px; color: var(--night); background: var(--blue); border: 0; border-radius: 9px; font-weight: 800; cursor: pointer; }
.citation-box button:hover, .citation-box button:focus-visible { background: #87bdff; }

footer { display: grid; grid-template-columns: 1fr 2fr auto; gap: 30px; align-items: center; padding: 32px max(28px, calc((100vw - var(--max)) / 2)); color: #8799af; background: #060d18; font-size: .82rem; }
footer div { display: grid; }
footer strong { color: white; }
footer p { text-align: center; }
footer a { color: #c3d8ef; text-decoration: none; }

.chart-tooltip { position: fixed; z-index: 100; max-width: 240px; padding: 9px 11px; color: white; background: rgba(6,13,24,.96); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.25); pointer-events: none; opacity: 0; transform: translate(10px, 10px); transition: opacity .12s ease; font-size: .78rem; }
.chart-tooltip.is-visible { opacity: 1; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 54px; padding-top: 78px; }
  .hero-verdict { max-width: 620px; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); margin-left: 24px; margin-right: 24px; }
  .kpi-strip article:nth-child(2) { border-right: 0; }
  .kpi-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 86px 28px; }
  .section-alt { padding-left: 28px; padding-right: 28px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .release-intro { grid-template-columns: 1fr; gap: 28px; }
  .sota-card-head { grid-template-columns: 1fr; gap: 12px; }
  .sota-source { justify-self: start; }
  .cap-row { grid-template-columns: 150px repeat(3, 1fr); }
  .cap-label { grid-row: span 2; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid article:nth-child(2) { border-right: 0; }
  .method-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .citation-section { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 62px; padding: 0 18px; }
  .brand span:last-child { display: none; }
  .hero { padding: 64px 22px 78px; }
  h1 { font-size: clamp(3.4rem, 18vw, 5.4rem); }
  h1 span { display: block; font-size: .76em; line-height: 1.02; }
  .hero-verdict { padding-left: 20px; }
  .hero-verdict p { font-size: 1.25rem; }
  .kpi-strip { grid-template-columns: 1fr 1fr; margin: -28px 14px 0; }
  .kpi-strip article { padding: 18px; }
  .kpi-strip strong { font-size: 1.45rem; }
  .section { padding: 70px 18px; }
  .launch-performance { padding-top: 86px; }
  .section-alt { padding-left: 18px; padding-right: 18px; }
  h2 { font-size: 2.3rem; }
  .chart-card-dark, .light-card { padding: 22px 16px; border-radius: 16px; }
  .release-chart-card { padding: 24px 16px 20px; border-radius: 16px; }
  .release-chart-head { display: grid; }
  .protocol-badge { justify-self: start; }
  .release-takeaways { grid-template-columns: 1fr; }
  .release-takeaways article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .release-takeaways article:last-child { border-bottom: 0; }
  .sota-card-head { padding: 23px 20px 18px; }
  .sota-analysis { grid-template-columns: 1fr; }
  .sota-analysis div { padding: 18px 20px; }
  .sota-analysis div + div { border-left: 0; border-top: 1px solid var(--line); }
  .chart-toolbar { display: grid; }
  .segmented { width: 100%; }
  .segment { flex: 1; }
  .svg-chart { min-height: 290px; overflow-x: auto; }
  .svg-chart svg { min-width: 680px; }
  .insight-grid { grid-template-columns: 1fr; }
  .cap-row { grid-template-columns: 1fr 1fr; }
  .cap-label { grid-column: 1 / -1; grid-row: auto; padding-top: 12px; }
  .cap-cell { min-height: 80px; }
  .finding-row { grid-template-columns: 1fr; }
  .finding-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .finding-row > div:last-child { border-bottom: 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .citation-section { padding: 70px 18px; }
  footer { grid-template-columns: 1fr; padding: 28px 18px; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
