@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/space-grotesk-bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}
@font-face {
  font-family: "TTPO Math";
  src: url("./assets/ttpo-math.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/instrument-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/instrument-sans-semibold.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/ibm-plex-mono.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
}

:root {
  color-scheme: dark;
  --bg: #080e17;
  --surface: #0e1723;
  --stroke: #24354a;
  --ink: #f0f5fc;
  --muted: #a7b8ca;
  --sky: #84ddfa;
  --cool: #778eaa;
  --mint: #80e5b5;
  --danger: #fa9a9c;
  --amber: #efbd8b;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --display: "Space Grotesk", Arial, sans-serif;
  --nav-height: 66px;
  --slide-height: calc(100dvh - var(--nav-height));
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 15px);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input[type="range"], a, video { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--sky); }
[hidden] { display: none !important; }
:root[data-slides] { overscroll-behavior-y: contain; }
[data-slide] { scroll-margin-top: -15px; }
::selection { background: #89dcf7; color: #08131f; }

.shell { width: min(1344px, calc(100% - clamp(34px, 8.2vw, 144px))); margin-inline: auto; }
.section { padding: clamp(76px, 11vh, 130px) 0; min-height: min(760px, calc(100svh - var(--nav-height))); }
.section-label {
  color: var(--sky);
  font: 500 .74rem/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.062em; }
h2 { font-size: clamp(2.32rem, 5vw, 5.35rem); line-height: .99; text-wrap: balance; }
h3 { font-weight: 600; }
.skip-link {
  position: fixed;
  z-index: 10;
  left: 16px;
  top: 12px;
  padding: 8px 15px;
  background: var(--sky);
  color: #070e17;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.masthead {
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 5;
  background: #080e17ec;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #203045;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1500px, calc(100% - clamp(34px, 6vw, 108px)));
  height: 100%;
  margin-inline: auto;
}
.wordmark {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -.018em;
}
.brand-mark {
  display: block;
  position: relative;
  width: 17px;
  height: 14px;
  transform: skewX(-23deg);
  border: 1px solid var(--sky);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  right: -4px;
  bottom: -3px;
  background: var(--sky);
  box-shadow: 0 0 12px #72dcf988;
}
.masthead nav { display: flex; height: 100%; align-items: center; gap: clamp(17px, 2.8vw, 42px); }
.masthead nav a {
  display: grid;
  height: 100%;
  place-items: center;
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  white-space: nowrap;
}
.masthead nav a:hover, .masthead nav a[aria-current="location"] { color: var(--ink); }
.masthead nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--sky);
}
.resource-links {
  justify-self: end;
  display: flex;
  gap: 8px;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 7px;
  text-decoration: none;
  border: 1px solid #3b556e;
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: 600;
  color: var(--ink);
}
.resource-link:hover, .resource-link:focus-visible { border-color: var(--sky); }
.resource-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  object-fit: contain;
  filter: invert(1);
}
.icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  vertical-align: -.12em;
}
.icon::before, .icon::after { content: ""; position: absolute; }
.icon::before {
  top: 3px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  transform: rotate(45deg);
}
.icon::after { top: 6.5px; left: 1px; width: 12px; height: 1.5px; background: currentColor; }
.icon.external { transform: rotate(-45deg); }
.icon.down { transform: rotate(90deg); }
.icon.up { transform: rotate(-90deg); }
.icon.back { transform: rotate(180deg); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  min-height: 39px;
  padding: 8px 12px;
  width: fit-content;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button.primary { background: var(--sky); color: #071724; }
.button.primary:hover:not(:disabled) { background: #b2eafa; }
.button.primary:disabled { background: #233c50; color: #b1c3d2; }
.button.outline { border-color: #3e5871; background: #142335; color: var(--ink); }
.button.outline:hover:not(:disabled) { border-color: var(--sky); }
.button.quiet { color: var(--muted); background: transparent; padding-inline: 4px; }
.button.quiet:hover:not(:disabled) { color: var(--ink); }
.button.quiet:disabled { opacity: .55; }
.text-link {
  color: var(--sky);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #608ba2;
  padding-bottom: 3px;
  width: fit-content;
}
.text-link:hover { color: #d7f4fd; }

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-content: start;
  min-height: var(--slide-height);
  padding-top: clamp(59px, 10vh, 117px);
  overflow: hidden;
  border-bottom: 1px solid #1e3043;
  background: radial-gradient(ellipse at 50% 86%, #132a3b 0%, #0b1624 33%, #080e17 70%);
}
.hero-copy { text-align: center; position: relative; z-index: 1; width: min(1200px, calc(100% - 42px)); margin-inline: auto; }
.hero h1 { font-size: clamp(4rem, 10.1vw, 10.4rem); line-height: .96; white-space: nowrap; }
.hero h1 span { color: var(--sky); }
.hero-copy p { font-size: clamp(1.13rem, 2.25vw, 1.73rem); line-height: 1.28; margin-top: 23px; color: #bfcedd; }
.hero .button { margin-top: 24px; min-height: 46px; padding-inline: 17px; }
.transfer {
  width: min(1380px, 100%);
  height: clamp(255px, 46vh, 455px);
  position: relative;
  margin: -5px auto 0;
}
.transfer canvas { display: block; width: 100%; height: 100%; }
.transfer-labels {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  align-items: start;
  color: #a2c7dc;
  font: 500 clamp(.61rem, 1.05vw, .77rem)/1.35 var(--mono);
}
.transfer-labels > span { padding-inline: 6px; }
.transfer-labels > span:last-child { grid-column: 3; }

.section.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: var(--slide-height);
  padding-block: clamp(17px, 3.2dvh, 36px);
  background: radial-gradient(ellipse at 22% 58%, #101c2b, #0a111b 73%);
  border-bottom: 1px solid #1e2d3e;
}
.overview > .shell {
  display: grid;
  width: min(1620px, calc(100% - clamp(34px, 6.6vw, 144px)));
  gap: clamp(20px, 4.0dvh, 43px);
}
.overview h2 { font-size: clamp(1.9rem, min(3.65vw, 7.6dvh), 4.02rem); line-height: 1.025; }
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.06fr);
  align-items: start;
  gap: clamp(18px, 3.5vw, 57px);
}
.overview-byline { margin-top: clamp(9px, 1.55dvh, 16px); padding-top: 8px; border-top: 1px solid #35516b; }
.authors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 3px clamp(9px, 1.9vw, 25px);
  font-size: clamp(.88rem, 1.32vw, 1.1rem);
  font-weight: 600;
}
.authors sup, .affiliations sup { color: var(--sky); margin-left: 2px; }
.author-mark { font-weight: 400; }
.affiliations, .author-note { font-size: clamp(.78rem, 1.21vw, .94rem); color: var(--muted); line-height: 1.39; }
.affiliations { margin-top: 6px; }
.author-note { margin-top: 3px; }
.abstract { padding-top: 8px; }
.abstract h3 { font-size: clamp(1.08rem, 1.43vw, 1.38rem); }
.abstract p { margin-top: 6px; color: #bacadc; line-height: 1.47; font-size: clamp(.9rem, min(1.36vw, 2.22dvh), 1.31rem); }

math { font-family: "TTPO Math", "Latin Modern Math", "Cambria Math", math; }
.method-map { --method-row-height: clamp(54px, 8.8dvh, 87px); --method-caption-font: clamp(.72rem, 1.04vw, .97rem); --feedback-line-y: 35px; position: relative; isolation: isolate; padding: clamp(53px, 6.2dvh, 61px) clamp(11px, 1.55vw, 22px) 4px; }
#method-connections { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.method-controls {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.method-update {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 11px;
  border-radius: 5px;
  background: #0f1b2a;
  color: #a7c5d9;
  font-size: clamp(.76rem, 1vw, .9rem);
  font-weight: 600;
  translate: var(--feedback-label-offset, 0px) calc(var(--feedback-line-y) - 50%);
  white-space: nowrap;
}
.method-update math { color: var(--sky); font-size: 1.56em; }
.method-nodes {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .61fr) minmax(0, 1.13fr) minmax(0, 1.8fr) clamp(116px, 10vw, 156px);
  align-items: stretch;
  gap: clamp(12px, 1.65vw, 24px);
}
.method-node {
  position: relative;
  min-width: 0;
  border: 1px solid #30465b;
  border-radius: 7px;
  padding: clamp(7px, .85vw, 12px);
  background: #101c2c;
  transition: border-color 190ms ease, background-color 190ms ease, box-shadow 190ms ease;
}
.method-task[data-active], .method-policy[data-active] { background: #142234; border-color: #608ca6; box-shadow: 0 0 23px #56c8ff15; }
.method-node:not(.method-task, .method-policy) { display: grid; grid-template-rows: auto auto 1fr; padding: 4px 0; border: 0; background: none; }
.method-node[data-active] .method-rows > div { border-color: #557b98; }
.method-node h4 { font-size: clamp(.88rem, 1.35vw, 1.2rem); font-weight: 600; margin: 0 0 4px; }
.method-node p { color: var(--muted); font-size: var(--method-caption-font); line-height: 1.28; }
.method-task { display: grid; justify-items: center; align-content: center; text-align: center; gap: clamp(5px, 1.15dvh, 10px); }
.method-task h4 { margin: 0; }
.method-camera { width: min(100%, clamp(90px, 27dvh, 256px)); border-radius: 4px; aspect-ratio: 1; overflow: hidden; background: #0a1421; }
.method-camera video {
  display: block;
  width: 203.846%;
  height: 100%;
  margin-inline-start: -103.846%;
  object-fit: fill;
}
.method-policy { display: grid; align-content: center; text-align: center; }
.method-policy-symbol { color: var(--sky); font-size: clamp(1.6rem, 3.08vw, 2.8rem); margin: 3px 0 5px; }
.method-rows { display: grid; grid-row: 3; grid-auto-rows: var(--method-row-height); align-self: end; gap: 6px; margin-top: 8px; }
.method-rows > div {
  display: grid;
  grid-template: auto minmax(0, 1fr) / max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 1px 6px;
  padding: 3px 7px;
  min-height: 0;
  background: #0b1523;
  border: 1px solid #293c52;
  border-radius: 5px;
  font-size: clamp(.83rem, 1.13vw, 1rem);
  line-height: 1.15;
  white-space: nowrap;
}
.method-track {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-area: 2 / 1 / 3 / -1;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.method-trajectory {
  display: block;
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.method-outcome { grid-area: 1 / 3; font-size: clamp(.69rem, .92vw, .91rem); font-weight: 600; }
.method-outcome.yes { color: var(--mint); }
.method-outcome.no { color: var(--danger); }
.method-chunk-shades, .method-chunk-labels, .method-chunk-key {
  display: grid;
  grid-template-columns: var(--chunk-columns, repeat(3, minmax(0, 1fr)));
  gap: var(--chunk-gap, 3px);
  justify-content: center;
}
.method-chunk-shades { grid-area: 1 / 1; pointer-events: none; }
.method-chunk-shades > span { border-radius: 4px; background: #a8bed32e; }
.method-chunk-shades > span:nth-child(2) { background: #f5c18a35; }
.method-chunk-shades > span:nth-child(3) { background: #9de3fe2b; }
.method-chunk-labels, .method-chunk-key, .method-preserved {
  color: #b4c8de;
  font-size: clamp(.63rem, .83vw, .76rem);
  line-height: 1.17;
  text-align: center;
}
.method-chunk-labels, .method-preserved { grid-area: 2 / 1; padding-top: 2px; }
.method-chunk-labels, .method-chunk-key { font-weight: 600; }
.method-chunk-labels > span:nth-child(2), .method-chunk-key > span:nth-child(2) { color: #f5c18a; }
.method-chunk-labels > span:nth-child(3), .method-chunk-key > span:nth-child(3) { color: #9de3fe; }
.method-chunk-key { display: none; }
.method-track-preserved::before {
  content: "";
  grid-area: 1 / 1;
  width: min(100%, var(--refined-track-width, 100%));
  align-self: stretch;
  justify-self: center;
  border-radius: 4px;
  background: #a8bed317;
}
.method-rewards > div { display: flex; align-items: center; justify-content: center; padding-inline: 4px; }
.method-rewards math { font-size: clamp(.92rem, 1.56vw, 1.46rem); }
.method-reward-score { color: var(--mint); }
.method-rewards > div:last-child .method-reward-score { color: var(--danger); }
@media (min-width: 921px) {
  .method-node:not(.method-task, .method-policy) { grid-template-rows: auto calc(1.28 * var(--method-caption-font)) auto; align-content: center; }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 4.2vh, 47px);
}
.section-heading p:not(.section-label) { color: var(--muted); max-width: 350px; line-height: 1.55; }
.section-heading p.section-label { margin-bottom: 12px; }
.section.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: var(--slide-height);
  padding-block: clamp(46px, 6.6vh, 82px);
  border-bottom: 1px solid #203148;
  background: radial-gradient(ellipse at 56% 42%, #132034, #0a111d 73%);
}
.demo-heading p.task-instruction {
  color: #d7e4f1;
  border-left: 2px solid var(--sky);
  padding: 2px 0 2px 14px;
  font-size: 1.08rem;
}
.demo-replay-mobile.button { display: none; }
.demo-track {
  display: grid;
  grid-template-columns: minmax(0, 2.27fr) minmax(0, .91fr) minmax(0, .91fr);
  gap: clamp(9px, 1.1vw, 16px);
  transition: grid-template-columns 610ms cubic-bezier(.22, .75, .22, 1);
  overflow-anchor: none;
}
.demo-track[data-phase="edit"] { grid-template-columns: minmax(0, .91fr) minmax(0, 2.27fr) minmax(0, .91fr); }
.demo-track[data-phase="resume"] { grid-template-columns: minmax(0, .91fr) minmax(0, .91fr) minmax(0, 2.27fr); }
.stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #0d1725;
  border: 1px solid #2a3d54;
  border-radius: 8px;
  overflow: hidden;
  --stage-accent: var(--sky);
  transition: border-color 460ms ease, box-shadow 460ms ease;
}
.stage[data-stage="edit"] { --stage-accent: var(--amber); }
.stage[data-active] { border-color: color-mix(in srgb, var(--stage-accent), #17263b 52%); box-shadow: 0 10px 32px #03081166; }
.stage-header {
  height: 62px;
  padding: 11px clamp(9px, 1.25vw, 19px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px 10px;
  border-bottom: 1px solid #22374b;
}
.stage-header h3 { font-size: clamp(.95rem, 1.35vw, 1.19rem); letter-spacing: -.022em; line-height: 1.15; }
.stage:not([data-active]) .stage-header h3 { color: #afc0d1; }
.stage-status {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9eb2c5;
  font: 500 .64rem/1.3 var(--mono);
}
.stage-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: currentColor;
  border-radius: 50%;
}
.stage-status[data-state="current"] { color: var(--stage-accent); }
.stage-status[data-state="failed"] { color: var(--danger); }
.stage-status[data-state="success"] { color: var(--mint); }
.stage-view {
  position: relative;
  width: 100%;
  height: clamp(305px, 43vh, 453px);
  background: #111c2b;
  overflow: hidden;
}
.stage-view canvas { width: 100%; height: 100%; display: block; }
.stage:not([data-active]) .stage-view { opacity: .66; }
.stage-progress { position: absolute; inset: auto 0 0; height: 2px; background: #314655; }
.stage-progress span { display: block; width: 0; height: 100%; background: var(--stage-accent); }
.stage-footer {
  padding: 13px clamp(10px, 1.4vw, 18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 72px;
  border-top: 1px solid #22374b;
  flex: 0 0 auto;
  font-size: .9rem;
}
.stage-footer[inert] { opacity: 0; }
.stage-edit-controls { justify-content: flex-end; }
.stage-edit-controls .button.primary { background: var(--amber); color: #302012; }
.stage-edit-controls .button.primary:hover { background: #f9d7ab; }
.gripper-control { flex: 1 1 auto; min-width: 0; }
.offset-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; justify-content: space-between; }
.offset-heading label { font-weight: 600; color: #e9edf1; }
.offset-heading output { color: var(--amber); font: 500 .76rem/1.35 var(--mono); white-space: nowrap; }
.gripper-control input { display: block; width: 100%; min-width: 0; margin: 9px 0 0; accent-color: var(--amber); cursor: ew-resize; }
.outcome { color: var(--muted); line-height: 1.36; min-width: 0; }
.outcome[data-result="success"] { color: var(--mint); }
.outcome[data-result="failed"] { color: var(--danger); }

.results { background: #090f18; border-bottom: 1px solid #203148; }
.video-groups { display: grid; gap: clamp(29px, 5vh, 49px); }
.video-group > h3 { display: flex; align-items: baseline; gap: 13px; font-size: 1.27rem; margin-bottom: 12px; }
.video-group > h3 span { font: 500 .72rem/1.4 var(--mono); color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(10px, 1.55vw, 24px); align-items: start; }
.rollout-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; container: rollout / inline-size; }
.rollout-summary { display: contents; }
.rollout-summary h4 {
  display: grid;
  grid-area: 1 / 1 / 2 / -1;
  margin: 0 0 7px;
  align-items: end;
  min-height: 2.55em;
  color: #e0eaf8;
  font-size: .95rem;
  line-height: 1.27;
  font-weight: 600;
}
.rollout-summary:has(.rollout-title[aria-expanded="true"]) h4 { grid-column-end: 2; }
.rollout-title {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.rollout-title:hover, .rollout-title:focus-visible { color: var(--sky); text-decoration: underline; text-underline-offset: .2em; }
.rollout-title:focus-visible { outline: none; }
.rollout-close.button {
  grid-area: 1 / 2;
  align-self: end;
  align-items: flex-end;
  width: 32px;
  min-height: 32px;
  margin: 0 0 7px 3px;
  padding: 0 0 2px;
  color: var(--cool);
  font-weight: 400;
}
.rollout-close span { font-size: 1.25rem; line-height: 1; }
.rollout-poster, .rollout-preview, .rollout-details { grid-area: 2 / 1 / 3 / -1; align-self: start; }
.rollout-poster { display: block; width: 100%; height: auto; aspect-ratio: 848 / 416; object-fit: cover; border-radius: 7px; }
.rollout-preview {
  position: relative;
  min-width: 0;
  display: block;
  width: 100%;
  aspect-ratio: 848 / 416;
  padding: 0;
  background: transparent;
  border: 1px solid #30455a;
  border-radius: 7px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.rollout-preview:hover { border-color: #83c6e4; }
.rollout-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: clamp(32px, 4vw, 49px);
  aspect-ratio: 1;
  background: #0a172bd9;
  border: 1px solid #a6d8f5b8;
  box-shadow: 0 2px 12px #060b15ad;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: scale 180ms ease, background-color 180ms ease;
}
.rollout-play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid #dcf2ff;
  margin-left: 2px;
}
.rollout-preview:hover .rollout-play-icon { scale: 1.09; background: #224361e0; }
.rollout-details {
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  overflow-anchor: none;
  transition: grid-template-rows 510ms cubic-bezier(.22,.8,.28,1), opacity 260ms ease, visibility 0s linear 510ms;
}
.rollout-details[data-open] {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0ms;
}
.rollout-details-inner { min-height: 0; overflow: hidden; }
.rollout-player {
  padding: 8px;
  border: 1px solid #344d63;
  border-radius: 9px;
  background: #101c2c;
}
.rollout-windows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9%; padding-bottom: 7px; }
.rollout-windows > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 8px;
  align-items: baseline;
  padding-inline: 3px;
  color: #dce9f5;
  font-size: .82rem;
  font-weight: 600;
}
.rollout-failed, .rollout-phase { font: 500 .69rem/1.34 var(--mono); }
.rollout-failed { color: var(--danger); }
.rollout-phase[data-stage="edit"] { color: var(--amber); }
.rollout-phase[data-stage="success"] { color: var(--mint); }
.rollout-phase { color: var(--sky); }
.rollout-video {
  display: block;
  width: 100%;
  aspect-ratio: 848 / 416;
  height: auto;
  object-fit: contain;
  background: #101c2c;
  border-radius: 5px;
  cursor: pointer;
}
.rollout-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding-block: 8px; }
.rollout-controls .button { min-height: 32px; font-size: .82rem; padding: 4px 9px; }
.rollout-seek { min-width: 0; }
.rollout-seek input { display: block; width: 100%; margin: 0; accent-color: var(--sky); cursor: pointer; }
.rollout-clock { font: 500 .72rem/1.3 var(--mono); color: #adbed1; white-space: nowrap; }
.rollout-plot { padding: 8px 7px 6px; background: #0b1524; border: 1px solid #2b4259; border-radius: 6px; }
.rollout-plot-head { display: grid; gap: 4px; padding: 0 3px; }
.rollout-metric { min-height: 1.2em; margin: 0; font-size: .88rem; font-weight: 600; color: #e5f0fc; }
.rollout-plot .plot-legend { gap: 4px 12px; font-size: .73rem; }
.rollout-key-original { background: #d1dceb; }
.rollout-key-refined { background: #8fe6fd; }
.rollout-chart { display: block; width: 100%; height: clamp(120px, 18svh, 146px); }
.rollout-axis { min-height: 1.2em; text-align: center; font-size: .75rem; color: var(--muted); margin-top: -1px; }
@container rollout (max-width: 290px) {
  .rollout-windows > div { display: grid; }
  .rollout-controls { gap: 6px; }
  .rollout-clock { font-size: .65rem; }
}
.sr-only { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }

.quantitative {
  margin-top: clamp(44px, 8vh, 87px);
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.result-panel {
  min-width: 0;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: #101a27;
  padding: clamp(17px, 2.65vw, 33px);
}
.result-panel h3 { font-size: clamp(1.14rem, 1.85vw, 1.45rem); margin-bottom: 13px; }
.result-insight { margin-bottom: 13px; color: #bacbdb; font-size: .91rem; line-height: 1.45; }
.plot-legend { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: .81rem; color: #bacbdb; }
.plot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.plot-legend i { width: 10px; height: 10px; border-radius: 2px; }
.legend-base { background: #66829d; }
.legend-gain { background: #83d9f4; }
.legend-empty { background: #283a4d; }
.metric-row {
  display: grid;
  grid-template-columns: minmax(120px, .82fr) minmax(0, 1.52fr) auto;
  gap: 7px 15px;
  align-items: center;
  margin-top: 20px;
}
.metric-heading { display: grid; gap: 3px; line-height: 1.24; }
.metric-heading strong { font-weight: 600; }
.metric-heading > span { color: var(--muted); font-size: .8rem; }
.metric-bar {
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(to right, #66829d 0 var(--base), #83d9f4 var(--base) var(--after), #263649 var(--after) 100%);
}
.metric-values { display: inline-flex; align-items: center; gap: 7px; font: 500 .77rem/1.3 var(--mono); white-space: nowrap; color: #b6c5d7; }
.metric-values .icon { transform: scale(.78); }
.metric-values strong { font-weight: 500; color: var(--sky); }
.real-counts { display: flex; align-items: center; justify-content: flex-start; gap: clamp(14px, 2.4vw, 32px); padding-block: 12px 18px; }
.real-counts > div { display: grid; gap: 4px; }
.real-counts > div > strong { font: 700 clamp(2.5rem, 4.5vw, 4.3rem)/.95 var(--display); letter-spacing: -.055em; }
.real-counts > div > strong > span { font-size: .51em; letter-spacing: -.04em; color: var(--muted); margin-left: 2px; }
.real-counts > div:last-child > strong { color: var(--sky); }
.real-counts > div > span { color: #bbcddd; font-size: .86rem; }
.real-counts > .icon { color: var(--sky); }
.trial-grid { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; max-width: 400px; margin-bottom: 12px; }
.trial-cell { aspect-ratio: 1; min-width: 0; background: #283a4d; border-radius: 3px; }
.trial-cell[data-outcome="base"] { background: #66829d; }
.trial-cell[data-outcome="gain"] { background: #83d9f4; }

.findings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  background: radial-gradient(ellipse at 72% 72%, #132236, #0a121d 74%);
}
.findings .section-heading { margin-bottom: clamp(22px, 3.6vh, 38px); }
.findings-subtitle { margin-top: 8px; font-size: clamp(.95rem, 1.4vw, 1.12rem); }
.finding-accordion { display: grid; gap: 12px; }
.finding {
  min-width: 0;
  border: 1px solid #344c62;
  border-radius: 8px;
  background: #0d1723;
}
.finding summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: clamp(12px, 2.6vw, 32px);
  padding: clamp(16px, 2.2vw, 26px) clamp(15px, 2.6vw, 30px);
  list-style: none;
  cursor: pointer;
  border-radius: 7px;
  transition: background-color 200ms ease, color 200ms ease;
}
.finding summary::-webkit-details-marker { display: none; }
.finding summary:hover, .finding[open] summary { background: #142337; }
.finding[open] { border-color: #52728d; }
.finding[open] summary { border-radius: 7px 7px 0 0; }
.finding summary:focus-visible { outline-offset: -3px; }
.finding-summary { display: grid; gap: 5px; line-height: 1.32; }
.finding-summary strong { font-size: clamp(1.15rem, 2.2vw, 1.59rem); font-weight: 600; }
.finding-summary > span { color: var(--muted); font-size: clamp(.87rem, 1.2vw, 1rem); }
.finding-preview { display: block; width: clamp(62px, 6.8vw, 96px); height: auto; }
.finding-chevron { justify-self: center; width: 9px; height: 9px; border: solid var(--sky); border-width: 0 1.5px 1.5px 0; rotate: 45deg; translate: 0 -2px; transition: rotate 220ms ease, translate 220ms ease; }
.finding[open] .finding-chevron { rotate: 225deg; translate: 0 2px; }
.finding-body { display: grid; gap: clamp(18px, 2.5vw, 30px); padding: clamp(16px, 2.7vw, 32px); border-top: 1px solid #31485f; }
.finding-split { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(245px, 1fr); align-items: start; gap: clamp(16px, 3vw, 34px); }
.finding-body > .finding-split + .finding-split { padding-top: clamp(18px, 2.5vw, 30px); border-top: 1px solid #31485f; }
.finding-analysis h3, .finding-table caption, .finding-figure figcaption, .search-depth-table-title { font-size: clamp(1.01rem, 1.6vw, 1.18rem); font-weight: 600; line-height: 1.35; }
.finding-analysis p { color: #b5c6d8; line-height: 1.58; font-size: .93rem; margin-top: 9px; }
.finding-analysis .text-link { margin-top: 13px; font-size: .83rem; line-height: 1.35; }
.finding-table-scroll { min-width: 0; overflow-x: auto; scrollbar-color: #577c95 #101c2a; outline-offset: 3px; }
.finding-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: .9rem; font-variant-numeric: tabular-nums; }
.finding-table caption { text-align: left; padding: 0 0 10px; }
.finding-table th, .finding-table td { padding: 9px clamp(8px, 1.25vw, 15px); border-bottom: 1px solid #25384b; }
.finding-table thead { background: #142337; color: #bfd1e2; font-size: .81rem; }
.finding-table th { font-weight: 600; }
.finding-table td { color: #c6d7e7; }
.finding-table td.finding-accent, .finding-table td strong { color: var(--sky); font-weight: 600; }
.finding-table small { display: block; margin-top: 4px; color: var(--muted); font-size: .74rem; font-weight: 400; }
.finding-training-table caption, .finding-training-table th { white-space: normal; }
.finding-training-table caption { text-wrap: balance; }
.finding-training-table th, .finding-training-table td { padding-inline: clamp(5px, 1.25vw, 15px); }
.finding-training-table th[scope="rowgroup"] { background: #142337; color: #d8e8f4; }
.finding-search-table tbody th::before, .finding-line-key span::before { content: ""; display: inline-block; width: 11px; margin-inline-end: 6px; vertical-align: middle; border-top: 2px solid var(--series-color, #a9bfd5); }
.finding-line-key [data-assisted]::before { border-top-style: dashed; }
.finding-search-row { cursor: pointer; transition: background-color 160ms ease; }
.finding-search-row[data-highlighted] { background: #182d43; }
.finding-agent-button { padding: 0; border: 0; background: none; color: inherit; white-space: nowrap; }
.finding-agent-button[aria-pressed="true"] { color: var(--sky); }
@media (hover: hover) {
  .finding-search-row:not([data-highlighted]):hover { background: #142337; }
  .finding-agent-button:hover { color: var(--sky); }
}
.finding-figure { min-width: 0; }
.finding-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 9px; }
.finding-plot { width: 100%; height: clamp(230px, 26vw, 300px); display: block; background: #0a1421; border: 1px solid #273d53; border-radius: 6px; }
.finding-plot-frame { position: relative; }
.finding-plot-frame .finding-plot { cursor: crosshair; }
.finding-plot-marker, .finding-round-guide, .finding-plot-tooltip { position: absolute; pointer-events: none; }
.finding-plot-marker {
  width: 12px;
  height: 12px;
  border: 2px solid var(--point-color, var(--sky));
  border-radius: 50%;
  box-shadow: 0 0 0 2px #0a1421;
  translate: -50% -50%;
}
.finding-round-guide {
  border-inline-start: 1px dashed #a5c3dfc2;
  transition-property: none;
  translate: -50% 0;
}
.finding-round-guide::after {
  content: attr(data-round);
  position: absolute;
  top: calc(100% + 13px);
  left: 0;
  translate: -50% -50%;
  min-width: 21px;
  padding: 2px 4px;
  border-radius: 4px;
  background: #284760;
  color: var(--ink);
  text-align: center;
  font: 600 12px/1.2 "Instrument Sans", sans-serif;
}
.finding-plot-tooltip {
  z-index: 1;
  max-width: calc(100% - 12px);
  min-width: 160px;
  padding: 9px 11px;
  border: 1px solid #4e6b85;
  border-radius: 6px;
  background: #142437;
  box-shadow: 0 5px 19px #030a1380;
  color: var(--ink);
  font-size: .8rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.finding-plot-tooltip > span { display: block; color: var(--muted); margin-top: 2px; }
.finding-plot-tooltip dl { display: grid; gap: 3px; margin: 7px 0 0; }
.finding-plot-tooltip dl > div { display: flex; justify-content: space-between; gap: 12px; }
.finding-plot-tooltip dt { color: #b7c9d9; }
.finding-plot-tooltip dd { margin: 0; color: var(--series-color, inherit); font-weight: 600; }
.policy-round-rates { width: 100%; border-collapse: collapse; }
.policy-round-rates :is(th, td) { padding: 4px 0 4px 12px; text-align: right; white-space: nowrap; }
.policy-round-rates th:first-child { padding-inline-start: 0; text-align: left; }
.policy-round-rates thead th { padding-top: 0; color: var(--muted); font-weight: 400; }
.policy-round-rates tbody tr { border-top: 1px solid #30475e; }
.policy-round-rates td { font-weight: 600; }
.policy-round-rates td:nth-child(2) { color: #86d9f8; }
.policy-round-rates td:nth-child(3) { color: #f3b789; }
.finding-select, .finding-line-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 11px; color: var(--muted); font-size: .79rem; font-weight: 400; }
.finding-line-key { margin-bottom: 9px; }
.finding-line-key span::before { width: 16px; }
.finding-select select { max-width: 100%; min-height: 36px; border: 1px solid #3c5770; border-radius: 4px; padding-inline: 7px; color: var(--ink); background: #17273a; font: inherit; }
.section.search-depth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: var(--slide-height);
  padding-block: clamp(15px, 2.35dvh, 25px);
  border-bottom: 1px solid #203148;
  background: radial-gradient(ellipse at 26% 20%, #122338, #0a111c 72%);
}
.search-depth > .shell { display: grid; gap: clamp(12px, 1.8dvh, 19px); }
.search-depth-heading {
  font-size: clamp(1.88rem, min(4.35vw, 6.1dvh), 4rem);
  text-wrap: balance;
}
.search-depth-split { grid-template-columns: minmax(0, 2.55fr) minmax(230px, 1fr); align-items: start; }
.search-depth-split .finding-plot { height: clamp(265px, calc(58dvh - 165px), 440px); }
.search-depth-filter {
  position: absolute;
  inset-block-start: 7px;
  inset-inline-end: 9px;
  z-index: 2;
  width: min(162px, 48%);
}
.search-depth-filter select { width: 100%; min-height: 30px; }
.search-depth-marker-key {
  position: absolute;
  inset-block-end: 44px;
  inset-inline-end: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 6px;
  margin: 0;
  list-style: none;
  background: #0a1421;
  color: #b8cadb;
  font-size: .9rem;
  line-height: 1.15;
  pointer-events: none;
}
.search-depth-marker-key li { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.search-depth-marker-key svg { width: 11px; height: 11px; flex: none; fill: currentColor; }
.search-depth-analysis { padding: 12px 14px; border-radius: 6px; background: #132135; }
.search-depth-analysis p { color: var(--muted); font-size: clamp(1rem, 1.34vw, 1.12rem); line-height: 1.4; margin-top: 8px; }
.search-depth-analysis p:first-child { margin-top: 0; }
.search-depth-analysis strong { color: #dce8f4; font-weight: 600; }
.search-depth-table { min-width: 0; }
.search-depth-table-title { margin-bottom: 10px; }
.search-depth-table-title span { color: var(--muted); font-weight: 400; white-space: nowrap; }
.search-depth .finding-search-table { line-height: 1.3; }
.search-depth .finding-search-table :is(th, td) { padding-block: 5px; }
.search-depth-heading math,
.search-depth .finding-search-table thead math {
  font-weight: 700;
  font-synthesis: weight;
}
.search-depth .finding-search-table thead math {
  font-size: 1.14em;
  line-height: 1;
}
.search-depth .finding-search-table td small { display: inline; margin: 0 0 0 .45em; }
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .finding { interpolate-size: allow-keywords; }
  .finding::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size 320ms cubic-bezier(.2, .68, .27, 1), opacity 220ms ease, content-visibility 320ms allow-discrete;
  }
  .finding[open]::details-content { block-size: auto; opacity: 1; }
}
.enhanced [data-reveal] {
  opacity: .30;
  translate: 0 24px;
  transition: opacity 610ms ease, translate 740ms cubic-bezier(.2, .65, .24, 1);
}
.enhanced [data-reveal].revealed, .enhanced [data-reveal]:focus-within { opacity: 1; translate: 0 0; }
.enhanced [data-slide] [data-reveal] { opacity: 1; translate: none; transition: none; }

@media (max-width: 1080px) {
  .stage-header { flex-wrap: wrap; align-content: center; }
  .stage-status { font-size: .61rem; }
  .stage-footer { gap: 9px; }
  .stage .button { gap: 7px; padding-inline: 9px; }
  .metric-row { grid-template-columns: minmax(0, 1fr) auto; }
  .metric-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 920px) {
  .method-map { --method-row-height: clamp(47px, 7dvh, 58px); --feedback-line-y: 16px; padding-block: 38px 4px; }
  .method-nodes { grid-template-columns: minmax(0, .88fr) minmax(0, 1.69fr) clamp(93px, 14vw, 124px); gap: 17px 15px; }
  .method-task { grid-area: 1 / 1; grid-template-columns: max-content minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; column-gap: 8px; }
  .method-camera { width: min(100%, 96px); justify-self: end; }
  .method-policy { grid-area: 1 / 2 / 2 / -1; }
  .method-policy-symbol { margin: 0; }
  [data-method-node="rollout"] { grid-area: 2 / 1; }
  [data-method-node="refined"] { grid-area: 2 / 2; }
  [data-method-node="rubric"] { grid-area: 2 / 3; }
  .method-node h4 { line-height: 1.15; margin-bottom: 3px; }
  .method-node p { line-height: 1.22; }
  .method-rows { gap: 3px; margin-top: 5px; }
  .method-rows > div { padding: 2px 5px; }
}
@media (561px <= width <= 850px) {
  .authors { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .overview > .shell { gap: clamp(16px, 3.1dvh, 27px); }
}
@media (max-width: 780px) {
  .header-inner { width: calc(100% - 34px); }
  .rollout-poster, .rollout-preview { border-radius: 5px; }
  .rollout-summary h4 { font-size: .86rem; }
  .section-heading { display: grid; gap: 14px; }
  .section-heading p:not(.section-label) { max-width: none; }
  .demo-heading-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .demo-replay-mobile.button { display: inline-flex; min-height: 32px; margin-top: -8px; padding: 4px 2px; font-size: .8rem; }
  .demo-rail { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #577c95 #101c2a; }
  .demo-track { display: flex; gap: 10px; }
  .stage { flex: 0 0 min(92%, 590px); scroll-snap-align: center; }
  .stage-header { height: 56px; }
  .stage-view { height: clamp(245px, 48vw, 375px); }
  .stage-footer { height: 69px; }
  .video-grid { gap: 10px; }
  .quantitative { grid-template-columns: 1fr 1fr; }
  .finding-split { grid-template-columns: minmax(0, 1fr); }
  .search-depth-split .finding-plot { height: clamp(275px, 40dvh, 365px); }
  .search-depth-marker-key { inset-block-end: 40px; gap: 6px; padding-block: 0; font-size: .8rem; line-height: 1; }
  .search-depth-marker-key li { gap: 3px; }
  .search-depth-marker-key svg { width: 9px; height: 9px; }
  .search-depth .finding-search-table td small { display: block; margin: 4px 0 0; }
}
@media (max-width: 560px) {
  .section.overview { padding-block: 9px; }
  .overview > .shell { gap: 11px; }
  .overview h2 { font-size: clamp(1.48rem, 5.6vw, 1.85rem); }
  .overview-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .overview-byline, .abstract { padding-top: 6px; }
  .overview-byline { margin-top: 7px; }
  .authors { gap: 2px 9px; font-size: .86rem; }
  .affiliations, .author-note { font-size: .76rem; line-height: 1.35; }
  .affiliations { margin-top: 5px; }
  .abstract h3 { font-size: 1rem; line-height: 1.25; }
  .abstract p { font-size: .85rem; line-height: 1.34; margin-top: 3px; }
  .method-map { --method-row-height: 37px; padding: 36px 10px 4px; }
  .method-update { font-size: .69rem; padding-inline: 7px; gap: 5px; }
  .method-nodes { grid-template-columns: minmax(0, .76fr) minmax(0, 1.62fr) minmax(0, .67fr); gap: 14px 8px; }
  .method-node { padding: 6px; }
  .method-node h4 { font-size: .8rem; }
  .method-task { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 4px; }
  .method-camera { width: min(100%, clamp(38px, 13vw, 69px)); justify-self: center; }
  .method-policy-symbol { font-size: 1.4rem; }
  .method-rows > div { grid-template-rows: 16px minmax(0, 1fr); column-gap: 2px; padding-inline: 3px; }
  .method-rows > div > math { font-size: .87rem; }
  .method-rewards > div > math { font-size: clamp(.76rem, 3.27vw, .99rem); }
  .method-outcome { font-size: .65rem; }
  .method-chunk-labels { display: none; }
  .method-chunk-key { display: grid; margin-top: 3px; }
  .method-track-preserved { display: contents; }
  .method-track-preserved::before, .method-track-preserved .method-trajectory { grid-area: 2 / 1 / 3 / -1; }
  .method-preserved { grid-area: 1 / 2; padding: 0; }
}
@media (max-height: 680px) and (min-width: 621px) {
  .section.overview { padding-block: 12px; }
  .overview > .shell { gap: 18px; }
  .overview h2 { font-size: clamp(1.8rem, min(3vw, 5.9svh), 3.15rem); }
  .abstract p { font-size: clamp(.9rem, 1.22vw, 1rem); line-height: 1.43; }
  .method-map { --method-row-height: 38px; --feedback-line-y: 28px; padding-block: 47px 2px; }
  .method-camera { width: min(100%, clamp(86px, 21dvh, 144px)); }
  .method-rows > div { grid-template: 1fr / 1.15em minmax(0, 1fr) 3.05em; }
  .method-track { grid-area: 1 / 2; }
  .method-outcome { justify-self: end; }
}
@media (max-height: 820px) and (min-width: 781px) {
  .hero { padding-top: clamp(28px, 6.8dvh, 57px); }
  .hero h1 { font-size: clamp(3.7rem, min(10.1vw, 17dvh), 9rem); }
  .hero-copy p { margin-top: 17px; }
  .hero .button { margin-top: 18px; min-height: 42px; }
  .transfer { height: clamp(200px, 38dvh, 341px); }
  .section.demo { padding-block: clamp(19px, 4dvh, 34px); }
  .demo-heading { margin-bottom: clamp(13px, 2.5dvh, 21px); }
  .demo-heading h2 { font-size: clamp(2.2rem, min(5vw, 7.6dvh), 4.25rem); }
  .demo-heading .section-label { margin-bottom: 6px; }
  .stage-header { height: 54px; }
  .stage-view { height: clamp(190px, 38dvh, 315px); }
  .stage-footer { height: 64px; }
  .section.search-depth { padding-block: 14px; }
  .search-depth > .shell { gap: 10px; }
  .search-depth-analysis p { font-size: 1.02rem; line-height: 1.38; margin-top: 7px; }
  .search-depth-analysis .text-link { margin-top: 9px; }
  .search-depth .finding-search-table :is(th, td) { padding-block: 3px; }
}
@media (max-width: 780px) {
  :root { --nav-height: 83px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 40px 43px; }
  .header-inner .wordmark { font-size: .9rem; }
  .brand-mark { width: 15px; height: 12px; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px; }
  .masthead nav a { font-size: .82rem; line-height: 1.16; text-align: center; white-space: normal; }
  .resource-links { grid-row: 1; grid-column: 2; gap: 6px; }
  .resource-link { font-size: .82rem; gap: 5px; padding: 4px 8px; }
  .resource-icon { width: 14px; height: 14px; }
}
@media (max-width: 580px) {
  .hero { min-height: var(--slide-height); }
  .hero h1 { font-size: clamp(2.65rem, 12.9vw, 4.8rem); }
  .hero-copy p { margin-top: 17px; }
  .hero .button { margin-top: 20px; }
  .transfer { height: clamp(225px, 36vh, 340px); margin-top: 17px; }
  .transfer-labels { bottom: 9%; left: 1.5%; right: 1.5%; font-size: .61rem; }
  .section { padding-block: 58px; }
  .stage-header h3 { font-size: .99rem; }
  .stage-footer { flex-wrap: wrap; padding: 9px 10px; justify-content: space-between; gap: 7px; }
  .stage-edit-controls .button { font-size: .77rem; }
  .gripper-control { flex-basis: 130px; }
  .offset-heading label, .outcome { font-size: .78rem; }
  .video-grid { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .rollout-summary h4 { min-height: 0; }
  .quantitative { grid-template-columns: 1fr; }
  .finding summary { grid-template-columns: minmax(0, 1fr) clamp(42px, 13vw, 64px) 13px; gap: 8px; }
  .finding-preview { width: 100%; }
  .trial-grid { gap: 4px; }
}

@media (max-width: 360px) {
  .masthead nav { gap: 4px; }
  .masthead nav a { font-size: .75rem; }
  .method-update { font-size: .65rem; padding-inline: 6px; gap: 4px; }
  .finding-training-table { font-size: .83rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .enhanced [data-reveal] { opacity: 1; translate: none; }
}
