﻿:root {
  --bg: #fbfcfd;
  --paper: #ffffff;
  --ink: #14212b;
  --muted: #5c6973;
  --hairline: #dbe3ea;
  --hairline-strong: #b9c8d4;
  --accent: #0f7d8d;
  --accent-soft: #e5f4f6;
  --accent-ink: #075360;
  --warn: #b94444;
  --shadow: 0 16px 44px rgba(31, 53, 64, 0.08);
  --radius: 10px;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(20, 33, 43, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 43, 0.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 42%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 64px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(219, 227, 234, 0.86);
  background: rgba(247, 249, 251, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 9px 0 0 -5px var(--warn);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-links a:hover {
  color: var(--ink);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section.compact {
  padding-top: 54px;
}

.method-section {
  padding-top: 30px;
  padding-bottom: 66px;
  scroll-margin-top: 82px;
}

.results-section {
  padding-top: 30px;
}

.analysis-section {
  padding-top: 30px;
  padding-bottom: 58px;
  scroll-margin-top: 82px;
}

.hero {
  display: block;
  min-height: auto;
  padding-top: 52px;
  padding-bottom: 18px;
}

.hero-heading {
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow,
.label,
.step-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label.muted {
  color: #798590;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1120px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  color: var(--accent-ink);
}

.author-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  justify-content: center;
  max-width: 900px;
  margin: -4px auto 8px;
  color: #40505b;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.45;
}

.author-list span:not(:last-child)::after {
  content: ",";
  color: #8b969e;
}

.author-list sup,
.affiliation-list sup {
  margin-left: 1px;
  color: var(--accent);
  font-size: 0.68em;
  font-weight: 760;
}

.affiliation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: center;
  max-width: 980px;
  margin: 12px auto 24px;
  color: #67747e;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.45;
}

.affiliation-list span {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.author-note {
  text-align: center;
  color: #67747e;
  font-size: 12px;
  font-weight: 560;
  margin: -14px auto 20px;
  max-width: 900px;
}

.author-note sup {
  color: var(--accent);
  font-size: 0.85em;
  font-weight: 760;
  margin-right: 2px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.lead {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  color: #33424d;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.button-row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

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

.button.disabled {
  color: #7c878f;
  cursor: default;
}

.button.disabled:hover {
  border-color: var(--hairline-strong);
  transform: none;
}

.abstract-panel {
  max-width: 1060px;
  margin: 18px auto 28px;
  padding: 10px 18px 4px;
  text-align: center;
}

.abstract-panel .eyebrow {
  display: none;
}

.abstract-panel h2 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(32px, 3.3vw, 48px);
}

.abstract-panel p:last-child {
  max-width: 1020px;
  margin: 0 auto;
  color: #4f5f69;
  font-size: 17px;
  line-height: 1.68;
  text-align: justify;
}

.result-summary {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  max-width: 1060px;
  margin: 18px auto 0;
}

.task-count-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.task-count-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 192px;
  padding: 24px;
  background:
    linear-gradient(150deg, rgba(15, 125, 141, 0.1), rgba(255, 255, 255, 0.72) 55%),
    #fff;
}

.task-count-card span,
.task-count-card em {
  color: #62717c;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.task-count-card strong {
  margin: 8px 0 6px;
  color: var(--accent-ink);
  font-size: clamp(56px, 6vw, 82px);
  font-weight: 820;
  line-height: 0.92;
}

.task-count-card em {
  max-width: 160px;
  color: #53626d;
  letter-spacing: 0;
  text-transform: none;
}

.policy-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
}

.policy-result-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.policy-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--hairline);
  background: #f8fafc;
}

.policy-card-header span {
  color: #65727b;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-card-header strong {
  color: var(--accent-ink);
  font-size: 22px;
  line-height: 1;
}

.policy-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
}

.policy-result-row:last-child {
  border-bottom: 0;
}

.policy-result-row span {
  color: #34444f;
  font-size: 13px;
  font-weight: 650;
}

