@font-face {
  font-family: Inter;
  src: url('../../assets/fonts/Inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #111113;
  --surface: #17171c;
  --line: #303037;
  --text: #ededf2;
  --muted: #aaaab6;
  --faint: #92929f;
  --accent: #bac6eb;
  --pink: #edc2d2;
  --teal: #a9cfca;
  --nav-height: 70px;
  --section-space: 108px;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter,Arial,sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,p,figure,dl,dd {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 550;
  line-height: 1.16;
}

h2 {
  font-size: clamp(32px,3.45vw,48px);
  letter-spacing: -.048em;
}

h2>span {
  color: var(--accent);
}

h3 {
  letter-spacing: -.025em;
}

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

button {
  cursor: pointer;
  font: inherit;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

button: disabled,[aria-disabled=true] {
  cursor: default;
}

img,svg {
  display: block;
}

img {
  max-width: 100%;
}

button,input {
  font-family: inherit;
}

[hidden] {
  display: none!important;
}

::selection {
  background: var(--accent);
  color: #111119;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

strong {
  font-weight: 600;
}

.container {
  width: min(1200px,calc(100% - 80px));
  margin-inline: auto;
}

.section {
  --section-inset: var(--section-space);
  position: relative;
  padding-block: var(--section-space);
  /* Align the first heading, rather than the padded section boundary. */
  scroll-margin-top: calc(0px - var(--section-inset));
  border-bottom: 1px solid #27272d;
}

.kicker {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .08em;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.editorial-heading,.center-heading {
  max-width: 1200px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-prose {
  max-width: 675px;
  margin: 24px auto 0;
}

.section-prose p,.center-heading>p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.section-prose p+p {
  margin-top: 18px;
}

.section-prose strong {
  color: #dedee8;
  font-weight: 500;
}

.center-heading>p:last-child {
  max-width: 675px;
  margin: 24px auto 0;
}

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 22px;
  border: 1px solid #575762;
  border-radius: 999px;
  background: #17171d88;
  color: #e6e6f0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition: background .2s,border-color .2s;
}

.button svg,.text-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex: 0 0 auto;
}

.button:hover {
  background: #292932;
  border-color: var(--accent);
}

.button-primary {
  background: var(--accent);
  color: #14141c;
  border-color: var(--accent);
}

.button-primary:hover {
  background: #cfd8f3;
  color: #14141c;
  border-color: #cfd8f3;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 13px;
}

.text-link:hover {
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

/* Quiet navigation, a large photographic stage, and restrained controls. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0e0e11ed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #28282f;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  height: var(--nav-height);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: #eeeef4;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  color: #afafbb;
  font-size: 13px;
  padding-block: 12px;
}

.nav-links a:hover,.nav-links a[aria-current=location] {
  color: #eef0fb;
}

.nav-code {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--accent);
  border-left: 1px solid #36363d;
  padding-left: 30px;
}

.nav-code svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 28px 28px 0;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: clamp(650px,calc(100svh - 140px),860px);
  border: 1px solid #383840;
  border-radius: 38px;
  background: #060608;
}

.hero-scans {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-template-rows: repeat(3,minmax(0,1fr));
  gap: 4px;
  overflow: hidden;
  border-radius: inherit;
}

.hero-scan {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #030305;
}

.hero-scan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.75);
}

.hero-scan:nth-child(1) img,.hero-scan:nth-child(3) img,.hero-scan:nth-child(5) img,.hero-scan:nth-child(9) img {
  object-fit: contain;
}

.hero-scan:nth-child(1) img {
  transform: scaleY(-1);
}

.hero-scan span {
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #d0d0db;
  opacity: .65;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 43%,#08080fd9 0%,#08080fa1 39%,#08080f30 80%),linear-gradient(0deg,#07070beb 0%,#08080e5c 36%,#08080e42 75%,#08080e73);
}

.hero-copy {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 92px 24px 110px;
}

.hero-eyebrow {
  margin-bottom: 28px;
  color: #d7d9e6;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--accent);
  font-size: clamp(64px,7vw,100px);
  font-weight: 580;
  letter-spacing: -.065em;
  line-height: 1;
}

.hero h1 span {
  color: #f4f4f9;
}

.hero-subtitle {
  margin-top: 27px;
  font-size: clamp(28px,3vw,41px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #f3f3f9;
}

.hero-description {
  max-width: 570px;
  margin: 22px auto 0;
  color: #c4c4d0;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

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

.button-pending {
  color: #aaaab7;
  border-color: #45454e;
  background: #15151b55;
}

.button-pending>span {
  color: #9494a4;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 24px;
  color: #b0b0bd;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-next {
  position: absolute;
  z-index: 3;
  bottom: -21px;
  left: calc(50% - 21px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #4b4b57;
  background: #1a1a21;
  color: var(--accent);
}

.section-next svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.section-next:hover {
  background: #2c2c37;
}

/* A single visual interface, with the source imagery kept distinct from tokens. */
.overview-section {
  --section-inset: 64px;
  padding-top: var(--section-inset);
}

.interface-map {
  display: grid;
  grid-template-columns: 1.15fr 24px .8fr 24px 1fr;
  align-items: center;
  gap: 25px;
  padding: 38px;
  border: 1px solid #30303a;
  border-radius: 22px;
  background: #16161b;
}

.diagram-label {
  color: #b3b4c4;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.modality-mosaic {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}

.modality-mosaic figure {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #030305;
}

.modality-mosaic img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  opacity: .85;
}

.modality-mosaic figure:first-child img {
  transform: scaleY(-1);
}

.modality-mosaic figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 6px 5px;
  background: linear-gradient(0deg,#000d,transparent);
  font-size: 9px;
  color: #e1e1ed;
}

.diagram-footnote {
  margin-top: 18px;
  color: var(--faint);
  font-size: 10px;
}

.diagram-arrow {
  color: #8f96b1;
  font-size: 26px;
}

.interface-core {
  text-align: center;
}

.interface-core .diagram-label {
  color: var(--accent);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 5px;
  width: min(164px,100%);
  margin: 34px auto 30px;
  padding: 16px;
  background: #1d1e2b;
  border: 1px solid #44485d;
  border-radius: 17px;
  transform: rotate(-5deg);
}

.token-grid i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--accent);
  opacity: calc(.25 + var(--t)*.16);
}

.token-grid i:nth-child(5n) {
  background: var(--pink);
}

.token-grid i:nth-child(9n) {
  background: var(--teal);
}

.interface-core h3 {
  font-size: 16px;
  line-height: 1.4;
}

.interface-core>p:last-child {
  margin-top: 5px;
  color: var(--faint);
  font-size: 11px;
}

.interface-output ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.interface-output li {
  display: flex;
  gap: 13px;
  padding-block: 11px;
  border-bottom: 1px solid #303039;
  font-size: 12px;
  line-height: 1.4;
}

.interface-output li:first-child {
  border-top: 1px solid #303039;
}

.interface-output li span {
  color: #82869c;
  font-size: 10px;
  padding-top: 1px;
}

.interface-note {
  max-width: 700px;
  text-align: center;
  text-wrap: balance;
  font-size: 14px;
  line-height: 1.8;
  color: #c4c7d9;
  margin: 27px auto 0;
}

/* A static corpus table keeps counts and modality shares together. */
.corpus-section {
  background: #141417;
}

.corpus-heading {
  margin-bottom: 42px;
}

.corpus-statistics {
  max-width: 940px;
  margin-inline: auto;
}

.corpus-stat-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.corpus-stat-table th:first-child {
  width: 28%;
}

.corpus-stat-table th,.corpus-stat-table td {
  padding-inline: 24px;
  border-top: 0;
  text-align: left;
}

.corpus-stat-table thead {
  background: transparent;
}

.corpus-stat-table th:first-child {
  padding-left: 0;
}

.corpus-stat-table th:last-child,.corpus-stat-table td:last-child {
  padding-right: 0;
}

.corpus-stat-table thead th {
  padding-block: 0 24px;
  border-bottom: 1px solid #41414d;
  color: var(--faint);
  font-size: 12px;
  font-weight: 400;
  vertical-align: bottom;
}

.corpus-stat-total {
  display: block;
  margin-bottom: 7px;
  color: #dedfe9;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.corpus-stat-dimension {
  display: block;
  color: #b5b7c5;
  font-size: 12px;
}

.corpus-stat-table tbody th,.corpus-stat-table tbody td {
  height: 48px;
  padding-block: 11px;
  border-bottom: 1px solid #2c2c34;
}

.corpus-stat-table tbody th {
  color: #c8c9d4;
  font-size: 13px;
  font-weight: 400;
}

.corpus-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #d0d2de;
  font-size: 13px;
  line-height: 18px;
}

.corpus-stat-value > span:last-child {
  color: #858895;
  font-size: 11px;
}

.corpus-stat-bar {
  height: 2px;
  margin-top: 7px;
  background: #222229;
}

.corpus-stat-bar i {
  display: block;
  height: 100%;
  background: #7b86a3;
}

.corpus-stat-table td:last-child .corpus-stat-bar i {
  background: #758e8c;
}

.corpus-empty {
  color: #5d5f6c;
  font-size: 13px;
}

.corpus-stat-note {
  margin-top: 18px;
  color: #858895;
  font-size: 10px;
  line-height: 18px;
}

@media(max-width:600px) {
  .corpus-heading { margin-bottom: 34px; }
  .corpus-stat-table th:first-child { width: 30%; }
  .corpus-stat-table th,.corpus-stat-table td { padding-inline: 10px; }
  .corpus-stat-total { font-size: 26px; }
  .corpus-stat-dimension { font-size: 11px; }
  .corpus-stat-table tbody th,.corpus-stat-value { font-size: 11px; }
  .corpus-stat-value { gap: 6px; }
  .corpus-stat-value > span:last-child { font-size: 9px; }
  .corpus-stat-note { font-size: 9px; }
}


.segmented,.study-selector {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  background: #1b1b22;
  border: 1px solid #3a3a45;
  border-radius: 999px;
}

.segmented button,.study-selector button {
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.segmented button:hover,.study-selector button:hover {
  color: #fff;
}

.segmented button[aria-pressed=true],.segmented button[aria-selected=true],.study-selector button[aria-pressed=true] {
  background: #343440;
  color: #eef0fa;
}


.chart-note {
  margin-top: 22px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.8;
}

.method-pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 70px;
}

.method-illustration {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 260px;
  padding: 20px 8px 8px;
  border: 1px solid #31313b;
  border-radius: 20px;
  background: #18181e;
  margin-bottom: 32px;
}

.method-illustration svg {
  width: 100%;
}

.schematic-label {
  position: absolute;
  top: 13px;
  left: 17px;
  color: #9698ab;
  font-size: 8px;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.slice-plane rect {
  fill: #1d1d29;
  stroke: #474a60;
}

.slice-plane use {
  fill: #30354b;
  stroke: #97a6d2;
  stroke-width: 2;
}

.slice-plane.middle rect {
  fill: #222330;
}

.slice-plane.front rect {
  fill: #272938;
  stroke: #697498;
}

.slice-plane.front use {
  fill: #47516f;
  stroke: #c6d0ef;
}

.slice-axis {
  fill: none;
  stroke: #7b829b;
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}

.slice-illustration text {
  font: 11px Inter,Arial,sans-serif;
  fill: #b8bed5;
}

.expert-node rect {
  fill: #252530;
  stroke: #49495b;
}

.expert-node-text text {
  fill: #d2d7ea;
  font: 13px Inter,Arial,sans-serif;
  text-anchor: middle;
}

.shared-node rect {
  fill: #3a3f56;
  stroke: #a6b4dd;
}

.shared-node text {
  fill: #e4e9fa;
  text-anchor: middle;
  font: 12px Inter,Arial,sans-serif;
}

.expert-lines path {
  fill: none;
  stroke: #858daa;
  stroke-width: 1.5;
}

.expert-lines .expert-return {
  stroke: #edc2d2;
  stroke-dasharray: 4 4;
}

.expert-annotation {
  fill: #bec5dd;
  text-anchor: middle;
  font: 10px Inter,Arial,sans-serif;
}

.method-article h3 {
  margin: 15px 0 21px;
  font-size: 29px;
  line-height: 1.22;
}

.method-article>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.method-article>p+p {
  margin-top: 16px;
}

.method-article p strong {
  color: #d3d7e8;
  font-weight: 500;
}

.framework-details {
  margin-top: 44px;
}

/* Full figures and tables stay available behind native disclosure controls. */
.evidence-details {
  border-top: 1px solid #393941;
  border-bottom: 1px solid #28282f;
}

.evidence-details>summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding-block: 18px;
  cursor: pointer;
  color: #bfc1cf;
  font-size: 13px;
  line-height: 1.6;
}

.evidence-details>summary::-webkit-details-marker {
  display: none;
}

.evidence-details>summary:hover {
  color: #fff;
}

.detail-icon {
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .2s;
  line-height: 1;
}

.evidence-details[open]>summary .detail-icon {
  transform: rotate(45deg);
}

.evidence-details[open] {
  padding-bottom: 28px;
}

.evidence-details>h3 {
  font-size: 17px;
  color: #d1d5e9;
  margin: 25px 0 15px;
}

.table-scroll {
  overflow: auto;
  max-width: 100%;
  border: 1px solid #383840;
  border-radius: 10px;
  overscroll-behavior-inline: contain;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #b5b6c4;
  text-align: right;
}

caption {
  text-align: left;
  padding: 16px;
  color: #9799ab;
  font-size: 11px;
}

td,th {
  padding: 13px 16px;
  border-top: 1px solid #32323a;
}

th {
  font-weight: 500;
  color: #d6d9eb;
}

th: first-child {
  text-align: left;
}

thead {
  background: #1c1c23;
}

td.ours {
  background: #bac6eb09;
  color: #d1dbf7;
  font-weight: 600;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 11px;
}

.gallery-hint svg,.visual-heading svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.paper-figure {
  background: #fff;
  color: #26304a;
  border: 1px solid #373741;
  border-radius: 12px;
  overflow: hidden;
}

.figure-link {
  position: relative;
  display: block;
  padding: 20px;
}

.figure-link img {
  width: 100%;
  height: auto;
  max-height: 570px;
  object-fit: contain;
  background: white;
}

.zoom-hint {
  position: absolute;
  bottom: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #14141ed9;
  color: #eef0ff;
  border-radius: 50%;
}

.zoom-hint svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.figure-link:hover .zoom-hint {
  background: #3d4563;
}

.figure-scroll {
  overflow: auto;
  max-width: 100%;
}

.figure-scroll .figure-link {
  min-width: 620px;
}

.paper-figure figcaption {
  padding: 0 20px 16px;
  font-size: 12px;
  color: #5d6480;
}

.evidence-highlights {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 44px;
  margin-block: 44px 36px;
}

.evidence-highlights article {
  border-top: 1px solid #4b4c59;
  padding-top: 22px;
}

.evidence-highlights article>p {
  font-size: 11px;
  color: #a7a9ba;
}

.evidence-highlights strong {
  display: block;
  margin-block: 17px 9px;
  color: var(--accent);
  font-size: 43px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.05em;
}

.evidence-highlights strong span {
  font-size: 15px;
  color: #aaaec2;
  letter-spacing: 0;
}

.results-section {
  background: #151519;
}

.protocol-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 17px;
  margin-bottom: 40px;
  border-block: 1px solid #32323b;
  color: var(--faint);
  font-size: 11px;
}

.protocol-note strong {
  font-weight: 500;
  color: #d0d4e9;
}

.protocol-dot {
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
}

.task-tabs {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 19px;
}

.task-tabs button {
  text-align: left;
  border: 0;
  border-bottom: 1px solid #42424e;
  background: none;
  color: #9f9fb1;
  font-size: 12px;
  padding: 0 0 18px;
  line-height: 1.5;
}

.task-tabs button span {
  display: block;
  font-size: 10px;
  margin-bottom: 8px;
  color: #777b94;
}

.task-tabs button:hover {
  color: #fff;
}

.task-tabs button[aria-selected=true] {
  color: #d5defa;
  border-color: var(--accent);
}

.task-tabs button[aria-selected=true] span {
  color: var(--accent);
}

.task-result-layout {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 80px;
  padding-block: 46px;
  align-items: center;
}

.task-story h3 {
  font-size: 28px;
  line-height: 1.3;
  margin-block: 16px;
  max-width: 410px;
}

.task-story>p:not(.eyebrow):not(.metric-gain) {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.task-metric {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 24px;
}

.task-metric>strong {
  font-size: 66px;
  letter-spacing: -.06em;
  color: #ced8f8;
  font-weight: 500;
  line-height: 1.2;
}

.task-metric small {
  font-size: 28px;
  letter-spacing: -.02em;
  margin-left: 3px;
}

.task-metric>span {
  color: var(--faint);
  font-size: 11px;
}

.task-story .metric-gain {
  margin-top: 5px;
  color: #c3c7dc;
  font-size: 11px;
}

.task-chart {
  padding: 26px 28px;
  background: #1c1c23;
  border: 1px solid #34343e;
  border-radius: 17px;
}

.task-chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #b8bfd9;
  font-size: 11px;
}

.task-chart figcaption>span:last-child {
  color: #969bb2;
  text-align: right;
}

.result-bars {
  margin: 28px 0;
}

.result-bar {
  display: grid;
  grid-template-columns: 73px minmax(0,1fr) 52px;
  gap: 13px;
  align-items: center;
  margin-top: 25px;
}

.result-model {
  font-size: 12px;
  color: #adb0c3;
}

.result-track {
  height: 6px;
  border-radius: 4px;
  background: #2a2a35;
  overflow: hidden;
}

.result-track i {
  display: block;
  height: 100%;
  background: #666b83;
  border-radius: inherit;
}

.result-bar:nth-child(2) .result-track i {
  background: #79819c;
}

.result-bar:nth-child(3) .result-track i {
  background: #949fbe;
}

.result-bar>strong {
  color: #b5bad2;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.result-bar.ours .result-track i {
  background: var(--accent);
}

.result-bar.ours .result-model,.result-bar.ours>strong {
  color: #e0e6fb;
}

.task-chart>p {
  color: #979bad;
  font-size: 10px;
  line-height: 1.8;
}

.task-visual {
  margin-top: 38px;
}

.visual-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b5bacf;
  font-size: 11px;
  margin-bottom: 15px;
}

