:root {
  color-scheme: dark;
  --bg:#0b1018;
  --surface:#151e2b;
  --border:#303e50;
  --text:#eff4fc;
  --muted:#b1bdcb;
  --accent:#9fc9ff;
}
* {box-sizing:border-box}
body {
  background:var(--bg);
  color:var(--text);
  font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;
  margin:0;
}
a {color:var(--accent)}
a:focus-visible {outline:2px solid var(--accent);outline-offset:4px}
header,footer {border-bottom:1px solid var(--border)}
footer {border-top:1px solid var(--border);border-bottom:0}
.container {max-width:1130px;margin:auto;padding:28px 24px}
nav {display:flex;gap:24px;flex-wrap:wrap;align-items:center}
nav a {text-decoration:none}
.brand {font-weight:750;color:var(--text);margin-right:auto}
.hero {padding:60px 0 36px;max-width:880px}
.eyebrow {color:var(--accent);font-size:.8rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase}
h1 {font-size:clamp(2.3rem,5.5vw,4rem);line-height:1.1;margin:16px 0}
h2 {font-size:1.65rem;line-height:1.25;margin-top:40px}
h3 {font-size:1.16rem}
p,li {max-width:78ch}
.lead {font-size:1.18rem;color:var(--muted)}
.muted {color:var(--muted)}
.grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.panel {
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:12px;
  padding:22px;
}
.panel h2,.panel h3 {margin-top:0}
.research-figure {margin:28px 0;padding:24px;border:1px solid var(--border);
  border-radius:12px;background:var(--surface)}
.research-figure h3 {margin-top:0}
.latency-row {margin:24px 0}
.latency-label,.chart-axis {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.latency-label strong {font-variant-numeric:tabular-nums}
.latency-row svg {display:block;width:100%;height:20px;margin:8px 0}
.chart-track {fill:var(--bg)}
.chart-bar {fill:var(--accent)}
.chart-axis {font-size:.85rem;color:var(--muted)}
.button {
  display:inline-block;
  padding:12px 19px;
  border-radius:9px;
  text-decoration:none;
  color:var(--bg);
  background:var(--accent);
  font-weight:750;
}
.actions {display:flex;gap:14px;flex-wrap:wrap;margin:28px 0}
.table-scroll {overflow-x:auto;border:1px solid var(--border);border-radius:10px}
.table-scroll:focus-visible,summary:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.mobile-results {display:none}
details {border:1px solid var(--border);border-radius:8px;padding:12px;margin:12px 0}
summary {cursor:pointer;font-weight:650}
dl {display:grid;grid-template-columns:1fr 1fr;gap:8px}
dt {color:var(--muted)}
dd {margin:0;overflow-wrap:anywhere}
.evidence-hash {overflow-wrap:anywhere}
nav a[aria-current] {text-decoration:underline;text-underline-offset:6px}
.skip-link {position:absolute;left:16px;top:-80px;background:var(--surface);padding:10px;z-index:3}
.skip-link:focus {top:8px}
table {border-collapse:collapse;width:100%;min-width:780px}
th,td {text-align:left;padding:11px;border-bottom:1px solid var(--border)}
th {background:#1e2b3a;color:var(--text)}
th:first-child {min-width:145px}
td {font-variant-numeric:tabular-nums}
tr:last-child td {border-bottom:0}
small {color:var(--muted)}
.callout {border-left:3px solid var(--accent);padding:8px 20px;
  background:var(--surface);margin:24px 0}
section {margin:36px 0}
footer p {font-size:.9rem}
@media(max-width:600px) {
  nav {gap:12px}
  .container {padding:22px 16px}
  .hero {padding-top:36px}
  .hero {padding-bottom:12px}
  section {margin:24px 0}
  .table-scroll,.scroll-hint {display:none}
  .mobile-results {display:block}
  .grid {grid-template-columns:1fr}
}
