:root {
  --paper: #f4f1e8;
  --paper-deep: #e9e4d8;
  --paper-bright: #fbfaf6;
  --ink: #12212f;
  --ink-soft: #40505b;
  --ink-faint: #596871;
  --line: #d6d1c5;
  --line-dark: rgba(244, 241, 232, 0.2);
  --orange: #b9472a;
  --orange-soft: #f4c8b9;
  --teal: #0e6e6a;
  --teal-soft: #b8d8d3;
  --yellow: #eebd43;
  --serif: "Newsreader", Iowan Old Style, Baskerville, Georgia, serif;
  --sans: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 22px 65px rgba(22, 31, 39, 0.1);
  --radius: 3px;
  --section: min(1240px, calc(100vw - 64px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 33, 47, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 33, 47, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--paper-bright);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink) !important;
}

::selection {
  color: var(--paper-bright);
  background: var(--teal);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 9px 14px;
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: var(--section);
  margin-inline: auto;
}

.section-heading > *,
.track-card > *,
.pipeline > *,
.leaderboard-heading > *,
.leaderboard-toolbar > *,
.metric-glossary > *,
.code-layout > *,
.citation-layout > *,
.footer-inner > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(18, 33, 47, 0.15);
  background: rgba(244, 241, 232, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
}

.brand-light {
  color: var(--ink-soft);
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a:not(.nav-paper)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-paper {
  padding: 8px 13px;
  border: 1px solid var(--ink);
  transition: color 0.2s, background 0.2s;
}

.nav-paper:hover {
  color: var(--paper-bright);
  background: var(--ink);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(50px, 7vw, 112px);
  align-items: center;
  min-height: 760px;
  padding-block: 86px 96px;
}

.eyebrow,
.section-kicker,
.mini-label,
.track-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.115em;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 500;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-soft);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 94px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero h1 em {
  color: var(--orange);
  font-weight: 500;
}

.hero-lead {
  max-width: 675px;
  margin: 32px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper-bright);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
}

.button-primary:hover {
  box-shadow: 8px 8px 0 var(--orange);
}