.visual-heading>span:last-child {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--faint);
}

.benchmark-note {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 800px;
}

/* Ablation values are discrete, with unavailable 3D scores kept unavailable. */
.ablation-panel {
  --chart-color: var(--accent);
}

.ablation-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.metric-selector {
  display: flex;
  gap: 20px;
}

.metric-selector button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  color: var(--faint);
  font-size: 11px;
}

.metric-selector button[aria-pressed=true] {
  color: var(--chart-color);
  border-color: var(--chart-color);
}

.ablation-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.ablation-chart-scroll {
  overflow-x: auto;
  min-width: 0;
  padding: 8px;
}

.ablation-chart {
  min-width: 425px;
  padding: 0 20px;
}

.ablation-chart h3 {
  font-size: 13px;
  font-weight: 500;
  color: #c1c5d9;
  margin-bottom: 32px;
}

.ablation-plot {
  position: relative;
  height: 245px;
  margin: 0 12px 5px 24px;
}

.ablation-plot>svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#ablation-line {
  stroke: var(--chart-color);
  stroke-width: 2;
}

#ablation-capability-line {
  display: none;
}

.chart-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid #303039;
}

.chart-grid-line>span {
  position: absolute;
  left: -31px;
  top: 0;
  transform: translateY(-50%);
  color: #8c91a7;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.chart-point {
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  transform: translate(-50%,-50%);
  padding: 0;
  border: 1px solid var(--chart-color);
  border-radius: 50%;
  color: var(--chart-color);
  background: #17171e;
}

