:root {
  --ink: #07110e;
  --ink-soft: #10201a;
  --paper: #f4f2e9;
  --paper-deep: #e9e6da;
  --white: #fffef8;
  --line: rgba(7, 17, 14, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #65706a;
  --muted-dark: #aebbb5;
  --lime: #b7f36b;
  --cyan: #63d8ff;
  --violet: #8e8cff;
  --coral: #ff9d72;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(4, 12, 9, 0.1);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 17, 14, 0.92);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.brand-mark::before {
  top: -2px;
}

.brand-mark::after {
  bottom: -2px;
}

.brand-mark span {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.status-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 157, 114, 0.12);
}

.hero {
  overflow: hidden;
  padding: 92px 24px 0;
  background:
    radial-gradient(circle at 78% 25%, rgba(99, 216, 255, 0.1), transparent 25%),
    radial-gradient(circle at 17% 3%, rgba(183, 243, 107, 0.09), transparent 24%),
    var(--ink);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.72fr);
  gap: 80px;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.eyebrow,
.kicker,
.mini-label {
  margin: 0;
  color: #4c5a54;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
}

.eyebrow span {
  color: var(--lime);
}

.hero h1 {
  max-width: 780px;
  margin: 27px 0 30px;
  font-family: var(--font-serif);
  font-size: clamp(58px, 7.2vw, 104px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.87;
}

.hero h1 em {
  color: var(--lime);
  font-weight: 400;
}

.hero-deck {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--lime);
  color: var(--ink);
}

.button-primary:hover {
  background: #c8ff84;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.leader-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    #0a1712;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.leader-card::after {
  position: absolute;
  top: 65px;
  right: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(183, 243, 107, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(183, 243, 107, 0.025),
    0 0 0 60px rgba(183, 243, 107, 0.016);
  content: "";
  pointer-events: none;
}

.leader-card-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 243, 107, 0.12);
}

.edition-label {
  margin-left: auto;
}

.leader-card-main {
  position: relative;
  z-index: 1;
  padding: 36px 30px 33px;
}

.score-dial {
  display: grid;
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0b1813 61%, transparent 62%),
    conic-gradient(var(--model-accent, var(--lime)) var(--score-angle, 0deg), rgba(255, 255, 255, 0.08) 0);
}

.score-dial > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-dial strong {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.score-dial span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.leader-identity {
  text-align: center;
}

.rank-tag {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(183, 243, 107, 0.24);
  border-radius: 100px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leader-identity h2 {
  margin: 12px 0 3px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.leader-identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.leader-card-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.leader-card-footer > span {
  padding: 17px 10px;
  text-align: center;
}

.leader-card-footer > span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.leader-card-footer small,
.leader-card-footer strong {
  display: block;
}

.leader-card-footer small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.leader-card-footer strong {
  font-size: 13px;
}

.stat-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--max-width));
  margin: 88px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-ribbon > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 25px 0 27px;
}

