/* Familiar Dubbing Benchmark — brand edition (2026-08-05).
   The handoff stylesheet's palette was replaced wholesale with the site's
   design system (see web/frontend/AGENTS.md): cream page, ink type, olive +
   lime accents, hairline borders, hard shadows, Larken display / Circular
   body / IBM Plex Mono labels, and the time-of-day pixel meadow hero. The
   page structure and benchmark.js are the handoff's; only styling changed. */

@font-face {
  font-family: "Larken";
  src: url("/fonts/Larken-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Larken";
  src: url("/fonts/Larken-VariableItalic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Circular";
  src: url("/fonts/CircularStd-Book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Circular";
  src: url("/fonts/CircularStd-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Circular";
  src: url("/fonts/CircularStd-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #1d1d18;
  --ink-2: #3d3d35;
  --muted: #6f6f63;
  --faint: #77776b; /* darkened 2026-08-06 — Andrew: "so much text everywhere in faint gray" */
  --paper: #f7f7f4;
  --card: #ffffff;
  --card-2: #fbfbf8;
  --line: #e3e3d4;
  --line-soft: #eeeee2;
  --dashed: #c9c9b4;
  --olive: #656c2e;
  --olive-deep: #4d5321;
  --lime: #f0ff7f;
  --lime-soft: #f7fca8;
  --lime-border: #d9e585;
  --lime-shadow: #c5d360;
  --api: #8a8a7d;
  --api-bar: #c9c9b4;
  --amber: #a3841f;
  --amber-soft: #f7edc9;
  --alert: #b4543e;
  --alert-soft: #f7e4dd;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-hard: 0 3px 0 #e3e3d4;
  --shadow-ambient: 0 24px 60px rgba(20, 20, 18, 0.07);
  --serif: "Larken", Georgia, "Times New Roman", serif;
  --sans: "Circular", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
}

main {
  display: block;
}

a {
  color: var(--olive);
  text-decoration-color: var(--lime-border);
  text-underline-offset: 4px;
}
a:hover {
  color: var(--olive-deep);
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}

/* ── topbar: the site's floating glass pill navbar ──────────────────── */

.benchmark-topbar {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1300px, calc(100% - 28px));
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(24, 24, 20, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(20, 20, 18, 0.22);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Past the hero the pill flips to the landing's light glass (Andrew,
   2026-08-06: "just like how on landing the navbar changes as u scroll"). */
.benchmark-topbar.is-scrolled {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(20, 40, 90, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 20px;
  width: auto;
}
.brand-alpha {
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
}
.brand-logo-light {
  display: none;
}
.benchmark-topbar.is-scrolled .brand-logo-dark {
  display: none;
}
.benchmark-topbar.is-scrolled .brand-logo-light {
  display: block;
}
.benchmark-topbar.is-scrolled .brand-alpha {
  color: rgba(29, 29, 24, 0.55);
}

.benchmark-topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.benchmark-topbar nav a {
  padding: 9px 11px;
  border-radius: 11px;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.4s ease, background 0.25s ease;
}
.benchmark-topbar nav a:hover,
.benchmark-topbar nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.benchmark-topbar.is-scrolled nav a {
  color: rgba(29, 29, 24, 0.62);
}
.benchmark-topbar.is-scrolled nav a:hover,
.benchmark-topbar.is-scrolled nav a:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: #1d1d18;
}

/* This page's own sections wear their own color (lime on the dark glass,
   olive once the pill flips light); the scroll-spied current section fills
   lime — the landing's active-chip treatment on the brand accent. */
.benchmark-topbar nav .section-link {
  color: var(--lime);
}
.benchmark-topbar nav .section-link:hover,
.benchmark-topbar nav .section-link:focus-visible {
  background: rgba(240, 255, 127, 0.14);
  color: var(--lime);
}
.benchmark-topbar.is-scrolled nav .section-link {
  color: var(--olive);
}
.benchmark-topbar.is-scrolled nav .section-link:hover,
.benchmark-topbar.is-scrolled nav .section-link:focus-visible {
  background: rgba(101, 108, 46, 0.1);
  color: var(--olive-deep);
}
.benchmark-topbar nav .section-link.is-active,
.benchmark-topbar.is-scrolled nav .section-link.is-active {
  background: var(--lime);
  color: var(--olive-deep);
  box-shadow: 0 2px 0 var(--lime-shadow);
}
.nav-split {
  width: 1px;
  height: 18px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.24);
}
.benchmark-topbar.is-scrolled .nav-split {
  background: rgba(29, 29, 24, 0.18);
}

.benchmark-topbar .comparison-link {
  margin-left: 6px;
  padding: 10px 16px;
  border: 2px solid var(--lime-border);
  border-radius: 14px;
  background: var(--lime);
  color: var(--olive-deep);
  box-shadow: 0 3px 0 var(--lime-shadow);
}
.benchmark-topbar .comparison-link:hover,
.benchmark-topbar .comparison-link:focus-visible {
  background: var(--lime);
  transform: translateY(-1px);
  color: var(--olive-deep);
}

/* Anchored sections land below the fixed pill; smooth-jump when motion
   is allowed (the section links in the pill navigate these). */
#v2-alpha,
#translation-quality,
#value,
#results,
#listen,
#glossary {
  scroll-margin-top: 96px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ── hero: the time-of-day meadow ───────────────────────────────────── */

/* Short /demos-style band: the meadow's ground line stays in frame instead
   of a screen of stretched sky (the 08-06 all-blue bug). The bench-lead
   band below pulls up over its bottom edge. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: max(420px, 52svh);
  padding: 96px clamp(20px, 5vw, 80px) 150px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.tod-scene {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
  image-rendering: pixelated;
}
html:not([data-tod]) .tod-noon,
html[data-tod="noon"] .tod-noon {
  display: block;
}
html[data-tod="dawn"] .tod-dawn {
  display: block;
}
html[data-tod="evening"] .tod-evening {
  display: block;
}
html[data-tod="night"] .tod-night {
  display: block;
}

/* The old .hero-scrim legibility gradient was removed 2026-08-06 with the
   night pin — night needs no scrim, and it grayed the meadow's light
   ground (Andrew). */

/* Unused hero decorations from the handoff markup stay inert if present. */
.hero-glow,
.hero-glow-one,
.hero-glow-two {
  display: none;
}

.hero-copy {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font: 700 12px/1.5 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--lime);
  border: 1px solid var(--lime-shadow);
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.hero .eyebrow::before {
  border-color: transparent;
}

.hero h1 {
  max-width: 880px;
  margin: 0 0 14px;
  font: 300 clamp(34px, 4.6vw, 58px) / 1.1 var(--serif);
  letter-spacing: -0.018em;
  color: #fff;
}

/* ── the headline visual band: pulls up over the meadow edge ────────── */

.bench-lead {
  position: relative;
  z-index: 5;
  max-width: 1360px;
  margin: -110px auto 0;
  padding: clamp(24px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard), var(--shadow-ambient);
}
main > .bench-lead {
  width: calc(100% - 2 * clamp(20px, 5vw, 80px));
}

.bench-lead-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.bench-logo-familiar {
  height: 26px;
  width: auto;
}
.bench-logo-eleven {
  height: 19px;
  width: auto;
  opacity: 0.82;
}
.bench-vs {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 2px 0 var(--line);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--muted);
}

.bench-lead-voice {
  max-width: 760px;
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-2);
}

.bench-lead-lede {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Four cards since 2026-08-06 (the laughs joined the main results) — 2×2. */
.bench-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.bench-lead-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--card-2);
}

.bench-index {
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
  color: var(--olive);
}

.bench-big {
  font: 700 clamp(44px, 4.4vw, 64px) / 0.95 var(--mono);
  letter-spacing: -0.05em;
  color: var(--ink);
}

.bench-claim {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-2);
}
.bench-claim small {
  display: block;
  margin-top: 4px;
  font: 500 10.5px/1.55 var(--mono);
  color: var(--faint);
}