.chart-point::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
}

.chart-point[aria-pressed=true] {
  background: var(--chart-color);
  outline: 1px solid var(--chart-color);
  outline-offset: 4px;
}

.chart-point.point-unavailable {
  border-style: dashed;
  border-color: #8c91a7;
  color: #8c91a7;
}

.point-value {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #b6bbd0;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.chart-point[aria-pressed=true] .point-value {
  color: var(--chart-color);
}

.ablation-x-labels {
  position: relative;
  height: 24px;
  margin: 0 12px 0 24px;
}

.ablation-x-labels>span {
  position: absolute;
  transform: translateX(-50%);
  color: #8b90a7;
  font-size: 10px;
}

.ablation-x-labels>span.selected {
  color: var(--chart-color);
}

.ablation-detail {
  border-left: 1px solid #3b3b46;
  padding: 15px 0 15px 35px;
  min-width: 0;
}

#ablation-step {
  color: var(--chart-color);
  font-size: 11px;
  letter-spacing: .08em;
}

#ablation-step-title {
  font-size: 24px;
  line-height: 1.3;
  margin-top: 12px;
}

#ablation-step-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin-top: 14px;
  min-height: 74px;
}

.ablation-value {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 20px;
}

.ablation-value strong {
  font-size: 43px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.05em;
  color: var(--chart-color);
}