.stat-ribbon > div + div {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 31px;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baseline-wrap {
  padding: 32px 24px 0;
}

.baseline-note {
  display: grid;
  grid-template-columns: auto minmax(200px, 0.72fr) minmax(280px, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 19px 22px;
  border: 1px solid rgba(211, 112, 69, 0.28);
  border-radius: var(--radius);
  background: #f8e8da;
}

.baseline-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  font-family: var(--font-serif);
  font-weight: 700;
}

.baseline-note h2 {
  margin: 2px 0 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.baseline-note > p {
  margin: 0;
  color: #735446;
  font-size: 12px;
  line-height: 1.6;
}

.baseline-spec {
  min-width: 110px;
  padding-left: 22px;
  border-left: 1px solid rgba(96, 53, 34, 0.18);
}

.baseline-spec span,
.baseline-spec strong {
  display: block;
}

.baseline-spec span {
  color: #8b6755;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baseline-spec strong {
  margin-top: 2px;
  font-size: 14px;
}

.section {
  width: min(100%, calc(var(--max-width) + 48px));
  margin: 0 auto;
  padding: 112px 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.62fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.metric-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.metric-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
}

.metric-tab {
  min-height: 37px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.metric-tab:hover {
  color: var(--ink);
}

.metric-tab.is-active {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(7, 17, 14, 0.14);
}

.metric-tab:focus-visible,
.button:focus-visible,
.nav-links a:focus-visible,
.status-chip:focus-visible,
.brand:focus-visible,
.sample-answer summary:focus-visible,
.sample-sources a:focus-visible,
.contact-card:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.metric-toolbar > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.leaderboard-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
}

.leaderboard-header,
.model-row {
  display: grid;
  grid-template-columns: 58px minmax(210px, 1.2fr) 128px minmax(165px, 0.82fr) minmax(210px, 1fr);
  gap: 18px;
  align-items: center;
}

.leaderboard-header {
  padding: 13px 23px;
  border-bottom: 1px solid var(--line);
  color: #7d8782;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-row {
  position: relative;
  min-height: 116px;
  padding: 19px 23px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.model-row + .model-row {
  border-top: 1px solid var(--line);
}

.model-row:hover {
  z-index: 1;
  background: rgba(255, 255, 255, 0.78);
}

.model-row.is-provisional {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(244, 201, 93, 0.035),
      rgba(244, 201, 93, 0.035) 8px,
      transparent 8px,
      transparent 16px
    );
}

.model-row.is-provisional:hover {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(244, 201, 93, 0.075),
      rgba(244, 201, 93, 0.075) 8px,
      rgba(255, 255, 255, 0.58) 8px,
      rgba(255, 255, 255, 0.58) 16px
    );
}

.row-rank {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-serif);
  font-size: 26px;
}

.row-rank small {
  color: #9aa29e;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
}

.model-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.model-swatch {
  flex: 0 0 auto;
  width: 12px;
  height: 48px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.model-name {
  min-width: 0;
}

.model-name strong,
.model-name span {
  display: block;
}

.model-name strong {
  overflow: hidden;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-name span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.model-name .provisional-tag {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 3px 6px;
  border: 1px solid rgba(137, 103, 17, 0.25);
  border-radius: 5px;
  background: rgba(244, 201, 93, 0.16);
  color: #70550e;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-cell strong,
.metric-cell span {
  display: block;
}

.metric-cell strong {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-cell span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bar-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.metric-bar {
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(7, 17, 14, 0.09);
}

.metric-bar i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 320ms ease;
}

.best-label {
  min-width: 31px;
  color: #37720c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.best-label.provisional-label {
  color: #866510;
}

.quality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.quality-chips span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #616c66;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.quality-chips .error-chip {
  border-color: rgba(141, 56, 38, 0.25);
  background: rgba(255, 157, 114, 0.12);
  color: #8d3826;
}

.loading-row,
.loading-copy {
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.error-row {
  padding: 32px;
  color: #8d3826;
  text-align: center;
}

.analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  margin-top: 18px;
}

.chart-card {
  min-height: 390px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.card-heading h3,
.insight-card h3,
.dataset-panel h3 {
  margin: 5px 0 0;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.chart-key {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.scatter-chart {
  height: 285px;
  margin-top: 10px;
}

.scatter-chart svg {
  display: block;
  overflow: visible;
  width: 100%;
  height: 100%;
}

.chart-grid-line {
  stroke: rgba(7, 17, 14, 0.1);
  stroke-dasharray: 3 5;
}

.chart-axis-label,
.chart-point-label {
  font-family: var(--font-sans);
}

.chart-axis-label {
  fill: #77817c;
  font-size: 9px;
}

.chart-point-label {
  fill: var(--ink);
  font-size: 9px;
  font-weight: 800;
}

.chart-point {
  stroke: var(--paper);
  stroke-width: 4;
  filter: drop-shadow(0 4px 5px rgba(7, 17, 14, 0.15));
}

.insight-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
}

.insight-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(183, 243, 107, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(183, 243, 107, 0.025);
  content: "";
}

.insight-card .mini-label {
  color: var(--lime);
}

.insight-card h3 {
  position: relative;
  max-width: 330px;
  margin-top: 12px;
  font-size: 35px;
}

.insight-card > p:not(.mini-label) {
  position: relative;
  margin: 22px 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.7;
}

.insight-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.insight-metrics > div {
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.insight-metrics strong,
.insight-metrics span {
  display: block;
}

.insight-metrics strong {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
}

.insight-metrics span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-ink {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - var(--max-width)) / 2));
  padding-left: max(24px, calc((100% - var(--max-width)) / 2));
  background:
    radial-gradient(circle at 95% 5%, rgba(142, 140, 255, 0.08), transparent 26%),
    var(--ink);
  color: var(--white);
}

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

.section-heading-light > p {
  color: var(--muted-dark);
}

.heatmap-card,
.dark-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.heatmap-card {
  padding: 27px;
}

.heatmap-card .mini-label,
.dark-card .mini-label {
  color: #7f8e87;
}

.heatmap-card .card-heading h3,
.dark-card .card-heading h3 {
  color: var(--white);
}

.heat-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-dark);
  font-size: 9px;
  font-weight: 700;
}

