/* Open-World Bench project page.
   Palette: parchment and ink, with a terracotta accent and a deep teal second.
   Dark mode follows the OS; [data-theme] can force either. */

:root {
  --bg: #f6f1e7;
  --bg-alt: #ede5d5;
  --surface: #fffaf1;
  --ink: #1c2a2e;
  --ink-soft: #4a5a5d;
  --line: #d8cdb8;
  --accent: #b5562b;
  --accent-ink: #fff7ee;
  --teal: #2f6f68;
  --code-bg: #1d2b2f;
  --code-ink: #e9e2d2;
  --shadow: 0 1px 2px rgb(28 42 46 / 6%), 0 8px 24px rgb(28 42 46 / 8%);
  --serif: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1a1c;
    --bg-alt: #142225;
    --surface: #182a2d;
    --ink: #ebe4d4;
    --ink-soft: #a9b6b2;
    --line: #2b3f42;
    --accent: #e39a62;
    --accent-ink: #1a1208;
    --teal: #7cc3b8;
    --code-bg: #0a1214;
    --code-ink: #e3dccb;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1a1c;
  --bg-alt: #142225;
  --surface: #182a2d;
  --ink: #ebe4d4;
  --ink-soft: #a9b6b2;
  --line: #2b3f42;
  --accent: #e39a62;
  --accent-ink: #1a1208;
  --teal: #7cc3b8;
  --code-bg: #0a1214;
  --code-ink: #e3dccb;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 0.6em; }
h4 { margin: 0 0 0.3em; font-size: 1rem; }
p { margin: 0 0 1em; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.topbar nav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
.topbar nav a:hover { color: var(--accent); }
@media (max-width: 720px) { .brand { display: none; } .topbar nav { gap: 16px; } }

/* Hero: faint contour-map texture */
.hero {
  padding: 72px 0 56px;
  background-image:
    radial-gradient(ellipse at 85% 10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='240' viewBox='0 0 480 240'%3E%3Cg fill='none' stroke='%238a7a5c' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M0 40c60-30 120 30 180 0s120-30 180 0 90 20 120 0'/%3E%3Cpath d='M0 80c60-30 120 30 180 0s120-30 180 0 90 20 120 0'/%3E%3Cpath d='M0 120c60-30 120 30 180 0s120-30 180 0 90 20 120 0'/%3E%3Cpath d='M0 160c60-30 120 30 180 0s120-30 180 0 90 20 120 0'/%3E%3Cpath d='M0 200c60-30 120 30 180 0s120-30 180 0 90 20 120 0'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { font: 500 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.lede { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--ink-soft); margin: 14px 0 18px; line-height: 1.35; }
.authors { font-weight: 500; margin-bottom: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn svg { width: 16px; height: 16px; }
.hero-media { margin: 0; }
.hero-media .player { box-shadow: var(--shadow); }
figcaption, .meta { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.hero-media figcaption { margin-top: 10px; }
@media (max-width: 860px) {
  .hero { padding: 40px 0 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Click-to-play: GIF preview that becomes the full MP4 */
.player { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player a, .player picture, .player img, .player video { display: block; width: 100%; height: 100%; }
.player img { object-fit: cover; height: 100%; }
.player video { object-fit: contain; background: #000; }
.play {
  position: absolute; left: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgb(15 26 28 / 72%); backdrop-filter: blur(4px);
  transition: transform .15s, background .15s;
}
.play::after {
  content: ""; position: absolute; left: 17px; top: 13px;
  border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}
.player a:hover .play, .player a:focus-visible .play { transform: scale(1.08); background: var(--accent); }

/* Stats band */
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid > div { padding: 26px 20px; border-left: 1px solid var(--line); }
.stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 600 clamp(1.8rem, 3.4vw, 2.4rem)/1.1 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.stats b small { font-size: 0.5em; color: var(--ink-soft); }
.stats span { font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid > div { padding: 18px 12px; }
  .stats-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-lede { color: var(--ink-soft); max-width: 72ch; }
.kicker { font-size: 1.35rem; margin: 48px 0 18px; }
.note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 18px; }
@media (max-width: 720px) { .section { padding: 56px 0; } }

/* Diagram */
.diagram { margin: 28px 0 0; padding: 20px 16px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.diagram { overflow-x: auto; }
.diagram svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .diagram svg { min-width: 600px; } }
.dg-track { fill: var(--bg-alt); stroke: var(--line); }
.dg-hatch { stroke: var(--ink-soft); stroke-opacity: .35; stroke-width: 2; }
.dg-window { fill: color-mix(in srgb, var(--teal) 14%, transparent); stroke: var(--teal); stroke-width: 2; stroke-dasharray: 6 4; }
.dg-arc { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.dg-accent-fill { fill: var(--accent); }
.dg-ink-fill { fill: var(--ink); }
.dg-label { font: 500 15px var(--sans); fill: var(--ink); }
.dg-accent-text { fill: var(--accent); font-style: italic; font-family: var(--serif); font-size: 17px; }
.dg-sub { font: 400 13px var(--sans); fill: var(--ink-soft); }
.dg-teal-text { fill: var(--teal); }

/* Memory axes */
.axes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.axes li { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; padding: 16px 16px 12px; }
.axes li:nth-child(even) { border-top-color: var(--teal); }
.axes p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .axes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .axes { grid-template-columns: 1fr; } }

/* Worlds */
.worlds { display: grid; gap: 28px; margin-top: 36px; }
.world {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.world:nth-child(even) .player { order: 2; }
.world-body header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 10px; }
.world-body h3 { font-size: 1.7rem; }
.tag { font: 500 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); border: 1px solid currentColor; padding: 5px 8px; border-radius: 999px; }
.world-body .meta { border-left: 2px solid var(--line); padding-left: 12px; }
.more { font-weight: 500; text-decoration: none; }
@media (max-width: 820px) {
  .world { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px; }
  .world:nth-child(even) .player { order: 0; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 8px; }
@media (max-width: 640px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font: 600 0.75rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); background: var(--bg-alt); }
.tasks td.wcell { font-weight: 600; white-space: nowrap; border-right: 1px solid var(--line); }
.tasks td.task { white-space: nowrap; }
.tasks td.desc { color: var(--ink-soft); min-width: 260px; }
.tasks tr.group td { border-top: 2px solid var(--line); }
.tasks tbody tr:first-child td { border-top: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tasks td.wcell:not(:last-child) { border-bottom: 0; }

/* Leaderboard: ranked horizontal bars and a world-by-world comparison. */
.leaderboard { border-bottom: 1px solid var(--line); }
.lb-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lb-heading .eyebrow { font-size: 0.875rem; margin-bottom: 12px; }
.lb-heading h2 { margin-bottom: 16px; }
.lb-protocol { font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.lb-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.lb-segment { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.lb-segment button { border: 0; border-radius: 8px; padding: 10px 16px; background: none; color: var(--ink-soft); font: 500 0.9375rem/1.4 var(--sans); cursor: pointer; }
.lb-segment button:hover { color: var(--ink); background: var(--surface); }
.lb-segment button[aria-pressed="true"] { color: var(--bg); background: var(--ink); }
.lb-world-label { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--ink-soft); }
.lb-select-wrap { position: relative; display: inline-flex; }
.lb-select-wrap::after { content: ""; position: absolute; right: 16px; top: calc(50% - 5px); width: 7px; height: 7px; border: solid var(--ink-soft); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.lb-world-label select { appearance: none; max-width: 100%; padding: 12px 38px 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); font: 500 0.9375rem/1.4 var(--sans); cursor: pointer; }
.lb-condition-note { color: var(--ink-soft); font-size: 0.9375rem; margin: 12px 0 22px; }
.lb-board { padding: 28px 30px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.lb-board-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.lb-board-heading h3 { font-size: 1.375rem; }
.lb-board-heading p { color: var(--ink-soft); font-size: 0.875rem; margin: 6px 0 0; }
.lb-status { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--ink-soft); font: 500 0.875rem/1.5 var(--sans); white-space: nowrap; }
.lb-row, .lb-axis { display: grid; grid-template-columns: 24px 34px minmax(150px, 210px) minmax(0, 1fr) 94px 12px; align-items: center; column-gap: 12px; }
.lb-axis { margin: 0 10px 14px; color: var(--ink-soft); font: 400 0.8125rem/1.5 var(--mono); }
.lb-axis > span:first-child { grid-column: 1 / 4; }
.lb-axis > span:last-child { grid-column: 5 / 7; text-align: right; }
.lb-ticks { display: flex; justify-content: space-between; position: relative; }
.lb-ticks span { width: 0; display: flex; justify-content: center; }
.lb-ticks span:first-child { justify-content: start; }
.lb-ticks span:last-child { justify-content: end; }
.lb-model { border-top: 1px solid var(--line); }
.lb-row { width: 100%; padding: 18px 10px; cursor: pointer; list-style: none; border-radius: 8px; }
.lb-row::-webkit-details-marker { display: none; }
.lb-row:hover, .lb-model[open] > .lb-row { background: color-mix(in srgb, var(--bg-alt) 60%, transparent); }
.lb-rank { font: 500 0.875rem/1 var(--mono); text-align: center; color: var(--ink-soft); }
.lb-tone-clay { --model-color: var(--accent); }
.lb-tone-teal { --model-color: var(--teal); }
.lb-tone-blue { --model-color: light-dark(#496aa0, #9fb9e5); }
.lb-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--model-color); background: color-mix(in srgb, var(--model-color) 12%, var(--surface)); font: 600 1rem/1 var(--sans); }
.lb-name { display: grid; gap: 2px; min-width: 0; }
.lb-name strong { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.lb-name small { color: var(--ink-soft); font-size: 0.875rem; }
.lb-track { position: relative; display: block; height: 12px; border-radius: 4px; background: var(--bg-alt); }
.lb-track.is-pending { background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line) 5px 6px); border: 1px dashed var(--line); }
.lb-fill { display: block; height: 100%; border-radius: inherit; background: var(--model-color); }
.lb-score { display: grid; gap: 3px; text-align: right; font-variant-numeric: tabular-nums; }
.lb-score strong { font: 500 1.0625rem/1.3 var(--mono); }
.lb-score small { font-size: 0.875rem; line-height: 1.4; color: var(--ink-soft); }
.lb-chevron { width: 7px; height: 7px; border: solid var(--ink-soft); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); justify-self: center; }
.lb-model[open] .lb-chevron { transform: rotate(225deg); }
.lb-detail { padding: 18px; margin: 0 0 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.lb-detail-title { font-size: 0.9375rem; font-weight: 500; margin-bottom: 14px; }
.lb-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lb-detail-card { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.lb-detail-world { font-size: 0.875rem; font-weight: 500; }
.lb-detail-card .lb-score { text-align: left; }
.lb-report { display: block; font-size: 0.875rem; margin-top: 6px; }
.lb-board-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; color: var(--ink-soft); font-size: 0.875rem; }
.lb-board-footer a { font-weight: 500; }
.lb-breakdown-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 36px 0 16px; }
.lb-breakdown-heading h3 { font-size: 1.375rem; scroll-margin-top: 80px; }
.lb-breakdown-heading > span { color: var(--ink-soft); font-size: 0.875rem; }
.lb-table { min-width: 700px; }
.lb-table caption { text-align: left; padding: 14px 20px; font-size: 0.875rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.lb-table th, .lb-table td { padding: 16px 20px; vertical-align: middle; }
.lb-table th { font: 500 0.9375rem/1.4 var(--sans); text-transform: none; letter-spacing: normal; }
.lb-table thead th:first-child { width: 30%; }
.lb-table thead th:not(:first-child) { text-align: center; }
.lb-table thead small { display: block; font-size: 0.875rem; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.lb-column-name { color: var(--ink); }
.lb-table tbody th { background: var(--surface); }
.lb-table .lb-score { text-align: center; }
.lb-table .is-pending .lb-score small { display: none; }
.lb-table .is-pending { color: var(--ink-soft); }
.lb-table .lb-report { text-align: center; }
.lb-table tbody tr:last-child th { border-bottom: 0; }
.lb-table tr.is-selected > * { background: color-mix(in srgb, var(--teal) 7%, var(--surface)); }
.lb-table tfoot { border-top: 2px solid var(--line); }
.lb-table tfoot th, .lb-table tfoot td { background: var(--bg-alt); border-bottom: 0; }
.lb-world-code { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 26px; margin-right: 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-soft); font: 500 0.8125rem/1 var(--mono); }
.lb-note { max-width: 100ch; }
.leaderboard :is(button, select, summary, a, .table-scroll):focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 900px) {
  .lb-board { padding: 24px 20px 18px; }
  .lb-row, .lb-axis { grid-template-columns: 22px 30px minmax(140px, 180px) minmax(0, 1fr) 80px 10px; column-gap: 10px; }
  .lb-mark { width: 30px; height: 30px; }
}
@media (max-width: 640px) {
  .lb-heading { align-items: start; flex-direction: column; gap: 0; margin-bottom: 18px; }
  .lb-controls { align-items: stretch; }
  .lb-segment { width: 100%; gap: 3px; }
  .lb-segment button { flex: 1 1 110px; padding: 10px 8px; font-size: 0.875rem; }
  .lb-world-label { width: 100%; justify-content: space-between; }
  .lb-board { padding: 20px 14px 16px; }
  .lb-board-heading { margin-bottom: 20px; }
  .lb-axis { display: none; }
  .lb-row { grid-template-columns: 18px 28px minmax(0, 1fr) 68px 8px; gap: 8px; padding: 16px 4px; }
  .lb-mark { width: 28px; height: 28px; border-radius: 8px; }
  .lb-name strong { font-size: 0.9375rem; overflow-wrap: anywhere; }
  .lb-track { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; height: 8px; }
  .lb-row > .lb-score { grid-column: 4; grid-row: 1; }
  .lb-chevron { grid-column: 5; grid-row: 1; }
  .lb-detail { padding: 12px; }
  .lb-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lb-detail-card { padding: 10px; }
}

/* Evaluation cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Code blocks */
.code { position: relative; margin: 0 0 18px; }
pre {
  margin: 0; padding: 18px 20px; padding-right: 76px;
  background: var(--code-bg); color: var(--code-ink);
  border-radius: 12px; overflow-x: auto;
  font: 400 0.86rem/1.6 var(--mono);
}
.copy {
  position: absolute; top: 10px; right: 10px;
  font: 500 0.75rem var(--mono); color: var(--code-ink);
  background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 6px; padding: 5px 10px; cursor: pointer;
}
.copy:hover { background: rgb(255 255 255 / 16%); }

/* Footer */
.footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.footer p { font-size: 0.82rem; color: var(--ink-soft); max-width: 80ch; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .play { transition: none; }
}