.policy-result-row b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.policy-result-row em {
  min-width: 48px;
  color: var(--accent-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 820;
  text-align: right;
  white-space: nowrap;
}

.metric-note {
  max-width: 1060px;
  margin: 10px auto 0;
  color: #73808a;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

figcaption {
  margin: 12px 0 0;
  color: #66737c;
  font-size: 13px;
  line-height: 1.55;
}

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

.section-heading.wide {
  max-width: 880px;
}

.method-section .section-heading.wide {
  max-width: 960px;
}

.method-section .section-heading h2 {
  max-width: 920px;
  font-size: clamp(34px, 4.2vw, 58px);
}

.method-section .section-heading p:last-child {
  max-width: 940px;
}

.step-grid article,
.method-point-grid article,
.method-component-grid article,
.result-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.figure-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
}

.figure-card img {
  width: 100%;
  padding: 12px;
  background: #f8fafc;
}

.figure-card figcaption {
  padding: 0 18px 18px;
}

.method-figure {
  margin-bottom: 16px;
}

.method-figure img {
  padding: 8px;
  image-rendering: auto;
}

.method-qualitative {
  max-width: 980px;
  margin: 0 auto 22px;
}

.analysis-qualitative {
  margin: 18px auto 0;
}

.grounding-strip {
  overflow: hidden;
  background: #fff;
}

.method-qualitative img {
  width: 100%;
  padding: 12px 18px 4px;
  background: #fff;
}

.method-brief {
  max-width: 960px;
  margin: 0 auto 20px;
  padding: 0 4px;
  color: #4e5e69;
  font-size: 15px;
  line-height: 1.65;
}

.hero-teaser {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-core-panel {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.core-copy-row {
  display: grid;
  grid-template-columns: 150px minmax(390px, 1fr) minmax(420px, 1.05fr);
  gap: 22px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--hairline);
  background:
    linear-gradient(90deg, rgba(15, 125, 141, 0.055), transparent 42%),
    #fff;
}

.core-copy-row .eyebrow {
  margin-bottom: 0;
  line-height: 1.35;
}

.core-copy-row h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.08;
}

.core-copy-row p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.teaser-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--hairline);
  box-shadow: var(--shadow);
}

.teaser-video {
  display: grid;
  grid-template-rows: auto minmax(64px, auto);
  min-width: 0;
  background: #fff;
}

.teaser-static,
.teaser-video {
  min-width: 0;
  background: #fff;
}

.teaser-static img,
.robot-clip {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--hairline);
  background: #f8fafc;
}

.teaser-static img {
  padding: 18px;
  object-fit: contain;
}

.mechanism-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.mechanism-title {
  padding: 22px 24px 0;
  background: #f8fafc;
}

.mechanism-title span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mechanism-title strong {
  display: block;
  max-width: 430px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.mechanism-flow {
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 1.18fr 0.8fr;
  gap: 14px;
  align-items: center;
  min-height: 230px;
  padding: 24px;
  border-bottom: 1px solid var(--hairline);
  background: #f8fafc;
}

.mechanism-inputs,
.feature-stage,
.token-stage {
  display: grid;
  gap: 9px;
}

.input-pill,
.projection-block,
.film-chip,
.token-stage div {
  border: 1px solid var(--hairline-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}

.input-pill {
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 720;
}

.input-pill b {
  display: block;
  margin-top: 3px;
  color: var(--accent-ink);
  font-weight: 780;
}

.image-pill {
  border-left: 4px solid rgba(15, 125, 141, 0.42);
}

.state-pill {
  border-left: 4px solid rgba(185, 68, 68, 0.38);
}

.calib-pill {
  border-left: 4px solid rgba(70, 92, 112, 0.3);
}

.projection-block {
  position: relative;
  padding: 14px 13px;
  text-align: center;
}

.projection-block::before,
.projection-block::after {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--hairline-strong);
  content: "";
}

.projection-block::before {
  left: -14px;
}

.projection-block::after {
  right: -14px;
}

.projection-block span,
.token-stage strong {
  display: block;
  color: #62707a;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.projection-block strong {
  display: block;
  margin-top: 8px;
  color: var(--accent-ink);
  font-size: 13px;
  line-height: 1.25;
}

.feature-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(15, 125, 141, 0.28);
  border-radius: 10px;
  background: #fff;
}

.feature-grid-mini span {
  aspect-ratio: 1;
  border: 1px solid #d7e2ea;
  border-radius: 5px;
  background: #edf3f7;
}