.ablation-value strong.is-unavailable {
  font-size: 25px;
}

.ablation-value span {
  color: var(--faint);
  font-size: 11px;
}

#ablation-delta {
  color: #bbc0d5;
  font-size: 11px;
  margin-top: 4px;
}

.ablation-scope {
  max-width: 850px;
  margin-top: 30px;
}

.resources-section {
  background: #151519;
}

.resources-section .editorial-heading {
  margin-bottom: 0;
}

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

.quickstart-layout {
  display: grid;
  grid-template-columns: .7fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.quickstart-layout>div:first-child {
  padding-top: 22px;
}

.quickstart-layout h3 {
  font-size: 28px;
  margin: 15px 0 22px;
  line-height: 1.25;
}

.quickstart-layout>div:first-child>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 25px;
}

.quickstart-layout .text-link {
  display: flex;
  width: fit-content;
  margin-top: 18px;
}

.code-block {
  min-width: 0;
  background: #1b1b24;
  border: 1px solid #3a3a47;
  border-radius: 14px;
  overflow: hidden;
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid #353542;
  color: #979db8;
  font-size: 11px;
}

.copy-button {
  border: 1px solid #484858;
  border-radius: 6px;
  background: #2a2a37;
  padding: 5px 10px;
  color: #c5cce8;
  font-size: 10px;
  line-height: 1.5;
}

