:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #36414c;
  background: #fff;
  font-synthesis: none;
  --accent: #315d7b;
  --heading: #263845;
  --muted: #657581;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 0; }
body { margin: 0; font-size: 17px; line-height: 1.75; }
main { width: 100%; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #193c56; }
:focus-visible { outline: 2px solid #315c7a; outline-offset: 5px; }
h1, h2, h3 { color: var(--heading); line-height: 1.25; }
h1 { font-size: clamp(32px, 3.25vw, 46px); letter-spacing: -.033em; font-weight: 650; margin: 0 0 29px; }
h1 span { color: #376884; }
h2 { font-size: clamp(31px, 3vw, 42px); font-weight: 600; text-align: center; letter-spacing: -.035em; margin: 0 0 28px; }
h2::after { content: ""; display: block; width: 38px; height: 2px; background: #8cabbf; margin: 21px auto 0; }
h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
p { margin: 0 0 18px; }
sup { font-size: .65em; }
figure { margin: 0; }
.stage {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid #e5edf2;
  scroll-snap-align: start;
}
.stage-inner { width: min(1120px, calc(100% - 96px)); margin-inline: auto; min-width: 0; }
.section-heading { text-align: center; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 22px; }
.section-label { color: #59768b; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin: 0 0 15px; }
.section-intro { max-width: 820px; margin: 0 auto; color: var(--muted); text-align: center; font-size: 17px; }
.title-stage {
  border-top: 0;
  background: radial-gradient(ellipse at 10% 10%, #e5eff7 0, transparent 50%), radial-gradient(ellipse at 93% 89%, #edf2f6 0, transparent 47%), #fcfdfe;
}
.title-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#46759705 1px, transparent 1px), linear-gradient(90deg, #46759705 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000, transparent 48%, #000);
}
.paper-header { text-align: center; max-width: 1170px; }
.paper-header::before { content: ""; display: block; width: 60px; height: 3px; background: #7596ad; margin: 0 auto 36px; }
.authors { font-size: 21px; margin: 0 0 19px; }
.affiliations { font-size: 15px; line-height: 1.6; color: #64717c; }
.affiliations p { margin: 4px 0; }
.corresponding { color: #76828c; font-size: 13px; margin: 11px 0 0; }
.resource-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; font-size: 16px; }
.resource-links a { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 4px; padding: 0 20px; text-decoration: none; border: 1px solid #c9d5df; border-radius: 6px; background: #fff; }
.resource-links a:first-child { padding-left: 7px; }
.resource-links a:hover { border-color: #7e9bb0; background: #fcfdff; }
.arxiv-logo { width: 74px; height: 47px; object-fit: contain; }
.overview-stage { background: #fff; }
.overview-video { max-width: 940px; margin: 0 auto; }
video { display: block; width: 100%; background: #17191c; border-radius: 5px; }
.overview-video video { aspect-ratio: 16/9; object-fit: contain; max-height: 64svh; }
figcaption { font-size: 15px; line-height: 1.6; color: #687985; text-align: center; margin-top: 14px; }
.overview-video figcaption { max-width: 850px; margin-inline: auto; }
.abstract-stage { background: linear-gradient(135deg, #f6f9fc, #fff 70%); }
.text-section { max-width: 890px; }
.text-section > p:not(.section-label) { text-align: left; }
.abstract-stage p { font-size: 18px; line-height: 1.95; }
.method-stage { background: #fff; }
.method-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 32px; align-items: center; }
.method-figure img { width: 100%; height: auto; display: block; }
.method-figure figcaption { font-size: 14px; }
.method-description { font-size: 16px; line-height: 1.75; border-left: 1px solid #d8e3eb; padding-left: 25px; }
.method-description p { margin-bottom: 24px; }
.method-description p:last-child { margin-bottom: 0; }
.method-description strong { color: #315d7b; display: block; margin-bottom: 5px; }
.demo-stage { background: radial-gradient(ellipse at 2% 95%, #e8f0f7, transparent 65%), #f4f8fb; }
.demo-stage-2 { background: radial-gradient(ellipse at 98% 6%, #e8f0f7, transparent 65%), #f8fafc; }
.demo-stage-3 { background: radial-gradient(ellipse at 9% 9%, #eaf1f7, transparent 65%), #f4f8fb; }
.demo-inner { width: min(1280px, calc(100% - 96px)); }
.demo-stage .section-heading { margin-bottom: 39px; }
.demo-stage h2 { font-size: clamp(34px, 3.4vw, 46px); }
.section-count { color: #8396a4; letter-spacing: .02em; margin-left: 15px; font-weight: 400; }
.robot-label { font-size: 14px; color: #7a8996; text-align: center; margin: 8px 0 0; }
.demo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px; }
.demo-clip { min-width: 0; }
.demo-clip video { aspect-ratio: 8/3; object-fit: contain; box-shadow: 0 9px 24px #203c5510; }
.demo-clip figcaption { font-size: 14px; color: #657d8e; margin-top: 13px; }
.results-stage { background: #fff; }
.results-stage-2 { background: #f7f9fc; }
.table-surface { border: 1px solid #dae4eb; background: #fff; padding: 25px 28px 23px; border-radius: 6px; }
.table-scroll { overflow-x: auto; scrollbar-color: #a9b5bd #f3f5f6; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; border-top: 2px solid #758795; border-bottom: 2px solid #758795; font-variant-numeric: tabular-nums; }
caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
th, td { padding: 13px 10px; text-align: center; white-space: nowrap; }
thead { border-bottom: 1px solid #a0aeb8; }
thead th { color: #526674; font-weight: 600; }
th:first-child { text-align: left; }
tbody tr + tr { border-top: 1px solid #e6ecf0; }
tbody th { font-weight: 400; }
tr.ours { background: #edf4f9; }
tr.ours th, tr.ours strong { font-weight: 700; color: #294f6a; }
.table-note { font-size: 14px; color: #71818d; margin: 17px 0 0; line-height: 1.6; }
.scaling-stage { background: linear-gradient(155deg, #f3f7fa, #fff 70%); }
.scaling-table { max-width: 690px; margin: 33px auto 0; background: #fff; }
@media (min-width: 1001px) {
  .stage { padding-block: clamp(32px, 5svh, 64px); }
  .method-stage .section-heading, .overview-stage .section-heading { margin-bottom: 24px; }
  .method-figure img { max-height: max(310px, calc(100svh - 285px)); object-fit: contain; }
  .overview-video video { max-height: max(280px, calc(100svh - 285px)); }
  .results-stage .section-heading { margin-bottom: 28px; }
}
@media (min-width: 901px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
}
@media (max-width: 1000px) {
  .method-layout { grid-template-columns: 1fr; gap: 24px; }
  .method-figure { max-width: 800px; margin-inline: auto; }
  .method-description { border-left: 0; border-top: 1px solid #d8e3eb; padding-left: 0; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .method-description p { margin: 0; }
  .table-surface { padding: 19px; }
}
@media (max-width: 700px) {
  .stage { min-height: 100svh; padding: 52px 0; }
  .stage-inner, .demo-inner { width: calc(100% - 36px); }
  .title-stage { padding-block: 48px; }
  .paper-header::before { margin-bottom: 25px; }
  h1 { font-size: 31px; line-height: 1.3; }
  .desktop-break { display: none; }
  .authors { font-size: 18px; }
  .affiliations { font-size: 14px; }
  h2 { font-size: 29px; margin-bottom: 24px; }
  body { font-size: 16px; }
  .section-intro { font-size: 16px; }
  .section-label { font-size: 12px; }
  .section-count { margin-left: 10px; }
  .section-heading { margin-bottom: 27px; }
  .resource-links { gap: 10px; }
  .resource-links a { font-size: 15px; padding-inline: 16px; }
  .abstract-stage p { font-size: 17px; line-height: 1.8; }
  .method-description { grid-template-columns: 1fr; }
  .demo-pair { grid-template-columns: 1fr; gap: 22px; }
  .demo-stage .section-heading { margin-bottom: 28px; }
  .demo-stage h2 { font-size: 34px; }
  .demo-clip figcaption { margin-top: 8px; }
  .table-surface { padding: 14px 12px; }
  th, td { padding: 11px 10px; }
  figcaption { font-size: 14px; }
}
@media print {
  .stage { min-height: auto; break-inside: avoid; padding-block: 30px; background: #fff; }
  .stage-inner, .demo-inner { width: 100%; }
}

/* Detailed method and complete experimental evidence. */
.method-detail-stage { background: #fff; }
.alt-stage, .setup-stage { background: #f6f9fc; }
.method-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; font-size: 16px; line-height: 1.8; }
.method-columns > div { min-width: 0; }
.method-columns h3 { font-size: 21px; color: #315d7b; margin-bottom: 16px; }
.method-columns p:last-child { margin-bottom: 0; }
.method-steps { padding-left: 22px; margin: 0 0 20px; }
.method-steps li { padding-left: 5px; margin-bottom: 13px; }
.equation { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.9; letter-spacing: .01em; padding: 18px 20px; margin: 22px 0; background: #f4f8fb; border-left: 2px solid #9cb5c8; overflow-x: auto; }
.equation sub, .equation sup { font-size: .65em; }
.protocol-note { max-width: 1050px; margin: 0 auto 24px; padding: 14px 20px; border-left: 3px solid #92acbf; background: #edf4f9; color: #3e5b70; font-size: 15px; line-height: 1.7; }
.setup-stage .protocol-note { margin-top: 30px; margin-bottom: 0; }
.benchmark-stage .table-surface { padding: 18px 22px; }
.benchmark-stage th, .benchmark-stage td { padding: 6px 10px; font-size: 13px; }
.benchmark-stage .section-heading { margin-bottom: 20px; }
.benchmark-stage .section-label { margin-bottom: 6px; }
.benchmark-stage h2 { margin-bottom: 10px; font-size: 36px; }
.benchmark-stage h2::after { display: none; }
.benchmark-stage .section-intro { font-size: 16px; }
.benchmark-stage .table-note { font-size: 13px; margin-top: 12px; }
.scaling-figure { max-width: 980px; margin: 0 auto 28px; }
.scaling-figure img { display: block; width: 100%; height: auto; }
.scaling-stage .table-scroll { max-width: 780px; margin: 0 auto; }
.result-explanation { max-width: 980px; margin: 25px auto 0; font-size: 16px; line-height: 1.8; }
.ablation-stage th:first-child { white-space: normal; min-width: 180px; }
@media (max-width: 700px) {
  .method-columns { grid-template-columns: 1fr; gap: 27px; }
  .equation { font-size: 17px; padding: 14px; }
  .protocol-note { padding: 12px 14px; font-size: 14px; }
  .benchmark-stage .table-surface { padding: 14px 12px; }
  .benchmark-stage h2 { font-size: 30px; }
  .scaling-figure figcaption { font-size: 13px; }
}