.bench-bars {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 12px;
}
.bench-bar {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.bench-bar > span {
  font: 700 10px/1.3 var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.bench-bar > i {
  position: relative;
  display: block;
  height: 16px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.bench-bar em {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}
.bench-bar em.is-api {
  background: var(--api-bar);
}
.bench-bar em.is-familiar {
  background: var(--olive);
}
.bench-bar > b {
  font: 700 13px/1.2 var(--mono);
  color: var(--ink);
  white-space: nowrap;
}

.bench-langs {
  display: flex;
  gap: 5px;
  margin-top: auto;
  padding-top: 12px;
}
.bench-langs span {
  height: 16px;
  flex: 1;
  border: 1px solid var(--lime-border);
  border-radius: 5px;
  background: var(--lime);
  box-shadow: 0 2px 0 var(--lime-shadow);
}
.bench-langs-note {
  font: 700 9.5px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--faint);
}

.bench-lead-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: clamp(14px, 1.6vw, 20px);
  border-top: 1.5px dashed var(--dashed);
}
.bench-lead-notes span {
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: var(--card-2);
  font: 500 11.5px/1.5 var(--mono);
  color: var(--muted);
}
.bench-lead-notes b {
  color: var(--olive-deep);
}
/* The two evidence jumps, as MAIN buttons: big, lime, centered (Andrew,
   2026-08-06 — the old gray chips bottom-right read as fine print). */
.bench-lead-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(18px, 2.4vw, 26px);
}
.bench-lead-ctas a {
  display: flex;
  flex: 1 1 260px;
  max-width: 400px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border: 2px solid var(--lime-border);
  border-radius: 16px;
  background: var(--lime);
  color: var(--olive-deep);
  box-shadow: 0 5px 0 var(--lime-shadow);
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.bench-lead-ctas a:hover,
.bench-lead-ctas a:focus-visible {
  transform: translateY(-2px);
}

/* ── shared section chrome ──────────────────────────────────────────── */

.v2-alpha-callout,
.translation-quality-section,
.value-section,
.results-section,
.metric-story,
.glossary-section,
.evidence-note {
  position: relative;
  padding: clamp(44px, 5vw, 76px) clamp(20px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.translation-quality-section::before,
.hero::before {
  content: none;
}

.v2-alpha-callout > *,
.translation-quality-section > *,
.value-section > *,
.results-section > *,
.metric-story > *,
.glossary-section > *,
.evidence-note > * {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}
.section-heading h2 {
  margin: 0;
  font: 300 clamp(26px, 3vw, 40px) / 1.12 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-heading > p {
  max-width: 560px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── V2 Alpha callout ───────────────────────────────────────────────── */

.v2-alpha-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: 22px;
}
.v2-alpha-heading h2 {
  margin: 0;
  font: 300 clamp(26px, 3vw, 40px) / 1.12 var(--serif);
  letter-spacing: -0.015em;
}
.v2-alpha-heading > p {
  max-width: 640px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.v2-alpha-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.v2-alpha-facts article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.v2-alpha-facts article.is-pending {
  background: var(--card-2);
}
.v2-alpha-facts span {
  display: block;
  margin-bottom: 8px;
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--olive);
}
.v2-alpha-facts strong {
  display: block;
  font: 500 16px/1.35 var(--serif);
  color: var(--ink);
}
.v2-alpha-facts p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.v2-alpha-facts a {
  color: var(--olive);
}

.v2-alpha-blockers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.v2-alpha-blockers article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 16px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius-md);
  background: #f4f4e9;
}
.v2-alpha-blockers b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 3px 0 var(--dashed);
  font: 700 16px/1 var(--mono);
}
.v2-alpha-blockers span {
  display: block;
  margin-bottom: 4px;
  font: 700 9.5px/1.4 var(--mono);
  letter-spacing: 0.12em;
  color: var(--faint);
}
.v2-alpha-blockers strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}
.v2-alpha-blockers p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.v2-alpha-observation,
.relative-method-note {
  max-width: 1360px;
  margin: 14px auto 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.v2-alpha-observation {
  font: 500 11.5px/1.6 var(--mono);
}

/* Method + fairness notes wear the dashed note-card treatment (2026-08-06 —
   they used to sit as cramped gray paragraphs jammed against the grids). */
.v2-alpha-selection-note,
.v2-alpha-results-note {
  max-width: 1360px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius-md);
  background: #f7f7f0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}
.v2-alpha-selection-note {
  margin-bottom: 6px;
}
.v2-alpha-selection-note strong,
.v2-alpha-results-note strong {
  color: var(--ink);
}

.v2-alpha-results {
  margin-top: 26px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard), var(--shadow-ambient);
}
.v2-alpha-results > header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px 40px;
  margin-bottom: 18px;
}
.v2-alpha-results > header span {
  display: block;
  margin-bottom: 6px;
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--olive);
}
.v2-alpha-results > header h3 {
  margin: 0;
  font: 400 clamp(20px, 2vw, 26px) / 1.2 var(--serif);
}
.v2-alpha-results > header p {
  max-width: 560px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.v2-alpha-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.v2-alpha-result-grid article {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--card-2);
}
.v2-alpha-result-grid article.is-strong {
  border-color: var(--lime-border);
  background: rgba(247, 252, 168, 0.45);
}
.v2-alpha-result-grid article.is-descriptive {
  background: var(--card-2);
}
.v2-alpha-result-grid article.is-coverage {
  border-style: dashed;
  border-color: var(--dashed);
  background: #f4f4e9;
}
.v2-alpha-result-grid strong {
  display: block;
  font: 700 20px/1.2 var(--mono);
  letter-spacing: -0.02em;
  color: var(--olive-deep);
}
.v2-alpha-result-grid article.is-descriptive strong,
.v2-alpha-result-grid article.is-coverage strong {
  color: var(--ink-2);
}
.v2-alpha-result-grid span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-2);
}
.v2-alpha-result-grid small {
  display: block;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  font: 500 11px/1.6 var(--mono);
  color: var(--muted);
}

