:root {
  --ink: #111113;
  --paper: #fbfbfd;
  --muted: #6e6e73;
  --line: rgba(17, 17, 19, 0.13);
  --blue: #0878a5;
  --blue-bright: #36b9f2;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: #fff;
  background: rgba(5, 77, 103, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.wordmark {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms ease;
}
.site-header nav a:hover { color: #fff; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 115%, rgba(126, 220, 255, 0.42), transparent 47%),
    linear-gradient(145deg, #0b8db8 0%, #08769c 52%, #075a79 100%);
}

.hero-grid {
  position: absolute;
  inset: 42% -12% -35%;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000);
}

.hero-copy {
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  text-align: center;
  padding-bottom: 2vh;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #70d5ff; }

.hero h1 {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 670;
}

.hero-authors {
  margin: 34px auto 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
}

.hero-authors span {
  margin: 0 8px;
  color: rgba(255,255,255,.42);
}

.hero-authors a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.hero-authors a:hover { color: #fff; }

.hero-affiliation {
  margin: 8px auto 0;
  color: rgba(255,255,255,.62);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero-affiliation a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.hero-affiliation a:hover { color: #fff; }

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #042431; background: #fff; }
.button.secondary {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
}
.button.disabled {
  cursor: default;
  opacity: 0.62;
}
.button.disabled:hover { transform: none; }
.button .ai {
  font-size: 1.15em;
  line-height: 1;
}

.scroll-link {
  position: absolute;
  bottom: 28px;
  z-index: 1;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  text-decoration: none;
}
.scroll-link span { margin-left: 8px; }

.section { padding: 150px 28px; }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-heading {
  max-width: 850px;
  margin-bottom: 72px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.052em;
  font-weight: 650;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}

.cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 96px;
}
.cell { margin: 0; }
.cell-screen {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e4e1da;
  border-radius: 3px;
}
.cell-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cell > div:last-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  font-size: 13px;
}
.cell > div:last-child span {
  color: var(--muted);
  text-align: right;
}

.section-note {
  max-width: 580px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.numbers {
  padding-top: 115px;
  padding-bottom: 115px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-grid div { text-align: center; }
.metric-grid strong {
  display: block;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.metric-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.metric-grid.animating > div {
  animation: metric-rise 560ms cubic-bezier(.2,.8,.2,1) both;
}
.metric-grid.animating > div:nth-child(2) { animation-delay: 90ms; }
.metric-grid.animating > div:nth-child(3) { animation-delay: 180ms; }
.metric-grid.animating > div:nth-child(4) { animation-delay: 270ms; }
@keyframes metric-rise {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}

.task-chapter {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.chapter-label h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.chapter-label p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.task-grid { display: grid; gap: 10px; }
.task-grid.single { grid-template-columns: repeat(4, 1fr); }
.task-grid.bimanual { grid-template-columns: repeat(2, 1fr); }
.task {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.task:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17,17,19,.09);
}
.task video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e4e1da;
}
.task-meta {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
}
.task-meta span {
  color: var(--muted);
  font-size: 11px;
}
.task-meta strong {
  font-size: 16px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-align: right;
}

.protocol { background: var(--paper); }

.protocol-count {
  display: inline-block;
  min-width: 1.25em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.protocol-summary {
  max-width: 640px;
  text-align: center;
}
.protocol-summary > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.labels span {
  position: relative;
  overflow: hidden;
  opacity: 0;
  padding: 10px 18px;
  color: var(--ink);
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.7),
    rgba(var(--glass-rgb),.1)
  );
  border: 1px solid rgba(var(--glass-rgb),.52);
  border-radius: 0;
  font-size: 13px;
  transform: translateY(8px);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.92),
    inset -1px -1px 0 rgba(var(--glass-rgb),.13),
    0 10px 24px rgba(17,17,19,.06);
}
.protocol-summary.animating .labels span {
  animation: label-arrive 420ms cubic-bezier(.2,.8,.2,1) both;
}
.protocol-summary.animating .labels span:nth-child(1) { animation-delay: 120ms; }
.protocol-summary.animating .labels span:nth-child(2) { animation-delay: 240ms; }
.protocol-summary.animating .labels span:nth-child(3) { animation-delay: 360ms; }
@keyframes label-arrive {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.labels span::after {
  content: "";
  position: absolute;
  inset: 1px 1px 52%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.48), transparent);
}
.labels .success { --glass-rgb: 55, 157, 99; }
.labels .suboptimal { --glass-rgb: 196, 145, 16; }
.labels .failure { --glass-rgb: 190, 69, 69; }

.bar-chart { max-width: 900px; }
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 72px;
  align-items: center;
  gap: 22px;
  min-height: 54px;
}
.bar-row .policy { font-size: 14px; }
.bar-row .track {
  height: 10px;
  overflow: hidden;
  background: #e8e8eb;
  border-radius: 99px;
}
.bar-row .track span {
  display: block;
  width: var(--value);
  height: 100%;
  background: #7b7f84;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}
.bar-chart.animating .bar-row .track span { transform: scaleX(1); }
.bar-chart.animating .bar-row:nth-child(1) .track span { transition-delay: 60ms; }
.bar-chart.animating .bar-row:nth-child(2) .track span { transition-delay: 130ms; }
.bar-chart.animating .bar-row:nth-child(3) .track span { transition-delay: 200ms; }
.bar-chart.animating .bar-row:nth-child(4) .track span { transition-delay: 270ms; }
.bar-chart.animating .bar-row:nth-child(5) .track span { transition-delay: 340ms; }
.bar-chart.animating .bar-row:nth-child(6) .track span { transition-delay: 410ms; }
.bar-chart.animating .bar-row:nth-child(7) .track span { transition-delay: 480ms; }
.bar-row.leader .track span { background: var(--blue); }
.bar-row strong {
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.result-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.result-callouts p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.result-callouts strong { color: var(--ink); font-size: 16px; }

.detail-panel {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-panel summary {
  padding: 22px 2px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style-position: outside;
}
.detail-panel.attention summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-right: 14px;
  padding-left: 14px;
  list-style: none;
}
.detail-panel.attention summary::-webkit-details-marker { display: none; }
.detail-panel.attention summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}
.detail-panel.attention[open] summary::after { transform: rotate(225deg); }
.detail-panel.attention.visible:not(.acknowledged) summary {
  animation: attention-highlight 2.8s ease-in-out infinite;
}
.detail-panel.attention.visible:not(.acknowledged) summary::after {
  animation: attention-chevron 2.8s ease-in-out infinite;
}
@keyframes attention-highlight {
  0%, 68%, 100% {
    background: transparent;
    box-shadow: inset 0 0 0 rgba(8,120,165,0);
    transform: translateX(0);
  }
  72% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
  78% {
    background: rgba(8,120,165,.10);
    box-shadow: inset 4px 0 0 rgba(8,120,165,.9);
    transform: translateX(-3px);
  }
  81% { transform: translateX(3px); }
  84% { transform: translateX(-2px); }
  87% { transform: translateX(2px); }
  90% {
    background: rgba(8,120,165,.04);
    box-shadow: inset 2px 0 0 rgba(8,120,165,.35);
    transform: translateX(0);
  }
}
@keyframes attention-chevron {
  0%, 68%, 100% { transform: translateY(0) rotate(45deg); }
  76% { transform: translateY(-3px) rotate(45deg); }
  82% { transform: translateY(8px) rotate(45deg); }
  88% { transform: translateY(-1px) rotate(45deg); }
  94% { transform: translateY(5px) rotate(45deg); }
}
.table-scroll { overflow-x: auto; padding-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
.detail-panel table {
  min-width: 920px;
  table-layout: fixed;
}
caption {
  padding: 4px 0 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
th, td {
  padding: 11px 9px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 600; }
.detail-panel th:not(:first-child),
.detail-panel td:not(:first-child) { text-align: center; }
.detail-panel th:first-child,
.detail-panel td:first-child { width: 200px; }
.table-group td {
  padding-top: 24px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.caveat {
  max-width: 620px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.data { background: var(--paper); }

.corpus-stats {
  display: grid;
  grid-template-columns: 1.45fr 1.55fr;
  align-items: center;
  gap: 48px;
  max-width: 960px;
}
.corpus-totals {
  display: grid;
  grid-template-columns: .8fr .8fr 1.35fr;
  gap: 24px;
  padding-right: 48px;
  border-right: 1px solid var(--line);
}
.corpus-total {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.corpus-total + .corpus-total::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -12px;
  width: 1px;
  background: var(--line);
}
.corpus-total strong {
  white-space: nowrap;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.corpus-total > span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.label-distribution { min-width: 0; }
.label-scope {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.label-bar {
  height: 16px;
  display: flex;
  overflow: hidden;
  background: rgba(17,17,19,.08);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}
.corpus-stats.animating .label-bar { transform: scaleX(1); }
.label-bar span { flex: var(--count) 0 0; }
.label-bar .success,
.label-counts i.success { background: #147a4c; }
.label-bar .suboptimal,
.label-counts i.suboptimal { background: #b17c08; }
.label-bar .failure,
.label-counts i.failure { background: #a23f3f; }
.label-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}
.label-counts > span {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.label-counts i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.label-counts strong {
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.format-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 64px;
}
.format-links a {
  position: relative;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--ink);
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(17,17,19,.14);
  border-radius: 4px;
  text-decoration: none;
  transition: background 160ms ease;
}
.format-links a:hover { background: rgba(255,255,255,.78); }
.format-links span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.format-links strong { margin-top: 5px; font-size: 20px; }
.format-links i { position: absolute; top: 18px; right: 18px; font-style: normal; color: var(--muted); }

.reading .detail-panel { max-width: 760px; }
.reading ul {
  margin: 0 0 26px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 32px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 12px;
}
footer > div:first-child { display: flex; flex-direction: column; gap: 5px; }
footer strong { color: var(--ink); }
.author-links { display: flex; flex-wrap: wrap; gap: 0 6px; }
.author-links a { color: var(--muted); text-decoration: none; }
.author-links a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cells { grid-template-columns: 1fr; }
  .cell-screen { aspect-ratio: 16 / 8; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .task-chapter { grid-template-columns: 1fr; gap: 24px; }
  .task-grid.single { grid-template-columns: repeat(2, 1fr); }
  .corpus-stats { grid-template-columns: 1fr; gap: 30px; }
  .corpus-totals { padding-right: 0; border-right: 0; }
}

@media (max-width: 640px) {
  .site-header { padding: 0 18px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero h1 { font-size: 30px; }
  .actions { flex-direction: column; align-items: center; }
  .button { justify-content: center; width: 190px; }
  .section { padding: 100px 20px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2 { font-size: 42px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid strong { font-size: 46px; }
  .task-grid.single,
  .task-grid.bimanual { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 94px 1fr 58px; gap: 10px; }
  .bar-row .policy { font-size: 12px; }
  .result-callouts { grid-template-columns: 1fr; gap: 26px; }
  .label-counts { flex-direction: column; }
  .format-links { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .metric-grid.animating > div,
  .detail-panel.attention summary,
  .detail-panel.attention summary::after { animation: none; }
  .bar-chart .bar-row .track span { transform: none; transition: none; }
  .label-bar { transform: none; transition: none; }
  .protocol-summary .labels span {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