.copy-button:hover {
  background: #3a3a4a;
}

pre {
  margin: 0;
  overflow: auto;
  padding: 23px;
  font: 11px/1.9 'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  tab-size: 4;
  color: #c5cbe0;
}

code {
  font: inherit;
}

.python-highlight .kn,.python-highlight .k {
  color: #b8c7f0;
}

.python-highlight .nn,.python-highlight .n {
  color: #d3d8eb;
}

.python-highlight .o,.python-highlight .p {
  color: #a0a9c3;
}

.python-highlight .s2 {
  color: #bdd8c8;
}

.python-highlight .kc {
  color: var(--pink);
}

.python-highlight .mi {
  color: #e3c7ad;
}

/* Author order, affiliation markers, citation, and acknowledgments are preserved. */
.team-section {
  --section-inset: 74px;
  padding-block: var(--section-inset);
}

.closing-heading {
  margin-bottom: 33px;
}

.closing-heading h2 {
  font-size: 31px;
  letter-spacing: -.04em;
}

.closing-heading>p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.closing-heading .kicker {
  margin-bottom: 15px;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 8px;
  max-width: 1090px;
  font-size: 14px;
  line-height: 1.9;
  color: #d0d1df;
}

.authors>span {
  white-space: nowrap;
}

sup {
  vertical-align: super;
  font-size: 9px;
  color: #a3abc9;
  margin-left: 2px;
}

.author-notes {
  color: var(--faint);
  font-size: 11px;
  margin-top: 24px;
}

.author-notes>span {
  margin-inline: 8px;
}

.affiliations {
  margin-top: 27px;
}

.affiliations summary {
  cursor: pointer;
  font-size: 12px;
  color: #b7bdd4;
  width: fit-content;
}

.affiliation-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px 32px;
  margin-top: 20px;
  color: #b4b9cc;
  font-size: 12px;
}

.affiliation-list sup {
  margin-right: 5px;
}

.citation-section {
  --section-inset: 70px;
  padding-block: var(--section-inset) 38px;
}

.citation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.citation-heading h2 {
  font-size: 28px;
}

.citation-code pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.citation-actions {
  margin-top: 26px;
}

.copy-status {
  font-size: 11px;
  color: var(--accent);
  min-height: 20px;
  margin: 12px 0 20px;
}

.acknowledgments {
  border-bottom: 0;
}