.heat-legend i {
  width: 90px;
  height: 7px;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(183, 243, 107, 0.05), var(--lime));
}

.heatmap-scroll {
  overflow-x: auto;
  margin-top: 28px;
}

.heatmap-table {
  display: grid;
  min-width: 850px;
  grid-template-columns: minmax(230px, 1.35fr) repeat(var(--model-count), minmax(112px, 0.65fr));
  gap: 5px;
}

.heatmap-corner,
.heatmap-model,
.heatmap-domain,
.heatmap-cell {
  min-height: 46px;
}

.heatmap-model {
  display: flex;
  align-items: flex-end;
  padding: 0 8px 9px;
  border-bottom: 2px solid var(--accent);
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 800;
}

.heatmap-domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.heatmap-domain small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
  white-space: nowrap;
}

.heatmap-cell {
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, rgba(255, 255, 255, 0.07));
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) var(--fill), rgba(255, 255, 255, 0.025));
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 17px;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 18px;
}

.dark-card {
  min-height: 400px;
  padding: 27px;
}

.response-group {
  margin-top: 25px;
}

.response-group + .response-group {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.response-group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.response-group-title strong {
  font-size: 12px;
}

.response-group-title span {
  color: var(--muted-dark);
  font-size: 9px;
}

.response-bar {
  display: grid;
  grid-template-columns: 125px 1fr 40px;
  gap: 10px;
  align-items: center;
  min-height: 26px;
}

.response-bar span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.response-track {
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
}

.response-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.response-bar strong {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  text-align: right;
}

.quality-row {
  margin-top: 25px;
}

.quality-row + .quality-row {
  margin-top: 20px;
}

.quality-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.quality-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 750;
}

.quality-name i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.quality-topline strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
}

.quality-track {
  height: 6px;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
}

.quality-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.quality-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.quality-footnote {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 10px;
  line-height: 1.6;
}

.samples {
  padding-top: 82px;
}

.sample-intro {
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 72% -40%, rgba(99, 216, 255, 0.14), transparent 37%),
    var(--ink);
  color: var(--white);
}

