:root {
  --bg: #ffffff;
  --bg-blue: #f3f9ff;
  --bg-blue-strong: #eaf5ff;
  --surface: #ffffff;
  --ink: #0b1f3a;
  --ink-soft: #40536c;
  --muted: #6f8095;
  --line: #dce9f5;
  --blue: #1769e0;
  --blue-dark: #0c50bd;
  --blue-pale: #e8f3ff;
  --green: #16a36a;
  --green-dark: #0d7650;
  --orange: #ef8b32;
  --native: #b7c5d4;
  --native-edge: #92a5b8;
  --tfo: #1769e0;
  --tfo-edge: #0c50bd;
  --shadow-sm: 0 10px 30px rgba(25, 76, 125, 0.08);
  --shadow-lg: 0 25px 70px rgba(25, 76, 125, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shell: 1160px;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.shell.narrow {
  width: min(calc(100% - 48px), 900px);
}

.shell.wide {
  width: min(calc(100% - 48px), 1320px);
}

.section {
  padding: 64px 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 70px;
  border-bottom: 1px solid rgba(220, 233, 245, 0);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(22, 65, 106, 0.06);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(23, 105, 224, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 850px;
  padding: 154px 0 52px;
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.9), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 20% 15%, #ddecff, transparent 45%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(83, 148, 211, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 148, 211, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
  pointer-events: none;
}

.hero-orb-one {
  top: 90px;
  left: -170px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(58, 157, 255, 0.18), transparent 68%);
}

.hero-orb-two {
  right: -120px;
  bottom: 40px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(34, 190, 134, 0.12), transparent 68%);
}

