:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-strong: #f0f4f5;
  --ink: #182023;
  --muted: #5d686d;
  --line: #dce3e0;
  --accent: #0f6c73;
  --accent-strong: #0a4f55;
  --warm: #d56f3e;
  --green: #3d7d48;
  --gold: #b98522;
  --shadow: 0 18px 45px rgba(22, 32, 35, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

code {
  background: rgba(15, 108, 115, 0.08);
  border-radius: 5px;
  padding: 0.1rem 0.3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 224, 0.9);
  background: rgba(246, 247, 242, 0.88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0.8rem 1.25rem;
}

.brand,
.nav-links,
.button-row,
.footer-links {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #fff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.section,
.section-band {
  padding: 5rem 1.25rem;
}

.section-band {
  background:
    radial-gradient(circle at 18% 10%, rgba(213, 111, 62, 0.14), transparent 30%),
    linear-gradient(135deg, #f9faf5 0%, #edf4f2 100%);
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid,
.tldr-card,
.section-heading,
.stats-grid,
.sample-grid,
.viz-layout,
.composition-panel,
.feature-grid,
.benchmark-grid,
.release-panel,
.resource-grid,
.ethics-grid,
.pipeline,
.result-summary,
.results-grid,
.bibtex-panel,
.site-footer {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
}

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

.hero-copy,
.hero-note {
  min-width: 0;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.subtitle {
  color: var(--accent-strong);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  font-weight: 750;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 880px;
}

.subtitle span {
  display: block;
}

.hero-summary {
  color: #344247;
  font-size: 1.15rem;
  max-width: 780px;
}

.button-row {
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero .button-row {
  justify-content: center;
}

.button,
.copy-button,
.reveal-button,
.modal-close,
.nav-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  align-items: center;
  background: #fff;
  display: inline-flex;
  font-size: 0.94rem;
  gap: 0.45rem;
  padding: 0.56rem 0.86rem;
}

.button-icon {
  flex: 0 0 auto;
  height: 1.05rem;
  width: 1.05rem;
}

.hf-icon {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(22, 32, 35, 0.1);
  display: inline-flex;
  height: 1.18rem;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  width: 1.18rem;
}

.hf-face {
  display: block;
  font-size: 0.86rem;
  line-height: 1;
  transform: translateY(0.02rem);
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button:hover,
.copy-button:hover,
.reveal-button:hover,
.modal-close:hover {
  box-shadow: 0 8px 20px rgba(22, 32, 35, 0.12);
  transform: translateY(-1px);
}

.hero-note {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 227, 224, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.hero-note span {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.hero-note strong {
  font-size: 1.25rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.teaser-frame {
  background:
    radial-gradient(circle at 18% 12%, rgba(213, 111, 62, 0.32), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(15, 108, 115, 0.28), transparent 38%),
    linear-gradient(135deg, #172225 0%, #243539 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 3rem auto 0;
  max-width: var(--max);
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.teaser-frame video {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(15, 108, 115, 0.7), rgba(213, 111, 62, 0.52)),
    repeating-linear-gradient(45deg, #1c2a2d, #1c2a2d 14px, #223438 14px, #223438 28px);
  border-radius: calc(var(--radius) - 1px);
  display: block;
  object-fit: cover;
  width: 100%;
}

.tldr-section {
  padding-bottom: 2.5rem;
}

.tldr-card {
  background:
    linear-gradient(135deg, rgba(15, 108, 115, 0.1), rgba(213, 111, 62, 0.08)),
    var(--surface);
  border: 1px solid rgba(15, 108, 115, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(22, 32, 35, 0.08);
  padding: 1.35rem 1.5rem;
}

.tldr-card p:last-child {
  color: #243236;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 720;
  line-height: 1.35;
  margin: 0;
  max-width: 1040px;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 820px;
}

.section-heading.wide {
  max-width: var(--max);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.stats-grid,
.sample-grid,
.feature-grid,
.benchmark-grid,
.results-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card,
.sample-card,
.chart-card,
.feature-card,
.benchmark-card,
.table-card,
.release-panel,
.bibtex-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(22, 32, 35, 0.07);
}

.stat-card {
  min-height: 145px;
  padding: 1.2rem;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-label {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.25;
}

.text-stat {
  font-size: 1.35rem;
  line-height: 1.08;
}

.section-note,
.privacy-note {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1rem auto 0;
  max-width: var(--max);
}

.privacy-note {
  background: rgba(15, 108, 115, 0.08);
  border: 1px solid rgba(15, 108, 115, 0.16);
  border-radius: var(--radius);
  color: var(--accent-strong);
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
}

.world-shell {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: min(1320px, calc(100vw - 2.5rem));
}

.world-map {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(220, 227, 224, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.world-map {
  aspect-ratio: 1455 / 1010;
  background:
    linear-gradient(rgba(248, 247, 241, 0.2), rgba(248, 247, 241, 0.2)),
    url("../images/teaser_figure1.png") center / contain no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(238, 246, 242, 0.7)),
    radial-gradient(circle at 50% 50%, rgba(15, 108, 115, 0.12), transparent 33%),
    linear-gradient(135deg, #f8f2e8 0%, #ecf4ef 100%);
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.world-map::before,
.world-paths {
  display: none;
}

.world-paths {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.world-paths path {
  fill: none;
  stroke: rgba(15, 108, 115, 0.3);
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.world-hub {
  align-items: center;
  background: rgba(23, 34, 37, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 22px 44px rgba(22, 32, 35, 0.18);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 132px;
  justify-content: center;
  left: 50%;
  padding: 1rem;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  z-index: 2;
}

.world-map .world-hub {
  display: none;
}

.world-hit-layer {
  aspect-ratio: 1455 / 1010;
  left: 50%;
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 3;
}

.world-hub span {
  align-items: center;
  background: var(--warm);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  height: 2.3rem;
  justify-content: center;
  margin-bottom: 0.55rem;
  width: 2.3rem;
}

.world-hub strong {
  font-size: 1.05rem;
  line-height: 1.15;
}

.world-hub small,
.domain-node small,
.domain-node em {
  display: block;
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.25;
}

.world-hub small {
  color: #cbd7d5;
  margin-top: 0.35rem;
}

.domain-node {
  background: var(--button-image) center / 100% 100% no-repeat;
  border: 0;
  border-radius: 9px;
  box-shadow:
    0 2px 4px rgba(255, 255, 255, 0.95) inset,
    0 2px 0 rgba(255, 255, 255, 0.78),
    0 14px 24px rgba(22, 32, 35, 0.24),
    0 4px 8px rgba(22, 32, 35, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  height: 26.1%;
  min-height: 0;
  padding: 0;
  position: absolute;
  text-align: left;
  transition: box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
  width: 18.8%;
  z-index: 4;
}

.domain-node::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.56;
  position: absolute;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.domain-node:hover,
.domain-node:focus-visible {
  filter: saturate(1.08) contrast(1.03);
  box-shadow:
    0 2px 4px rgba(255, 255, 255, 0.95) inset,
    0 2px 0 rgba(255, 255, 255, 0.8),
    0 24px 42px rgba(22, 32, 35, 0.34),
    0 8px 16px rgba(22, 32, 35, 0.2),
    0 0 0 3px rgba(255, 255, 255, 0.92),
    0 0 0 6px rgba(15, 108, 115, 0.34);
  outline: none;
  transform: translateY(-4px) scale(1.018);
  z-index: 6;
}

.domain-node.is-active {
  filter: saturate(1.06) contrast(1.02);
  box-shadow:
    0 2px 4px rgba(255, 255, 255, 0.95) inset,
    0 2px 0 rgba(255, 255, 255, 0.8),
    0 20px 36px rgba(22, 32, 35, 0.3),
    0 6px 12px rgba(22, 32, 35, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 6px rgba(15, 108, 115, 0.28);
  z-index: 5;
}

.domain-node:hover::before,
.domain-node:focus-visible::before {
  opacity: 0.76;
}

.domain-node > * {
  opacity: 0;
}

.domain-icon {
  align-items: center;
  background: rgba(15, 108, 115, 0.1);
  border-radius: 6px;
  color: var(--accent-strong);
  display: inline-flex;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  margin: 0 0.35rem 0 0;
  width: 2rem;
}

.domain-node strong {
  display: inline;
  font-size: 0.85rem;
  line-height: 1;
  margin-bottom: 0;
}

.domain-node small {
  display: none;
}

.domain-node em {
  color: var(--accent-strong);
  display: inline;
  font-weight: 850;
  margin-left: 0.25rem;
}

.node-lab { --button-image: url("../images/world_buttons/research_lab.png"); left: 0.42%; top: 0.6%; width: 17.4%; height: 22.8%; }
.node-repair { --button-image: url("../images/world_buttons/repair_workshop.png"); left: 0.42%; top: 25.2%; width: 17.4%; height: 23.1%; }
.node-craft { --button-image: url("../images/world_buttons/craft.png"); left: 0.62%; top: 50%; width: 17.2%; height: 21.2%; }
.node-office { --button-image: url("../images/world_buttons/office.png"); left: 0.55%; top: 72.4%; width: 17.25%; height: 20.4%; }
.node-kitchen { --button-image: url("../images/world_buttons/kitchen.png"); left: 81.8%; top: 0.8%; width: 17.1%; height: 22.6%; }
.node-classroom { --button-image: url("../images/world_buttons/classroom.png"); left: 82.3%; top: 29.2%; width: 16.5%; height: 21.8%; }
.node-household { --button-image: url("../images/world_buttons/household.png"); left: 82.2%; top: 63.5%; width: 16.7%; height: 21.8%; }

.world-detail {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 80;
}

.world-detail.is-open {
  display: block;
}

.world-detail-backdrop {
  background: rgba(10, 15, 16, 0.7);
  inset: 0;
  position: absolute;
}

.world-detail-panel {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(230px, 0.48fr) minmax(0, 1fr);
  height: min(760px, calc(100vh - 2rem));
  left: 50%;
  max-width: min(1120px, calc(100vw - 2rem));
  min-height: 0;
  overflow: hidden;
  padding: 1.25rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.world-detail-heading h3 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.world-detail-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.scenario-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.85rem;
}

.scenario-actions span {
  background: rgba(15, 108, 115, 0.08);
  border: 1px solid rgba(15, 108, 115, 0.14);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.34rem 0.54rem;
}

.scenario-trigger {
  background: rgba(213, 111, 62, 0.1);
  border: 1px solid rgba(213, 111, 62, 0.18);
  border-radius: 6px;
  color: #724028 !important;
  font-size: 0.88rem !important;
  font-weight: 700;
  padding: 0.7rem;
}

.world-close {
  background: rgba(15, 108, 115, 0.1);
  border: 1px solid rgba(15, 108, 115, 0.18);
  border-radius: 999px;
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.45rem 0.7rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.world-sample-list {
  display: grid;
  gap: 0.85rem;
  min-height: 0;
}

.world-carousel {
  display: grid;
  gap: 0.75rem;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
}

.world-carousel-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.world-carousel-header span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.carousel-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(22, 32, 35, 0.16);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  transition: border-color 140ms ease, color 140ms ease, transform 140ms ease;
  transform: translateY(-50%);
  width: 2rem;
  z-index: 5;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  border-color: rgba(15, 108, 115, 0.45);
  color: var(--accent-strong);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.world-carousel-viewport {
  border-radius: var(--radius);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.carousel-arrow-left {
  left: 0.65rem;
}

.carousel-arrow-right {
  right: 0.65rem;
}

.world-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 220ms ease;
  will-change: transform;
}

.world-carousel-dots {
  align-items: center;
  display: flex;
  gap: 0.42rem;
  justify-content: center;
}

.carousel-dot {
  background: rgba(93, 104, 109, 0.24);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 0.5rem;
  padding: 0;
  transition: background 140ms ease, width 140ms ease;
  width: 0.5rem;
}

.carousel-dot.is-active,
.carousel-dot:hover,
.carousel-dot:focus-visible {
  background: var(--accent);
  outline: none;
  width: 1.35rem;
}

.world-sample-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  flex: 0 0 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.world-media {
  background:
    linear-gradient(135deg, rgba(15, 108, 115, 0.55), rgba(181, 133, 34, 0.42)),
    #203033;
  display: grid;
  min-height: 0;
  place-items: center;
  position: relative;
}

.world-media video {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.world-sample-body {
  padding: 0.85rem 1rem 0.95rem;
}

.world-sample-body h3 {
  font-size: 1.12rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.world-sample-body p {
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

.world-sample-body p,
.world-sample-body dd,
.empty-domain p {
  color: var(--muted);
}

.world-sample-body dl {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 1rem;
}

.world-sample-body dt {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.world-sample-body dd {
  font-size: 0.9rem;
  margin: 0 0 0.45rem;
}

.empty-domain {
  background: linear-gradient(135deg, rgba(15, 108, 115, 0.08), rgba(213, 111, 62, 0.08));
  border: 1px dashed rgba(15, 108, 115, 0.25);
  border-radius: var(--radius);
  padding: 1rem;
}

.empty-domain strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.sample-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sample-card {
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.sample-card button {
  all: unset;
  cursor: pointer;
  display: block;
  height: 100%;
  width: 100%;
}

.sample-media,
.bench-media {
  background:
    linear-gradient(135deg, rgba(15, 108, 115, 0.55), rgba(181, 133, 34, 0.42)),
    repeating-linear-gradient(45deg, #203033, #203033 12px, #283a3e 12px, #283a3e 24px);
  position: relative;
}

.sample-media video,
.bench-media video {
  aspect-ratio: 16 / 10;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-placeholder {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: none;
  font-weight: 800;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
}

.sample-media.media-error .media-placeholder,
.bench-media.media-error .media-placeholder,
.world-media.media-error .media-placeholder {
  display: flex;
}

.sample-body,
.benchmark-body {
  padding: 1.1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.tag {
  background: var(--surface-strong);
  border-radius: 999px;
  color: #344247;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.28rem 0.5rem;
}

.tag.reasoning {
  background: rgba(213, 111, 62, 0.13);
  color: #8d3f1e;
}

.sample-body p,
.feature-card p,
.benchmark-body p,
.chart-card p,
.release-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.composition-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(22, 32, 35, 0.08);
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
}

.composition-intro {
  display: block;
}

.composition-label {
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.composition-intro h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
}

.domain-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-top: 1rem;
}

.domain-strip span {
  background: var(--surface-strong);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: 999px;
  color: #314247;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.58rem 0.72rem;
}

.composition-metrics {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, 1fr);
}

.composition-metrics article {
  background:
    linear-gradient(180deg, rgba(15, 108, 115, 0.07), rgba(15, 108, 115, 0.02)),
    var(--surface-strong);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: var(--radius);
  padding: 1rem;
}

.composition-metrics strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 0.95;
}

.composition-metrics span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  margin-top: 0.65rem;
}

.composition-detail {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.composition-card {
  background: #fbfcf9;
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: var(--radius);
  padding: 1rem;
}

.composition-card-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.composition-card-heading span {
  font-size: 0.95rem;
  font-weight: 850;
}

.composition-card-heading strong {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 850;
}

.qa-composition {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 180px minmax(0, 1fr);
}

.qa-waffle {
  background: var(--surface);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: var(--radius);
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.8rem;
}

.qa-waffle span {
  aspect-ratio: 1;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 14px rgba(22, 32, 35, 0.08);
}

.qa-human { background: var(--accent); }
.qa-spatial { background: var(--warm); }

.qa-summary {
  display: grid;
  gap: 0.62rem;
}

.qa-summary div {
  align-items: center;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: auto 1fr auto;
}

.qa-summary i {
  border-radius: 50%;
  display: block;
  height: 0.62rem;
  width: 0.62rem;
}

.qa-summary span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.qa-summary strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.qa-summary .qa-hours {
  background: rgba(15, 108, 115, 0.06);
  border: 1px solid rgba(15, 108, 115, 0.12);
  border-radius: var(--radius);
  grid-template-columns: 1fr auto;
  margin-top: 0.25rem;
  padding: 0.62rem 0.7rem;
}

.track-affordance { background: var(--accent); }
.track-grounding { background: var(--warm); }
.track-procedural { background: var(--green); }
.track-spatial { background: #496f88; }

.track-donut-layout {
  align-items: center;
  display: grid;
  gap: 1.05rem;
  grid-template-columns: 168px minmax(0, 1fr);
}

.track-donut {
  align-items: center;
  aspect-ratio: 1;
  background:
    conic-gradient(
      var(--accent) 0 36.3%,
      var(--warm) 36.3% 59.9%,
      var(--green) 59.9% 82.1%,
      #496f88 82.1% 100%
    );
  border-radius: 50%;
  box-shadow:
    0 16px 28px rgba(22, 32, 35, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 168px;
  padding: 0.9rem;
  position: relative;
  width: 100%;
}

.track-donut::before {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), transparent 34%),
    var(--surface);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(220, 227, 224, 0.95);
  content: "";
  inset: 1.45rem;
  position: absolute;
}

.track-donut-center {
  position: relative;
  text-align: center;
  z-index: 1;
}

.track-donut-center strong {
  display: block;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1;
}

.track-donut-center span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  margin-top: 0.32rem;
  text-transform: uppercase;
}

.track-list {
  display: grid;
  gap: 0.62rem;
  grid-template-columns: 1fr;
}

.track-list span {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 0.83rem;
  font-weight: 750;
  gap: 0.5rem;
  grid-template-columns: auto 1fr auto;
}

.track-list i {
  border-radius: 50%;
  display: block;
  height: 0.6rem;
  width: 0.6rem;
}

.track-list strong {
  color: var(--ink);
}

.pipeline-strip {
  background: var(--surface-strong);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}

.pipeline-strip span {
  align-items: center;
  background: #fff;
  color: #3d4b50;
  display: flex;
  font-size: 0.82rem;
  font-weight: 850;
  justify-content: center;
  min-height: 54px;
  padding: 0.65rem;
  text-align: center;
}

.timeline {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr 1.15fr 1fr 0.75fr 1.2fr 1.1fr;
  margin: 1.2rem 0;
}

.timeline-segment {
  align-items: center;
  border-radius: 6px;
  color: #fff;
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 72px;
  padding: 0.75rem;
}

.collect { background: var(--accent); }
.act { background: var(--warm); }
.outcome { background: var(--green); }
.query { background: var(--gold); }
.eval { background: #6f5aa7; }
.model { background: #486d87; }

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 1.25rem;
}

.feature-number {
  color: var(--warm);
  display: block;
  font-size: 0.85rem;
  font-weight: 850;
  margin-bottom: 2.5rem;
}

.benchmark-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benchmark-game {
  display: grid;
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: min(calc(var(--max) + 96px), calc(100vw - 2.5rem));
  width: 100%;
}

.benchmark-game .benchmark-grid {
  max-width: none;
  width: 100%;
}

.benchmark-scoreboard {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 108, 115, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(22, 32, 35, 0.08);
  color: var(--ink);
  display: inline-grid;
  gap: 0.85rem;
  grid-template-columns: auto 132px;
  justify-self: end;
  padding: 0.58rem 0.72rem 0.58rem 0.9rem;
}

.score-kicker {
  color: var(--accent-strong);
  display: block;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 0.12rem;
  text-transform: uppercase;
}

.benchmark-scoreboard strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.1;
}

.score-track {
  background: rgba(15, 108, 115, 0.13);
  border-radius: 999px;
  height: 0.42rem;
  overflow: hidden;
}

.score-track span {
  background: linear-gradient(90deg, var(--accent), var(--warm));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 240ms ease;
  width: 0;
}

.benchmark-card {
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.benchmark-body {
  display: grid;
}

.benchmark-card.is-correct {
  border-color: rgba(61, 125, 72, 0.55);
  box-shadow: 0 14px 36px rgba(61, 125, 72, 0.16);
}

.benchmark-card.is-wrong {
  border-color: rgba(213, 111, 62, 0.45);
  box-shadow: 0 14px 36px rgba(213, 111, 62, 0.14);
}

.option-list {
  display: grid;
  gap: 0.4rem;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.option-list li {
  background: var(--surface-strong);
  border-radius: 6px;
  font-size: 0.92rem;
  padding: 0.55rem 0.7rem;
}

.benchmark-card-top {
  align-items: start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.benchmark-card-top .tag-row {
  margin-bottom: 0;
}

.tag.difficulty {
  background: rgba(15, 108, 115, 0.1);
  color: var(--accent-strong);
}

.quiz-result-pill {
  background: #10191c;
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.34rem 0.55rem;
}

.benchmark-card.is-correct .quiz-result-pill {
  background: #2f6f3a;
}

.benchmark-card.is-wrong .quiz-result-pill {
  background: #a94e29;
}

.quiz-question {
  color: #263438;
  font-weight: 680;
  line-height: 1.45;
  margin: 0.75rem 0 1rem;
}

@media (min-width: 981px) {
  .benchmark-card-top {
    min-height: 2rem;
  }

  .benchmark-body h3 {
    min-height: 2.7rem;
  }

  .quiz-question {
    align-items: start;
    display: flex;
    min-height: 7.8rem;
  }
}

.quiz-options {
  display: grid;
  gap: 0.48rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}

.quiz-option {
  align-items: start;
  background: #f7faf9;
  border: 1px solid rgba(20, 35, 38, 0.11);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #1b292d;
  cursor: pointer;
  display: grid;
  font-size: 0.82rem;
  font-weight: 680;
  gap: 0.48rem;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.28;
  min-height: 3.3rem;
  padding: 0.58rem;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
  background: #fff;
  border-color: rgba(15, 108, 115, 0.42);
  box-shadow: 0 8px 18px rgba(20, 35, 38, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.choice-letter {
  align-items: center;
  background: #e7efee;
  border-radius: 50%;
  color: var(--accent-strong);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 1.55rem;
  justify-content: center;
  width: 1.55rem;
}

.quiz-option.is-selected {
  border-color: rgba(15, 108, 115, 0.72);
  box-shadow: 0 0 0 3px rgba(15, 108, 115, 0.12);
}

.quiz-option.is-answer {
  background: rgba(61, 125, 72, 0.12);
  border-color: rgba(61, 125, 72, 0.6);
}

.quiz-option.is-answer .choice-letter {
  background: #2f6f3a;
  color: #fff;
}

.quiz-option.is-miss {
  background: rgba(213, 111, 62, 0.12);
  border-color: rgba(213, 111, 62, 0.58);
}

.quiz-option.is-miss .choice-letter {
  background: #a94e29;
  color: #fff;
}

.evidence-timeline {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  position: relative;
}

.evidence-timeline::before {
  background: rgba(15, 108, 115, 0.18);
  bottom: 0.75rem;
  content: "";
  left: 0.43rem;
  position: absolute;
  top: 0.75rem;
  width: 2px;
}

.evidence-moment {
  align-items: baseline;
  color: #425157;
  display: flex;
  font-size: 0.84rem;
  font-weight: 750;
  gap: 0.35rem;
  padding-left: 1.35rem;
  position: relative;
}

.evidence-moment::before {
  background: var(--accent);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15, 108, 115, 0.25);
  content: "";
  height: 0.7rem;
  left: 0.08rem;
  position: absolute;
  top: 0.32rem;
  width: 0.7rem;
}

.evidence-moment strong {
  color: #223034;
  flex: 0 0 auto;
  font-weight: 850;
}

.evidence-moment em {
  color: #425157;
  font-style: normal;
  font-weight: 750;
}

.evidence-moment em::before {
  color: rgba(66, 81, 87, 0.74);
  content: "—";
  margin-right: 0.35rem;
}

.reveal-button,
.copy-button,
.modal-close,
.nav-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding: 0.6rem 0.85rem;
}

.answer-box {
  background: #fbfdfb;
  border: 1px solid rgba(15, 108, 115, 0.18);
  border-radius: var(--radius);
  display: none;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.9rem;
}

.answer-box.is-visible {
  display: grid;
}

.reveal-block {
  border-top: 1px solid rgba(220, 227, 224, 0.86);
  display: grid;
  gap: 0.34rem;
  padding-top: 0.75rem;
}

.reveal-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.reveal-label {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.answer-box strong {
  color: #1d2a2e;
  font-size: 0.92rem;
  line-height: 1.35;
}

.answer-box p {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.answer-box .evidence-timeline {
  margin: 0.1rem 0 0;
}

.release-panel {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  padding: 1.5rem;
}

.release-links {
  display: grid;
  gap: 0.7rem;
}

.release-links a {
  background: var(--surface-strong);
  border-radius: 6px;
  font-weight: 750;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
}

.resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card,
.ethics-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(22, 32, 35, 0.07);
  padding: 1.15rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.resource-card h3 {
  font-size: 1.08rem;
}

.resource-card span,
.result-summary span {
  color: var(--accent-strong);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.resource-card p,
.result-summary p,
.ethics-card p,
.faq-card dd {
  color: var(--muted);
}

.resource-card p {
  font-size: 0.92rem;
}

.resource-card a {
  align-self: flex-start;
  background: var(--surface-strong);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  margin-top: auto;
  padding: 0.48rem 0.68rem;
  text-decoration: none;
}

.ethics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.ethics-card {
  background:
    linear-gradient(135deg, rgba(15, 108, 115, 0.07), rgba(255, 255, 255, 0)),
    var(--surface);
}

.faq-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.faq-card dt {
  color: var(--ink);
  font-weight: 850;
}

.faq-card dd {
  margin: -0.45rem 0 0;
}

.pipeline {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(6, 1fr);
}

.pipeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 150px;
  padding: 1rem;
  position: relative;
}

.pipeline-step span {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-weight: 850;
  height: 2rem;
  justify-content: center;
  margin-bottom: 2.4rem;
  width: 2rem;
}

.pipeline-step p {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0.75rem 0 0;
}

.results-grid {
  grid-template-columns: 1fr;
}

.result-summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.result-summary article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 227, 224, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(22, 32, 35, 0.06);
  padding: 1.1rem;
}

.result-summary strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.55rem;
}

.result-summary p {
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0;
}

.table-card {
  overflow-x: auto;
  padding: 1.25rem;
}

.reference-results-card,
.transfer-results-card {
  overflow: hidden;
}

.result-card-heading {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  margin-bottom: 1.25rem;
}

.result-card-heading.compact {
  display: block;
}

.result-card-heading h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin: 0;
}

.result-card-heading > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.sft-stage-summary {
  align-items: stretch;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  margin-bottom: 1rem;
  padding: 0.85rem;
}

.sft-stage {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  min-height: 150px;
  padding: 0.9rem;
}

.sft-stage-final {
  background: linear-gradient(145deg, rgba(15, 108, 115, 0.13), rgba(255, 255, 255, 0.95));
  border-color: rgba(15, 108, 115, 0.5);
  box-shadow: 0 10px 24px rgba(15, 108, 115, 0.1);
}

.sft-stage > span,
.training-result-stats span,
.training-recipe section > span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sft-stage strong {
  align-self: start;
  font-size: 0.92rem;
  line-height: 1.3;
  margin: 0.25rem 0;
}

.sft-stage b {
  font-size: 1.75rem;
  line-height: 1.1;
}

.sft-stage small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.45rem;
}

.sft-stage-bar {
  align-self: end;
  background: #dfe7e4;
  border-radius: 999px;
  height: 7px;
  margin-top: 0.65rem;
  overflow: hidden;
  width: 100%;
}

.sft-stage-bar span {
  background: var(--accent);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--score);
}

.sft-stage-base .sft-stage-bar span {
  background: #738084;
}

.sft-stage-final .sft-stage-bar span {
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.sft-stage-arrow {
  align-self: center;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.training-result-stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem 0;
}

.training-result-stats article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem;
}

.training-result-stats strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.15;
  margin: 0.25rem 0 0.4rem;
}

.training-result-stats p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 0;
}

.result-table-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.result-table-wrap:focus-visible {
  outline: 3px solid rgba(15, 108, 115, 0.25);
  outline-offset: 3px;
}

.reference-results-table,
.transfer-results-table {
  font-variant-numeric: tabular-nums;
  min-width: 760px;
}

.reference-results-table th:not(:first-child),
.reference-results-table td,
.transfer-results-table th:not(:first-child),
.transfer-results-table td {
  text-align: right;
}

.reference-results-table tbody th,
.transfer-results-table tbody th {
  color: var(--ink);
  font-size: 0.9rem;
  min-width: 290px;
}

.reference-model-row {
  background: rgba(15, 108, 115, 0.07);
}

.reference-model-row th {
  border-left: 3px solid var(--accent);
}

.reference-model-row th > span {
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  margin-right: 0.5rem;
  padding: 0.18rem 0.45rem;
  text-transform: uppercase;
  vertical-align: 0.1rem;
}

.track-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.85rem 0 0;
}

.track-legend div {
  align-items: baseline;
  display: flex;
  gap: 0.3rem;
}

.track-legend dt {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
}

.track-legend dd {
  color: var(--muted);
  font-size: 0.76rem;
  margin: 0;
}

.result-interpretation,
.transfer-interpretation {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 1.15rem 0 0;
}

.method-note {
  background: rgba(213, 111, 62, 0.08);
  border-left: 4px solid var(--warm);
  border-radius: 4px var(--radius) var(--radius) 4px;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.method-note strong {
  color: #864122;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.method-note p {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.training-recipe {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 1rem;
}

.training-recipe summary {
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 850;
  padding: 0.85rem 1rem;
}

.training-recipe[open] summary {
  border-bottom: 1px solid var(--line);
}

.training-recipe-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
}

.training-recipe section {
  min-width: 0;
}

.training-recipe h4 {
  font-size: 0.95rem;
  margin: 0.15rem 0 0.5rem;
}

.training-recipe ul {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  padding-left: 1.1rem;
}

.transfer-results-card {
  background: rgba(255, 255, 255, 0.78);
}

.transfer-results-card .result-card-heading h3 {
  font-size: 1.25rem;
}

.transfer-results-table {
  min-width: 650px;
}

table {
  border-collapse: collapse;
  min-width: 650px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
}

th {
  color: var(--accent-strong);
  font-size: 0.85rem;
}

.bibtex-panel {
  padding: 1.25rem;
  position: relative;
}

.copy-button {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
}

pre {
  background: #101719;
  border-radius: 6px;
  color: #e9f2ef;
  margin: 0;
  overflow-x: auto;
  padding: 4rem 1rem 1rem;
}

pre code {
  background: transparent;
  padding: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 2rem 1.25rem;
}

.site-footer span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  background: rgba(10, 15, 16, 0.72);
  inset: 0;
  position: absolute;
}

.modal-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  left: 50%;
  max-height: min(780px, calc(100vh - 2rem));
  max-width: min(1080px, calc(100vw - 2rem));
  overflow: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.modal-panel video {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(15, 108, 115, 0.65), rgba(213, 111, 62, 0.5)),
    #1b2a2d;
  height: auto;
  max-height: min(720px, calc(100vh - 2rem));
  object-fit: contain;
  width: 100%;
}

.modal-content {
  padding: 1.5rem;
}

.modal-content dl {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.modal-content dt {
  color: var(--accent-strong);
  font-weight: 850;
}

.modal-content dd {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-grid,
  .world-shell,
  .release-panel,
  .modal-panel {
    grid-template-columns: 1fr;
  }

  .world-detail-panel {
    gap: 0.85rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100vh - 1rem);
    max-width: calc(100vw - 1rem);
    padding: 0.9rem;
  }

  .world-detail-heading {
    padding-right: 4.25rem;
  }

  .world-detail-heading h3 {
    font-size: 1.55rem;
    margin-bottom: 0.4rem;
  }

  .world-detail-heading p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 0;
  }

  .world-close {
    right: 0.85rem;
    top: 0.85rem;
  }

  .stats-grid,
  .feature-grid,
  .pipeline,
  .result-summary,
  .resource-grid,
  .ethics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-card-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .sft-stage-summary {
    grid-template-columns: 1fr;
  }

  .sft-stage-arrow {
    justify-self: center;
    line-height: 1;
    transform: rotate(90deg);
  }

  .training-result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-grid,
  .benchmark-grid,
  .viz-layout,
  .composition-intro,
  .composition-detail {
    grid-template-columns: 1fr;
  }

  .benchmark-scoreboard {
    grid-template-columns: 1fr;
  }

  .domain-strip {
    justify-content: flex-start;
  }

  .world-map {
    min-height: 520px;
  }

  .modal-panel video {
    max-height: min(620px, calc(100vh - 2rem));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    left: 1rem;
    padding: 0.75rem;
    position: absolute;
    right: 1rem;
    top: 4rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .stats-grid,
  .feature-grid,
  .pipeline,
  .result-summary,
  .resource-grid,
  .ethics-grid,
  .donut-row,
  .composition-metrics,
  .domain-summary,
  .pipeline-strip,
  .timeline {
    grid-template-columns: 1fr;
  }

  .reference-results-card,
  .transfer-results-card {
    padding: 1rem;
  }

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

  .sft-stage {
    min-height: 138px;
  }

  .track-legend {
    display: grid;
    grid-template-columns: 1fr;
  }

  .composition-panel {
    padding: 1rem;
  }

  .qa-composition,
  .track-donut-layout,
  .track-list {
    grid-template-columns: 1fr;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .benchmark-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .quiz-option {
    min-height: 0;
  }

  .world-map {
    aspect-ratio: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(238, 246, 242, 0.7)),
      radial-gradient(circle at 50% 50%, rgba(15, 108, 115, 0.12), transparent 33%),
      linear-gradient(135deg, #f8f2e8 0%, #ecf4ef 100%);
    display: grid;
    gap: 0.75rem;
    min-height: auto;
    padding: 1rem;
  }

  .world-map::before,
  .world-paths {
    display: none;
  }

  .world-hub,
  .domain-node {
    height: auto;
    left: auto;
    min-height: 0;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .world-hub {
    border-radius: var(--radius);
    padding: 1rem;
  }

  .world-map .world-hub {
    display: flex;
  }

  .world-hit-layer {
    aspect-ratio: auto;
    display: grid;
    gap: 0.75rem;
    left: auto;
    max-height: none;
    max-width: none;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
  }

  .domain-node {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(220, 227, 224, 0.95);
    border-radius: var(--radius);
    box-shadow: 0 12px 25px rgba(22, 32, 35, 0.1);
    display: grid;
    gap: 0.25rem;
    grid-template-columns: auto 1fr;
    padding: 0.85rem;
  }

  .domain-node:hover,
  .domain-node:focus-visible,
  .domain-node.is-active {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 108, 115, 0.45);
    border-radius: var(--radius);
    box-shadow: 0 12px 25px rgba(22, 32, 35, 0.1);
    transform: none;
  }

  .domain-node::before {
    display: none;
  }

  .domain-icon {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .domain-node strong,
  .domain-node small,
  .domain-node em {
    display: block;
    opacity: 1;
  }

  .domain-node strong {
    font-size: 1rem;
  }

  .domain-node em {
    margin-left: 0;
  }

  .world-detail {
    max-height: none;
  }

  .world-carousel-header {
    flex-wrap: wrap;
  }

  .section,
  .section-band {
    padding: 3.5rem 1rem;
  }

  .button-row {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
  }

  .hero .button-row {
    justify-content: flex-start;
  }

  .button {
    font-size: 0.9rem;
    max-width: 100%;
    padding: 0.46rem 0.7rem;
    text-align: center;
  }

  .subtitle,
  .hero-summary {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4rem);
  }

  .subtitle {
    font-size: 1.25rem;
    line-height: 1.15;
  }

  .hero-copy {
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    width: 100%;
  }

  .teaser-frame {
    max-width: 100%;
    padding: 0;
    width: 100%;
  }

  .bar-row {
    grid-template-columns: 84px 1fr 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Release-readiness refactor */
:root {
  --max: 1240px;
  --header-height: 66px;
  --focus: #0b6970;
}

html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

html.is-scroll-locked,
body.is-scroll-locked {
  overflow-y: hidden;
}

.skip-link {
  background: var(--ink);
  border-radius: 0 0 6px 6px;
  color: #fff;
  font-weight: 800;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -5rem;
  transition: top 120ms ease;
  z-index: 200;
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

:where(a, button, summary, [tabindex], video[controls]):focus-visible {
  outline: 3px solid rgba(11, 105, 112, 0.52);
  outline-offset: 3px;
}

.eyebrow,
.score-kicker,
.composition-label,
.reveal-label,
.resource-group-label,
.status-pill,
.reference-badge,
.sft-stage > span,
.training-recipe section > span {
  letter-spacing: 0;
}

h2 {
  font-size: 3.25rem;
}

.subtitle {
  font-size: 2.2rem;
}

.section,
.section-band {
  padding-block: 4.5rem;
}

.section-band {
  background: #eef4f2;
}

.section-heading {
  margin-bottom: 1.65rem;
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
}

.nav-shell {
  min-height: var(--header-height);
  padding-block: 0.65rem;
}

.nav-links {
  gap: 0.2rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  background: var(--accent);
  border-radius: 999px;
  bottom: 0.2rem;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 160ms ease;
  width: calc(100% - 1.2rem);
}

.nav-links a.is-active,
.nav-links a[aria-current="location"] {
  color: var(--accent-strong);
}

.nav-links a.is-active::after,
.nav-links a[aria-current="location"]::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
  align-items: center;
  gap: 0.45rem;
}

.nav-toggle-icon {
  border-bottom: 2px solid currentColor;
  border-top: 2px solid currentColor;
  display: inline-block;
  height: 0.75rem;
  position: relative;
  width: 1rem;
}

.nav-toggle-icon::after {
  border-top: 2px solid currentColor;
  content: "";
  left: 0;
  position: absolute;
  top: 0.25rem;
  width: 100%;
}

.hero {
  background: #eef4f2;
  padding-bottom: 3.75rem;
  padding-top: 4.5rem;
}

.hero-copy {
  max-width: 1120px;
}

.hero h1 {
  font-size: 7.5rem;
}

.author-list {
  color: #2b393d;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.75;
  margin: 1.25rem 0 0.55rem;
  max-width: 1120px;
}

.author-list sup,
.affiliation-list sup,
.author-notes sup {
  color: var(--accent-strong);
  font-size: 0.68em;
  font-weight: 900;
  margin-left: 0.08rem;
}

.affiliation-list,
.author-notes {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  gap: 0.25rem 1rem;
  line-height: 1.45;
  margin: 0;
  max-width: 1080px;
}

.author-notes {
  font-size: 0.7rem;
  margin-top: 0.4rem;
}

.hero .button-row {
  justify-content: flex-start;
  margin-top: 1.2rem;
}

.button-disabled {
  background: rgba(255, 255, 255, 0.62);
  color: #667277;
  cursor: default;
  opacity: 0.85;
}

.button-disabled small {
  background: #e7ecea;
  border-radius: 999px;
  color: #526065;
  font-size: 0.62rem;
  padding: 0.12rem 0.35rem;
}

.teaser-frame {
  margin-top: 2rem;
}

.hero-summary {
  color: #344247;
  font-size: 1.05rem;
  margin: 1.25rem auto 0;
  max-width: 820px;
  text-align: center;
}

.tldr-section {
  padding-block: 2.75rem 3.25rem;
}

.tldr-card {
  align-items: center;
  background: var(--surface);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  padding: 1.25rem;
}

.tldr-card h2 {
  font-size: 2.15rem;
  margin-bottom: 0.65rem;
}

.tldr-card > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.5;
}

.headline-stats {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.headline-stats article {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 112px;
  padding: 0.9rem;
}

.headline-stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.headline-stats span {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.25;
}

.headline-stats .headline-result {
  background: #173033;
  border-color: #173033;
  color: #fff;
}

.headline-stats .headline-result span {
  color: #d8e7e4;
}

.feature-number {
  margin-bottom: 1.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.coverage-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.9rem 0 0;
}

.composition-intro h3 {
  font-size: 1.8rem;
}

.world-detail-heading h3 {
  font-size: 2.5rem;
}

.coverage-note strong {
  color: var(--ink);
  font-size: 1rem;
}

.domain-explore {
  align-items: center;
  background: rgba(20, 31, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  bottom: 0.45rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 850;
  gap: 0.2rem;
  opacity: 1 !important;
  padding: 0.26rem 0.42rem;
  position: absolute;
  right: 0.45rem;
  text-shadow: none;
  z-index: 2;
}

.domain-node:hover .domain-explore,
.domain-node:focus-visible .domain-explore {
  background: var(--accent-strong);
}

.world-close,
.modal-close,
.icon-button {
  align-items: center;
  display: inline-flex;
  font-size: 1.35rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 2.5rem;
}

.benchmark-scoreboard {
  grid-template-columns: auto 120px;
}

.score-track {
  position: relative;
}

.quiz-option:disabled {
  cursor: default;
  opacity: 1;
}

.choice-status {
  align-items: center;
  color: #334448;
  display: flex;
  font-size: 0.68rem;
  font-weight: 850;
  gap: 0.25rem;
  grid-column: 1 / -1;
  padding-left: 2.05rem;
}

.quiz-option.is-answer .choice-status {
  color: #245b2d;
}

.quiz-option.is-miss .choice-status {
  color: #8b3d20;
}

.answer-outcome {
  align-items: start;
  background: #eef4f2;
  border-radius: 6px;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto 1fr;
  padding: 0.75rem;
}

.answer-outcome > span {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 1.55rem;
  justify-content: center;
  width: 1.55rem;
}

.answer-outcome.matches-label > span {
  background: var(--green);
}

.answer-outcome p {
  margin-top: 0.15rem;
}

.benchmark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.secondary-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 0.3rem;
  padding: 0.45rem 0.58rem;
}

.main-results-panel,
.generalization-panel,
.resource-status-panel,
.faq-list {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
  min-width: 0;
  width: 100%;
}

.main-results-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(22, 32, 35, 0.08);
  padding: 1.35rem;
}

.sft-progression {
  align-items: stretch;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  padding: 0.85rem;
}

.sft-stage-0 .sft-stage-bar span {
  background: #738084;
}

.result-analysis-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  min-width: 0;
}

.result-chart-panel,
.result-table-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  padding: 1rem;
}

.result-table-wrap {
  contain: inline-size layout paint;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.result-chart-panel header,
.result-table-panel header {
  margin-bottom: 1rem;
}

.result-chart-panel h3,
.result-table-panel h3 {
  font-size: 1.15rem;
  margin: 0;
}

.sft-track-chart {
  display: grid;
  gap: 0.65rem;
}

.result-metric {
  align-items: center;
  background: #f8faf9;
  border-radius: 6px;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 74px minmax(0, 1fr);
  padding: 0.7rem;
}

.result-metric > strong {
  color: var(--accent-strong);
  font-size: 0.84rem;
}

.result-metric-bars {
  display: grid;
  gap: 0.34rem;
}

.result-bar-row {
  align-items: center;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 116px minmax(0, 1fr) 66px;
}

.result-bar-row > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.result-bar-row > i {
  background: #dfe7e4;
  border-radius: 999px;
  display: block;
  height: 0.48rem;
  overflow: hidden;
}

.result-bar-row > i > b {
  background: #758185;
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--score);
}

.result-bar-row.model-1 > i > b {
  background: var(--accent);
}

.result-bar-row.model-2 > i > b {
  background: var(--warm);
}

.result-bar-row.is-best > i {
  box-shadow: 0 0 0 2px rgba(24, 32, 35, 0.18);
}

.result-bar-row > em {
  color: var(--ink);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  text-align: right;
}

.result-bar-row > em small {
  color: var(--accent-strong);
  display: inline-block;
  font-size: 0.58rem;
  margin-left: 0.25rem;
  text-transform: uppercase;
}

.reference-results-table,
.transfer-results-table {
  min-width: 720px;
}

.reference-results-table tbody th,
.transfer-results-table tbody th {
  min-width: 300px;
}

.best-value {
  background: rgba(15, 108, 115, 0.08);
}

.reference-badge {
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.6rem;
  margin-right: 0.4rem;
  padding: 0.18rem 0.38rem;
  text-transform: uppercase;
}

.result-interpretation {
  border-left: 3px solid var(--accent);
  color: #3f4d52;
  font-size: 0.94rem;
  margin: 1rem 0 0;
  padding: 0.2rem 0 0.2rem 0.9rem;
}

.method-note {
  display: grid;
  gap: 0.3rem 1rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.method-note p {
  margin: 0;
}

.zero-shot-panel {
  align-items: center;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1rem;
}

.zero-shot-panel h3 {
  margin: 0.35rem 0 0.25rem;
}

.zero-shot-panel p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
  max-width: 720px;
}

.status-pill {
  background: #e8eeec;
  border: 1px solid #d8e1de;
  border-radius: 999px;
  color: #4b5b60;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 850;
  padding: 0.22rem 0.42rem;
  text-transform: uppercase;
}

.status-available,
.status-paper {
  background: rgba(15, 108, 115, 0.1);
  border-color: rgba(15, 108, 115, 0.22);
  color: var(--accent-strong);
}

.generalization-section {
  background: #f6f7f2;
}

.generalization-panel {
  background: #f1f3f2;
  border: 1px solid #d7ddda;
  border-left: 4px solid #768286;
  border-radius: var(--radius);
  padding: 1.25rem;
}

.generalization-panel .result-table-wrap {
  background: #fff;
  border-radius: 6px;
  padding-inline: 0.5rem;
}

.pipeline {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.pipeline-step {
  min-height: 142px;
}

.resource-status-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(22, 32, 35, 0.07);
  overflow: hidden;
}

.resource-available,
.resource-planned,
.privacy-callout {
  padding: 1.25rem;
}

.resource-available {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.resource-available h3,
.resource-planned h3,
.privacy-callout h3 {
  margin-bottom: 0.35rem;
}

.resource-available p,
.privacy-callout p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.resource-group-label {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
}

.resource-planned {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(200px, 0.55fr) minmax(0, 1.45fr);
}

.resource-status-list {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-status-list li {
  align-items: center;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 0.6rem;
  justify-content: space-between;
  padding: 0.65rem;
}

.privacy-callout {
  align-items: center;
  background: #edf4f2;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
}

.privacy-callout .eyebrow {
  margin-bottom: 0.25rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0.9rem 1rem;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
}

.acknowledgements {
  padding-top: 1.5rem;
}

.modal-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  overflow: hidden;
}

.modal-media-shell {
  align-items: center;
  background: #132124;
  display: flex;
  min-height: 0;
  position: relative;
}

.modal-media-shell video {
  max-height: min(740px, calc(100vh - 2rem));
}

.modal-nav {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  color: var(--ink);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.modal-nav-prev {
  left: 0.75rem;
}

.modal-nav-next {
  right: 0.75rem;
}

.modal-position {
  background: rgba(16, 25, 28, 0.86);
  border-radius: 999px;
  bottom: 0.75rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  left: 50%;
  padding: 0.3rem 0.55rem;
  position: absolute;
  transform: translateX(-50%);
}

.modal-content {
  max-height: min(780px, calc(100vh - 2rem));
  overflow-y: auto;
  padding-top: 3.75rem;
}

.modal-content h2 {
  font-size: 2.25rem;
}

@media (max-width: 1024px) {
  h2 {
    font-size: 2.8rem;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .subtitle {
    font-size: 1.9rem;
  }

  .tldr-card {
    grid-template-columns: 1fr;
  }

  .headline-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .world-detail-heading h3 {
    font-size: 1.8rem;
  }

  .section,
  .section-band {
    padding-block: 3.75rem;
  }

  .hero {
    padding-top: 3.75rem;
  }

  .headline-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sft-progression {
    grid-template-columns: 1fr;
  }

  .sft-progression .sft-stage-arrow {
    justify-self: center;
    line-height: 1;
    transform: rotate(90deg);
  }

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

  .method-note,
  .resource-planned,
  .privacy-callout {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .modal-media-shell video {
    max-height: 44vh;
  }

  .modal-content {
    max-height: none;
    padding-top: 1.25rem;
  }
}

@media (max-width: 720px) {
  .nav-links {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.7rem 0.75rem;
    width: 100%;
  }

  .nav-links a::after {
    bottom: 0.4rem;
    left: 0.75rem;
    transform: scaleX(0);
    transform-origin: left;
    width: 2.2rem;
  }

  .nav-links a.is-active::after,
  .nav-links a[aria-current="location"]::after {
    transform: scaleX(1);
  }

  .domain-explore {
    background: var(--accent-strong);
    bottom: auto;
    grid-column: 2;
    justify-self: start;
    opacity: 1 !important;
    position: relative;
    right: auto;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .tldr-card h2 {
    font-size: 1.75rem;
  }

  .headline-stats strong {
    font-size: 1.65rem;
  }

  .modal-content h2 {
    font-size: 1.75rem;
  }

  .subtitle span {
    display: inline;
  }

  .subtitle span + span::before {
    content: " ";
  }

  .author-list {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .affiliation-list,
  .author-notes {
    display: grid;
    gap: 0.25rem;
  }

  .button-row {
    align-items: stretch;
  }

  .button {
    justify-content: center;
  }

  .tldr-card {
    padding: 1rem;
  }

  .headline-stats article {
    min-height: 102px;
  }

  .feature-grid,
  .pipeline,
  .resource-status-list {
    grid-template-columns: 1fr;
  }

  .benchmark-scoreboard {
    justify-self: stretch;
    width: 100%;
  }

  .main-results-panel,
  .generalization-panel {
    padding: 0.9rem;
  }

  .result-chart-panel,
  .result-table-panel {
    padding: 0.75rem;
  }

  .result-metric {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .result-bar-row {
    gap: 0.35rem;
    grid-template-columns: 82px minmax(0, 1fr) 58px;
  }

  .result-bar-row > span {
    font-size: 0.66rem;
  }

  .result-bar-row > em small {
    display: none;
  }

  .reference-results-table {
    min-width: 680px;
    table-layout: fixed;
    width: 680px;
  }

  .transfer-results-table {
    min-width: 650px;
    table-layout: fixed;
    width: 650px;
  }

  .reference-results-table th:first-child,
  .transfer-results-table th:first-child {
    background: #fff;
    box-shadow: 1px 0 0 var(--line);
    left: 0;
    min-width: 260px;
    position: sticky;
    white-space: normal;
    width: 260px;
    z-index: 1;
  }

  .reference-results-table thead th:first-child,
  .transfer-results-table thead th:first-child {
    z-index: 2;
  }

  .zero-shot-panel,
  .resource-available {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-panel {
    height: calc(100vh - 1rem);
    max-height: calc(100vh - 1rem);
    max-width: calc(100vw - 1rem);
  }

  .modal-content {
    padding: 1rem;
  }

  .modal-close {
    right: 0.65rem;
    top: 0.65rem;
  }

  .site-footer {
    padding-inline: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero teaser interaction */
.teaser-frame {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-origin: center;
  transform-style: preserve-3d;
  transition: box-shadow 180ms ease, transform 180ms ease;
  will-change: transform;
}

.teaser-frame.is-tilting {
  box-shadow: 0 24px 58px rgba(22, 32, 35, 0.18);
  transition: box-shadow 180ms ease, transform 60ms linear;
}

.teaser-controls {
  align-items: center;
  background: linear-gradient(to top, rgba(10, 18, 20, 0.92), rgba(10, 18, 20, 0.64) 72%, transparent);
  bottom: 0;
  color: #e9f2ef;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  left: 0;
  opacity: 0;
  padding: 2.5rem 1rem 0.85rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(0.55rem);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 2;
}

.teaser-frame:hover .teaser-controls,
.teaser-frame:focus-within .teaser-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.teaser-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 2rem;
}

.teaser-toggle:hover,
.teaser-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.teaser-scrubber {
  --teaser-progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 2rem;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.teaser-scrubber::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--warm) 0,
    var(--warm) var(--teaser-progress),
    rgba(255, 255, 255, 0.22) var(--teaser-progress),
    rgba(255, 255, 255, 0.22) 100%
  );
  border-radius: 999px;
  height: 0.38rem;
}

.teaser-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  border: 2px solid var(--warm);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--warm) 24%, transparent);
  height: 0.88rem;
  margin-top: -0.25rem;
  width: 0.88rem;
}

.teaser-scrubber::-moz-range-track {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  height: 0.38rem;
}

.teaser-scrubber::-moz-range-progress {
  background: var(--warm);
  border-radius: 999px;
  height: 0.38rem;
}

.teaser-scrubber::-moz-range-thumb {
  background: var(--surface);
  border: 2px solid var(--warm);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--warm) 24%, transparent);
  height: 0.7rem;
  width: 0.7rem;
}

.teaser-scrubber:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--warm) 30%, transparent);
}

.teaser-scrubber:focus-visible {
  border-radius: 999px;
  outline: 2px solid color-mix(in srgb, var(--warm) 58%, transparent);
  outline-offset: 2px;
}

.teaser-time {
  align-items: center;
  display: inline-flex;
  font-feature-settings: "tnum";
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  gap: 0.25rem;
  white-space: nowrap;
}

.teaser-time i {
  color: rgba(233, 242, 239, 0.52);
  font-style: normal;
}

.teaser-control-label {
  color: rgba(233, 242, 239, 0.66);
  font-size: 0.66rem;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .teaser-controls {
    gap: 0.5rem;
    grid-template-columns: auto minmax(80px, 1fr) auto;
  }

  .teaser-control-label {
    display: none;
  }

  .teaser-time {
    font-size: 0.64rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .teaser-controls {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaser-frame,
  .teaser-frame.is-tilting {
    transform: none !important;
  }

}

/* Navigation interaction */
body {
  overflow-x: clip;
  padding-top: var(--nav-offset, var(--header-height));
}

html {
  scroll-padding-top: calc(var(--nav-offset, var(--header-height)) + 1rem);
}

[id] {
  scroll-margin-top: 0;
}

.site-header {
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-motion: 320ms;
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom-color: transparent;
  box-shadow: 0 0 0 color-mix(in srgb, var(--ink) 0%, transparent);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background-color var(--nav-motion) var(--nav-ease),
    border-color var(--nav-motion) var(--nav-ease),
    box-shadow var(--nav-motion) var(--nav-ease),
    backdrop-filter var(--nav-motion) var(--nav-ease),
    -webkit-backdrop-filter var(--nav-motion) var(--nav-ease);
  width: 100%;
  z-index: 60;
}

.site-header.scrolled {
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 84%, transparent);
  box-shadow: 0 5px 18px color-mix(in srgb, var(--ink) 8%, transparent);
}

.nav-shell,
.nav-links {
  position: relative;
}

.nav-links {
  isolation: isolate;
}

.nav-highlight {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 999px;
  height: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--nav-motion) var(--nav-ease),
    width var(--nav-motion) var(--nav-ease),
    height var(--nav-motion) var(--nav-ease),
    opacity 180ms ease;
  width: 0;
  will-change: transform, width;
  z-index: 0;
}

.nav-highlight.is-visible {
  opacity: 1;
}

.nav-highlight.is-positioning {
  transition: none;
}

.nav-links a {
  align-items: center;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  min-height: 2.35rem;
  opacity: 1;
  position: relative;
  transform: translateY(0);
  transition:
    color var(--nav-motion) var(--nav-ease),
    opacity var(--nav-motion) var(--nav-ease),
    transform var(--nav-motion) var(--nav-ease);
  z-index: 1;
}

.nav-links a::after {
  bottom: 0.18rem;
  left: 0.68rem;
  right: 0.68rem;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--nav-motion) var(--nav-ease);
  width: auto;
}

.nav-links a.is-active,
.nav-links a[aria-current="location"] {
  color: var(--accent-strong);
}

.nav-links a.is-active::after,
.nav-links a[aria-current="location"]::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a:focus-visible {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent-strong);
  outline: 2px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 2px;
}

@media (min-width: 721px) and (hover: hover) and (pointer: fine) {
  .nav-links.is-hovering a:not(.is-hovered) {
    opacity: 0.62;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: transparent;
    color: var(--accent-strong);
    transform: translateY(-2px);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }
}

@media (max-width: 720px) {
  .nav-highlight {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-offset, var(--header-height));
    z-index: 2;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 44px;
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    color: var(--accent-strong);
  }

  .nav-links a::after {
    bottom: 0.4rem;
    left: 0.75rem;
    right: auto;
    width: 2.2rem;
  }

  .nav-toggle {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-highlight,
  .nav-links a,
  .nav-links a::after {
    transition: none !important;
  }

  .nav-highlight {
    display: none !important;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    transform: none !important;
  }
}

/* Section reveal motion */
.reveal-motion-ready .scroll-reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay);
}

.reveal-motion-ready.reveal-motion-preparing .scroll-reveal {
  transition: none !important;
}

.reveal-motion-ready .scroll-reveal:not([data-scroll-reveal="fade"]) {
  transform: translate3d(0, 26px, 0);
  transform-origin: center top;
  transition-property: opacity, transform;
}

.reveal-motion-ready .scroll-reveal[data-scroll-reveal="soft"] {
  transform: translate3d(0, 16px, 0);
}

.reveal-motion-ready .scroll-reveal[data-scroll-reveal="panel"] {
  transform: translate3d(0, 30px, 0) scale(0.988);
}

.reveal-motion-ready .scroll-reveal[data-scroll-reveal="fade"] {
  clip-path: inset(0 0 5% 0 round 6px);
  transition-property: opacity, clip-path;
}

.reveal-motion-ready .scroll-reveal.is-revealed {
  opacity: 1;
}

.reveal-motion-ready .scroll-reveal.is-revealed:not([data-scroll-reveal="fade"]) {
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-motion-ready .scroll-reveal.is-revealed[data-scroll-reveal="fade"] {
  clip-path: inset(0 0 0 0 round 6px);
}

@media (max-width: 720px) {
  .reveal-motion-ready .scroll-reveal:not([data-scroll-reveal="fade"]) {
    transform: translate3d(0, 18px, 0);
  }

  .reveal-motion-ready .scroll-reveal[data-scroll-reveal="soft"] {
    transform: translate3d(0, 12px, 0);
  }

  .reveal-motion-ready .scroll-reveal[data-scroll-reveal="panel"] {
    transform: translate3d(0, 20px, 0) scale(0.992);
  }

  .reveal-motion-ready .scroll-reveal.is-revealed:not([data-scroll-reveal="fade"]) {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-motion-ready .scroll-reveal {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