/* ── translation quality ────────────────────────────────────────────── */

.translation-quality-heading,
.translation-quality-results {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.translation-loading,
.translation-error {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.translation-loading p,
.translation-error p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.translation-loading-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 4px solid var(--line);
  border-top-color: var(--olive);
  border-radius: 50%;
  animation: translation-spin 1s linear infinite;
}
@keyframes translation-spin {
  to {
    transform: rotate(360deg);
  }
}
.translation-error {
  border-color: rgba(180, 84, 62, 0.4);
  background: var(--alert-soft);
}
.translation-error-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--alert);
  font: 700 18px/1 var(--mono);
}

.translation-lead-grid,
.translation-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.translation-lead-grid {
  margin-bottom: clamp(14px, 2vw, 24px);
}

.translation-study-card {
  min-width: 0;
  padding: clamp(20px, 2.3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard), var(--shadow-ambient);
}
.translation-study-card:first-child,
.translation-study-card:nth-child(2) {
  background: var(--card);
}

.translation-study-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.translation-study-label span:first-child {
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--olive);
}
.translation-study-label span:last-child {
  font: 500 10.5px/1.4 var(--mono);
  color: var(--faint);
}

.translation-big-result {
  margin-bottom: 14px;
}
.translation-big-number {
  font: 700 clamp(38px, 4vw, 54px) / 1 var(--mono);
  letter-spacing: -0.04em;
  color: var(--olive);
}
.translation-big-caption {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.translation-big-caption strong {
  color: var(--ink);
}
.translation-big-caption span {
  display: block;
  margin-top: 3px;
  font: 500 11px/1.5 var(--mono);
  color: var(--faint);
}

.translation-score-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.translation-score-pair div {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--card-2);
}
.translation-score-pair .familiar {
  border-color: var(--lime-border);
  background: rgba(247, 252, 168, 0.45);
}
.translation-score-pair span {
  display: block;
  font: 700 9.5px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.translation-score-pair strong {
  font: 700 20px/1.2 var(--mono);
  color: var(--ink);
}
.translation-score-pair .familiar strong {
  color: var(--olive-deep);
}

.translation-bars {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.translation-bar-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.translation-bar {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}
.translation-bar.familiar {
  background: var(--olive);
}
.translation-bar.comparison {
  background: var(--api-bar);
}

.translation-card-copy h3 {
  margin: 0 0 8px;
  font: 400 19px/1.3 var(--serif);
}
.translation-card-copy > p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.translation-card-copy > .translation-definition {
  font-size: 12px;
  color: var(--muted);
}
.translation-definition strong {
  color: var(--ink-2);
}

.translation-claim {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-md);
  background: rgba(247, 252, 168, 0.4);
}
.translation-claim.is-pending {
  border-color: #e3d5a1;
  background: var(--amber-soft);
}
.translation-claim p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.translation-claim strong {
  color: var(--ink);
}
.translation-claim-badge {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--olive);
  color: #fff;
  font: 700 9.5px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.translation-claim.is-pending .translation-claim-badge {
  background: var(--amber);
}

.translation-flag-context {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius-md);
  background: #f4f4e9;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.translation-flag-context strong {
  color: var(--ink-2);
}