.hero-inner {
  position: relative;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker {
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.25;
  letter-spacing: 0.055em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #cfe5fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 163, 106, 0.1);
}

.hero h1 {
  max-width: 1160px;
  margin: 30px auto 24px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 .title-gradient {
  color: transparent;
  background: linear-gradient(95deg, var(--blue), #2f9be7 48%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-summary {
  max-width: 940px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.authors {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 15px;
  color: var(--muted);
  font-size: 21px;
}

.authors a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.authors a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.institution-logo {
  width: 184px;
  height: auto;
  margin: 0 auto 30px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.18);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(23, 105, 224, 0.22);
}

.paper-link[aria-disabled="true"] {
  cursor: default;
}

.paper-link[aria-disabled="true"]:hover {
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.18);
  transform: none;
}

.link-status {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #cfe2f6;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(25, 76, 125, 0.06);
}

.button-secondary:hover {
  border-color: #b9d6f1;
  background: #fff;
  color: var(--blue);
}

.hero-stats {
  max-width: 930px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  padding: 25px 16px 22px;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro-section {
  background: var(--bg);
  padding-bottom: 24px;
}

.section-title {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.challenge-heading {
  max-width: 940px;
  margin: 0 auto 48px;
  text-align: center;
}

.challenge-heading > p {
  max-width: 940px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

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

.challenge-card {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff 55%, #f5faff);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.challenge-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #50b2ed);
}

.challenge-card:nth-child(2)::before {
  background: linear-gradient(90deg, #318fdc, #27b7ae);
}

.challenge-card:nth-child(3)::before {
  background: linear-gradient(90deg, #21a877, #63c782);
}

.challenge-card:hover {
  border-color: #bbd7f2;
  box-shadow: 0 20px 48px rgba(25, 76, 125, 0.12);
  transform: translateY(-4px);
}

.challenge-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.challenge-number {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.challenge-tag {
  padding: 5px 8px;
  border: 1px solid #cfe4f8;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.challenge-card h3 {
  margin: 27px 0 11px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.challenge-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.challenge-question {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d4e7f8;
  border-radius: var(--radius-sm);
  background: rgba(232, 243, 255, 0.72);
}

.challenge-question-label,
.challenge-question strong {
  display: block;
}

.challenge-question-label {
  margin-bottom: 7px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.challenge-question strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.question-highlight {
  display: inline;
  font: inherit;
}

.question-highlight-blue {
  color: #1361d6;
}

.question-highlight-green {
  color: #25a200;
}

.teaser-section {
  background: var(--bg-blue);
}

.section.teaser-section {
  padding-top: 16px;
}

.teaser-section .section-title {
  margin-top: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.video-shell {
  overflow: hidden;
  border: 1px solid #cfe0f0;
  border-radius: var(--radius-lg);
  background: #0b1f3a;
  box-shadow: var(--shadow-lg);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1f3a;
}

.video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: #c8d7e8;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-caption span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.video-caption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42d993;
  box-shadow: 0 0 0 5px rgba(66, 217, 147, 0.12);
}

.method-section {
  background: var(--bg);
}

.method-design-label {
  display: block;
  margin-bottom: 9px;
  color: #25a200;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr) 36px) minmax(0, 1fr);
  align-items: center;
}

.pipeline-step {
  position: relative;
  min-height: 315px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.pipeline-step-accent {
  border-color: #a9cefa;
  background: linear-gradient(160deg, #f7fbff, #ecf6ff);
  box-shadow: 0 18px 40px rgba(23, 105, 224, 0.12);
}

.pipeline-number {
  color: #8ba0b5;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.pipeline-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 23px 0 21px;
  border-radius: 18px;
  background: var(--blue-pale);
}

.pipeline-icon svg {
  width: 42px;
  height: 42px;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.answer-icon {
  background: #eafaf3;
}

.answer-icon svg {
  stroke: var(--green);
}

.pipeline-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.pipeline-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.pipeline-arrow {
  color: #8db4da;
  font-size: 24px;
  text-align: center;
}

.frozen-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border: 1px solid #b9d9fb;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.method-note {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 34px;
  margin-top: 24px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-blue);
}

.method-note > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.method-note span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.method-note strong {
  color: var(--blue);
  font-size: 18px;
}

.method-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.questions-section {
  background: var(--bg-blue);
}

.question-list {
  display: grid;
  gap: 18px;
}

.question-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.question-index {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
}

.question {
  margin: 0 0 9px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 18.2px;
  font-weight: 700;
  line-height: 1.6;
}

.question-body h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 25px;
  letter-spacing: -0.035em;
}

.question-body > p:not(.question) {
  max-width: 850px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.evidence-row span {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--blue-pale);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11.7px;
}

.evidence-row strong {
  color: var(--blue);
  font-weight: 500;
}

.results-section {
  background: var(--bg);
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 16.9px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 11.7px;
}

.legend-swatch {
  width: 18.59px;
  height: 18.59px;
  display: inline-block;
  border-radius: 3px;
}

.legend-swatch.native {
  border: 1px solid var(--native-edge);
  background: var(--native);
}

.legend-swatch.tfo {
  border: 1px solid var(--tfo-edge);
  background: var(--tfo);
}

.replay-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-blue);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14.04px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.replay-button:hover {
  border-color: #a8cbed;
  color: var(--blue);
  transform: translateY(-1px);
}

.replay-button svg {
  width: 24.96px;
  height: 24.96px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.result-panel {
  position: relative;
  min-width: 0;
  padding: 21px 19px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(25, 76, 125, 0.05);
}

.result-panel-head {
  min-height: 74px;
  padding-right: 74px;
}

.result-table-number {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 14.04px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.result-panel h3 {
  margin: 4px 0 2px;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.result-subtitle {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.48px;
}

.result-delta {
  position: absolute;
  top: 19px;
  right: 17px;
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--green-dark);
  background: #e8f8f1;
  font-family: var(--font-mono);
  font-size: 14.04px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.result-delta.negative {
  color: #a95816;
  background: #fff3e8;
}

.result-delta.visible {
  opacity: 1;
  transform: translateY(0);
}

.chart {
  position: relative;
  height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 5px;
  padding: 23px 4px 0;
  border-bottom: 1px solid #8ca1b5;
}

.chart::before {
  content: "";
  position: absolute;
  inset: 23px 0 0;
  background-image: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(202, 219, 235, 0.7) calc(25% - 1px),
    rgba(202, 219, 235, 0.7) 25%
  );
  pointer-events: none;
}

.bar-group {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}

.result-bar {
  position: relative;
  width: min(17px, 41%);
  height: 0;
  border: 1px solid var(--native-edge);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: var(--native);
  cursor: default;
  transition: height 0.9s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.2s ease;
}

.result-bar.tfo {
  border-color: var(--tfo-edge);
  background: linear-gradient(to top, var(--blue-dark), #2b8cf2);
}

.result-bar:hover,
.result-bar:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.bar-value {
  position: absolute;
  top: -21px;
  left: 50%;
  z-index: 2;
  padding: 1px 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(3px);
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.result-bar.tfo .bar-value {
  color: var(--blue-dark);
  font-weight: 500;
}

.bar-value.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.chart-labels {
  display: flex;
  justify-content: space-around;
  gap: 5px;
  padding: 8px 4px 0;
}

.chart-label {
  flex: 1 1 0;
  min-width: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.608px;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.results-footnote {
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14.04px;
  text-align: center;
}

.ablation-section {
  background: var(--bg);
}

.ablation-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.ablation-copy > p {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.ablation-callouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.ablation-callouts div {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-blue);
}

.ablation-callouts strong,
.ablation-callouts span {
  display: block;
}

.ablation-callouts strong {
  color: var(--blue);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.ablation-callouts span {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  text-transform: uppercase;
}

.ablation-visual {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 8px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-blue);
}

.ablation-layer {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border: 1px solid #cfdfed;
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
}

.ablation-layer span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.ablation-layer strong {
  margin: 8px 0;
  font-size: 14px;
}

.ablation-layer small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.ablation-plus,
.ablation-equals {
  color: #8aa6c0;
  font-size: 19px;
  text-align: center;
}

.ablation-equals {
  grid-column: 1 / -1;
  padding-top: 2px;
}

.ablation-result {
  grid-column: 1 / -1;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), #178fcf);
  color: #fff;
  text-align: center;
}

.ablation-result strong,
.ablation-result span {
  display: block;
}

.ablation-result strong {
  font-size: 30px;
  line-height: 1;
}

.ablation-result span {
  margin-top: 7px;
  color: #dcefff;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.takeaway-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(23, 105, 224, 0.1), transparent 44%),
    var(--bg-blue);
  text-align: center;
}

.takeaway-mark {
  height: 70px;
  color: #c5def7;
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 1;
}

.takeaway-section h2 {
  max-width: 840px;
  margin: 4px auto 22px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.takeaway-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--ink-soft);
  font-size: 17px;
}

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 9px;
}

.footer-brand .brand-logo {
  width: 90px;
  height: 76px;
}

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

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px 26px;
}

.footer-logos img {
  width: auto;
  height: 80px;
  object-fit: contain;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .pipeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .pipeline-arrow {
    display: none;
  }

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

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

  .ablation-layout {
    gap: 52px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 52px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 0;
    padding: 15px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(25, 76, 125, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

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

  .hero-stats div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-stats div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .hero-title-line {
    white-space: normal;
  }

  .challenge-grid {
    max-width: 680px;
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .challenge-card {
    min-height: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 38px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .ablation-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell,
  .shell.narrow,
  .shell.wide {
    width: min(calc(100% - 30px), var(--shell));
  }

  .section {
    padding: 44px 0;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    letter-spacing: -0.05em;
  }

  .eyebrow {
    max-width: 100%;
    padding-inline: 10px;
    font-size: 8.5px;
    letter-spacing: 0.08em;
    text-align: left;
    white-space: normal;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-summary-break {
    display: none;
  }

  .challenge-summary-break {
    display: none;
  }

  .authors {
    max-width: 360px;
    margin-inline: auto;
    gap: 5px 7px;
    font-size: 18px;
  }

  .author-separator {
    color: #aac0d6;
  }

  .institution-logo {
    width: 160px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .button {
    min-width: 0;
    width: 100%;
    padding-inline: 12px;
  }

  .hero-actions .button {
    gap: 6px;
    padding-inline: 8px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .hero-actions .button svg {
    width: 15px;
    height: 15px;
  }

  .hero-stats {
    margin-top: 45px;
  }

  .hero-stats strong {
    font-size: 24px;
  }

  .section-title {
    font-size: 34px;
  }

  .challenge-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .challenge-heading > p {
    margin-top: 19px;
  }

  .challenge-card {
    padding: 23px;
  }

  .video-shell {
    border-radius: 16px;
  }

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

  .pipeline-step {
    min-height: 0;
  }

  .method-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .question-card {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .question-index {
    width: 48px;
    height: 48px;
  }

  .question-body h3 {
    font-size: 21px;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

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

  .result-panel {
    padding-inline: 15px;
  }

  .ablation-callouts {
    grid-template-columns: 1fr;
  }

  .ablation-visual {
    grid-template-columns: 1fr;
  }

  .ablation-plus {
    transform: rotate(0);
  }

  .ablation-layer {
    min-height: 120px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logos {
    justify-content: flex-start;
    gap: 18px;
  }

  .footer-logos img {
    height: 54px;
  }
}

@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;
  }

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