.feature-grid-mini .hot {
  border-color: rgba(185, 68, 68, 0.55);
  background: #f4b9aa;
}

.feature-grid-mini .cool {
  border-color: rgba(15, 125, 141, 0.6);
  background: #a5dce3;
}

.film-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  color: #66503f;
  font-size: 12px;
  font-weight: 760;
}

.film-chip b {
  color: var(--warn);
}

.cell-legend {
  display: grid;
  gap: 5px;
  color: #64717b;
  font-size: 11px;
  line-height: 1.2;
}

.cell-legend span {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hot-dot,
.cool-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hot-dot {
  background: #d76350;
}

.cool-dot {
  background: #27a3b0;
}

.token-stage div {
  padding: 13px 10px;
  color: var(--accent-ink);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.token-stage strong {
  padding-top: 2px;
  text-align: center;
}

.robot-clip {
  position: relative;
  overflow: hidden;
}

.robot-clip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-static p,
.teaser-video p {
  margin: 0;
  padding: 14px 16px 16px;
  color: #52616b;
  font-size: 13px;
  line-height: 1.55;
}

.method-figure img {
  background: #f8fafc;
}

.core-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.core-layout .section-heading {
  margin-bottom: 0;
}

.heatmap-sync {
  display: grid;
  gap: 1px;
  background: var(--hairline);
}

.heatmap-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
}

.heatmap-row.emphasized {
  background: linear-gradient(90deg, rgba(15, 125, 141, 0.05), #fff 42%);
}

.heatmap-label {
  display: grid;
  gap: 4px;
}

.heatmap-label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
}

.heatmap-label small {
  color: #71808b;
  font-size: 11px;
  line-height: 1.25;
}

.heatmap-sync video {
  width: 100%;
  aspect-ratio: 5.25 / 1;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: #f8fafc;
}

.hero-heatmap {
  border: 0;
  border-radius: 0;
}

.hero-heatmap figcaption {
  padding: 16px 28px 22px;
  font-size: 15px;
}

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

.method-point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.method-component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.step-grid article {
  padding: 22px;
}

.step-grid code,
.method-point-grid code,
.method-component-grid code {
  display: block;
  overflow-x: auto;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  color: var(--accent-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}

.method-point-grid article {
  padding: 24px;
}

.method-point-grid h3 {
  font-size: 22px;
}

.method-component-grid article {
  padding: 22px;
}

.method-component-grid h3 {
  font-size: 19px;
}

.method-component-grid p {
  font-size: 15px;
  line-height: 1.65;
}

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

.result-card {
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
}

th,
td {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
}

th {
  color: #65727b;
  font-size: 12px;
  font-weight: 780;
}

td strong {
  color: var(--accent-ink);
}

.paper-table-stack {
  display: grid;
  gap: 18px;
}

.paper-table-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.table-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--hairline);
  background: #f8fafc;
}

.table-heading h3 {
  margin: 0;
  font-size: 19px;
}

.table-heading .label {
  flex: 0 0 auto;
}

.math-symbol {
  color: var(--accent-ink);
  font-family: "Times New Roman", Times, serif;
  font-size: 1.08em;
  font-weight: 820;
  letter-spacing: 0;
}

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

.paper-table {
  min-width: 920px;
  margin: 0;
  font-size: 13px;
}

.paper-table.compact {
  min-width: 620px;
}

.paper-table th,
.paper-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  vertical-align: middle;
}

.paper-table th:first-child,
.paper-table td:first-child,
.paper-table th:nth-child(2),
.paper-table td:nth-child(2) {
  text-align: left;
}

.paper-table thead th {
  color: #40505b;
  background: #fbfdfe;
  font-size: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.paper-table tbody tr:last-child td {
  border-bottom: 0;
}

.highlight-row td {
  background: var(--accent-soft);
  color: #10212d;
  font-weight: 760;
}

.table-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.result-table-figure {
  margin: 0;
}

.table-image-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 18px 14px;
  background: #fff;
}

.table-image-wrap img {
  width: auto;
  max-width: min(100%, 980px);
  min-width: 620px;
  margin: 0 auto;
  object-fit: contain;
  image-rendering: auto;
}

