:root {
  color-scheme: light dark;
  --page: #f3f1ec;
  --page-glow: rgba(228, 94, 45, 0.11);
  --surface: #fbfaf7;
  --surface-strong: #ffffff;
  --surface-muted: #ebe8e1;
  --ink: #171b22;
  --ink-soft: #59616d;
  --line: #d8d4cc;
  --line-strong: #bcb6ab;
  --coral: #df5534;
  --coral-soft: #f7ded6;
  --blue: #225cc8;
  --blue-soft: #dce7fa;
  --teal: #087d70;
  --gold: #9a6414;
  --shadow: 0 18px 55px rgba(35, 31, 26, 0.08);
  --radius: 18px;
  --shell: min(1460px, calc(100vw - 56px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #111318;
    --page-glow: rgba(226, 87, 53, 0.12);
    --surface: #191c22;
    --surface-strong: #20242c;
    --surface-muted: #282c34;
    --ink: #f2f0eb;
    --ink-soft: #aeb5c0;
    --line: #343943;
    --line-strong: #545b68;
    --coral: #ff7655;
    --coral-soft: #48291f;
    --blue: #78a7ff;
    --blue-soft: #1c3259;
    --teal: #5bd3c3;
    --gold: #edbe65;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 1%, var(--page-glow), transparent 26rem),
    var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
video {
  font: inherit;
}

button {
  color: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  border-radius: 7px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(20px) saturate(1.2);
}

.nav-shell {
  width: var(--shell);
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.site-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 23px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 680;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.draft-chip {
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

main {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  scroll-margin-top: 88px;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(330px, 0.62fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.17em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 970px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 760;
  line-height: 0.99;
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 720;
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 860px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 760;
}

.primary-link {
  color: #fff;
  background: var(--coral);
}

.primary-link:hover,
.secondary-link:hover {
  text-decoration: none;
  filter: brightness(0.96);
}

.secondary-link {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.hero-result {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-result::after {
  position: absolute;
  right: -65px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 42px solid var(--coral-soft);
  border-radius: 50%;
  content: "";
}

.result-kicker {
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 710;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.result-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.result-main strong {
  color: var(--coral);
  font-size: 58px;
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.result-main span {
  font-size: 20px;
  font-weight: 720;
}

.hero-result > p:not(.result-kicker) {
  position: relative;
  z-index: 1;
  max-width: 390px;
  color: var(--ink-soft);
}

.result-pair {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 27px;
  left: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.result-pair span {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

.result-pair strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.stat-strip {
  grid-column: 1 / -1;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.stat-strip div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 19px 18px;
  border-right: 1px solid var(--line);
}

.stat-strip div:first-child {
  padding-left: 0;
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong {
  font-size: 28px;
  font-weight: 690;
  line-height: 1;
}

.stat-strip span {
  color: var(--ink-soft);
  font-size: 12px;
}

.section-heading {
  margin-bottom: 40px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.section-heading > p {
  max-width: 460px;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 14px;
}

.option-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.option-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.option-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.option-number,
.case-index,
.finding-label {
  display: block;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.13em;
}

.option-oracle {
  background: var(--coral-soft);
}

.option-two {
  background: var(--blue-soft);
}

.flow-plus,
.flow-equals {
  align-self: center;
  color: var(--line-strong);
  font-size: 28px;
  font-weight: 400;
}

.matrix-wrap,
.runtime-table-wrap {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--ink-soft);
  background: var(--surface-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

td small,
.runtime-table td small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
}

.input-tag {
  display: inline-flex;
  margin-right: 7px;
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.07em;
}

.tag-text { color: var(--gold); }
.tag-video { color: var(--coral); }
.tag-image { color: var(--blue); }

.compare-section {
  width: 100vw;
  margin-left: calc((100vw - var(--shell)) / -2);
  padding-inline: calc((100vw - var(--shell)) / 2);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.compare-heading {
  align-items: center;
}

.scene-switch,
.metric-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scene-button,
.metric-button,
.control-button {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.scene-button[aria-pressed="true"],
.metric-button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--surface-strong);
  background: var(--ink);
}

.scene-button:focus-visible,
.metric-button:focus-visible,
.control-button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 42%, transparent);
  outline-offset: 3px;
}

.case-intro {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(340px, 1.5fr) auto;
  gap: 28px;
  align-items: end;
}

.case-intro h3 {
  margin-bottom: 0;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.case-intro p {
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.case-index {
  margin-bottom: 4px;
  color: var(--coral);
}

.seed-label {
  padding-bottom: 3px;
  color: var(--ink-soft);
  white-space: nowrap;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.playback-toolbar {
  position: sticky;
  z-index: 20;
  top: 72px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: 0 8px 30px rgba(30, 30, 30, 0.07);
  backdrop-filter: blur(18px);
}

.control-button {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface);
}

.control-primary {
  border-color: var(--coral);
  color: #fff;
  background: var(--coral);
}

.control-icon {
  display: inline-block;
  width: 15px;
  margin-right: 3px;
}

.playback-status {
  margin-left: auto;
  padding-right: 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.video-stack {
  display: grid;
  gap: 15px;
}

.video-panel {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.video-panel figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 3px 5px 10px;
  font-size: 13px;
}

.video-panel figcaption small {
  color: var(--ink-soft);
  font-size: 11px;
}

.option-one-panel figcaption b { color: var(--coral); }
.option-two-panel figcaption b { color: var(--blue); }

.video-frame {
  overflow: hidden;
  border-radius: 11px;
  background: #06080b;
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 60 / 17;
  background: #06080b;
  object-fit: contain;
}

.panel-key {
  margin: 14px 2px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 28px;
  color: var(--ink-soft);
  font-size: 11px;
}

.panel-key div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
}

.panel-key strong {
  color: var(--ink);
}

.panel-key p {
  grid-column: 1 / -1;
  margin: 6px 0 0;
}

.prompt-details,
.hash-details {
  margin-top: 20px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
}

.prompt-details p {
  max-width: 1120px;
  margin: 15px 0 2px;
  color: var(--ink-soft);
  font-size: 13px;
  white-space: pre-line;
}

.metrics-heading {
  margin-bottom: 25px;
}

.metric-controls {
  margin-bottom: 25px;
}

.metric-summary-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.metric-summary-line div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.metric-summary-line span {
  font-size: 27px;
  font-weight: 740;
  letter-spacing: -0.03em;
}

.metric-summary-line strong {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.metric-summary-line p {
  max-width: 600px;
  margin-bottom: 4px;
  color: var(--ink-soft);
  text-align: right;
  font-size: 12px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin: 16px 0 24px;
  color: var(--ink-soft);
  font-size: 11px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 18px;
  height: 4px;
  border-radius: 10px;
}

.legend-one { background: var(--coral); }
.legend-two { background: var(--blue); }

.metric-chart {
  display: grid;
  gap: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
}

.metric-row-label strong {
  display: block;
  font-size: 13px;
}

.metric-row-label span {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
}

.bar-pair {
  display: grid;
  gap: 7px;
}

.bar-line {
  display: grid;
  grid-template-columns: 57px 1fr 86px;
  gap: 9px;
  align-items: center;
}

.bar-line > span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 680;
}

.bar-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-muted);
}

.bar-value {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: left;
  animation: bar-grow 360ms ease-out both;
}

.bar-line.option-one-bar .bar-value { background: var(--coral); }
.bar-line.option-two-bar .bar-value { background: var(--blue); }

.bar-line b {
  text-align: right;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.chart-loading,
.chart-error {
  min-height: 160px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}

.chart-error {
  color: var(--coral);
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.anchor-metric {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px 25px;
  align-items: center;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.anchor-metric > span {
  font-size: 12px;
  font-weight: 720;
}

.anchor-metric > strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.anchor-metric p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.finding-grid,
.evidence-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.finding-grid article,
.evidence-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.finding-label {
  margin-bottom: 18px;
}

.finding-grid article > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 29px;
  font-weight: 720;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.finding-grid article > strong small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0;
}

.finding-grid article p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.runtime-table-wrap {
  margin-top: 0;
}

.runtime-table {
  min-width: 830px;
  font-variant-numeric: tabular-nums;
}

.runtime-table th:not(:first-child),
.runtime-table td:not(:first-child) {
  text-align: right;
}

.runtime-table td b {
  color: var(--teal);
}

.runtime-note {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.runtime-note strong {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.runtime-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.evidence-card h3 {
  margin-bottom: 18px;
  font-size: 17px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 23px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.check-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 850;
}

.hash-details {
  margin-top: 15px;
}

.hash-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.hash-grid div {
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-muted);
}

.hash-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
}

.hash-grid code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 9px;
}

.source-links {
  margin-top: 22px;
}

.source-links a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 680;
}

.limitations {
  display: grid;
  grid-template-columns: 170px minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: 30px;
  align-items: start;
}

.limitations h2 {
  font-size: clamp(27px, 3vw, 42px);
}

.limitations > p:last-child {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 28px 0 48px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 42px;
  color: var(--ink-soft);
  font-size: 11px;
}

.site-footer div {
  flex: 0 0 auto;
}

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

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

.site-footer p {
  max-width: 710px;
  margin: 0;
  text-align: right;
}

.site-footer a {
  color: var(--blue);
}

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 1460px); }

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

  .hero-result {
    min-height: 320px;
  }

  .option-flow {
    grid-template-columns: 1fr;
  }

  .flow-plus,
  .flow-equals {
    justify-self: center;
    line-height: 0.7;
  }

  .option-card {
    min-height: auto;
  }

  .option-number {
    margin-bottom: 18px;
  }

  .finding-grid,
  .evidence-grid {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-card:last-child {
    grid-column: 1 / -1;
  }

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

  .case-intro > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .limitations .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 26px, 1460px); }

  body { font-size: 15px; }

  .nav-shell {
    min-height: 56px;
    gap: 14px;
  }

  .brand > span:last-child,
  .draft-chip {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
    scroll-margin-top: 74px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(41px, 13vw, 66px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 48px);
  }

  .hero-result {
    min-height: 340px;
    padding: 24px;
  }

  .result-pair {
    right: 24px;
    left: 24px;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip div {
    border-bottom: 1px solid var(--line);
  }

  .stat-strip div:nth-child(2) {
    border-right: 0;
  }

  .stat-strip div:nth-child(3),
  .stat-strip div:nth-child(4) {
    border-bottom: 0;
  }

  .stat-strip div:nth-child(3) {
    padding-left: 0;
  }

  .section-heading,
  .metric-summary-line,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .section-heading > p,
  .metric-summary-line p,
  .site-footer p {
    max-width: none;
    text-align: left;
  }

  .compare-heading {
    align-items: flex-start;
  }

  .scene-switch {
    width: 100%;
  }

  .scene-button {
    flex: 1;
  }

  .case-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-intro > p {
    grid-column: auto;
    grid-row: auto;
  }

  .seed-label {
    grid-row: 2;
  }

  .playback-toolbar {
    top: 62px;
    flex-wrap: wrap;
  }

  .playback-status {
    width: 100%;
    margin-left: 4px;
  }

  .video-panel {
    padding: 6px;
  }

  .video-panel figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .video-frame {
    overflow-x: auto;
  }

  .video-frame video {
    min-width: 780px;
  }

  .panel-key,
  .finding-grid,
  .evidence-grid,
  .hash-grid {
    grid-template-columns: 1fr;
  }

  .panel-key div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .metric-controls {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .metric-button {
    flex: 0 0 auto;
  }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .anchor-metric {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .evidence-card:last-child {
    grid-column: auto;
  }

  .runtime-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .limitations {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .limitations .eyebrow {
    grid-column: auto;
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar-value { animation: none; }
}