.acknowledgments .prose {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.acknowledgments a {
  color: #c1c9e3;
}

.acknowledgments a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.image-credits>p {
  font-size: 12px;
  color: var(--muted);
  max-width: 780px;
}

.image-credits ul {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px 40px;
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}

.image-credits li {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.image-credits li strong {
  display: block;
  color: #c1c5db;
  font-size: 12px;
  font-weight: 500;
}

.image-credits a:hover {
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-block: 35px;
}

.footer-wordmark {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.site-footer p {
  color: var(--faint);
  font-size: 10px;
  margin-right: auto;
}

.site-footer p a {
  color: #c3c9df;
}

.back-to-top {
  color: #b2b8ce;
  font-size: 11px;
  white-space: nowrap;
}

.noscript-note {
  font-size: 13px;
  padding-block: 25px;
  color: var(--muted);
}

.figure-dialog {
  color: var(--text);
  background: #1a1a22;
  padding: 0 18px 18px;
  width: max-content;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  border: 1px solid #4c4c60;
  border-radius: 14px;
  box-shadow: 0 20px 90px #0007;
}

.figure-dialog::backdrop {
  background: #050508db;
}

.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
}

#dialog-caption {
  font-size: 12px;
  color: #b4b9d1;
  padding-block: 15px;
  line-height: 1.7;
}

.dialog-close {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid #494957;
  background: #30303e;
  color: #e7eafb;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  background: #49495b;
}

.dialog-image-wrap {
  max-height: calc(100dvh - 180px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
}

.dialog-image-wrap img {
  max-width: none;
  height: auto;
}

#dialog-original {
  display: block;
  width: fit-content;
  font-size: 11px;
  color: var(--accent);
  margin-top: 13px;
}

body.dialog-open {
  overflow: hidden;
}

@media(min-width:1700px) {
  .hero-stage {
    max-width: 1800px;
    margin-inline: auto;
  }
}

@media(max-width:1100px) {
  .container {
    width: calc(100% - 56px);
  }
  .interface-map {
    gap: 16px;
    padding: 30px;
    grid-template-columns: 1.15fr 16px .85fr 16px 1fr;
  }
  .method-pair {
    gap: 40px;
  }
  .method-illustration {
    min-height: 225px;
  }
  .task-result-layout,.quickstart-layout {
    gap: 45px;
  }
  .task-tabs {
    gap: 12px;
  }
  .ablation-layout {
    gap: 25px;
  }
  .ablation-detail {
    padding-left: 25px;
  }
}

@media(max-width:820px) {
  :root {
    --nav-height: 64px;
    --section-space: 76px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .navigation {
    gap: 22px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-code {
    padding-left: 20px;
  }
  .section {
    --section-inset: var(--section-space);
    padding-block: var(--section-space);
  }
  .hero {
    padding: 18px 18px 0;
  }
  .hero-stage {
    border-radius: 28px;
    min-height: 670px;
  }
  .hero-copy {
    padding-block: 90px 105px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-subtitle {
    font-size: 34px;
  }
  .editorial-heading,.center-heading {
    margin-bottom: 38px;
  }
  .section-prose p,.center-heading>p:last-child {
    font-size: 15px;
  }
  h2 {
    font-size: 39px;
  }
  .overview-section {
    padding-top: 46px;
  }
  .interface-map {
    grid-template-columns: 1fr 22px 1fr;
    gap: 24px;
    padding: 30px;
  }
  .interface-input {
    grid-column: 1;
    grid-row: 1;
  }
  .interface-input+.diagram-arrow {
    grid-column: 2;
    grid-row: 1;
  }
  .interface-core {
    grid-column: 3;
    grid-row: 1;
  }
  .interface-core+.diagram-arrow {
    display: none;
  }
  .interface-output {
    grid-column: 1/-1;
    border-top: 1px solid #373744;
    padding-top: 25px;
  }
  .interface-output ul {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0 22px;
  }
  .interface-output li {
    border: 0;
  }
  .interface-output li:first-child {
    border: 0;
  }
  .method-pair {
    gap: 30px;
  }
  .method-illustration {
    min-height: 190px;
  }
  .method-article h3 {
    font-size: 25px;
  }
  .method-article>p:not(.eyebrow) {
    font-size: 14px;
  }
  .task-tabs {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 8px;
  }
  .task-tabs button {
    flex: 0 0 145px;
  }
  .task-result-layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
  }
  .task-story h3 {
    font-size: 24px;
  }
  .task-chart {
    padding: 24px 20px;
  }
  .result-bar {
    grid-template-columns: 62px minmax(0,1fr) 43px;
    gap: 9px;
  }
  .result-model,.result-bar>strong {
    font-size: 10px;
  }
  .task-chart figcaption {
    font-size: 10px;
  }
  .task-metric>strong {
    font-size: 53px;
  }
  .ablation-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ablation-detail {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid #3b3b46;
  }
  #ablation-step-description {
    min-height: 0;
    max-width: 650px;
  }
  .ablation-controls {
    flex-wrap: wrap;
  }
  .quickstart-layout {
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
  }
  .quickstart-layout h3 {
    font-size: 25px;
  }
  pre {
    font-size: 10px;
    padding: 18px;
  }
}

@media(max-width:600px) {
  .navigation {
    position: relative;
    gap: 18px;
  }
  .wordmark {
    font-size: 16px;
  }
  .nav-code {
    margin-left: auto;
    border-left: 0;
    padding-left: 0;
    font-size: 11px;
  }
  .menu-toggle {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 5px;
    background: transparent;
    border: 1px solid #44444d;
    border-radius: 50%;
  }
  .menu-toggle span {
    display: block;
    width: 13px;
    height: 1px;
    background: #d5d9eb;
    transition: transform .2s;
  }
  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded=true] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--nav-height) - 1px);
    padding: 15px 20px;
    border: 1px solid #444450;
    border-radius: 0 0 15px 15px;
    background: #1b1b24;
  }
  .nav-links.is-open {
    display: grid;
    gap: 0;
  }
  .nav-links a {
    font-size: 14px;
    padding-block: 13px;
  }
}