.sample-intro > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.sample-intro-number,
.sample-zero strong {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sample-intro div span:last-child,
.sample-zero span {
  max-width: 115px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sample-intro > p {
  margin: 0;
  padding: 0 34px;
  border-right: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.7;
}

.sample-zero strong {
  color: var(--cyan);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sample-grid > .loading-copy,
.sample-grid > .error-row {
  grid-column: 1 / -1;
}

.sample-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 15px 45px rgba(4, 12, 9, 0.045);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.sample-card:hover {
  border-color: rgba(7, 17, 14, 0.28);
  box-shadow: 0 20px 55px rgba(4, 12, 9, 0.08);
  transform: translateY(-2px);
}

.sample-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: #89938e;
  font-family: var(--font-serif);
  font-size: 12px;
}

.sample-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(183, 243, 107, 0.18);
}

.sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.sample-tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #65716b;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sample-card h3 {
  margin: 16px 0 11px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.sample-question {
  margin: 0 0 22px;
  color: #3f4b45;
  font-size: 11px;
  line-height: 1.75;
}

.sample-contract {
  margin-top: auto;
  padding: 12px 13px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 7px 7px 0;
  background: rgba(99, 216, 255, 0.07);
}

.sample-contract > span,
.sample-answer-label,
.sample-sources > span {
  display: block;
  color: #75807b;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-contract p {
  margin: 4px 0 0;
  color: #34423c;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
}

.sample-answer {
  margin-top: 12px;
  border: 1px solid rgba(7, 17, 14, 0.13);
  border-radius: 9px;
  background: rgba(7, 17, 14, 0.025);
}

.sample-answer summary {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  cursor: pointer;
  list-style: none;
  font-size: 9px;
  font-weight: 850;
}

.sample-answer summary::-webkit-details-marker {
  display: none;
}

.sample-answer summary span {
  color: #627069;
  font-size: 14px;
  transition: transform 180ms ease;
}

.sample-answer[open] summary {
  border-bottom: 1px solid var(--line);
}

.sample-answer[open] summary span {
  transform: rotate(45deg);
}

.sample-answer > div {
  padding: 13px;
}

.sample-answer code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 7px;
  padding: 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--lime);
  font-size: 9px;
  line-height: 1.65;
  white-space: normal;
}

.sample-answer p {
  margin: 11px 0 0;
  color: #53605a;
  font-size: 9px;
  line-height: 1.65;
}