.translation-chart-card {
  min-width: 0;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.translation-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.translation-chart-head h3 {
  margin: 0;
  font: 400 17px/1.3 var(--serif);
}
.translation-chart-head p,
.translation-methodology summary span {
  margin: 0;
  font: 500 11px/1.5 var(--mono);
  color: var(--faint);
}
.translation-chart-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font: 500 11px/1.4 var(--mono);
  color: var(--muted);
}
.translation-chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -1px;
}
.translation-chart-legend .familiar i {
  background: var(--olive);
}
.translation-chart-legend .comparison i {
  background: var(--api-bar);
}
.translation-chart-rows {
  display: grid;
  gap: 10px;
}
.translation-chart-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.translation-chart-row > strong {
  font: 500 12px/1.3 var(--mono);
  color: var(--ink-2);
}
.translation-chart-value {
  font: 700 12px/1.3 var(--mono);
  color: var(--ink);
  text-align: right;
}
.translation-chart-value small {
  display: block;
  font-weight: 500;
  color: var(--faint);
}
.translation-chart-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.translation-methodology {
  margin-top: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.translation-methodology summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.translation-methodology summary::-webkit-details-marker {
  display: none;
}
.translation-methodology summary strong {
  font: 500 15px/1.3 var(--serif);
}
.translation-methodology summary::after {
  content: "+";
  font: 700 16px/1 var(--mono);
  color: var(--olive);
}
.translation-methodology[open] summary::after {
  content: "−";
}
.translation-methodology-body,
.value-methodology-body {
  padding: 0 20px 18px;
}
.translation-methodology-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}
.translation-methodology-body strong {
  color: var(--ink);
}
.translation-review-link {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-hard);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-deep);
}
.translation-review-link:hover,
.translation-review-link:focus-visible {
  transform: translateY(-1px);
}