.compact-realworld-table img {
  width: auto;
  max-width: min(470px, 100%);
  min-width: 0;
}

.result-note {
  max-width: 960px;
  margin: 12px auto 0;
  color: #687781;
  font-size: 13px;
  text-align: center;
}

.realworld-video-panel {
  overflow: hidden;
  max-width: 1040px;
  margin: 20px auto 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.video-heading {
  border-bottom: 1px solid var(--hairline);
}

.realworld-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
}

.realworld-video-grid figure {
  margin: 0;
  background: #fff;
}

.realworld-video-grid video {
  width: 100%;
  aspect-ratio: 195 / 142;
  object-fit: contain;
  display: block;
  background: #f8fafc;
}

.realworld-video-grid figcaption {
  margin: 0;
  padding: 10px 12px 11px;
  color: #394953;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  text-align: center;
}

.realworld-video-note {
  margin: 0;
  padding: 11px 18px 13px;
  border-top: 1px solid var(--hairline);
  color: #687781;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

.analysis-stack {
  display: grid;
  gap: 18px;
}

.analysis-card {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.analysis-card-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  align-items: stretch;
}

.analysis-card-copy {
  padding: 24px;
}

.analysis-card-copy h3 {
  max-width: 560px;
  margin: 10px 0 10px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.14;
}

.analysis-card-copy p {
  max-width: 620px;
  margin: 0;
  color: #4f5e68;
  font-size: 15px;
  line-height: 1.65;
}

.analysis-card-wide .analysis-card-copy {
  padding-bottom: 18px;
}

.perceptual-card .analysis-card-copy {
  max-width: 760px;
}

.perceptual-card .analysis-media {
  border-top: 1px solid var(--hairline);
  border-left: 0;
}

.perceptual-card .analysis-media img {
  padding: 16px 18px 8px;
}

.analysis-plot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--hairline);
  background: var(--hairline);
}

.analysis-plot-grid figure,
.analysis-media {
  margin: 0;
  background: #fff;
}

.analysis-plot-grid img {
  width: 100%;
  padding: 14px 14px 6px;
  background: #fff;
}

.analysis-plot-grid figcaption,
.analysis-media figcaption {
  margin: 0;
  padding: 0 18px 16px;
  color: #66737c;
  font-size: 13px;
  line-height: 1.5;
}

.analysis-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-left: 1px solid var(--hairline);
}

.analysis-media video,
.analysis-media img {
  width: 100%;
  min-height: 100%;
  padding: 14px;
  object-fit: contain;
  background: #f8fafc;
}

.analysis-media video {
  aspect-ratio: 320 / 141;
}

.grounding-media img {
  aspect-ratio: 4.35 / 1;
}

.citation-section {
  padding-top: 30px;
  padding-bottom: 74px;
  scroll-margin-top: 82px;
}

pre {
  overflow-x: auto;
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #101820;
  color: #d7e7ee;
  font-size: 13px;
  line-height: 1.6;
}

.copy-button {
  cursor: pointer;
}

.site-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .table-pair {
    grid-template-columns: 1fr;
  }

  .results-grid,
  .step-grid,
  .method-point-grid,
  .method-component-grid,
  .core-layout,
  .core-copy-row,
  .teaser-panel {
    grid-template-columns: 1fr;
  }

  .mechanism-flow {
    grid-template-columns: 1fr 0.85fr 1fr 0.72fr;
  }

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

  .analysis-card-split,
  .analysis-plot-grid {
    grid-template-columns: 1fr;
  }

  .analysis-media {
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 62px 0;
  }

  .hero {
    gap: 34px;
    padding-top: 28px;
  }

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

  .policy-result-grid {
    grid-template-columns: 1fr;
  }

  .mechanism-flow {
    grid-template-columns: 1fr;
  }

  .projection-block::before,
  .projection-block::after {
    display: none;
  }

  .heatmap-row {
    grid-template-columns: 1fr;
  }

  .core-copy-row {
    padding: 22px 18px 20px;
  }

  .hero-heatmap figcaption {
    padding: 14px 18px 18px;
  }

  h1 {
    font-size: 42px;
  }

  .site-footer {
    display: block;
    width: min(100% - 28px, 1180px);
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