.button-secondary {
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.button-secondary:hover {
  color: var(--paper-bright);
  background: var(--teal);
}

.button-disabled,
.button-disabled:hover {
  color: var(--ink-faint);
  border-color: var(--line);
  background: var(--paper-deep);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button-text {
  padding-inline: 10px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
}

.hero-meta {
  margin: 34px 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.affiliations {
  margin: 0;
  color: var(--ink-faint);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(18, 33, 47, 0.21);
  background: var(--paper-bright);
  box-shadow: 16px 18px 0 var(--teal-soft), var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-visual::before {
  top: -6px;
  right: 55px;
}

.hero-visual::after {
  right: -6px;
  bottom: 105px;
  background: var(--yellow);
}

.visual-label {
  /* Decorative timeline scale; excluded from the readable UI text minimum. */
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
}

.filmstrip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 12px 8px;
  border-block: 8px dotted var(--ink);
  background: var(--ink);
}

.frame {
  position: relative;
  aspect-ratio: 1.24;
  overflow: hidden;
  background: var(--paper-deep);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
}

.frame::before {
  inset: 19% 14% 30%;
  border: 1px solid rgba(18, 33, 47, 0.35);
}

.frame::after {
  right: 14%;
  bottom: 16%;
  left: 14%;
  height: 3px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
  opacity: 0.4;
}

.frame span {
  /* The containing filmstrip is aria-hidden and these labels are decorative. */
  position: absolute;
  right: 5px;
  bottom: 3px;
  z-index: 1;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 6px;
  text-transform: uppercase;
}

.frame-a { color: var(--teal); background: #d5e4dc; }
.frame-b { color: var(--orange); background: #ead9c9; }
.frame-c { color: var(--yellow); background: #dfe3dc; }
.frame-d { color: var(--teal); background: #d4dce3; }
.frame-e { color: var(--orange); background: #eadccf; }

.sampling-curve {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 9px;
}

.curve-axis {
  stroke: var(--line);
  stroke-width: 1;
}

.curve-line {
  fill: none;
  stroke: url("#signal");
  stroke-width: 4;
  stroke-linecap: round;
}

.sample-points circle {
  fill: var(--paper-bright);
  stroke: var(--ink);
  stroke-width: 3;
}

.sampling-curve text {
  fill: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.visual-note {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 17px 19px;
  color: var(--paper-bright);
  background: var(--ink);
  font-size: 11px;
  line-height: 1.45;
}

.visual-note strong {
  color: var(--teal-soft);
  font-size: 11px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(223, 93, 59, 0.2);
}

.visual-arrow {
  color: var(--yellow);
  font-size: 20px;
}

.stat-band {
  color: var(--paper-bright);
  background: var(--ink);
}

.stat-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--section);
  margin-inline: auto;
}

.stat {
  display: flex;
  min-height: 132px;
  padding: 24px 28px;
  border-left: 1px solid var(--line-dark);
  flex-direction: column;
  justify-content: center;
}

.stat:last-child {
  border-right: 1px solid var(--line-dark);
}

.stat strong {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat span {
  margin-top: 9px;
  color: #aab5bb;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-section,
.leaderboard-section,
.evaluate-section {
  padding-block: 128px;
}

.section-kicker {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
}

.section-kicker::after {
  content: "";
  width: 66px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading h2,
.citation-layout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading > p,
.section-heading > div > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.track-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 430px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: 0 12px 36px rgba(22, 31, 39, 0.05);
}

.track-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 190px;
  height: 190px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.16;
}

.track-lpm { color: var(--teal); }
.track-motion { color: var(--orange); }

.track-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
}

.track-label {
  margin: 4px 0 18px;
  font-size: 11px;
  font-weight: 500;
}

.track-card h3 {
  max-width: 440px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.track-card p:not(.track-label) {
  max-width: 490px;
  color: var(--ink-soft);
  font-size: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 25px 0 55px;
  list-style: none;
}

.tag-list li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-metric {
  position: absolute;
  right: 40px;
  bottom: 36px;
  left: 92px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.track-metric span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.track-metric strong {
  font-size: 12px;
}

.benchmark-figure {
  margin: 82px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.benchmark-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.benchmark-figure figcaption {
  padding: 13px 3px 0;
  color: var(--ink-faint);
  font-size: 11px;
}

.benchmark-figure figcaption span {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.method-section {
  padding-block: 128px;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 80% 20%, rgba(23, 125, 120, 0.22), transparent 28%),
    var(--ink);
}

.section-kicker-light {
  color: var(--yellow);
}

.section-heading-light > p {
  color: #aeb9bf;
}

.pipeline {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 100px minmax(170px, 1fr) 100px minmax(170px, 1fr) 100px minmax(150px, 1fr);
  align-items: center;
  padding-block: 58px 48px;
  border-block: 1px solid var(--line-dark);
}

.pipeline-node {
  position: relative;
  min-height: 265px;
  padding: 28px 23px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.035);
}

.pipeline-node h3 {
  margin: 25px 0 5px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.pipeline-node p {
  margin: 0;
  color: #9eabb3;
  font-size: 11px;
  line-height: 1.5;
}

.node-number {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
}

.pipeline-link {
  color: #89969d;
  text-align: center;
}

.pipeline-link span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pipeline-link svg {
  width: 76px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
}

.mini-frames {
  position: relative;
  width: 102px;
  height: 74px;
  margin-top: 26px;
}

.mini-frames i {
  position: absolute;
  width: 72px;
  height: 51px;
  border: 1px solid var(--teal-soft);
  background: var(--ink);
}

.mini-frames i:nth-child(1) { top: 20px; left: 28px; opacity: 0.45; }
.mini-frames i:nth-child(2) { top: 10px; left: 14px; opacity: 0.7; }
.mini-frames i:nth-child(3) { top: 0; left: 0; background: linear-gradient(145deg, var(--teal) 0 30%, transparent 30% 70%, var(--orange) 70%); }

.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  gap: 4px;
  width: max-content;
  margin-top: 27px;
  padding: 8px;
  border: 1px solid var(--line-dark);
}

.gate-grid i {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.gate-grid i:nth-child(2),
.gate-grid i:nth-child(5),
.gate-grid i:nth-child(6) { background: var(--orange); }
.gate-grid i:nth-child(9) { background: var(--yellow); }

.token-stack {
  display: flex;
  gap: 5px;
  align-items: end;
  height: 72px;
  margin-top: 27px;
}

.token-stack i {
  width: 13px;
  border-radius: 10px 10px 2px 2px;
  background: var(--teal);
}
.token-stack i:nth-child(1) { height: 31px; opacity: 0.4; }
.token-stack i:nth-child(2) { height: 55px; opacity: 0.7; }
.token-stack i:nth-child(3) { height: 70px; background: var(--orange); }
.token-stack i:nth-child(4) { height: 44px; opacity: 0.65; }
.token-stack i:nth-child(5) { height: 22px; opacity: 0.35; }

.answer-lines {
  display: grid;
  gap: 8px;
  width: 91px;
  margin-top: 36px;
}

.answer-lines i {
  height: 4px;
  background: var(--paper-bright);
}
.answer-lines i:nth-child(2) { width: 68px; background: var(--teal-soft); }
.answer-lines i:nth-child(3) { width: 79px; background: var(--orange-soft); }

.method-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-top: 42px;
}

.method-notes span {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.method-notes p {
  margin: 10px 0 0;
  color: #aeb9bf;
  font-size: 12px;
}

.leaderboard-section {
  padding-bottom: 105px;
}

.leaderboard-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.leaderboard-heading > div:first-child {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  gap: 70px;
  align-items: end;
}

.snapshot {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 200px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.snapshot-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--teal-soft);
}

.snapshot strong,
.snapshot span {
  display: block;
  font-size: 11px;
}

.snapshot strong {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snapshot span {
  color: var(--ink-faint);
}

.leader-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

#grt-family-qualification-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

#grt-family-qualification-list .summary-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.summary-card {
  min-height: 125px;
  padding: 22px 25px;
  background: var(--paper-bright);
}

.summary-card span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
}

.summary-card small {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
}

.leaderboard-panel {
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.leaderboard-toolbar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 13px 16px 13px 22px;
  border-bottom: 1px solid var(--line);
}

.track-tabs {
  display: flex;
  gap: 5px;
}

.track-tab,
.code-tab {
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
}

.track-tab {
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 600;
}

.track-tab span {
  margin-left: 7px;
  padding: 2px 5px;
  color: var(--ink-faint);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
}

.track-tab.is-active {
  color: var(--paper-bright);
  background: var(--ink);
}

.track-tab.is-active span {
  color: var(--ink);
  background: var(--yellow);
}

.leaderboard-filters {
  display: flex;
  gap: 8px;
}

.search-field,
.source-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.search-field svg {
  width: 16px;
  margin-left: 12px;
  fill: none;
  stroke: var(--ink-faint);
  stroke-width: 1.5;
}

.search-field input,
.source-field select {
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
}

.search-field input {
  width: 170px;
  padding: 9px 12px 9px 8px;
}

.source-field select {
  min-width: 122px;
  padding: 9px 28px 9px 11px;
  cursor: pointer;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--ink-faint) var(--paper-deep);
}

table {
  width: 100%;
  min-width: 1460px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

thead {
  color: var(--ink-faint);
  background: var(--paper);
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
}

th {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

th:first-child,
td:first-child {
  width: 55px;
  padding-left: 20px;
  text-align: center;
}

th:nth-child(2),
td:nth-child(2) {
  min-width: 275px;
  text-align: left;
}

th:nth-child(3),
td:nth-child(3) {
  min-width: 170px;
  text-align: left;
}

th button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

th button:hover {
  color: var(--ink);
}

.sort-mark {
  color: var(--orange);
  font-size: 11px;
}

tbody tr {
  transition: background 0.15s;
}

tbody tr:hover {
  background: rgba(23, 125, 120, 0.055);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td {
  font-family: var(--mono);
  font-size: 11px;
}

.rank-cell {
  color: var(--ink-faint);
}

.rank-medal {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper-deep);
}

.rank-1 { background: var(--yellow); }
.rank-2 { background: #ccd4d7; }
.rank-3 { background: #d8ad86; }

.model-name {
  display: block;
  max-width: 275px;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-badges {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.model-badge {
  padding: 2px 5px;
  color: var(--ink-faint);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-badge.grt {
  color: var(--paper-bright);
  background: var(--teal);
}

.method-id {
  display: block;
  max-width: 170px;
  overflow: hidden;
  color: var(--ink-faint);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-primary {
  color: var(--teal);
  font-weight: 500;
}

.metric-missing {
  color: var(--ink-faint);
}

.source-chip {
  display: inline-block;
  min-width: 46px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
}

.source-gemini {
  color: #934629;
  border-color: var(--orange-soft);
  background: #fbebe5;
}

.table-empty td {
  padding: 60px 20px;
  color: var(--ink-faint);
  font-family: var(--sans);
  text-align: center !important;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-footer p {
  margin: 0;
  overflow-wrap: anywhere;
}

.table-footer strong {
  color: var(--ink-soft);
}

.metric-glossary {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  margin-top: 74px;
}

.mini-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 11px;
}

.glossary-intro h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.glossary-intro > p:last-child {
  max-width: 330px;
  color: var(--ink-soft);
  font-size: 13px;
}

.metric-glossary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin: 0;
}

.metric-definition {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.metric-definition dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.metric-definition dd {
  margin: 5px 0 0;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.5;
}

.provenance-note {
  margin: 62px 0 0;
  padding: 18px 21px;
  border-left: 3px solid var(--teal);
  color: var(--ink-faint);
  background: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.provenance-note strong {
  color: var(--ink);
}

code {
  font-family: var(--mono);
}

.evaluate-section {
  padding-top: 24px;
}

.code-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 25px;
}

.code-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.code-tab {
  position: relative;
  padding: 10px 2px 13px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.code-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.code-tab.is-active {
  color: var(--ink);
}

.code-tab.is-active::after {
  transform: scaleX(1);
}

.code-window {
  min-width: 0;
  overflow: hidden;
  color: #dce5e9;
  background: #101c27;
  box-shadow: var(--shadow);
}

.code-window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line-dark);
}

.code-window-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.code-window-bar > span:nth-child(2) { background: var(--yellow); }
.code-window-bar > span:nth-child(3) { background: var(--teal); }

.code-window-bar p {
  margin: 0 auto 0 7px;
  color: #7f929e;
  font-family: var(--mono);
  font-size: 11px;
}

.copy-button {
  padding: 6px 9px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button:hover {
  color: var(--yellow);
}

.code-window pre,
.bibtex-card pre {
  margin: 0;
  overflow: auto;
}

.code-window pre {
  min-height: 290px;
  padding: 29px;
}

.code-window code {
  font-size: 11px;
  line-height: 1.8;
  white-space: pre;
}

.reproduce-aside {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.reproduce-aside ol {
  padding: 0;
  margin: 17px 0 26px;
  list-style: none;
}

.reproduce-aside li {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

.reproduce-aside li span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 11px;
}

.reproduce-aside > a {
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
}

.release-notice {
  padding-top: 16px;
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.release-notice strong {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.citation-section {
  padding-block: 100px;
  color: var(--paper-bright);
  background: var(--teal);
}

.citation-section .section-kicker-light {
  color: #fff2c7;
}

.citation-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
  align-items: center;
}

.citation-layout h2 {
  font-size: clamp(48px, 5vw, 72px);
}

.citation-layout > div:first-child > p:last-child {
  max-width: 430px;
  color: #d3e8e5;
  font-size: 14px;
}

.bibtex-card {
  position: relative;
  padding: 32px;
  color: var(--ink);
  background: var(--paper-bright);
  box-shadow: 12px 12px 0 rgba(18, 33, 47, 0.35);
}

.bibtex-card code {
  font-size: 11px;
  line-height: 1.75;
}

.copy-bibtex {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--teal);
}

.site-footer {
  color: var(--paper-bright);
  background: #0d1822;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 80px;
  align-items: center;
  min-height: 190px;
}

.footer-brand {
  color: var(--paper-bright);
}

.footer-brand .brand-mark {
  color: var(--ink);
  background: var(--paper-bright);
}

.footer-inner > div:first-child > p {
  margin: 7px 0 0;
  color: #7f929e;
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a,
.footer-links span {
  color: #b4c0c6;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.footer-meta {
  color: #71838e;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
  text-transform: uppercase;
}

.reveal {
  animation: rise-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  :root { --section: min(100% - 48px, 1000px); }
  .hero { grid-template-columns: 1fr 0.92fr; gap: 50px; min-height: 690px; }
  .hero h1 { font-size: clamp(54px, 6.2vw, 76px); }
  .pipeline { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .pipeline-link { display: none; }
  .pipeline-node { min-height: 250px; }
  .leaderboard-heading > div:first-child { display: block; }
  .leaderboard-heading > div:first-child p { margin-top: 20px; }
  #grt-family-qualification-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr auto; gap: 36px; padding-block: 40px; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
  .footer-meta { grid-column: 1 / -1; margin: 0; text-align: left; }
}

@media (max-width: 860px) {
  :root { --section: calc(100% - 36px); }
  .site-header { min-height: 64px; padding-inline: 18px; }
  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle > span:not(.sr-only) { display: block; width: 23px; height: 1px; background: var(--ink); transition: transform 0.2s; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-bright);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 72px 86px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 620px; }
  .stat-band-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .track-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .method-notes { grid-template-columns: 1fr; gap: 20px; }
  .leaderboard-heading { grid-template-columns: 1fr; }
  .leaderboard-heading > div:first-child { display: grid; grid-template-columns: 1fr 0.7fr; }
  .snapshot { width: max-content; }
  .leader-summary { grid-template-columns: 1fr; }
  .leaderboard-toolbar { align-items: stretch; flex-direction: column; }
  .track-tabs { overflow-x: auto; }
  .leaderboard-filters { flex-wrap: wrap; }
  .metric-glossary { grid-template-columns: 1fr; gap: 25px; }
  .code-layout { grid-template-columns: 1fr; }
  .reproduce-aside { grid-column: 1; }
  .citation-layout { grid-template-columns: 1fr; gap: 45px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 50px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 600px) {
  :root { --section: calc(100% - 28px); }
  #grt-family-qualification-list { grid-template-columns: minmax(0, 1fr); }
  .brand { font-size: 16px; }
  .hero { gap: 52px; padding-top: 56px; }
  .hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .hero-visual { padding: 13px; box-shadow: 9px 10px 0 var(--teal-soft); }
  .visual-note { grid-template-columns: auto 1fr; }
  .visual-note .visual-arrow,
  .visual-note span:last-child { display: none; }
  .stat { min-height: 112px; padding: 20px; }
  .stat strong { font-size: 31px; }
  .benchmark-section,
  .leaderboard-section,
  .evaluate-section,
  .method-section { padding-block: 90px; }
  .section-heading h2,
  .citation-layout h2 { font-size: 45px; }
  .track-card { grid-template-columns: 38px 1fr; min-height: 470px; padding: 28px 23px; }
  .track-card h3 { font-size: 32px; }
  .track-metric { right: 23px; bottom: 25px; left: 61px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .benchmark-figure { margin-top: 50px; padding: 8px; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-node { min-height: 215px; }
  .leaderboard-heading > div:first-child { display: block; }
  .leaderboard-heading > div:first-child p { margin-top: 18px; }
  .track-tabs { margin-inline: -4px; }
  .track-tab { flex: 1 0 max-content; }
  .leaderboard-filters { flex-direction: column; }
  .search-field input { width: 100%; }
  .source-field select { width: 100%; }
  .table-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .metric-glossary dl { grid-template-columns: 1fr; }
  .code-tabs { gap: 14px; overflow-x: auto; }
  .code-tab { flex: 0 0 auto; }
  .code-window pre { min-height: 330px; padding: 22px 17px; }
  .code-window code { font-size: 11px; }
  .bibtex-card { padding: 62px 19px 22px; }
  .bibtex-card code { font-size: 11px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .leaderboard-filters,
  .code-tabs,
  .copy-button,
  .site-footer { display: none !important; }
  body { background: #fff; }
  .section-shell { width: 100%; }
  .hero { min-height: auto; padding-block: 25px; }
  .method-section,
  .citation-section { color: #000; background: #fff; }
  .leaderboard-panel,
  .hero-visual { box-shadow: none; }
}
