:root {
  --num-font: "Times New Roman", Times, "Noto Serif", "DejaVu Serif", serif;
  --ink: #12202d;
  --muted: #607080;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #dce2e4;
  --vl: #0e9270;
  --vl-soft: #e2f4ec;
  --video: #2f66d8;
  --video-soft: #e4edfc;
  --action: #ee6a12;
  --action-soft: #fde9d6;
  --fusion: #76528f;
  --fusion-soft: #eee7f4;
  --shadow: 0 20px 60px rgba(26, 43, 57, 0.1);
  --radius: 22px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(14, 146, 112, 0.08), transparent 26rem),
    radial-gradient(circle at 90% 12%, rgba(47, 102, 216, 0.08), transparent 30rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(220, 226, 228, 0.8);
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.wordmark {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.wordmark-letter + .wordmark-letter {
  margin-left: 1px;
}

.vl {
  color: var(--vl);
}

.video {
  color: var(--video);
}

.action {
  color: var(--action);
}

.fusion {
  color: var(--fusion);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
  font-size: 13px;
  font-weight: 650;
  color: #425363;
}

.site-nav a {
  transition: color 160ms ease;
}

@media (max-width: 1160px) and (min-width: 981px) {
  .site-nav {
    gap: 14px;
    font-size: 12px;
  }
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.header-links {
  display: flex;
  gap: 8px;
}

.header-paper {
  padding: 9px 15px;
  border: 1px solid #bfc9ce;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 720;
}

.header-paper span {
  margin-left: 4px;
}

.header-paper {
  display: inline-flex;
  align-items: center;
}

.header-paper .header-icon,
.button .header-icon {
  width: 15px;
  height: 15px;
  margin: 0 6px 0 0;
  flex: none;
}

.header-paper .header-emoji,
.button .header-emoji {
  display: inline-block;
  width: auto;
  height: auto;
  font-size: 15px;
  line-height: 1;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vh, 72px);
  align-content: center;
  min-height: calc(100vh - 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 76px;
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(18, 32, 45, 0.06);
  border-radius: 50%;
}

.orbit-one {
  width: 560px;
  height: 560px;
  right: -260px;
  top: -180px;
}

.orbit-two {
  width: 780px;
  height: 780px;
  left: -610px;
  bottom: -500px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--vl);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
}

.hero-mark {
  display: block;
  margin-bottom: 26px;
  font-size: clamp(60px, 6.6vw, 100px);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.86;
}

.hero-mark span,
.wordmark span {
  --mark-gradient: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%),
    var(--mark-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-mark .vl,
.wordmark .vl {
  --mark-gradient: linear-gradient(180deg, #17b16e, #049967 50%, #06968d);
  margin-right: 0.04em;
}

.hero-mark .video,
.wordmark .video {
  --mark-gradient: linear-gradient(180deg, #46a8fd, #1e64fc 50%, #4c8dfb);
}

.hero-mark .action,
.wordmark .action {
  --mark-gradient: linear-gradient(180deg, #fd9126, #fe711d 50%, #fe8310);
}

.hero-mark .fusion,
.wordmark .fusion {
  --mark-gradient: linear-gradient(180deg, #9565e7, #7544bf 50%, #9a5fd4);
}

.hero-title {
  display: block;
  max-width: 1120px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero-deck {
  max-width: 820px;
  margin: 24px 0 0;
  color: #4a5d6c;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 500;
  line-height: 1.5;
}

.hero-summary {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover:not(.disabled) {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  border-color: #bac5ca;
  background: var(--white);
}

.button.code-link {
  border-color: rgba(47, 102, 216, 0.4);
  color: var(--video);
  background: var(--video-soft);
}

.button.model-link {
  border-color: rgba(238, 106, 18, 0.4);
  color: #c9560b;
  background: var(--action-soft);
}

.button.code-link:hover {
  border-color: var(--video);
  color: var(--white);
  background: var(--video);
}

.button.model-link:hover {
  border-color: var(--action);
  color: var(--white);
  background: var(--action);
}

.button.code-link small,
.button.model-link small {
  color: inherit;
  opacity: 0.72;
}

.button.ghost {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.button.disabled {
  cursor: default;
  opacity: 0.58;
}

.button small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  height: auto;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 38px;
}

.depth-rail {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  height: 16px;
}

.depth-rail span {
  color: #72808c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rail-line {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--vl), var(--video), var(--action));
}

.rail-line::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--action);
  border-right: 2px solid var(--action);
  transform: rotate(45deg);
  content: "";
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 24px 28px;
  border: 1px solid;
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(38, 56, 68, 0.06);
  overflow: hidden;
}

.vl-stage {
  border-color: #9fdac7;
  background: linear-gradient(110deg, var(--vl-soft), #f8fcfa);
}

.video-stage {
  border-color: #adc7f3;
  background: linear-gradient(110deg, var(--video-soft), #f8faff);
}

.action-stage {
  border-color: #f3bd91;
  background: linear-gradient(110deg, var(--action-soft), #fffaf6);
}

.stage-number {
  align-self: start;
  color: rgba(18, 32, 45, 0.45);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 13px;
  font-style: italic;
}

.hero-stage p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-stage h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.1;
}

.hero-stage span {
  display: block;
  color: #526473;
  font-size: 13px;
  line-height: 1.55;
}


.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
  min-height: 118px;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.metric strong span {
  margin-left: 2px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.metric p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 128px 24px;
}

.section + .section {
  border-top: 1px solid rgba(220, 226, 228, 0.82);
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading h2,
.citation-grid h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.split-heading p {
  margin: 0 0 4px;
}

.figure-shell {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  overflow: hidden;
}

.figure-shell img {
  width: 100%;
}

.figure-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(18, 32, 45, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 720;
  opacity: 0;
  transition: opacity 160ms ease;
}

.figure-shell:hover .figure-expand,
.figure-shell:focus-visible .figure-expand {
  opacity: 1;
}

.figure-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.figure-card {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.spaced-card {
  margin-top: 26px;
}

.figure-card .figure-shell {
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}

.figure-card-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 4px 6px 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid #edf0f1;
}

.figure-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.figure-card-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.figure-card-head strong {
  color: var(--ink);
  font-weight: 650;
}

.figure-tags {
  display: flex;
  flex: none;
  gap: 8px;
}

.figure-tags em {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
  white-space: nowrap;
}

.tag-handoff {
  background: var(--action-soft);
  color: #b64f0b;
}

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  gap: 28px;
  align-items: stretch;
}

.architecture-figure {
  min-height: 100%;
}

.architecture-figure img {
  height: 100%;
  object-fit: contain;
}

.expert-stack {
  display: grid;
  gap: 14px;
}

.expert-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 17px;
  align-items: start;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.expert-index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 850;
}

.vl-card .expert-index {
  color: var(--vl);
  background: var(--vl-soft);
}

.video-card .expert-index {
  color: var(--video);
  background: var(--video-soft);
}

.action-card .expert-index {
  color: var(--action);
  background: var(--action-soft);
}

.expert-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.expert-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stage-cards,
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.depth-card {
  padding: 25px;
  border: 1px solid;
  border-radius: 20px;
}

.vl-depth {
  border-color: #9fdac7;
  background: var(--vl-soft);
}

.video-depth {
  border-color: #adc7f3;
  background: var(--video-soft);
}

.action-depth {
  border-color: #f3bd91;
  background: var(--action-soft);
}

.depth-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.depth-top strong {
  color: var(--ink);
}

.depth-card h3 {
  margin: 34px 0 9px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.depth-card p {
  min-height: 66px;
  margin: 0 0 22px;
  color: #526473;
  font-size: 13px;
}

.mini-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(18, 32, 45, 0.1);
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.vl-depth .mini-bar span {
  background: var(--vl);
}

.video-depth .mini-bar span {
  background: var(--video);
}

.action-depth .mini-bar span {
  background: var(--action);
}

.specialization-figure {
  margin-top: 28px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}

.evidence-card {
  padding: 25px;
  background: var(--white);
}

.evidence-card.expand-trigger {
  border: 0;
  border-radius: 0;
}

.evidence-card.expand-trigger:hover,
.evidence-card.expand-trigger:focus-visible {
  box-shadow: none;
  background: #fbfcfd;
}

.evidence-card.expand-trigger[aria-expanded="true"] {
  box-shadow: inset 0 0 0 2px var(--video);
}

.evidence-card .expand-hint {
  font-style: normal;
}

.evidence-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-card strong {
  display: block;
  margin: 13px 0 7px;
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 28px;
  font-weight: 500;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.benchmark-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.benchmark-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.benchmark-label span {
  font-weight: 800;
}

.benchmark-label em {
  color: var(--muted);
  font-style: normal;
}

.benchmark-score {
  margin: 42px 0 12px;
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 46px;
  line-height: 1;
}

.score-track {
  height: 8px;
  border-radius: 999px;
  background: #edf0ef;
  overflow: hidden;
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--vl), var(--video));
}

.benchmark-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.expand-trigger {
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.expand-trigger:hover,
.expand-trigger:focus-visible {
  border-color: #a9bdd6;
  box-shadow: 0 14px 34px rgba(38, 56, 68, 0.08);
}

.expand-trigger[aria-expanded="true"] {
  border-color: var(--video);
  box-shadow: 0 0 0 3px var(--video-soft);
}

.expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--video);
  font-size: 12px;
  font-weight: 720;
}

.expand-hint i {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.expand-trigger[aria-expanded="true"] .expand-hint i {
  transform: translateY(2px) rotate(225deg);
}

.table-drawer {
  margin-top: 18px;
  padding: 26px 28px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(38, 56, 68, 0.06);
  animation: drawer-in 220ms ease;
}

.table-drawer[hidden] {
  display: none;
}

@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.table-drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.table-drawer-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-drawer-head h3 {
  margin: 5px 0 0;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 500;
}

.drawer-close {
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.drawer-close:hover {
  color: var(--ink);
}

.drawer-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 26px;
}

.drawer-split h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.data-table th,
.data-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #edf0f1;
  text-align: center;
}

.data-table thead th {
  border-bottom: 1.5px solid #9da8af;
  color: #44525f;
  font-size: 11px;
  font-weight: 760;
}

.data-table thead tr:first-child th[colspan] {
  border-bottom: 1px solid #c9d1d6;
}

.data-table tbody th {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
  text-align: left;
  vertical-align: middle;
}

.data-table td:nth-child(1),
.data-table th[rowspan] + td,
.data-table thead th:first-child,
.data-table.grouped thead th:nth-child(2) {
  text-align: left;
}

.data-table tbody th[rowspan] {
  width: 1%;
  padding-right: 22px;
  border-right: 1px solid #edf0f1;
}

.data-table tbody tr:has(+ tr > th[rowspan]) > *,
.data-table tbody tr:last-child > * {
  border-bottom-color: #c9d1d6;
}

.data-table tbody td.c {
  text-align: center;
}

.data-table td.wrap {
  min-width: 260px;
  white-space: normal;
  text-align: left;
}

.data-table .ours-row th,
.data-table .ours-row td {
  background: var(--video-soft);
}

.data-table strong {
  color: var(--ink);
  font-weight: 780;
}

.table-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.paper-figure {
  margin: 0;
}

.paper-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.verify-media {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.replay-video video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.paper-figure figcaption strong {
  color: var(--ink);
}

.wide-figure {
  margin-top: 26px;
}

.compact-figure {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.wide-figure .figure-shell img {
  padding: 18px;
  background: var(--white);
}

.key-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.key-points article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--vl);
  border-radius: 16px;
  background: var(--white);
}

.key-points article:nth-child(2) {
  border-top-color: var(--video);
}

.key-points article:nth-child(3) {
  border-top-color: var(--action);
}

.key-points span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.key-points h3 {
  margin: 6px 0 6px;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.key-points p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.recipe-head {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin: 58px 0 18px;
}

.recipe-head h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.recipe-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.recipe-tag {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipe-card strong {
  margin-top: 14px;
  color: var(--video);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.recipe-card strong small {
  color: var(--muted);
  font-family: inherit;
  font-size: 15px;
}

.recipe-card h4 {
  margin: 12px 0 6px;
  font-size: 15px;
}

.recipe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.recipe-card .expand-hint,
.text-link {
  margin-top: auto;
  padding-top: 14px;
}

.text-link {
  color: var(--video);
  font-size: 12px;
  font-weight: 720;
}

.text-link:hover {
  text-decoration: underline;
}

.image-drawer img {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.mechanism-grid > .chart-panel {
  display: flex;
  flex-direction: column;
}

.mechanism-grid > .chart-panel > .chart-note {
  margin-top: auto;
  padding-top: 18px;
}

.mechanism-grid .text-button {
  align-self: flex-start;
}

.depth-takeaways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.depth-takeaways li {
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  border-top: 3px solid;
  border-radius: 10px;
}

.depth-takeaways .vl-take { border-top-color: var(--vl); }
.depth-takeaways .video-take { border-top-color: var(--video); }

.depth-takeaways span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.depth-takeaways b {
  display: block;
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 500;
}

.depth-takeaways p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.5;
}

.ckpt-figure {
  position: relative;
}

.ckpt-ylabel {
  margin: 0 0 2px;
  color: #7a8893;
  font-size: 10px;
  font-weight: 700;
}

.ckpt-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ckpt-band {
  fill: #f1f3f4;
}

.ckpt-grid {
  stroke: #e7ebec;
  stroke-width: 1;
}

.ckpt-grid.zero {
  stroke: #9aa6ae;
}

.ckpt-tick,
.ckpt-zone,
.ckpt-note,
.ckpt-axis {
  fill: #7a8893;
  font-family: inherit;
  font-size: 9px;
}

.ckpt-zone {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ckpt-axis {
  font-size: 10px;
  font-weight: 700;
}

.ckpt-note {
  fill: #9aa6ae;
  font-style: italic;
}

.ckpt-line {
  fill: none;
  stroke-width: 1.6;
  stroke-linejoin: round;
  opacity: 0.28;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}

.ckpt-line.s50 { stroke: #8f9ba4; stroke-dasharray: 2 3; }
.ckpt-line.s150 { stroke: var(--video); stroke-dasharray: 6 4; }
.ckpt-line.s1000 { stroke: var(--action); stroke-dasharray: 8 3 2 3; }
.ckpt-line.s40000 { stroke: var(--vl); }

.ckpt-figure[data-active="50"] .ckpt-line.s50,
.ckpt-figure[data-active="150"] .ckpt-line.s150,
.ckpt-figure[data-active="1000"] .ckpt-line.s1000,
.ckpt-figure[data-active="40000"] .ckpt-line.s40000 {
  opacity: 1;
  stroke-width: 2.8;
}

.ckpt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
}

.ckpt-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  opacity: 0.6;
}

.ckpt-key i {
  width: 18px;
  height: 0;
  border-top: 2.5px solid;
}

.ckpt-key.s50 i { border-top-style: dotted; color: #8f9ba4; }
.ckpt-key.s150 i { border-top-style: dashed; color: var(--video); }
.ckpt-key.s1000 i { border-top-style: dashed; color: var(--action); }
.ckpt-key.s40000 i { color: var(--vl); }

.ckpt-figure[data-active="50"] .ckpt-key.s50,
.ckpt-figure[data-active="150"] .ckpt-key.s150,
.ckpt-figure[data-active="1000"] .ckpt-key.s1000,
.ckpt-figure[data-active="40000"] .ckpt-key.s40000 {
  color: var(--ink);
  font-weight: 720;
  opacity: 1;
}

.ckpt-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ckpt-steps li {
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.ckpt-steps li[data-step="50"] { border-top-color: #8f9ba4; }
.ckpt-steps li[data-step="150"] { border-top-color: var(--video); }
.ckpt-steps li[data-step="40000"] { border-top-color: var(--vl); }

.ckpt-figure[data-active="50"] .ckpt-steps li[data-step="50"],
.ckpt-figure[data-active="150"] .ckpt-steps li[data-step="150"],
.ckpt-figure[data-active="40000"] .ckpt-steps li[data-step="40000"] {
  background: #f7f9fa;
  border-color: #c8d1d6;
}

.ckpt-steps b {
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 16px;
  font-weight: 600;
}

.ckpt-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.horizontal-chart.wide-labels .chart-row {
  grid-template-columns: 150px minmax(0, 1fr) 42px;
}

.bar.vl-bar {
  background: var(--vl);
}

.bar.future-bar {
  background: var(--action);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--video);
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.text-button i {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.text-button[aria-expanded="true"] i {
  transform: translateY(2px) rotate(225deg);
}

.drawer-split.even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pair-chart {
  display: grid;
  gap: 12px;
}

.pair-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.pair-label {
  color: #4a5b69;
  font-size: 11px;
  font-weight: 680;
  line-height: 1.25;
}

.pair-label small {
  display: block;
  color: #95a1aa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pair-bars {
  display: grid;
  gap: 3px;
}

.pair-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 8px;
  align-items: center;
}

.pair-bar .bar {
  height: 9px;
  border-radius: 3px;
}

.pair-bar b {
  color: #526473;
  font-size: 10px;
  text-align: right;
}

.pair-bar:last-child b {
  color: var(--vl);
}

.results-charts > .chart-panel {
  display: flex;
  flex-direction: column;
}

.results-charts .pair-chart {
  gap: 16px;
}

.results-charts .text-button {
  align-self: flex-start;
}

.panel-footer-stat {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #edf0f1;
}

.results-charts .text-button + .panel-footer-stat {
  margin-top: 22px;
}

.panel-footer-stat > strong {
  color: var(--video);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.panel-footer-stat h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.panel-footer-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.panel-footer-stat .text-button {
  margin-top: 8px;
}

.panel-footer-figure {
  flex-direction: column;
  gap: 14px;
}

.footer-stat-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-stat-head > strong {
  flex: none;
  color: var(--vl);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.panel-footer-figure .figure-shell {
  border-radius: 12px;
  box-shadow: none;
}

.chart-legend i.pi-data {
  background: #a8b2b8;
}

.drawer-figure {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid #edf0f1;
}

.drawer-figure img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.drawer-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.drawer-figure figcaption strong {
  color: var(--ink);
}

.route-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 50px 0 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.route-index {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--vl-soft);
  color: var(--vl);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.route-head h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.route-head p {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.route-steps {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.step-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-label b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--vl);
  color: var(--white);
  font-family: var(--num-font);
  font-size: 15px;
  letter-spacing: 0;
}

.route-steps .scaling-chart-panel {
  margin-top: 0;
}

.route-conclusions {
  margin: 18px 0 0 112px;
}

.capture-figure {
  max-width: 760px;
}

.route-grid .human-facts strong {
  font-size: clamp(17px, 1.6vw, 22px);
  white-space: nowrap;
}

.results-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.chart-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(38, 56, 68, 0.045);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  min-height: 66px;
  margin-bottom: 28px;
}

.chart-header span,
.chart-header > strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-header h3 {
  margin: 5px 0 0;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.18;
}

.chart-header > strong {
  white-space: nowrap;
}

.horizontal-chart {
  display: grid;
  gap: 15px;
}

.chart-row {
  display: grid;
  grid-template-columns: 98px 1fr 38px;
  gap: 12px;
  align-items: center;
}

.chart-row .method {
  color: #4a5b69;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: none;
}

.chart-row b {
  font-size: 11px;
  text-align: right;
}

.bar-track {
  height: 15px;
  border-radius: 4px;
  background: #edf0ef;
  overflow: hidden;
}

.bar {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.bar.baseline {
  background: #a8b2b8;
}

.bar.hybrid {
  background: #8aaccf;
}

.bar.ours {
  background: linear-gradient(90deg, var(--vl), var(--video));
}

.chart-row.emphasis .method,
.chart-row.emphasis b {
  color: var(--vl);
  font-weight: 850;
}

.chart-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 11px;
  max-width: 245px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.chart-legend em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  white-space: nowrap;
}

.chart-legend i {
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: 1px;
  border-radius: 2px;
}

.chart-legend i.without {
  background: #91a6bb;
}

.chart-legend i.with {
  background: var(--video);
}

.chart-legend i.robot-data {
  background: #9da7ae;
}

.chart-legend i.ego-data {
  background: var(--vl);
}

.vertical-chart,
.scaling-chart {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-around;
  --pt: 15px;
  --pb: 28px;
  height: 235px;
  padding: var(--pt) 15px var(--pb) 35px;
  border-bottom: 1px solid #9da8af;
}

.y-guide {
  position: absolute;
  right: 0;
  bottom: calc(var(--pb) + (100% - var(--pt) - var(--pb)) * var(--f));
  left: 34px;
  height: 1px;
  background: #e4e8e8;
}

.y-guide span {
  position: absolute;
  left: -28px;
  top: -8px;
  color: #89969f;
  font-size: 9px;
}

.guide-60 {
  --f: 0.75;
}

.guide-40 {
  --f: 0.5;
}

.guide-20 {
  --f: 0.25;
}

.scaling-chart .guide-60 {
  --f: 1;
}

.scaling-chart .guide-40 {
  --f: 0.6667;
}

.scaling-chart .guide-20 {
  --f: 0.3333;
}

.bar-group {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  width: 78px;
  height: 100%;
}

.bar-group b {
  position: absolute;
  bottom: -24px;
  font-size: 10px;
}

.column {
  position: relative;
  width: 23px;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
}

.column.without {
  background: #9eb1c3;
}

.column.with {
  background: var(--video);
}

.column span,
.scale-bar span {
  position: absolute;
  top: -20px;
  left: 50%;
  color: #526473;
  font-size: 9px;
  font-weight: 700;
  transform: translateX(-50%);
}

.scaling-chart-panel {
  margin-top: 26px;
}

.scaling-chart {
  justify-content: center;
  --pt: 30px;
  --pb: 44px;
  gap: clamp(14px, 3vw, 42px);
  height: 280px;
}

.scale-group {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: center;
  width: 54px;
  height: 100%;
}

.scale-group b {
  position: absolute;
  bottom: -25px;
  font-size: 10px;
}

.scale-group small {
  position: absolute;
  bottom: -41px;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.scale-bar {
  position: relative;
  width: 31px;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
}

.scale-bar.robot-data {
  background: #9da7ae;
}

.scale-bar.ego-data {
  background: var(--vl);
}

.scale-bar.shade-1 {
  opacity: 0.45;
}

.scale-bar.shade-2 {
  opacity: 0.62;
}

.scale-bar.shade-3 {
  opacity: 0.78;
}

.scale-bar.shade-4 {
  opacity: 1;
}

.scale-divider {
  align-self: stretch;
  width: 1px;
  margin: 0 6px;
  background: repeating-linear-gradient(to bottom, #adb7bc 0 5px, transparent 5px 10px);
}

.result-callouts {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.callout-card {
  display: flex;
  width: 100%;
  text-align: left;
  background: transparent;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.callout-number {
  color: var(--video);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 29px;
  line-height: 1;
  white-space: nowrap;
}

.result-callouts h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.result-callouts p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.human-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.human-facts article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.human-facts strong {
  color: var(--vl);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 25px;
  font-weight: 500;
}

.human-facts p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.demo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(18, 32, 45, 0.03), transparent 60%),
    var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-card:nth-child(3n + 1) {
  background-color: #f1faf6;
}

.demo-card:nth-child(3n + 2) {
  background-color: #f1f5fd;
}

.demo-card:nth-child(3n) {
  background-color: #fff5ec;
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.demo-index {
  color: var(--muted);
  font-family: var(--num-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 12px;
  font-style: italic;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 38px 0 28px;
  border: 1px solid rgba(18, 32, 45, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  padding-left: 3px;
}

.demo-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.demo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.demo-video {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-video:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.demo-video video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #0e1820;
}

.demo-video figcaption {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 12px 16px 14px;
  font-size: 14px;
  font-weight: 700;
}

.demo-video figcaption small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.coming-soon {
  margin-top: auto;
  padding-top: 20px;
  color: #7a8791;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.author-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.author-groups article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.author-groups h3 {
  margin: 0 0 8px;
  color: var(--fusion);
  font-size: 13px;
}

.author-groups p {
  margin: 0;
  color: #425363;
  font-size: 13px;
}

.author-groups sup {
  color: var(--fusion);
  font-size: 8px;
}

.affiliations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 34px;
  margin: 24px 0 0;
  padding-left: 28px;
  color: var(--muted);
  font-size: 12px;
}

.citation-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: center;
}

.citation-grid > * {
  min-width: 0;
}

.citation-grid p {
  color: var(--muted);
}

pre {
  margin: 0;
  padding: 25px;
  border-radius: 18px;
  color: #dce7e5;
  background: #14242e;
  box-shadow: var(--shadow);
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.65;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  max-width: var(--max);
  min-height: 110px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-mark {
  font-size: 19px;
}

footer p:last-child {
  text-align: right;
}

dialog {
  width: min(94vw, 1180px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(7, 16, 23, 0.74);
  backdrop-filter: blur(4px);
}

.lightbox {
  width: min(96vw, 1680px);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}

.lightbox-stage.is-zoomed {
  cursor: grab;
}

.lightbox-stage.is-dragging {
  cursor: grabbing;
}

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-toolbar {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 45, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.lightbox-toolbar button {
  min-width: 38px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

.lightbox-toolbar .zoom-level {
  min-width: 62px;
  border-inline: 1px solid rgba(18, 32, 45, 0.12);
  font-family: var(--num-font);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.lightbox-toolbar button:hover {
  background: rgba(18, 32, 45, 0.06);
}

.lightbox-hint {
  margin: 0;
  padding: 8px 16px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(18, 32, 45, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 24px;
}

.video-modal {
  width: min(92vw, 960px);
  padding: 28px;
}

.video-modal h2 {
  margin: 0 50px 20px 0;
  font-family: Georgia, serif;
  font-weight: 500;
}

.video-modal video {
  width: 100%;
  border-radius: 12px;
  background: #0e1820;
}

.video-empty {
  display: none;
  place-items: center;
  min-height: 440px;
  border: 1px dashed #aebbc1;
  border-radius: 14px;
  color: var(--muted);
  background: #f3f6f5;
}

.video-empty span {
  font-size: 38px;
}

.video-empty p {
  margin-top: -100px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  padding: 11px 16px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  font-weight: 720;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .results-charts .chart-header {
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }

  .results-charts .chart-legend {
    justify-content: flex-start;
    max-width: none;
  }

  .drawer-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 38px;
    height: 38px;
    justify-self: end;
    margin-right: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 21px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 248, 245, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .header-links {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
  }

  .hero-visual {
    gap: 14px;
  }

  .split-heading,
  .architecture-grid,
  .route-grid,
  .mechanism-grid,
  .citation-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .stage-cards,
  .benchmark-grid,
  .results-charts,
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-cards article:last-child,
  .benchmark-grid > :last-child {
    grid-column: 1 / -1;
  }

  .result-callouts,
  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .route-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-label {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 0 18px;
  }

  .site-nav {
    top: 62px;
  }

  .header-links {
    gap: 5px;
  }

  .header-paper {
    padding: 7px 9px;
    font-size: 12px;
  }

  .header-paper span {
    display: none;
  }

  .hero {
    gap: 48px;
    padding: 52px 18px 70px;
  }

  .hero-title {
    font-size: 32px;
  }

  .title-break {
    display: none;
  }

  .hero-mark {
    font-size: 72px;
  }

  .hero-stage {
    grid-template-columns: 38px 1fr;
    min-height: 0;
    padding: 20px;
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1fr);
  }


  .metric-strip,
  .stage-cards,
  .benchmark-grid,
  .results-charts,
  .demo-grid,
  .author-groups,
  .affiliations,
  .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .stage-cards article:last-child,
  .benchmark-grid > :last-child {
    grid-column: auto;
  }

  .section {
    padding: 86px 18px;
  }

  .section-heading h2,
  .citation-grid h2 {
    font-size: 36px;
  }

  .human-facts {
    grid-template-columns: 1fr 1fr;
  }

  .chart-header {
    flex-direction: column;
    min-height: 0;
  }

  .chart-legend {
    justify-content: flex-start;
  }

  .scale-group small {
    display: none;
  }

  .scaling-chart {
    --pb: 30px;
  }

  .chart-panel {
    padding: 20px 16px;
  }

  .table-drawer {
    padding: 20px 16px 18px;
  }

  .key-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .figure-card {
    padding: 14px;
  }

  .figure-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .figure-tags {
    flex-wrap: wrap;
  }

  .recipe-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 44px;
  }

  .route-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .route-head .route-index {
    justify-self: start;
  }

  .route-head h3 {
    font-size: 22px;
  }

  .route-conclusions {
    margin-left: 0;
  }

  .route-grid .human-facts strong {
    font-size: 19px;
    white-space: normal;
  }

  .horizontal-chart.wide-labels .chart-row {
    grid-template-columns: 112px minmax(0, 1fr) 38px;
  }

  .pair-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .drawer-split.even {
    grid-template-columns: minmax(0, 1fr);
  }

  .ckpt-steps,
  .depth-takeaways {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 7px 8px;
  }

  .chart-row {
    grid-template-columns: 82px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .vertical-chart {
    padding-left: 30px;
    padding-right: 6px;
  }

  .bar-group {
    width: 64px;
  }

  .scaling-chart {
    gap: 8px;
    padding-left: 28px;
  }

  .scale-group {
    width: 36px;
  }

  .scale-divider {
    margin: 0 1px;
  }

  .video-empty {
    min-height: 280px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 7px;
    text-align: left;
  }

  footer p {
    margin: 0;
  }

  footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