.sample-sources {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.sample-sources > a {
  display: block;
  margin-top: 9px;
  color: #264d59;
  text-decoration: none;
}

.sample-sources > a:hover span,
.sample-sources > a:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sample-sources a span,
.sample-sources a small {
  display: block;
}

.sample-sources a span {
  font-size: 9px;
  font-weight: 850;
}

.sample-sources a span::after {
  margin-left: 5px;
  color: #6b7c75;
  content: "↗";
}

.sample-sources a small {
  margin-top: 2px;
  color: #7b8681;
  font-size: 7px;
  line-height: 1.45;
}

.methodology {
  padding-bottom: 75px;
}

.holdout {
  position: relative;
}

.holdout::before {
  position: absolute;
  top: 48px;
  right: 8%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(7, 17, 14, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(7, 17, 14, 0.018),
    0 0 0 76px rgba(7, 17, 14, 0.012);
  content: "";
  pointer-events: none;
}

.holdout-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 70px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 100%, rgba(183, 243, 107, 0.1), transparent 35%),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.holdout-story .mini-label {
  color: var(--lime);
}

.holdout-story h3 {
  max-width: 520px;
  margin: 10px 0 17px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.holdout-story > p:not(.mini-label, .holdout-callout) {
  max-width: 590px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.75;
}

.holdout-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.holdout-meta > span {
  padding: 16px 10px 16px 0;
}

.holdout-meta > span + span {
  padding-left: 18px;
  border-left: 1px solid var(--line-dark);
}

.holdout-meta small,
.holdout-meta strong {
  display: block;
}

.holdout-meta small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.holdout-meta strong {
  margin-top: 5px;
  font-size: 12px;
}

.holdout-callout {
  margin: 25px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--lime);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.7;
}

.holdout-results {
  align-self: center;
  padding: 27px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.holdout-results .composition-heading {
  border-color: var(--line-dark);
}

.holdout-results .composition-heading span:last-child {
  color: rgba(255, 255, 255, 0.4);
}

.holdout-model-row {
  display: grid;
  grid-template-columns: 130px 1fr 43px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
}

.holdout-model-row + .holdout-model-row {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.holdout-track {
  height: 6px;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
}

.holdout-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.holdout-model-row > strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  text-align: right;
}

.chapter-card {
  margin-top: 18px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
}

.chapter-card .card-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.chapter-table {
  display: grid;
  grid-template-columns: minmax(170px, 1.3fr) repeat(var(--chapter-count), minmax(95px, 0.65fr)) minmax(95px, 0.65fr);
  gap: 5px;
  margin-top: 25px;
}

.chapter-corner,
.chapter-heading {
  padding: 0 12px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chapter-heading {
  text-align: center;
}

.chapter-model,
.chapter-score {
  display: flex;
  min-height: 48px;
  align-items: center;
  border-radius: 7px;
  background: rgba(7, 17, 14, 0.035);
}

.chapter-model {
  gap: 9px;
  padding: 0 13px;
  font-size: 10px;
  font-weight: 750;
}

.chapter-model i {
  width: 7px;
  height: 22px;
  border-radius: 3px;
  background: var(--accent);
}

.chapter-score {
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
}

.chapter-overall {
  background: var(--ink);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-grid article {
  padding: 32px 34px 36px 0;
}

.method-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.method-number {
  color: #8a948f;
  font-family: var(--font-serif);
  font-size: 12px;
}

.method-grid h3 {
  margin: 40px 0 10px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.dataset-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  margin-top: 75px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
}

.dataset-panel h3 {
  margin-top: 10px;
  font-size: 38px;
}

.dataset-copy > p:not(.mini-label) {
  max-width: 590px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.dataset-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 32px 0 0;
}

.dataset-details div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.dataset-details dt {
  color: #7a8580;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dataset-details dd {
  margin: 5px 0 0;
  font-size: 11px;
  font-weight: 750;
}

.corpus-composition {
  align-self: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.3);
}

.composition-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.composition-heading span:last-child {
  color: var(--muted);
}

.composition-row {
  display: grid;
  grid-template-columns: 120px 1fr 32px;
  gap: 10px;
  align-items: center;
  margin-top: 19px;
}

.composition-row span {
  color: #53605a;
  font-size: 9px;
  font-weight: 750;
}

.composition-track {
  height: 7px;
  border-radius: 100px;
  background: rgba(7, 17, 14, 0.08);
}

.composition-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.composition-row strong {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  text-align: right;
}

.provenance {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.28);
}

.provenance summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.provenance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 22px 22px;
}

.provenance-grid > div {
  min-width: 0;
  padding: 13px;
  border-radius: 8px;
  background: rgba(7, 17, 14, 0.045);
}

.provenance-grid span,
.provenance-grid code {
  display: block;
}

.provenance-grid span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provenance-grid code {
  overflow-wrap: anywhere;
  color: #35433d;
  font-size: 9px;
  line-height: 1.6;
}

.contact-section {
  padding-top: 28px;
}

.contact-shell {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 110%, rgba(183, 243, 107, 0.12), transparent 38%),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-shell::after {
  position: absolute;
  top: -110px;
  right: 18%;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(183, 243, 107, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(183, 243, 107, 0.025),
    0 0 0 92px rgba(183, 243, 107, 0.018);
  content: "";
  pointer-events: none;
}

.contact-copy,
.contact-card {
  position: relative;
  z-index: 1;
}

.contact-copy .kicker,
.contact-card .mini-label {
  color: var(--lime);
}

.contact-copy h2 {
  margin: 8px 0 15px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.contact-copy > p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.75;
}

.contact-card {
  display: flex;
  min-width: 0;
  min-height: 210px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.contact-card:hover {
  background: #c8ff83;
  transform: translateY(-3px);
}

.contact-card .mini-label {
  color: #36541b;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-card > span:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card b {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 17, 14, 0.18);
  border-radius: 50%;
  font-size: 17px;
  font-style: normal;
  place-items: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.85fr) auto;
  gap: 35px;
  align-items: center;
  padding: 35px max(24px, calc((100% - var(--max-width)) / 2));
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark-small {
  width: 34px;
  height: 34px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-brand > div span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.noscript {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  max-width: 350px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #9f2f1c;
  color: white;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(330px, 0.7fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(55px, 8vw, 80px);
  }

  .leaderboard-header,
  .model-row {
    grid-template-columns: 45px minmax(180px, 1fr) 110px minmax(140px, 0.8fr);
  }

  .leaderboard-header span:last-child,
  .quality-chips {
    display: none;
  }

  .baseline-note {
    grid-template-columns: auto 1fr auto;
  }

  .baseline-note > p {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .baseline-spec {
    grid-column: 3;
    grid-row: 1;
  }

  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 65px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .leader-card {
    width: min(100%, 480px);
    margin-top: 15px;
  }

  .stat-ribbon {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 60px;
  }

  .stat-ribbon > div:nth-child(3) {
    border-left: 0;
  }

  .stat-ribbon > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .metric-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .analysis-grid,
  .breakdown-grid,
  .dataset-panel,
  .holdout-panel,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .holdout-panel {
    gap: 38px;
  }

  .contact-shell {
    gap: 38px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-grid article {
    padding: 24px 0;
  }

  .method-grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-grid h3 {
    margin-top: 20px;
  }

  .dataset-panel {
    gap: 38px;
    padding: 34px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .status-chip {
    padding: 8px;
    font-size: 0;
  }

  .status-chip span {
    margin: 0;
  }

  .hero,
  .section,
  .baseline-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: clamp(49px, 15.7vw, 70px);
  }

  .hero-deck {
    font-size: 16px;
  }

  .leader-card-main {
    padding-right: 18px;
    padding-left: 18px;
  }

  .score-dial {
    width: 154px;
    height: 154px;
  }

  .stat-ribbon > div + div {
    padding-left: 18px;
  }

  .baseline-note {
    grid-template-columns: auto 1fr;
  }

  .baseline-spec {
    grid-column: 2;
    grid-row: 3;
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid rgba(96, 53, 34, 0.18);
    border-left: 0;
  }

  .baseline-note > p {
    grid-column: 2;
  }

  .section {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .sample-intro {
    grid-template-columns: 1fr auto;
  }

  .sample-intro > p {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 17px 0 0;
    border-top: 1px solid var(--line-dark);
    border-right: 0;
    border-left: 0;
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }

  .metric-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .leaderboard-header {
    display: none;
  }

  .model-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    padding: 20px 16px;
  }

  .model-cell {
    min-width: 0;
  }

  .model-swatch {
    width: 8px;
    height: 38px;
  }

  .metric-cell {
    text-align: right;
  }

  .bar-cell {
    grid-column: 2 / -1;
  }

  .quality-chips {
    display: flex;
    grid-column: 2 / -1;
  }

  .chart-card,
  .heatmap-card,
  .dark-card {
    padding: 21px;
  }

  .chart-key {
    display: none;
  }

  .scatter-chart {
    height: 250px;
  }

  .insight-card {
    min-height: 360px;
  }

  .heat-legend {
    display: none;
  }

  .response-bar {
    grid-template-columns: 95px 1fr 35px;
  }

  .dataset-panel {
    padding: 26px 20px;
  }

  .holdout-panel {
    padding: 30px 21px;
  }

  .holdout-meta {
    grid-template-columns: 1fr;
  }

  .holdout-meta > span + span {
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .holdout-model-row {
    grid-template-columns: 100px 1fr 37px;
  }

  .chapter-card {
    overflow-x: auto;
  }

  .chapter-table {
    min-width: 620px;
  }

  .dataset-details,
  .provenance-grid {
    grid-template-columns: 1fr;
  }

  .corpus-composition {
    padding: 20px 16px;
  }

  .composition-row {
    grid-template-columns: 95px 1fr 28px;
  }

  .contact-shell {
    padding: 30px 21px;
  }

  .contact-card {
    min-height: 190px;
    padding: 23px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