/* ── value section ──────────────────────────────────────────────────── */

.value-content {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
}

.value-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(16px, 2vw, 26px);
}

.value-price-card,
.value-midpoint-card {
  min-width: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard), var(--shadow-ambient);
}
.value-price-card {
  border: 2px solid var(--lime-border);
  background: var(--lime-soft);
  box-shadow: 0 4px 0 var(--lime-shadow), var(--shadow-ambient);
}

.value-price-lockup {
  margin-bottom: 16px;
}
.value-price-kicker {
  display: block;
  margin-bottom: 6px;
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.value-price-lockup > strong {
  display: block;
  font: 700 clamp(44px, 4.6vw, 62px) / 1 var(--mono);
  letter-spacing: -0.04em;
  color: var(--olive-deep);
}
.value-price-lockup > span:last-child {
  display: block;
  margin-top: 6px;
  font: 500 12px/1.5 var(--mono);
  color: var(--ink-2);
}

.value-includes {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.value-includes li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.value-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--olive);
}

.value-hour-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--lime-shadow);
}
.value-hour-total span {
  font: 700 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}
.value-hour-total strong {
  font: 700 22px/1 var(--mono);
  color: var(--olive-deep);
}

.value-card-index {
  margin: 0 0 8px;
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--olive);
}
.value-midpoint-card h3 {
  margin: 0 0 16px;
  font: 300 clamp(20px, 2.1vw, 27px) / 1.25 var(--serif);
  letter-spacing: -0.01em;
}
.value-midpoint-figures {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.value-midpoint-figures > div {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--card-2);
  text-align: center;
}
.value-midpoint-figures > div:first-of-type {
  border-color: var(--lime-border);
  background: rgba(247, 252, 168, 0.45);
}
.value-midpoint-figures span,
.value-midpoint-figures small {
  display: block;
  font: 500 10.5px/1.5 var(--mono);
  color: var(--faint);
}
.value-midpoint-figures strong {
  display: block;
  margin: 2px 0;
  font: 700 clamp(22px, 2.2vw, 30px) / 1.1 var(--mono);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.value-midpoint-figures > div:first-of-type strong {
  color: var(--olive-deep);
}
.value-midpoint-figures .value-versus {
  flex: 0 0 auto;
  font: 700 12px/1 var(--mono);
  color: var(--faint);
}
.value-midpoint-card > p:last-child {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.value-midpoint-card > p strong {
  color: var(--ink-2);
}

.value-table-shell {
  margin-bottom: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard);
  overflow-x: auto;
}
.value-table-shell:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}
.value-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.value-table caption {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--faint);
}
.value-table th,
.value-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.value-table thead th {
  background: var(--paper);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  border-bottom: 1px solid var(--line);
}
.value-table tbody th {
  font-weight: 500;
  color: var(--ink);
}
.value-table tbody td {
  color: var(--ink-2);
}
.value-table tbody td > strong {
  color: var(--ink);
}
.value-table tbody td > small {
  display: block;
  margin-top: 2px;
  font: 500 11px/1.5 var(--mono);
  color: var(--faint);
}
.value-table tr.is-familiar {
  background: rgba(247, 252, 168, 0.45);
}
.value-table tr.is-familiar th,
.value-table tr.is-familiar td {
  border-bottom-color: var(--lime-border);
}