@media(max-width:600px) {
  :root {
    --nav-height: 62px;
    --section-space: 60px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .hero {
    padding: 12px 12px 0;
  }
  .hero-stage {
    border-radius: 24px;
    min-height: 665px;
  }
  .hero-copy {
    padding: 75px 18px 108px;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: .12em;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-subtitle {
    font-size: 29px;
    margin-top: 27px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
    max-width: 340px;
    margin-top: 20px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    max-width: 330px;
    margin: 30px auto 0;
  }
  .hero-actions .button {
    padding: 11px 12px;
    font-size: 11px;
    gap: 8px;
  }
  .hero-actions .button svg {
    width: 11px;
    height: 11px;
  }
  .hero-bottom {
    left: 18px;
    right: 18px;
    bottom: 25px;
    font-size: 7px;
    letter-spacing: .03em;
    gap: 10px;
  }
  .hero-scans {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .hero-scan img {
    object-fit: cover;
  }
  .hero-scan span {
    font-size: 7px;
    left: 7px;
    top: 9px;
  }
  .section {
    --section-inset: var(--section-space);
    padding-block: var(--section-space);
  }
  .overview-section {
    --section-inset: 34px;
    padding-top: var(--section-inset);
  }
  .kicker {
    font-size: 10px;
    margin-bottom: 19px;
  }
  h2 {
    font-size: 32px;
    line-height: 1.18;
  }
  .editorial-heading,.center-heading {
    margin-bottom: 34px;
  }
  .section-prose p,.center-heading>p:last-child {
    font-size: 14px;
    line-height: 1.85;
  }
  .section-prose {
    margin-top: 20px;
  }
  .center-heading>p:last-child {
    margin-top: 20px;
  }
  .interface-map {
    gap: 17px;
    padding: 22px 17px;
    grid-template-columns: 1.1fr 14px 1fr;
    border-radius: 16px;
  }
  .diagram-label {
    font-size: 8px;
    margin-bottom: 14px;
    letter-spacing: .045em;
  }
  .modality-mosaic {
    gap: 4px;
  }
  .modality-mosaic figure {
    border-radius: 4px;
  }
  .modality-mosaic figcaption {
    font-size: 5px;
    padding: 9px 3px 3px;
  }
  .diagram-arrow {
    font-size: 20px;
  }
  .token-grid {
    width: min(117px,100%);
    gap: 4px;
    padding: 11px;
    border-radius: 12px;
    margin-block: 24px 20px;
  }
  .token-grid i {
    border-radius: 2px;
  }
  .interface-core h3 {
    font-size: 12px;
  }
  .interface-core>p:last-child {
    font-size: 8px;
  }
  .diagram-footnote {
    font-size: 8px;
    line-height: 1.7;
    margin-top: 13px;
  }
  .interface-output {
    padding-top: 20px;
  }
  .interface-output ul {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 14px;
  }
  .interface-output li {
    font-size: 10px;
    padding-block: 9px;
    gap: 8px;
  }
  .interface-output li span {
    font-size: 8px;
  }
  .interface-note {
    font-size: 12px;
    margin-top: 22px;
  }
  .method-pair {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .method-illustration {
    min-height: 190px;
    margin-bottom: 23px;
    padding-top: 20px;
  }
  .method-article h3 {
    font-size: 25px;
    margin-block: 14px 19px;
  }
  .method-article>p:not(.eyebrow) {
    font-size: 14px;
  }
  .method-article .eyebrow {
    font-size: 10px;
  }
  .framework-details {
    margin-top: 32px;
  }
  .evidence-details>summary {
    font-size: 12px;
    min-height: 65px;
  }
  .gallery-toolbar {
    align-items: start;
    gap: 15px;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .gallery-hint {
    font-size: 10px;
  }
  .figure-link {
    padding: 10px;
  }
  .result-panel .figure-link {
    min-width: 620px;
  }
  .result-panel {
    overflow: auto;
    border-radius: 10px;
  }
  .result-panel .paper-figure {
    width: max-content;
    min-width: 100%;
  }
  .result-panel .figure-link img {
    width: 620px;
  }
  .evidence-highlights {
    gap: 22px;
    grid-template-columns: 1fr;
    margin-block: 30px;
  }
  .evidence-highlights article {
    padding-top: 19px;
  }
  .evidence-highlights strong {
    font-size: 35px;
    margin-block: 9px 6px;
  }
  .protocol-note {
    justify-content: start;
    align-items: baseline;
    padding: 16px 0;
    margin-bottom: 30px;
    font-size: 10px;
  }
  .protocol-note>span:last-child {
    flex-basis: 100%;
    line-height: 1.8;
  }
  .task-tabs {
    gap: 17px;
  }
  .task-tabs button {
    flex-basis: 132px;
    font-size: 12px;
    padding-bottom: 14px;
  }
  .task-result-layout {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: 29px;
  }
  .task-story h3 {
    font-size: 25px;
  }
  .task-story>p:not(.eyebrow):not(.metric-gain) {
    font-size: 13px;
  }
  .task-metric {
    margin-top: 20px;
  }
  .task-metric>strong {
    font-size: 57px;
  }
  .task-chart {
    padding: 22px;
  }
  .task-chart figcaption,.task-chart>p {
    font-size: 10px;
  }
  .result-model,.result-bar>strong {
    font-size: 11px;
  }
  .result-bar {
    grid-template-columns: 65px minmax(0,1fr) 49px;
    gap: 12px;
    margin-top: 24px;
  }
  .task-visual {
    margin-top: 29px;
  }
  .visual-heading {
    font-size: 10px;
    align-items: start;
  }
  .visual-heading>span:last-child {
    max-width: 160px;
    text-align: right;
  }
  .benchmark-note {
    font-size: 10px;
  }
  .ablation-controls {
    gap: 18px;
    margin-bottom: 18px;
  }
  .study-selector {
    width: 100%;
    gap: 0;
  }
  .study-selector button {
    flex: 1;
    font-size: 10px;
    padding-inline: 8px;
  }
  .metric-selector {
    gap: 22px;
  }
  .ablation-chart-scroll {
    margin-inline: -4px;
  }
  .ablation-chart {
    min-width: 395px;
    padding-inline: 20px;
  }
  .ablation-plot {
    height: 210px;
  }
  #ablation-step-title {
    font-size: 23px;
  }
  .ablation-detail {
    padding-top: 23px;
  }
  .ablation-value strong {
    font-size: 39px;
  }
  .chart-note {
    font-size: 10px;
  }
  .resource-actions {
    gap: 9px;
  }
  .resource-actions .button {
    font-size: 11px;
    padding-inline: 17px;
  }
  .quickstart-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .quickstart-layout>div:first-child {
    padding-top: 0;
  }
  .quickstart-layout h3 {
    font-size: 26px;
  }
  .quickstart-layout>div:first-child>p:not(.eyebrow) {
    font-size: 13px;
  }
  .quickstart-layout .text-link {
    font-size: 12px;
  }
  pre {
    font-size: 10px;
    padding: 17px;
  }
  .code-toolbar {
    padding-inline: 17px;
  }
  .closing-heading h2 {
    font-size: 28px;
  }
  .closing-heading>p:last-child {
    font-size: 12px;
  }
  .authors {
    font-size: 12px;
    gap: 8px 15px;
  }
  .authors sup {
    font-size: 8px;
  }
  .author-notes {
    font-size: 10px;
  }
  .affiliation-list {
    grid-template-columns: 1fr;
    font-size: 11px;
    gap: 10px;
  }
  .citation-heading h2 {
    font-size: 25px;
  }
  .citation-heading .text-link {
    font-size: 11px;
  }
  .acknowledgments .prose {
    font-size: 12px;
  }
  .image-credits ul {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .image-credits>p {
    font-size: 11px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 13px;
    padding-block: 27px;
  }
  .site-footer p {
    order: 3;
    flex-basis: 100%;
  }
  .back-to-top {
    margin-left: auto;
  }
  .figure-dialog {
    max-width: calc(100vw - 16px);
    padding-inline: 10px;
    border-radius: 9px;
  }
  .dialog-toolbar {
    gap: 10px;
  }
  #dialog-caption {
    font-size: 11px;
  }
}

@media(max-width:360px) {
  .hero h1 {
    font-size: 58px;
  }
  .hero-subtitle {
    font-size: 26px;
  }
  .hero-eyebrow {
    font-size: 7px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding-inline: 8px;
  }
  h2 {
    font-size: 29px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  /* The explanatory diagrams loop automatically; other UI follows this preference. */
  *:not(.motion-enabled, .motion-enabled *),
  *:not(.motion-enabled, .motion-enabled *)::before,
  *:not(.motion-enabled, .motion-enabled *)::after {
    animation: none!important;
    transition: none!important;
  }
}


@media(max-width:600px) {
  .interface-map {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px;
  }
  .interface-input {
    grid-column: 1;
    grid-row: auto;
  }
  .interface-input+.diagram-arrow {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    transform: rotate(90deg);
  }
  .interface-core {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    grid-template-columns: 124px minmax(0,1fr);
    gap: 8px 22px;
    align-items: center;
    text-align: left;
  }
  .interface-core .diagram-label {
    grid-column: 1/-1;
    margin-bottom: 10px;
  }
  .interface-core .token-grid {
    grid-column: 1;
    grid-row: 2/4;
    width: 124px;
    margin: 0;
  }
  .interface-core h3 {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    font-size: 15px;
  }
  .interface-core>p:last-child {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    font-size: 10px;
  }
  .interface-core+.diagram-arrow {
    display: block;
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    transform: rotate(90deg);
  }
  .interface-output {
    grid-column: 1;
    grid-row: auto;
    border-top: 0;
    padding-top: 0;
  }
  .diagram-label {
    font-size: 10px;
  }
  .modality-mosaic {
    gap: 7px;
  }
  .modality-mosaic figcaption {
    font-size: 9px;
    padding: 14px 6px 5px;
  }
  .diagram-footnote {
    font-size: 10px;
  }
  .interface-output li {
    font-size: 11px;
    line-height: 1.7;
  }
  .interface-output li span {
    font-size: 9px;
  }
}
