:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f0f2f5;
  --ink: #111318;
  --muted: #686e79;
  --line: #dfe2e7;
  --accent: #5d48e8;
  --accent-soft: #ece9ff;
  --green: #1a9b69;
  --shadow: 0 12px 40px rgba(24, 28, 38, .06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101116;
  --surface: #17191f;
  --surface-soft: #20232b;
  --ink: #f2f3f5;
  --muted: #a2a7b1;
  --line: #2c3039;
  --accent: #9a8cff;
  --accent-soft: #28233f;
  --green: #57cf9e;
  --shadow: 0 14px 44px rgba(0, 0, 0, .2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; width: 100%; min-height: 68px; padding: 0 max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 720; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--ink); color: var(--bg); font-size: 11px; letter-spacing: -.02em; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 13px; text-decoration: none; }
nav a:hover, nav a.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.theme-toggle { justify-self: end; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.hero { display: grid; grid-template-columns: 1.6fr .8fr; gap: clamp(40px, 9vw, 120px); align-items: end; padding: clamp(70px, 10vw, 130px) 0 72px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 14%, transparent); }
h1 { max-width: 800px; margin: 0; font-size: clamp(46px, 7vw, 88px); font-weight: 620; line-height: .98; letter-spacing: -.065em; }
.hero-copy { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.release-note { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.release-note strong { display: block; margin: 13px 0 5px; font-size: 17px; }
.release-note p { margin: 0 0 14px; color: var(--muted); }
.release-note a { color: var(--accent); font-size: 13px; font-weight: 650; text-decoration: none; }
.release-label { padding: 5px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.stats article { min-height: 118px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.stats article:last-child { border-right: 0; }
.stats span { color: var(--muted); font-size: 12px; }
.stats strong { font-size: 31px; font-weight: 580; letter-spacing: -.04em; }
.stats .date-value { font-size: 25px; }
.leaderboard { padding: 110px 0 80px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); font-weight: 590; line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.search-field { width: min(380px, 100%); padding: 0 14px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.search-field input { width: 100%; padding: 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-pills { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.filter-pill { padding: 7px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.filter-pill.active { background: var(--surface-soft); color: var(--ink); font-weight: 650; }
.table-shell { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; min-width: 900px; border-collapse: collapse; }
th, td { padding: 17px 14px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
th { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
th button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; }
th button:hover { color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-soft); }
.rank-col, tbody td:first-child { width: 48px; color: var(--muted); text-align: center; }
.model-col, tbody td:nth-child(2) { min-width: 220px; text-align: left; }
tbody td { font-size: 13px; }
tbody td strong { display: block; color: var(--ink); font-size: 14px; }
tbody td small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.score { color: var(--accent); font-weight: 760; }
.empty-state { margin: 0; padding: 36px; color: var(--muted); text-align: center; }
.dataset-note { margin: 13px 2px 0; color: var(--muted); font-size: 11px; }
.principles { padding: 90px 0 120px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); }
.principle-grid { display: grid; gap: 0; }
.principle-grid article { padding: 24px 0; display: grid; grid-template-columns: 42px 150px 1fr; gap: 16px; align-items: start; border-bottom: 1px solid var(--line); }
.principle-grid article:first-child { padding-top: 0; }
.principle-grid span { color: var(--accent); font-size: 11px; font-weight: 750; }
.principle-grid h3, .principle-grid p { margin: 0; }
.principle-grid h3 { font-size: 15px; }
.principle-grid p { color: var(--muted); }
footer { padding: 42px 0 54px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer p { margin: 9px 0 0; }
footer > p { justify-self: end; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-brand { color: var(--ink); }
.page-hero { max-width: 780px; padding: 100px 0 60px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 76px); }
.page-hero p:last-child { margin-top: 24px; color: var(--muted); font-size: 19px; }
.content-grid { padding: 20px 0 120px; display: grid; grid-template-columns: 220px 1fr; gap: 70px; }
.content-nav { position: sticky; top: 100px; height: fit-content; display: grid; gap: 7px; }
.content-nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.content-nav a:hover { color: var(--ink); }
.prose { max-width: 760px; }
.prose section { margin-bottom: 64px; scroll-margin-top: 100px; }
.prose h2 { margin-bottom: 18px; font-size: 30px; }
.prose h3 { margin: 28px 0 8px; font-size: 17px; }
.prose p, .prose li { color: var(--muted); }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--surface-soft); color: var(--ink); }
.change-item { padding: 30px 0; border-top: 1px solid var(--line); }
.change-item time { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.change-item h2 { margin: 8px 0 12px; font-size: 26px; }
.not-found { min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; }
.not-found span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.not-found h1 { margin: 14px 0 18px; font-size: clamp(44px, 8vw, 78px); }
.not-found p { color: var(--muted); }
.not-found a { display: inline-block; margin-top: 18px; padding: 10px 15px; border-radius: 9px; background: var(--ink); color: var(--bg); text-decoration: none; }
@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 18px; }
  nav { display: none; }
  main, footer { width: min(100% - 30px, 1180px); }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .toolbar { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .filter-pills { width: fit-content; }
  .principles { grid-template-columns: 1fr; gap: 45px; }
  .principle-grid article { grid-template-columns: 32px 1fr; }
  .principle-grid p { grid-column: 2; }
  footer { grid-template-columns: 1fr; }
  footer > p { justify-self: start; }
  .content-grid { grid-template-columns: 1fr; gap: 35px; }
  .content-nav { position: static; display: flex; flex-wrap: wrap; gap: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