.interpreter-context {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: clamp(16px, 2vw, 24px);
  padding: 18px 20px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius-lg);
  background: #f4f4e9;
}
.interpreter-context > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-hard);
  font: 700 15px/1 var(--serif);
  font-style: italic;
  color: var(--olive);
}
.interpreter-context h3 {
  margin: 0 0 6px;
  font: 400 16px/1.3 var(--serif);
}
.interpreter-context p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.interpreter-context p strong {
  color: var(--ink-2);
}

.value-methodology {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.value-methodology summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.value-methodology summary::-webkit-details-marker {
  display: none;
}
.value-methodology summary strong {
  font: 500 15px/1.3 var(--serif);
}
.value-methodology summary span {
  font: 500 11px/1.5 var(--mono);
  color: var(--faint);
}
.value-methodology summary::after {
  content: "+";
  font: 700 16px/1 var(--mono);
  color: var(--olive);
}
.value-methodology[open] summary::after {
  content: "−";
}
.value-methodology-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}
.value-methodology-body a {
  color: var(--olive);
}
.value-methodology-body code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font: 500 12px/1.4 var(--mono);
}

/* ── results (v1 API headline metrics) ──────────────────────────────── */

.headline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

/* Re-cut 2026-08-06 to the page-top chart-card idiom (label · number ·
   sentence · paired bars) — the giant mono sentences are gone. */
.headline-card,
.loading-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.headline-card .bench-big {
  font-size: clamp(34px, 3vw, 46px);
}
.headline-card .bench-claim small {
  margin-top: 5px;
}

