html {
  scroll-behavior: smooth;
  font-size: 120%;
}
/* Rem-based type, spacing and maximum width scale to 80% of the prior size. */
.page-container {
  width: 90%;
  max-width: 57.6rem;
}
/* Keep narrow screens readable; desktop content is 80% of its prior width. */
@media (min-width: 768px) {
  .page-container {
    width: 72%;
  }
}
section[id] {
  scroll-margin-top: 5.5rem;
}
/* Slightly larger publication-page type scale for body copy and labels. */
.text-\[10px\] { font-size: .6875rem !important; }
.text-\[11px\] { font-size: .75rem !important; }
.text-\[13px\] { font-size: .8125rem !important; }
.text-xs { font-size: .8125rem !important; }
.text-sm { font-size: .9375rem !important; }
.text-\[15px\] { font-size: 1rem !important; }
.hero-surface {
  background:
    radial-gradient(circle at 18% 18%, rgba(62, 120, 168, .10), transparent 30%),
    radial-gradient(circle at 82% 30%, rgba(216, 120, 76, .09), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.nav-link {
  border-radius: 9999px;
  padding: .375rem .625rem;
  transition: color .2s ease, background-color .2s ease;
}
.nav-link:hover,
.nav-link[aria-current="true"] {
  color: #18181b;
  background: #f4f4f5;
}
.lift-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ood-placeholder {
  aspect-ratio: 4 / 3 !important;
  background-color: #fafafa;
  background-image:
    linear-gradient(rgba(161, 161, 170, .12) .0625rem, transparent .0625rem),
    linear-gradient(90deg, rgba(161, 161, 170, .12) .0625rem, transparent .0625rem);
  background-size: 1.375rem 1.375rem;
}
.application-placeholder {
  aspect-ratio: 16 / 9;
  background-color: #fafafa;
  background-image:
    linear-gradient(rgba(161, 161, 170, .10) .0625rem, transparent .0625rem),
    linear-gradient(90deg, rgba(161, 161, 170, .10) .0625rem, transparent .0625rem);
  background-size: 1.75rem 1.75rem;
}
.application-placeholder.has-media {
  aspect-ratio: auto;
  background: #fff;
  padding: 0;
}
.app-tab {
  border-left: .1875rem solid transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.app-tab:hover {
  color: #18181b;
  background: #fafafa;
}
.app-tab[aria-selected="true"] {
  color: #18181b;
  background: #fff;
  border-left-color: #3e78a8;
}
.tab {
  transition: color .2s ease, background-color .2s ease;
}
.tab:not(.bg-ink):hover {
  color: #18181b;
  background: #fafafa;
}
.tab.bg-ink:hover {
  color: #fff;
  background: #18181b;
}
.overview-stage { touch-action: pan-y; }
.overview-stage,
.viewpoint-stage,
.embodiment-stage,
.object-stage,
.reverse-stage {
  transition: opacity .18s ease, transform .18s ease;
}
.overview-stage.is-changing,
.viewpoint-stage.is-changing,
.embodiment-stage.is-changing,
.object-stage.is-changing,
.reverse-stage.is-changing {
  opacity: .28;
  transform: translateY(.1875rem);
}
.reverse-stage [data-reverse-phase].is-idle {
  opacity: .42;
  transition: opacity .25s ease;
}
.overview-dataset-tab,
.viewpoint-task-tab,
.embodiment-task-tab,
.object-task-tab,
.reverse-task-tab {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.overview-scroll {
  scrollbar-width: none;
}
.overview-scroll::-webkit-scrollbar {
  display: none;
}
@media (hover: hover) {
  .lift-card:hover {
    transform: translateY(-.125rem);
    border-color: #d4d4d8;
    box-shadow: 0 .875rem 2rem rgba(24, 24, 27, .07);
  }
}
.action-scan {
  animation: action-scan 4.8s linear infinite;
  width: calc((100% - 1rem) / 4);
}
.arm-shoulder,
.arm-elbow,
.arm-wrist,
.arm-forearm,
.projection-shoulder,
.projection-elbow,
.projection-wrist,
.projection-forearm {
  transform-box: view-box;
}
.arm-shoulder { animation: shoulder-swing 4.8s ease-in-out infinite; transform-origin: 31px 120px; }
.arm-elbow { animation: elbow-bend 4.8s ease-in-out infinite; transform-origin: 52px 79px; }
.arm-wrist { animation: wrist-turn 4.8s ease-in-out infinite; transform-origin: 89px 43px; }
.arm-forearm { animation: forearm-turn 4.8s ease-in-out infinite; transform-origin: 128px 63px; }
.projection-shoulder { animation: shoulder-swing 4.8s ease-in-out infinite; transform-origin: 96px 108px; }
.projection-elbow { animation: elbow-bend 4.8s ease-in-out infinite; transform-origin: 99px 76px; }
.projection-wrist { animation: wrist-turn 4.8s ease-in-out infinite; transform-origin: 121px 58px; }
.projection-forearm { animation: forearm-turn 4.8s ease-in-out infinite; transform-origin: 143px 74px; }
.projection-ray {
  animation: ray-pulse 2.4s ease-in-out infinite;
}
.gripper-jaw {
  transform-box: stroke-box;
  transform-origin: 0% 50%;
}
.gripper-jaw-top {
  animation: gripper-top 4.8s ease-in-out infinite;
}
.gripper-jaw-bottom {
  animation: gripper-bottom 4.8s ease-in-out infinite;
}
.gripper-jaw-top path {
  animation: gripper-stroke-top 4.8s ease-in-out infinite;
}
.gripper-jaw-bottom path {
  animation: gripper-stroke-top 4.8s ease-in-out infinite;
}
.render-progress {
  animation: render-progress 4.8s linear infinite;
  transform-origin: left;
}
@keyframes action-scan {
  0%, 24% { transform: translateX(0); }
  26%, 49% { transform: translateX(100%); }
  51%, 74% { transform: translateX(200%); }
  76%, 100% { transform: translateX(300%); }
}
@keyframes shoulder-swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(9deg); }
}
@keyframes elbow-bend {
  0%, 100% { transform: rotate(1deg); }
  50% { transform: rotate(-18deg); }
}
@keyframes wrist-turn {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(14deg); }
}
@keyframes forearm-turn {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(-9deg); }
}
@keyframes ray-pulse {
  0%, 100% { opacity: .2; stroke-dashoffset: 12; }
  50% { opacity: .75; stroke-dashoffset: 0; }
}
@keyframes gripper-top {
  0%, 18%, 100% { transform: rotate(0); }
  52%, 68% { transform: rotate(24deg); }
}
@keyframes gripper-bottom {
  0%, 18%, 100% { transform: rotate(0); }
  52%, 68% { transform: rotate(-24deg); }
}
@keyframes gripper-stroke-top {
  0%, 18%, 100% { stroke: #0078FF; }
  36%, 82% { stroke: #71717a; }
  52%, 68% { stroke: #f97316; }
}

@keyframes render-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
/* Paper-order reading rhythm: spacious chapters, compact numbered subtopics. */
.site-nav .nav-link { font-size: .729167rem; padding-inline: .6rem; }
.site-nav > div > div { min-width: 0; scrollbar-width: thin; scrollbar-color: #35404b #070a0d; }
main > section + section { padding-top: 3.8rem; border-top: 1px solid var(--line); }
.subsection-heading { display: flex; align-items: center; justify-content: center; gap: .65rem; }
.section-index { display: inline-grid; width: 1.75rem; height: 1.75rem; flex: 0 0 auto; place-items: center; border: 1px solid #dce6f1; border-radius: .45rem; color: var(--blue); background: #f1f6fb; font-size: .677083rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-introduction, .method-block, .experiment-block { margin-top: 2.8rem; }
#results, #overview, #rendering, #action-injection { scroll-margin-top: 5.5rem; }
.process-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.4rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: #f8fafc; list-style: none; }
.process-strip li { min-width: 0; padding-inline: .45rem; }
.process-label { display: block; color: var(--blue); font-size: .625rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.process-strip strong { display: block; margin-top: .4rem; font-size: .833333rem; font-weight: 600; }
.process-strip p { margin-top: .4rem; color: var(--copy-soft); font-size: .729167rem; line-height: 1.65; }
.render-pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--line); gap: 1px; }
.render-pipeline > article { min-width: 0; min-height: 14rem; padding: 1rem; }
.render-pipeline svg, .render-pipeline [aria-label="Animated joint action matrix"] { max-width: 100%; }
.architecture-notes article > div { justify-content: center; }
.corpus-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0; padding: 1.4rem .5rem; border-block: 1px solid var(--line); text-align: center; }
.corpus-stats > div { display: flex; flex-direction: column-reverse; justify-content: end; gap: .35rem; padding: .3rem .7rem; border-right: 1px solid var(--line); }
.corpus-stats > div:last-child { border-right: 0; }
.corpus-stats dt { font-size: .729167rem; color: var(--copy-soft); }
.corpus-stats dd { font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; color: var(--blue); }
.corpus-stats small { font: 500 .729167rem Inter, sans-serif; letter-spacing: 0; }
.numbered-cards { counter-reset: detail; }
.numbered-cards > article { counter-increment: detail; }
.numbered-cards > article::before { content: counter(detail, decimal-leading-zero); display: block; margin-bottom: .6rem; color: var(--blue); font: 500 .729167rem "Space Grotesk", sans-serif; letter-spacing: .06em; text-align: center; }
.applications-layout { display: grid; gap: 1rem; margin-top: 1.8rem; }
.application-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.application-tabs .app-tab { min-width: 0; padding: .9rem !important; border: 1px solid var(--line); border-radius: .7rem; background: #fff; }
.application-tabs .app-tab[aria-selected="true"] { background: #eef5fc; border-color: #8fb5dc; box-shadow: inset 0 -2px var(--blue); }
.application-tabs .app-tab > span:last-child { font-size: .78125rem !important; line-height: 1.4; }
.application-panel { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); align-items: start; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 .6rem 2rem rgba(25,45,75,.04); }
.application-panel > div:first-child { grid-column: 1 / -1; padding: 1.15rem 1.4rem; }
#application-title { font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.15rem !important; letter-spacing: -.025em; }
.application-copy { align-self: stretch; border-left: 1px solid var(--line); background: #fafbfd; padding: 1.4rem !important; }
main #application-description { font-size: .78125rem !important; line-height: 1.75; }
#application-media { align-self: center; }
#application-workflow { padding: 1.4rem; }
#ood-cases > .ood-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem auto 0; padding: .35rem; border: 1px solid var(--line); border-radius: .85rem; background: #f8fafc; }
.ood-tabs .tab { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem .85rem; font-size: .729167rem; }
.tab-index { font-size: .625rem; font-variant-numeric: tabular-nums; opacity: .7; }
.panel > .demo-context { margin-bottom: 1.4rem; }
.panel .paper-figure { margin-top: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; }
.future-directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.8rem; }
.future-directions article { padding: 1.25rem; background: #f6f8fb; border-radius: .85rem; text-align: center; }
.future-directions h3 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 1rem; font-weight: 500; }
.future-directions p { margin-top: .7rem; color: var(--copy-soft); font-size: .78125rem; line-height: 1.7; }
[role="tab"]:focus-visible, [role="tabpanel"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 1100px) {
  .render-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-panel { grid-template-columns: 1fr; }
  .application-copy { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  main > section + section { padding-top: 2.6rem; }
  #results, #overview, #rendering, #action-injection { scroll-margin-top: 7rem; }
  .application-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subsection-heading .subsection-title { font-size: 1.05rem; }
  .future-directions { grid-template-columns: 1fr; gap: .65rem; }
}
@media (max-width: 540px) {
  .process-strip, .render-pipeline { grid-template-columns: 1fr; }
  .process-strip li + li { border-top: 1px solid var(--line); padding-top: 1rem; }
  .corpus-stats { grid-template-columns: 1fr; gap: .75rem; }
  .corpus-stats > div { border-right: 0; }
  .ood-tabs .tab { padding: .55rem .65rem; }
  .subsection-heading { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lift-card {
    transition: none;
  }
  .overview-stage,
  .viewpoint-stage,
  .embodiment-stage,
  .object-stage,
  .reverse-stage,
  .overview-dataset-tab,
  .viewpoint-task-tab,
  .embodiment-task-tab,
  .object-task-tab,
  .reverse-task-tab {
    transition: none;
  }
  .action-scan,
  .arm-shoulder,
  .arm-elbow,
  .arm-wrist,
  .arm-forearm,
  .projection-ray,
  .projection-shoulder,
  .projection-elbow,
  .projection-wrist,
  .projection-forearm,
  .gripper-jaw,
  .gripper-jaw-top path,
  .gripper-jaw-bottom path,
  .render-progress {
    animation: none !important;
  }
}

.application-chart figcaption {
  margin-bottom: 1.08rem;
  color: #52525b;
  font-size: .875rem;
  font-weight: 600;
}
.application-chart-bars { display: grid; gap: .8rem 1rem; }
.application-chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .24rem;
  color: #52525b;
  font-size: .875rem;
  line-height: 1.4;
}
.application-chart-label strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.application-chart-track { height: .45rem; border-radius: 1rem; background: #f4f4f5; overflow: hidden; }
.application-chart-fill {
  height: 100%;
  border-radius: inherit;
  background: #b5bdc7;
  transform-origin: left;
  animation: application-bar-in .7s ease-out both;
}
.application-chart-row.is-highlight .application-chart-fill { background: #3e78a8; }
.application-chart-row.is-highlight .application-chart-label { color: #3e78a8; font-weight: 600; }
.application-result {
  margin-top: 1.12rem;
  padding: .68rem 1rem;
  border-radius: .65rem;
  background: #eef4f8;
  color: #3e78a8;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
}
@keyframes application-bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .application-chart-fill { animation: none; } }
@media (max-width: 640px) { #application-workflow { padding: .8rem 1rem; } }

/* Reduce vertical layout spacing to 80% without changing content proportions. */
.gap-0\.5 { row-gap: 0.1rem; }
.gap-1 { row-gap: 0.2rem; }
.gap-1\.5 { row-gap: 0.3rem; }
.gap-2 { row-gap: 0.4rem; }
.gap-2\.5 { row-gap: 0.5rem; }
.gap-3 { row-gap: 0.6rem; }
.gap-4 { row-gap: 0.8rem; }
.gap-6 { row-gap: 1.2rem; }
.mt-0\.5 { margin-top: 0.1rem; }
.mt-1 { margin-top: 0.2rem; }
.mt-1\.5 { margin-top: 0.3rem; }
.mt-10 { margin-top: 2rem; }
.mt-12 { margin-top: 2.4rem; }
.mt-16 { margin-top: 3.2rem; }
.mt-2 { margin-top: 0.4rem; }
.mt-3 { margin-top: 0.6rem; }
.mt-4 { margin-top: 0.8rem; }
.mt-5 { margin-top: 1rem; }
.mt-6 { margin-top: 1.2rem; }
.mt-7 { margin-top: 1.12rem; }
.mt-8 { margin-top: 1.6rem; }
.p-1 { padding-top: 0.2rem; padding-bottom: 0.2rem; }
.p-2 { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.p-5 { padding-top: 1rem; padding-bottom: 1rem; }
.p-6 { padding-top: 1.2rem; padding-bottom: 1.2rem; }
.pb-2 { padding-bottom: 0.4rem; }
.pb-28 { padding-bottom: 5.6rem; }
.pt-12 { padding-top: 2.4rem; }
.pt-20 { padding-top: 4rem; }
.py-0\.5 { padding-top: 0.1rem; padding-bottom: 0.1rem; }
.py-1 { padding-top: 0.2rem; padding-bottom: 0.2rem; }
.py-1\.5 { padding-top: 0.3rem; padding-bottom: 0.3rem; }
.py-2 { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.py-2\.5 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-20 { padding-top: 4rem; padding-bottom: 4rem; }
.py-3 { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.py-3\.5 { padding-top: 0.7rem; padding-bottom: 0.7rem; }
.py-4 { padding-top: 0.8rem; padding-bottom: 0.8rem; }
.py-5 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.space-y-24 > :not([hidden]) ~ :not([hidden]) { margin-top: calc(4.8rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(4.8rem * var(--tw-space-y-reverse)); }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: calc(0.8rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.8rem * var(--tw-space-y-reverse)); }
@media (min-width: 640px) {
  .sm\:p-4 { padding-top: 0.8rem; padding-bottom: 0.8rem; }
}
@media (min-width: 768px) {
  .md\:py-28 { padding-top: 5.6rem; padding-bottom: 5.6rem; }
  .md\:py-7 { padding-top: 1.4rem; padding-bottom: 1.4rem; }
}
@media (min-width: 1024px) {
  .lg\:gap-8 { row-gap: 1.6rem; }
}

/* 2026 visual refresh: cinematic, editorial and research-first. */
:root {
  color-scheme: light;
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-raised: #f3f7fc;
  --line: #e5e9ef;
  --line-strong: #cbd4df;
  --copy: #1c2530;
  --copy-soft: #4b5563;
  --copy-muted: #697586;
  --blue: #2263a8;
  --cyan: #187b70;
}

html { background: var(--page-bg); }
body {
  background: var(--page-bg) !important;
  color: var(--copy) !important;
}
.page-container {
  width: min(92%, 74rem);
  max-width: 74rem;
}
@media (min-width: 768px) {
  .page-container { width: min(88%, 74rem); }
}
::selection { color: #041017; background: #8ee9db; }

.site-nav {
  border-bottom: 1px solid #070a0d;
  background: #070a0d !important;
  color: rgba(255, 255, 255, .92);
  box-shadow: none;
}
.site-nav > div { min-height: 3.35rem; }
.site-nav > div > a {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.02em;
}
.site-logo { display: block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; object-fit: contain; }
.site-nav .text-mute { color: rgba(255, 255, 255, .58) !important; }
.site-nav .nav-link {
  border-radius: .45rem;
  padding-inline: .72rem;
}
.site-nav .nav-link:hover,
.site-nav .nav-link[aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hero-surface { background: var(--page-bg); border-color: var(--line) !important; }
.hero-stage {
  color-scheme: dark;
  position: relative;
  display: grid;
  min-height: max(43rem, 100svh);
  place-items: center;
  overflow: hidden;
  padding: 6.5rem 0 5.5rem;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(.78) contrast(1.08);
  transform: scale(1.018);
}
.hero-veil {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 6, 9, .62) 0%, rgba(3, 6, 9, .34) 40%, rgba(3, 6, 9, .9) 100%),
    linear-gradient(90deg, rgba(3, 6, 9, .46), transparent 36%, transparent 64%, rgba(3, 6, 9, .46));
}
.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, transparent 5%, #000 48%, transparent 92%);
}
.hero-content {
  width: min(96%, 78rem);
  position: relative;
  z-index: 1;
  max-width: 78rem;
  text-shadow: 0 .125rem 1.5rem rgba(0, 0, 0, .42);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .48rem .8rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(6, 10, 14, .36);
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(1rem);
}
.hero-status {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #72e1d1;
  box-shadow: 0 0 0 .24rem rgba(114, 225, 209, .12), 0 0 1rem rgba(114, 225, 209, .64);
}
.hero-title {
  margin-top: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(4rem, 9.7vw, 9.2rem);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.085em;
  color: #fff;
}
.hero-title span { color: #83f5df; }
.hero-subtitle {
  max-width: 58rem;
  margin: 1.7rem auto 0;
  color: rgba(255,255,255,.92);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.25rem, 2.55vw, 2.35rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.hero-byline { margin-top: 1.65rem; font-size: .79rem; line-height: 1.6; }
.hero-byline p { color: rgba(255,255,255,.82); font-weight: 600; }
.hero-byline span { color: rgba(255,255,255,.80); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.45rem;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 2.6rem;
  padding: .62rem 1.08rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(6, 10, 14, .32);
  color: rgba(255,255,255,.86);
  font-size: .72rem;
  font-weight: 600;
  backdrop-filter: blur(1rem);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.hero-button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.44); background: rgba(255,255,255,.1); }
.hero-button-primary { color: #071016; background: #f5f8fa; border-color: #f5f8fa; text-shadow: none; }
.hero-button-primary:hover { color: #071016; background: #fff; border-color: #fff; }
.hero-button-muted { color: rgba(255,255,255,.4); cursor: default; }
.hero-contributions {
  display: grid;
  max-width: 72rem;
  margin: 1.55rem auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.13);
  border-radius: .85rem;
  overflow: hidden;
  background: rgba(4, 8, 11, .34);
  backdrop-filter: blur(1rem);
}
.hero-contributions > div { display: grid; grid-template-rows: auto auto 1fr; align-items: start; min-width: 0; padding: 1.15rem .7rem; border-right: 1px solid rgba(255,255,255,.12); }
.hero-contributions > div:last-child { border-right: 0; }
.hero-contributions strong,
.hero-contributions span { display: block; }
.hero-contributions strong { color: #b3eee5; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; }
.hero-contributions .hero-feature-label { margin: .45rem auto 0; color: #fff; font-size: .729167rem; font-weight: 500; line-height: 1.45; }
.hero-contributions p { margin: .65rem auto 0; color: rgba(255,255,255,.72); font-size: .729167rem; line-height: 1.6; text-wrap: balance; }
/* Share heading, label and detail rows so wrapped titles cannot offset peers. */
.hero-contributions strong { min-height: 2.4em; }
.hero-contributions .hero-feature-label { min-height: 2.9em; }
@supports (grid-template-rows: subgrid) {
  .hero-contributions > div { grid-row: span 3; grid-template-rows: subgrid; }
  .hero-contributions strong, .hero-contributions .hero-feature-label { min-height: 0; }
}
.hero-scroll {
  position: absolute;
  right: max(2rem, 4vw);
  bottom: 2.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: rgba(255,255,255,.5);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-scroll i { position: relative; display: block; width: 2.5rem; height: 1px; overflow: hidden; background: rgba(255,255,255,.25); }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); animation: scroll-line 2.4s ease-in-out infinite; }
@keyframes scroll-line { 50%, 100% { transform: translateX(100%); } }

.teaser-showcase {
  position: relative;
  padding: clamp(3.3rem, 6vw, 5rem) 0;
  background: #fff;
  color: var(--copy);
}
.teaser-heading-row {
  display: block;
  text-align: center;
  margin-bottom: 2.2rem;
}
.section-kicker {
  margin-bottom: .6rem;
  color: var(--blue);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.teaser-heading-row h2 {
  margin-inline: auto;
  max-width: 48rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.04em;
}
.teaser-heading-row > p {
  max-width: 76ch;
  margin: 1rem auto 0;
  padding-bottom: .25rem;
  color: var(--copy-soft);
  font-size: .82rem;
  line-height: 1.7;
}
.teaser-frame {
  position: relative;
  padding: .55rem !important;
  border-color: var(--line) !important;
  border-radius: 1.2rem !important;
  background: #fff !important;
  box-shadow: 0 .6rem 2rem rgba(24,39,60,.035) !important;
}
.teaser-frame img { border-radius: .8rem; }

/* Scope the reading scale to the body; the hero retains its dimensions.
   At the existing 120% root size, .833333rem is 16px. */
main {
  position: relative;
  font-size: .833333rem;
  line-height: 1.7;
  padding-top: 4.2rem !important;
}
main.page-container { max-width: 62.5rem; }
main > section + section { margin-top: 4.6rem !important; }
main section > div:first-child > h2,
main section > h2 {
  text-align: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 1.77rem) !important;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
}
main section > div:first-child > h2 span { font-size: .625rem !important; letter-spacing: .08em; }

/* Consistent hierarchy for prose, demo controls and figure annotations. */
main .text-\[10px\], main .text-\[11px\] { font-size: .625rem !important; line-height: 1.5; }
main .text-xs, main .text-\[13px\] { font-size: .677083rem !important; line-height: 1.55; }
main .text-sm { font-size: .729167rem !important; line-height: 1.5; }
main .text-\[15px\], main p.text-sm, #contributors > div {
  font-size: .833333rem !important;
  line-height: 1.75;
}
main h3.text-xl { font-size: clamp(1.04rem, 1.6vw, 1.2rem); line-height: 1.35; letter-spacing: -.025em; }
main h3.text-xl > span { font-size: .677083rem !important; }
main h4, #application-title { font-size: .833333rem !important; line-height: 1.4; }
main > section > div:first-child > p { max-width: 82ch; margin-top: .85rem; }
main > section > div:first-child > p { margin-inline: auto; text-align: center; }
.section-intro { max-width: 82ch; margin: 1rem auto 0; font-size: .833333rem; line-height: 1.75; color: var(--copy-soft); text-align: center; }
.subsection-title { text-align: center; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.2rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.35; }
.method-copy { margin-top: .7rem; font-size: .78125rem; line-height: 1.7; color: var(--copy-soft); }
.method-efficiency { margin-top: 2.5rem; padding: 1.8rem; border-radius: .85rem; background: #f6f8fb; }
.paper-note { margin: .85rem auto 0; max-width: 90ch; color: var(--copy-muted); font-size: .677083rem; line-height: 1.65; text-align: center; }
.paper-note a { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }
.results-table-wrap { margin-top: 1.8rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .85rem; background: #fff; }
.results-table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.results-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .729167rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.results-table caption { padding: 1rem; color: var(--copy-soft); font-size: .729167rem; text-align: center; }
.results-table th, .results-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.results-table th:first-child { text-align: left; }
.results-table thead th { color: var(--copy-soft); background: #f6f8fb; font-weight: 600; }
.results-table tbody th { font-weight: 500; }
.results-table .dataset-row th { padding-top: .7rem; padding-bottom: .7rem; background: #f3f6fa; font-weight: 600; color: var(--copy); }
.results-table .ours-row { color: #1d5792; background: #edf5fc; }
.results-table .ours-row > * { font-weight: 600; }
.results-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.ablation-summary { margin-top: 2.6rem; }
.ablation-summary > div { margin-top: 1.3rem; }
.ablation-summary article { padding: 1.25rem; border: 1px solid var(--line); border-radius: .85rem; background: #fafbfd; }
.ablation-summary h4 { font-weight: 600; text-align: center; }
.ablation-summary p { margin-top: .75rem; font-size: .78125rem; line-height: 1.7; color: var(--copy-soft); }
.demo-context { max-width: 85ch; margin: 0 auto 1.2rem; font-size: .729167rem; line-height: 1.7; color: var(--copy-soft); text-align: center; }
.paper-figure { margin-top: 1.8rem; }
.paper-figure img { display: block; width: 100%; height: auto; }
#method h4 { text-align: center; }
#abstract > div:nth-child(2) { border: 0; box-shadow: none !important; }
#contributors > div { text-align: center; border: 0; box-shadow: none !important; }
#contributors p { margin-inline: auto; }
#ood-cases > [role="tablist"] { display: flex; width: fit-content; margin-inline: auto; justify-content: center; }
#abstract > div:nth-child(2) > div { max-width: 82ch; margin-inline: auto; }
#abstract p { max-width: none; }
#abstract p + p { margin-top: .9rem; }
#contributors p { max-width: 90ch; }
main .p-6 { padding: 1.25rem; }
main .p-5 { padding: 1.04rem; }
main .px-5 { padding-inline: 1.04rem; }
main .app-tab { padding-block: 1rem; }
main .app-tab[aria-selected="true"] { color: var(--copy) !important; }
main .application-chart figcaption, main .application-chart-label { font-size: .729167rem; line-height: 1.5; }
main .application-result { font-size: .78125rem; line-height: 1.6; }
#bibtex { line-height: 1.7; }
@media (min-width: 768px) {
  #abstract > div:nth-child(2) > div { padding: 1.65rem 1.5rem; }
}

/* Light research body; the video hero and navigation retain their own palette. */
.bg-white { background-color: var(--surface) !important; }
.bg-white\/80, .bg-white\/85 { background-color: rgba(255,255,255,.85) !important; }
.bg-zinc-50 { background-color: #f8fafc !important; }
.bg-zinc-100 { background-color: #f1f4f8 !important; }
.bg-zinc-200 { background-color: #e5e9ef !important; }
.border-zinc-200, .border-zinc-200\/80 { border-color: var(--line) !important; }
.border-zinc-300 { border-color: var(--line-strong) !important; }
.text-ink, .text-zinc-800, .text-zinc-900 { color: var(--copy) !important; }
.text-zinc-700, .text-zinc-600 { color: var(--copy-soft) !important; }
.text-zinc-500, .text-mute { color: var(--copy-muted) !important; }
.text-zinc-400 { color: #798493 !important; }
.text-cond { color: var(--blue) !important; }
.text-act { color: #b45429 !important; }
.text-out { color: var(--cyan) !important; }
.bg-cond { background-color: var(--blue) !important; }
.bg-act { background-color: #d8784c !important; }
.bg-out { background-color: var(--cyan) !important; }
.shadow-sm { box-shadow: 0 .35rem 1.2rem rgba(25,45,75,.035) !important; }
main .rounded-2xl { border-radius: 1rem; }
main video { filter: none; }
main .lift-card:hover { border-color: var(--line-strong); box-shadow: 0 .5rem 1.5rem rgba(25,45,75,.07); }
.nav-link:hover,
.nav-link[aria-current="true"],
.tab:not(.bg-ink):hover,
.app-tab:hover { color: var(--copy); background: #f3f6fa; }
.tab.bg-ink { color: #fff !important; background: #24364b !important; }
.tab.bg-ink:hover { color: #fff; background: #192b3e; }
.app-tab[aria-selected="true"] { color: var(--copy); background: var(--surface-raised); border-left-color: var(--blue); }
.application-placeholder,
.ood-placeholder { background-color: #f8fafc; background-image: linear-gradient(rgba(90,110,140,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(90,110,140,.05) 1px, transparent 1px); }
.application-placeholder.has-media { background: var(--surface); }
.application-chart figcaption,
.application-chart-label { color: var(--copy-soft); }
.application-chart-track { background: #edf1f5; }
.application-chart-fill { background: #a9b5c5; }
.application-chart-row.is-highlight .application-chart-fill { background: var(--blue); }
.application-chart-row.is-highlight .application-chart-label { color: var(--blue); }
.application-result { background: rgba(103,183,255,.1); color: var(--blue); }
#bibtex { border: 1px solid var(--line); background: #f6f8fa !important; color: #344154; }
footer { border-color: var(--line) !important; background: #f8fafc !important; }

@media (max-width: 768px) {
  .site-nav .page-container { width: 100%; }
  .site-nav > div { align-items: flex-start; flex-direction: column; gap: .45rem; padding-block: .7rem; }
  .site-nav > div > div { width: 100%; padding-bottom: .15rem; }
  .hero-stage { min-height: 48rem; padding-top: 8.5rem; }
  .hero-title { font-size: clamp(3.6rem, 17vw, 6rem); line-height: .9; }
  .hero-scroll { display: none; }
  .teaser-heading-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .teaser-heading-row > p { max-width: 32rem; }
  main { padding-top: 3.1rem !important; }
  main section[id] { scroll-margin-top: 7rem; }
  main > section + section { margin-top: 3.5rem !important; }
}

@media (max-width: 1100px) {
  .hero-contributions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-contributions > div { border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero-contributions > div:nth-child(2n) { border-right: 0; }
  .hero-contributions > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 420px) {
  .hero-contributions { grid-template-columns: 1fr; }
  .hero-contributions > div { border-right: 0; padding: .9rem 1rem; }
  .hero-contributions > div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-stage { background: linear-gradient(145deg, #0f1d28, #070a0e 60%); }
  .hero-scroll i::after { animation: none; }
}

.hero-button .hero-button-icon { display: block; width: 1.15rem; height: 1.15rem; flex-shrink: 0; }

.hero-button:disabled, .hero-button[aria-disabled="true"] { cursor: default; color: rgba(255,255,255,.65); }
.hero-button:disabled:hover, .hero-button[aria-disabled="true"]:hover { transform: none; border-color: rgba(255,255,255,.2); background: rgba(6,10,14,.32); }

.hero-actions .hero-button { cursor: pointer; font-family: inherit; }
.hero-actions .hero-button:focus-visible { outline: 2px solid #83f5df; outline-offset: 4px; }
