@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #202e46;
  --muted: #647084;
  --rule: #e3e7ee;
  --wash: #f6f8fb;
  --blue: #354d80;
  --coral: #c95e43;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a, button, summary { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
a:hover { color: var(--coral); }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: #e5ebf5; color: var(--ink); }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
p { color: var(--muted); }
img { display: block; max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); }
.container { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 20; top: -70px; left: 16px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 10px; }

.hero { padding-block: 94px 58px; text-align: center; }
.hero-wordmark { width: 290px; max-width: 72%; margin: 0 auto 32px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 59px); line-height: 1.13; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero-description { margin-top: 24px; font-size: 18px; text-wrap: balance; }
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 23px; border: 1px solid var(--rule); border-radius: 30px; font-size: 14px; line-height: 1.4; }
.button:hover { color: var(--ink); border-color: var(--ink); background: var(--wash); }
.button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.primary:hover { background: var(--blue); border-color: var(--blue); }
.button > span { font-size: 17px; }

.overview-figure { max-width: 980px; }
.figure-link { display: block; border-radius: 6px; }
.figure-link img { width: 100%; }
figcaption { margin-top: 18px; font-size: 13px; line-height: 1.7; color: var(--muted); }

.section { padding-top: 96px; }
.section-heading { margin-bottom: 36px; text-align: center; }
.section-heading h2 { font-size: 38px; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.section-heading > p { margin-top: 14px; font-size: 15px; text-wrap: balance; }
.abstract-copy { max-width: 840px; margin-inline: auto; font-size: 17px; line-height: 1.85; }
.abstract-copy p, .object-copy p, .comparison-heading p { color: #4c5a70; }
.abstract-copy p + p { margin-top: 20px; }
.abstract-copy strong { color: var(--ink); font-weight: 600; }
.method-video { display: block; width: 100%; height: auto; border-radius: 16px; background: #111923; }
.object-study { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 54px; }
.object-copy { min-width: 0; }
.object-copy h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.object-copy p { font-size: 16px; line-height: 1.8; }
.object-copy h3:not(:first-child) { margin-top: 24px; }
.object-copy p + p { margin-top: 16px; }
.object-figure { min-width: 0; }
.object-figure figcaption { text-align: center; }
.comparison-heading { max-width: 800px; margin: 72px auto 36px; text-align: center; }
.comparison-heading h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.comparison-heading p { font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.comparison-figure { width: min(100%, 900px); margin-inline: auto; }
.disclosure { margin-top: 30px; border-bottom: 1px solid var(--rule); }
.disclosure > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; list-style: none; font-size: 14px; cursor: pointer; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { color: var(--coral); }
.disclosure > summary > span { font-size: 24px; line-height: 1; font-weight: 300; transition: transform 160ms ease; }
.disclosure[open] > summary > span { transform: rotate(45deg); }

.task-carousel { overflow: clip; border-radius: 20px; }
.task-card { padding: 36px; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); }
.task-card-heading { margin-bottom: 28px; }
.task-card-heading h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.instruction-source { display: inline-flex; margin-top: 16px; color: var(--muted); font-size: 11px; }
.task-instruction { margin-top: 6px; max-width: 920px; color: #526078; font-size: 15px; line-height: 1.75; text-wrap: pretty; }
.task-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 32px; }
.rollout-panel, .score-panel { position: relative; min-width: 0; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.rollout-panel { background: #111923; }
.rollout-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.rollout-empty { display: flex; flex-direction: column; height: 100%; align-items: center; justify-content: center; gap: 14px; padding: 24px; border: 1px dashed #d0d8e6; border-radius: 12px; background: var(--wash); color: #a4b1c6; text-align: center; }
.rollout-empty p { max-width: 200px; font-size: 14px; }
.rollout-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; border-radius: 12px; background: var(--wash); text-align: center; font-size: 13px; }
.rollout-error a { text-decoration: underline; }
.score-panel { display: flex; flex-direction: column; padding: 32px 30px 54px; background: var(--wash); }
.selected-metric { display: flex; flex-direction: column; }
.selected-metric > span:first-child { font-size: 48px; font-weight: 500; letter-spacing: -.045em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.selected-metric > span:last-child { margin-top: 5px; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.chart-heading { margin-top: 26px; margin-bottom: 8px; font-size: 12px; }
.score-chart { display: flex; flex: 1; align-items: stretch; gap: 16px; min-height: 0; padding-top: 28px; border-bottom: 1px solid #d4dce8; }
.chart-column { position: relative; display: flex; flex: 1; min-width: 0; align-items: flex-end; justify-content: center; }
.chart-bar { width: 100%; max-width: 58px; height: var(--q); background: #b5c5e3; border-radius: 4px 4px 0 0; }
.chart-value { position: absolute; bottom: calc(var(--q) + 9px); left: 50%; transform: translateX(-50%); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; line-height: 1.2; }
.chart-label { position: absolute; top: calc(100% + 9px); font-size: 12px; color: var(--muted); line-height: 1.2; }
.task-media-caption { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 16px; min-height: 34px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.task-media-caption > span:nth-child(2) { color: var(--blue); font-variant-numeric: tabular-nums; }
.speed-toggle { min-width: 40px; min-height: 32px; margin-left: 2px; padding: 5px 8px; border: 1px solid var(--rule); border-radius: 7px; background: var(--paper); color: var(--blue); font-size: 12px; cursor: pointer; }
.speed-toggle:hover { background: var(--wash); border-color: #cbd5e6; }
.task-navigation { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 16px; margin-top: 24px; }
.task-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--blue); cursor: pointer; }
.task-arrow:hover { background: var(--wash); border-color: #a9bbd9; }
.task-position { text-align: center; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.task-position > span { padding-inline: 7px; color: #b2bdcd; }
.results-details { margin-top: 20px; }
.table-scroll { margin-block: 12px 24px; overflow-x: auto; }
.archive-table { width: 100%; min-width: 790px; border-collapse: collapse; text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
.archive-table th, .archive-table td { padding: 14px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.archive-table th:first-child { padding-left: 0; text-align: left; }
.archive-table thead th { color: var(--muted); font-weight: 400; }
.archive-table tbody th { font-weight: 400; }
.mean-cell { color: var(--blue); font-weight: 600; }
.archive-notes { max-width: 760px; padding-bottom: 26px; }
.archive-notes p { margin-bottom: 12px; font-size: 13px; }

.reproduce-section { padding-block: 72px 68px; }
.reproduce-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.reproduce-heading h2 { font-size: 30px; letter-spacing: -.025em; }
.reproduce-heading p { margin-top: 8px; font-size: 15px; }
.reproduce-heading .button { flex-shrink: 0; }
.command-panel { min-width: 0; padding: 24px; border: 1px solid var(--rule); border-radius: 14px; background: var(--wash); }
.command-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.command-panel pre { margin: 16px 0 0; overflow-x: auto; padding-bottom: 4px; color: var(--ink); font-size: 13px; line-height: 1.9; }
.copy-button { min-height: 36px; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 6px; background: var(--wash); color: var(--ink); font-size: 12px; cursor: pointer; }
.copy-button:hover { border-color: var(--ink); }
.copy-feedback { font-size: 13px; }
.copy-feedback:not(:empty) { margin-top: 12px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 26px 36px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.contributors { display: flex; align-items: center; gap: 9px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

@media (max-width: 900px) {
  .container { width: calc(100% - 64px); }
  .hero { padding-top: 72px; }
  .hero h1 { font-size: clamp(36px, 5.1vw, 47px); }
  .object-study { grid-template-columns: 1fr; gap: 36px; }
  .object-copy { max-width: 660px; margin-inline: auto; }
  .object-figure { width: min(100%, 660px); margin-inline: auto; }
  .task-card { padding: 28px; }
  .task-columns { gap: 24px; }
  .score-panel { padding: 24px 20px 44px; }
  .selected-metric > span:first-child { font-size: 40px; }
  .chart-heading { margin-top: 18px; }
  .score-chart { gap: 12px; padding-top: 22px; }
  .chart-value, .chart-label { font-size: 11px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 40px); }
  .hero { padding-block: 58px 38px; }
  .hero-wordmark { width: 225px; margin-bottom: 26px; }
  .hero h1 { font-size: clamp(33px, 6.1vw, 41px); line-height: 1.16; letter-spacing: -.04em; }
  .hero-description { max-width: 340px; margin: 20px auto 0; font-size: 16px; }
  .hero-links { margin-top: 24px; }
  .section { padding-top: 64px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > p { margin-top: 12px; font-size: 14px; }
  .abstract-copy { font-size: 16px; line-height: 1.8; }
  .object-copy p { font-size: 15px; }
  .object-study { gap: 28px; }
  .comparison-heading { margin-block: 52px 28px; }
  .comparison-heading h3 { font-size: 27px; }
  .comparison-heading p { font-size: 15px; }
  .disclosure { margin-top: 20px; }
  .disclosure > summary { font-size: 13px; }
  .task-card { padding: 22px 18px; border-radius: 16px; }
  .task-carousel { border-radius: 16px; }
  .task-card-heading { margin-bottom: 22px; }
  .task-card-heading h3 { font-size: 26px; }
  .instruction-source { margin-top: 12px; font-size: 10px; }
  .task-instruction { font-size: 14px; line-height: 1.7; }
  .task-columns { gap: 12px; }
  .rollout-panel, .score-panel, .rollout-empty { border-radius: 8px; }
  .score-panel { padding: 14px 12px; }
  .selected-metric > span:first-child { font-size: clamp(24px, 5.8vw, 34px); line-height: 1.05; }
  .selected-metric > span:last-child { margin-top: 3px; font-size: 9px; }
  .chart-heading { display: none; }
  .score-chart { flex-direction: column; gap: 2px; margin-top: 10px; padding: 0; border: 0; }
  .chart-column { display: grid; grid-template-columns: 21px minmax(0, 1fr) 29px; align-items: center; gap: 5px; }
  .chart-bar { grid-column: 2; grid-row: 1; height: 4px; width: var(--q); max-width: none; border-radius: 3px; }
  .chart-value { position: static; grid-column: 3; grid-row: 1; transform: none; font-size: 9px; text-align: right; }
  .chart-label { position: static; grid-column: 1; grid-row: 1; font-size: 9px; }
  .task-media-caption { font-size: 10px; gap: 4px 10px; }
  .speed-toggle { min-width: 34px; font-size: 11px; }
  .rollout-empty { gap: 8px; padding: 12px; }
  .rollout-empty svg { width: 26px; height: 26px; }
  .rollout-empty p { font-size: 10px; line-height: 1.45; }
  .task-navigation { margin-top: 18px; }
  .reproduce-section { padding-block: 50px; }
  .reproduce-heading { flex-wrap: wrap; gap: 18px; }
  .reproduce-heading h2 { font-size: 27px; }
  .command-panel { padding: 20px 18px; }
  .command-panel pre { font-size: 12px; }
  .site-footer { gap: 16px; padding-block: 24px 30px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 31px; }
  .hero-description { font-size: 15px; }
  .task-card { padding-inline: 16px; }
  .task-columns { gap: 10px; }
  .score-panel { padding: 10px 8px; }
  .score-chart { margin-top: 6px; gap: 1px; }
  .chart-column { grid-template-columns: 18px minmax(0, 1fr) 26px; gap: 3px; }
  .chart-value, .chart-label { font-size: 8px; }
  .footer-links { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
