:root {
  color-scheme: dark;
  --bg: #0d1b2a;
  --surface: #142638;
  --text: #eaeaea;
  --cream: #f8f5f0;
  --muted: #b4c3cf;
  --accent: #00b4d8;
  --border: #294052;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: #64d7ef; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
nav { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.nav-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.brand { color: var(--cream); text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -.8px; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--cream); }
.hero { padding-block: 92px 20px; }
.eyebrow { color: #64d7ef; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--cream); font-size: clamp(44px, 6.5vw, 82px); line-height: 1.05; letter-spacing: -3px; font-weight: 730; margin-bottom: 28px; }
h2 { font-size: clamp(29px, 4vw, 44px); line-height: 1.16; letter-spacing: -1.3px; margin-bottom: 20px; color: var(--cream); }
h3 { color: var(--cream); line-height: 1.3; }
.lead { max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 30px; }
.button { background: var(--accent); color: var(--bg); text-decoration: none; border: 1px solid var(--accent); border-radius: 7px; padding: 12px 18px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-block; }
.button.secondary { color: var(--cream); background: transparent; border-color: #476174; }
.button:hover { filter: brightness(1.15); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 28px; margin-block: 52px 30px; gap: 24px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 4px 0 0; color: var(--cream); font-size: 36px; font-weight: 650; letter-spacing: -1px; }
.notice { padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); font-size: 14px; border-radius: 0 6px 6px 0; }
.notice strong { color: var(--cream); }
section { padding-block: 60px; border-bottom: 1px solid var(--border); }
.section-heading { max-width: 840px; margin-bottom: 30px; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.result-card { padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; min-width: 0; }
.result-card h3 { font-size: 16px; margin-bottom: 24px; }
.score { color: var(--cream); font-size: 44px; font-weight: 720; letter-spacing: -1.6px; line-height: 1; }
.interval { color: var(--muted); font-size: 12px; margin-block: 14px 22px; }
.accuracy-track { position: relative; height: 7px; background: #294052; border-radius: 4px; margin-bottom: 22px; }
.accuracy-fill { height: 100%; border-radius: inherit; background: var(--accent); }
.mini { color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; max-width: 100%; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
th { background: var(--surface); color: var(--cream); font-weight: 650; font-size: 12px; }
td, th { padding: 16px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #14263880; }
td:first-child { color: var(--cream); font-weight: 550; }
.caption { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 18px 0 0; max-width: 1000px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; margin-top: 22px; }
summary { cursor: pointer; color: var(--cream); font-weight: 600; }
details p { color: var(--muted); margin: 18px 0 0; }
.filters { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; margin-block: 24px; }
.filters label { color: var(--muted); font-size: 12px; display: flex; flex-direction: column; gap: 8px; }
.filters label:first-child { flex: 1; min-width: 220px; }
input, select { background: var(--surface); border: 1px solid #476174; border-radius: 6px; color: var(--cream); padding: 12px; font: inherit; font-size: 14px; max-width: 100%; }
.filters .checkbox { flex-direction: row; align-items: center; padding-bottom: 13px; }
input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; }
#case-status { color: var(--muted); font-size: 13px; }
.case { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 22px; margin-block: 14px; }
.case-meta { color: #64d7ef; font-size: 12px; margin-bottom: 16px; }
.case-prompt { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
.predictions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.prediction { border: 1px solid #476174; border-radius: 5px; padding: 6px 10px; font-size: 12px; }
.prediction.incorrect { border-style: dashed; color: #f8d1a0; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 52px; margin-block: 32px; }
.method-grid p { color: var(--muted); font-size: 14px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 36px; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
[hidden] { display: none !important; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .nav-content { padding-block: 16px; }
  .nav-links { gap: 14px; font-size: 12px; }
  .nav-links a:nth-child(2), .nav-links a:nth-child(4) { display: none; }
  .hero { padding-top: 56px; }
  h1 { letter-spacing: -1.7px; }
  .lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .result-card { padding: 24px; }
  .method-grid { grid-template-columns: 1fr; gap: 22px; }
  .filters { display: grid; grid-template-columns: 1fr; }
  section { padding-block: 44px; }
  footer { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