.loading-card {
  background: linear-gradient(90deg, #ecece1 25%, #f6f6ee 45%, #ecece1 65%);
  background-size: 200% 100%;
  animation: benchmark-skeleton 1.4s ease infinite;
  border: 1px solid var(--line);
}
@keyframes benchmark-skeleton {
  to {
    background-position: -200% 0;
  }
}

/* The old .metric-abbr / .metric-delta / .pair card internals were retired
   2026-08-06 with the chart-card re-cut above. */

.results-plain-language {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.results-plain-language article {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.results-plain-language article > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--lime-border);
  border-radius: 10px;
  background: var(--lime);
  box-shadow: 0 2px 0 var(--lime-shadow);
  font-size: 15px;
  color: var(--olive-deep);
}
.results-plain-language strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.results-plain-language p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── metric story: charts + listening ───────────────────────────────── */

.metric-sections {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}
.metric-loading {
  padding: 40px 0;
  font: 500 13px/1.5 var(--mono);
  color: var(--faint);
}

.metric-panel {
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-hard), var(--shadow-ambient);
}
.metric-panel h3 {
  margin: 0 0 4px;
  font: 400 clamp(19px, 2vw, 24px) / 1.25 var(--serif);
}
.metric-panel-head {
  margin-bottom: 14px;
}
.metric-panel:nth-child(3n + 1) .metric-panel-head,
.metric-panel:nth-child(3n + 2) .metric-panel-head,
.metric-panel:nth-child(3n + 3) .metric-panel-head {
  border: 0;
}
.metric-index {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: 700 9.5px/1.4 var(--mono);
  letter-spacing: 0.12em;
  color: var(--olive);
}
.metric-question {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.metric-body {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.metric-difference {
  margin: 0;
  font: 700 13px/1.5 var(--mono);
  color: var(--olive-deep);
}
.metric-score {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  margin: 10px 0;
}
.metric-score > span {
  font: 700 22px/1.1 var(--mono);
  letter-spacing: -0.02em;
  color: var(--olive);
}
.metric-score > .metric-ci {
  font: 500 11px/1.5 var(--mono);
  color: var(--faint);
}

.language-chart {
  margin-top: 10px;
}
.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.chart-head strong {
  font-size: 14px;
  color: var(--ink);
}
.chart-head span {
  font: 500 11px/1.5 var(--mono);
  color: var(--faint);
}
.chart-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font: 500 11px/1.4 var(--mono);
  color: var(--muted);
}
.chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -1px;
}
.chart-legend .legend-f i {
  background: var(--olive);
}
.chart-legend .legend-a i {
  background: var(--api-bar);
}
.chart-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}
.chart-empty {
  padding: 20px 0;
  font: 500 12px/1.5 var(--mono);
  color: var(--faint);
}

.language-rows {
  display: grid;
  gap: 9px;
}
.language-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.language-name {
  font: 500 12px/1.3 var(--mono);
  color: var(--ink-2);
}
.language-pill {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: 700 9.5px/1.4 var(--mono);
  color: var(--faint);
}
.paired-bars {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.bar-track {
  position: relative;
  height: 9px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}
.bar-fill.familiar {
  background: var(--olive);
}
.bar-fill.api {
  background: var(--api-bar);
}
.language-values {
  font: 500 11px/1.5 var(--mono);
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.language-values .better {
  color: var(--olive-deep);
  font-weight: 700;
}
.language-relative {
  text-align: right;
}
.language-relative strong {
  display: block;
  font: 700 13px/1.2 var(--mono);
  color: var(--olive-deep);
}
.language-relative small {
  font: 500 10px/1.4 var(--mono);
  color: var(--faint);
}
.language-relative.worse strong {
  color: var(--api);
}

.language-comparison {
  margin-top: 16px;
}

/* listening lanes */
.snippet-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.snippet-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--card-2);
}
.snippet-empty {
  padding: 16px 0;
  font: 500 12px/1.5 var(--mono);
  color: var(--faint);
}
.snippet-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.snippet-title-row h4 {
  margin: 0;
  font: 500 13.5px/1.3 var(--sans);
  color: var(--ink);
}
.snippet-title-row p {
  margin: 0;
  font: 500 10.5px/1.4 var(--mono);
  color: var(--faint);
}
.snippet-token {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: 700 9.5px/1.4 var(--mono);
  color: var(--faint);
}
.snippet-player-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
}
.lane-button {
  display: grid;
  gap: 2px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--line);
  cursor: pointer;
  text-align: center;
}
.lane-button span {
  font: 700 10.5px/1.3 var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.lane-button small {
  font: 500 9px/1.3 var(--mono);
  color: var(--faint);
}
.lane-button:hover,
.lane-button:focus-visible {
  transform: translateY(-1px);
}
.lane-button.is-playing {
  border-color: var(--lime-border);
  background: var(--lime);
  box-shadow: 0 2px 0 var(--lime-shadow);
}
.lane-button.is-playing span,
.lane-button.is-playing small {
  color: var(--olive-deep);
}
.lane-player {
  width: 100%;
  margin-top: 6px;
}
.snippet-scrub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.snippet-scrub input {
  width: 100%;
  accent-color: var(--olive);
}
.snippet-scrub span:last-child {
  font: 500 10px/1.3 var(--mono);
  color: var(--faint);
}
.score-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.score-line div {
  min-width: 0;
}
.score-line small {
  display: block;
  font: 500 9.5px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.score-line strong {
  font: 700 12px/1.4 var(--mono);
  color: var(--ink-2);
}
.score-line .familiar-score strong {
  color: var(--olive-deep);
}

/* ── glossary ───────────────────────────────────────────────────────── */

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.glossary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}
.glossary-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}
.glossary-card summary::-webkit-details-marker {
  display: none;
}
.glossary-card summary strong {
  font: 500 14.5px/1.35 var(--sans);
  color: var(--ink);
}
.glossary-card summary span {
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.1em;
  color: var(--faint);
}
.glossary-card summary::after {
  content: "+";
  font: 700 16px/1 var(--mono);
  color: var(--olive);
}
.glossary-card[open] summary::after {
  content: "−";
}
.glossary-card .glossary-copy {
  padding: 0 18px 14px;
}
.glossary-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.glossary-copy p + p {
  margin-top: 8px;
}

/* ── evidence note ──────────────────────────────────────────────────── */

.evidence-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 48px);
}
.evidence-note h2 {
  margin: 0;
  font: 300 clamp(24px, 2.6vw, 34px) / 1.15 var(--serif);
  letter-spacing: -0.015em;
}
.evidence-note-copy p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}
.evidence-note-copy .evidence-status {
  padding: 14px 16px;
  border: 1.5px dashed var(--dashed);
  border-radius: var(--radius-md);
  background: #f4f4e9;
  font-size: 12.5px;
  color: var(--muted);
}
.evidence-head {
  margin-bottom: 10px;
}
.evidence-head span {
  display: block;
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--olive);
}
.evidence-head strong {
  font: 400 16px/1.3 var(--serif);
}
.evidence-side {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-hard);
}

/* ── footer + toast ─────────────────────────────────────────────────── */

footer {
  background: #f7f7f3;
}
.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 71px) 0;
}
.site-footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.55;
}
.site-footer-headline {
  max-width: 760px;
  font: 300 clamp(26px, 2.6vw, 34px) / 1.2 var(--serif);
  color: var(--ink);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
footer nav a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #4a4a42;
}
footer nav a:hover {
  color: var(--ink);
}
footer p {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px dashed #d8d8c4;
  align-self: stretch;
  font-size: 12px;
  color: #b3b3a6;
}
.site-footer-field {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 48px;
  object-fit: contain;
  object-position: bottom;
  image-rendering: pixelated;
}

.status-toast {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 16px;
  max-width: 340px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 18px 40px rgba(20, 20, 18, 0.28);
}

/* ── responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .benchmark-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .bench-lead-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bench-lead {
    margin-top: -80px;
  }
  .hero {
    padding-top: 150px;
  }
  .hero-study-grid,
  .translation-lead-grid,
  .translation-chart-grid,
  .value-summary-grid,
  .evidence-note {
    grid-template-columns: minmax(0, 1fr);
  }
  .v2-alpha-facts,
  .headline-grid,
  .results-plain-language,
  .snippet-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .v2-alpha-blockers,
  .v2-alpha-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .glossary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .language-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .language-relative {
    grid-column: 1 / -1;
    text-align: left;
  }
  .language-relative strong {
    display: inline;
    margin-right: 8px;
  }
}

@media (max-width: 760px) {
  /* Phones keep the pill short: site links + CTA only. */
  .benchmark-topbar .section-link,
  .benchmark-topbar .nav-split {
    display: none;
  }
}

@media (max-width: 640px) {
  .v2-alpha-blockers,
  .v2-alpha-result-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .value-midpoint-figures {
    flex-direction: column;
    align-items: stretch;
  }
  .snippet-player-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
