:root {
  --ink: #1d2b45;
  --ink-soft: #34465f;
  --muted: #5d6e86;
  --line: #dce5f3;
  --line-strong: #c7d6ec;
  --surface: #ffffff;
  --surface-soft: #f5f8ff;
  --blue: #3f63a5;
  --blue-deep: #274679;
  --blue-soft: #edf3ff;
  --green: #2f8a68;
  --green-deep: #21664f;
  --green-soft: #edf8f3;
  --red: #c54f56;
  --violet: #6b66b3;
  --sage: #76908a;
  --shadow: 0 20px 55px rgba(35, 67, 119, 0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(53, 99, 169, 0.25);
  outline-offset: 3px;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  padding: 9px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue-deep);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.page-shell {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 88px;
}

.content {
  display: grid;
  min-width: 0;
}

.content > *,
.content-group,
.section,
.hero,
.result-block,
.table-scroll,
.video-gallery {
  min-width: 0;
}

.side-nav {
  position: fixed;
  left: max(18px, calc((100vw - var(--content-width)) / 2 - 178px));
  top: 50%;
  z-index: 20;
  width: 126px;
  padding: 8px;
  border: 1px solid rgba(214, 222, 235, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(31, 52, 87, 0.08);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

.side-nav.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-10px, -50%);
}

.side-nav a {
  display: block;
  padding: 9px 8px;
  border-radius: 11px;
  color: #7a8498;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease;
}

.side-nav a:hover {
  color: var(--blue-deep);
  background: #f5f8fd;
}

.side-nav a.active {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.hero {
  display: grid;
  gap: 28px;
  text-align: center;
}

.hero-panel {
  position: relative;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 52px 58px;
  border: 1px solid #dbe3f0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 22%, rgba(150, 175, 212, 0.35), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(168, 151, 181, 0.25), transparent 28%),
    radial-gradient(circle at 74% 100%, rgba(137, 167, 157, 0.25), transparent 32%),
    linear-gradient(135deg, #f8faff 0%, #f4f7fb 48%, #f9f7fa 100%);
  box-shadow: var(--shadow);
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(65, 91, 132, 0.1);
  border-radius: 50%;
}

.hero-panel::before {
  width: 330px;
  height: 330px;
  left: -140px;
  bottom: -220px;
}

.hero-panel::after {
  width: 470px;
  height: 470px;
  right: -280px;
  top: -330px;
}

.eyebrow,
.result-kicker,
.figure-label,
.citation-label,
.placeholder-kicker {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 960px;
  margin: 0 auto 14px;
  color: #242d42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.title-mark {
  color: var(--blue-deep);
  font-weight: 700;
}

.title-accent {
  color: var(--green-deep);
  font-style: italic;
}

.author-block {
  max-width: 920px;
  margin: 24px auto 20px;
}

.author-list {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px 22px;
  flex-wrap: wrap;
  color: #33435e;
  font-size: clamp(0.96rem, 1.7vw, 1.08rem);
  font-weight: 720;
}

.author-name {
  position: relative;
  white-space: nowrap;
}

a.author-name {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-color: rgba(53, 99, 169, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a.author-name:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.author-name sup,
.affiliation-list sup {
  margin-left: 2px;
  color: var(--blue);
  font-size: 0.68em;
  font-weight: 800;
}

.affiliation-list {
  display: grid;
  gap: 1px;
  margin-top: 10px;
}

.affiliation-list p {
  margin: 0;
  color: #68758a;
  font-size: clamp(0.76rem, 1.4vw, 0.84rem);
  line-height: 1.55;
}

.affiliation-list .corresponding-note {
  margin-top: 3px;
  color: #7c8798;
  font-size: 0.74rem;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: #59657a;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.status-row {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 27px;
  flex-wrap: wrap;
}

.status-row span {
  padding: 6px 12px;
  border: 1px solid rgba(107, 130, 165, 0.24);
  border-radius: 999px;
  color: #4c607e;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

.release-note {
  max-width: 690px;
  margin: 25px auto 0;
  color: #7d8798;
  font-size: 0.84rem;
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
}

.resource-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 4px 2px 22px;
  color: var(--blue-deep);
  background: none;
  font-weight: 720;
  text-decoration: none;
}

.resource-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.resource-button.is-live {
  cursor: pointer;
}

.resource-button.is-live:hover,
.resource-button.is-live:focus-visible {
  color: #214f94;
}

.resource-button.is-live:hover .resource-icon,
.resource-button.is-live:focus-visible .resource-icon {
  border-color: #8eaed8;
  background: #edf4ff;
}

.coming-soon.live-label {
  color: #1d7a5b;
}

.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid #cbd6e6;
  border-radius: 7px;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.code-icon,
.hf-icon {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.65rem;
}

.coming-soon {
  position: absolute;
  bottom: 0;
  left: 50%;
  color: #99a2b1;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.button-separator {
  padding-top: 4px;
  color: #b3bbc7;
}

.tldr-card {
  padding: 21px 24px;
  border-left: 4px solid #9bb2d3;
  border-radius: 15px;
  background: #f6f9fd;
  text-align: left;
}

.tldr-card p {
  margin: 0;
  color: #445269;
}

.tldr-card strong {
  margin-right: 10px;
  color: var(--blue-deep);
  letter-spacing: 0.03em;
}

.project-video-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 52, 87, 0.07);
}

.project-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.project-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 47 / 20;
  object-fit: contain;
  background: #fff;
}

.hero-carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(213, 223, 237, 0.9);
  border-radius: 50%;
  padding: 0 0 3px;
  color: #3f5271;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(16, 28, 48, 0.16);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.hero-carousel-arrow.previous {
  left: 16px;
}

.hero-carousel-arrow.next {
  right: 16px;
}

.hero-carousel-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 12px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #cbd5e3;
  cursor: pointer;
  transition: width 0.18s ease, border-radius 0.18s ease, background 0.18s ease;
}

.hero-carousel-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #718bad;
}

.hero-carousel-position {
  min-width: 38px;
  color: #77859a;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.custom-video-controls {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  justify-items: center;
}

.custom-video-timeline {
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.custom-video-progress {
  width: 100%;
  margin: 2px 0 3px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.custom-video-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue-deep) 0 var(--progress, 0%), #d3dbe7 var(--progress, 0%) 100%);
}

.custom-video-progress::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #7892b8;
  box-shadow: 0 1px 4px rgba(38, 63, 115, 0.22);
}

.custom-video-progress::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: #d3dbe7;
}

.custom-video-progress::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.custom-video-progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #7892b8;
  box-shadow: 0 1px 4px rgba(38, 63, 115, 0.22);
}

.custom-video-time {
  min-width: 92px;
  color: #56657c;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.custom-video-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.custom-video-button {
  width: 132px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #53617a;
  background: #fff;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.custom-video-button:hover,
.custom-video-button.is-active {
  border-color: #b7c8e0;
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.project-video-card figcaption {
  margin-top: 10px;
  color: #7b8494;
  font-size: 0.8rem;
  text-align: center;
}

.online-demo-card {
  display: block;
  padding: 30px;
  border: 1px solid #cfdaea;
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(119, 153, 204, 0.16), transparent 42%),
    linear-gradient(135deg, #f7faff 0%, #f4f8f7 100%);
  box-shadow: 0 14px 38px rgba(31, 52, 87, 0.06);
  text-align: left;
}

.online-demo-copy {
  align-self: center;
}

.online-demo-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.demo-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.online-demo-heading h2 {
  max-width: 650px;
  margin: 7px 0 0;
  color: #2b3850;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.demo-status {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 6px 11px;
  border: 1px solid rgba(53, 99, 169, 0.22);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-status.is-live {
  border-color: rgba(26, 133, 94, 0.28);
  color: #176d50;
  background: rgba(238, 251, 246, 0.92);
}

.online-demo-copy > p {
  max-width: 700px;
  margin: 15px 0 0;
  color: #59677d;
  font-size: 0.94rem;
}

.demo-output-list {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.demo-output-list span {
  padding: 6px 10px;
  border: 1px solid rgba(89, 119, 162, 0.18);
  border-radius: 9px;
  color: #4d617f;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
}

.demo-output-list span::before {
  margin-right: 6px;
  color: var(--green);
  content: "\2713";
}

.demo-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(53, 99, 169, 0.24);
  border-radius: 9px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.demo-open-link:hover,
.demo-open-link:focus-visible {
  border-color: rgba(53, 99, 169, 0.45);
  background: #ffffff;
}

.demo-embed-shell {
  position: relative;
  height: clamp(760px, 82vh, 930px);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #c8d5e7;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 52, 87, 0.08);
}

.demo-embed {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.result-video-card figcaption {
  margin-top: 11px;
  color: #344054;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.result-video-card figcaption strong {
  font-weight: 800;
}

.video-placeholder,
.video-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid #dfe5ee;
  border-radius: 22px;
  background: #f5f7fa;
}

.teaser-placeholder {
  min-height: 500px;
}

.placeholder-grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(50, 70, 103, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 70, 103, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 95%);
}

.placeholder-content,
.video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 36px;
  text-align: center;
}

.placeholder-content h2,
.video-empty h3 {
  margin: 16px 0 4px;
  color: #344054;
  font-family: Georgia, serif;
  font-weight: 500;
}

.placeholder-content h2 {
  font-size: 2rem;
}

.placeholder-content p,
.video-empty p {
  max-width: 520px;
  margin: 0;
  color: #7a8495;
}

.play-disc {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-top: 28px;
  border: 1px solid rgba(70, 97, 139, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(38, 63, 115, 0.12);
}

.play-disc span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #7791b7;
}

.play-disc.small {
  width: 64px;
  height: 64px;
  margin-top: 15px;
}

.play-disc.small span {
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 13px;
}

.content-group {
  display: grid;
  gap: 82px;
  margin-top: 90px;
}

.section {
  scroll-margin-top: 26px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 13px;
  margin-bottom: 26px;
}

.section-index {
  color: #9ba8bb;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-header h2 {
  margin: 0;
  color: #2c354a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.abstract-copy {
  max-width: 980px;
  margin: 0 auto;
}

.abstract-copy p,
.section-lead {
  color: #4a566c;
  font-size: 1.04rem;
  line-height: 1.85;
}

.abstract-copy p {
  margin: 0;
  text-indent: 2em;
}

.abstract-copy p + p {
  margin-top: 13px;
}

.section-lead {
  max-width: 880px;
  margin: 0 auto 32px;
  text-align: center;
}

.method-motivation {
  max-width: 980px;
  margin: 0 auto 32px;
  color: #4a566c;
  font-size: 1rem;
  line-height: 1.78;
}

.method-motivation p {
  margin: 0;
}

.method-motivation strong {
  color: #344054;
  font-weight: 650;
}

.method-motivation .method-transition {
  margin-top: 14px;
  color: #344054;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.feature-card {
  min-height: 202px;
  padding: 23px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  border-color: #cbd7e9;
  box-shadow: 0 15px 34px rgba(38, 63, 115, 0.07);
  transform: translateY(-3px);
}

.feature-number {
  color: #9aa7b9;
  font-family: Georgia, serif;
  font-size: 0.78rem;
}

.feature-card h3,
.method-step h3,
.result-heading h3,
.streaming-callout h3 {
  margin: 14px 0 7px;
  color: #344054;
  font-size: 1.04rem;
}

.feature-card p,
.method-step p {
  margin: 0;
  color: #6d7789;
  font-size: 0.9rem;
  line-height: 1.65;
}

.figure-card {
  position: relative;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 52, 87, 0.055);
}

.figure-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f6f6f6;
}

.figure-link {
  display: block;
  cursor: zoom-in;
}

.figure-card figcaption {
  margin-top: 13px;
  color: #7b8494;
  font-size: 0.8rem;
  text-align: center;
}

.overview-figure {
  max-width: 900px;
  margin: 0 auto;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 56px;
}

.method-step {
  position: relative;
  min-height: 214px;
  padding: 23px 20px;
  border-top: 3px solid #a8bad3;
  border-radius: 0 0 16px 16px;
  background: var(--surface-soft);
}

.method-step:nth-child(3),
.method-step:nth-child(4) {
  border-top-color: #73aa96;
}

.method-step span {
  color: #8795aa;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.technical-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.technical-grid .figure-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.technical-grid .figure-card img {
  height: auto;
  object-fit: contain;
}

.technical-grid .model-figure {
  grid-column: 1 / -1;
}

.figure-label {
  margin-bottom: 13px;
}

.video-lead {
  margin-bottom: 20px;
}

.video-filter-bar {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.video-filter,
.control-pill,
.citation-placeholder button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #5d687b;
  background: #fff;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.video-filter {
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
}

.video-filter:hover,
.video-filter.is-active {
  border-color: #b7c8e0;
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.video-stage {
  height: 590px;
  background:
    radial-gradient(circle at 50% 30%, rgba(121, 143, 177, 0.14), transparent 36%),
    linear-gradient(145deg, #fafbfd, #f1f4f8);
}

.video-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(57, 76, 108, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 76, 108, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
}

#result-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

#result-video.has-source {
  display: block;
}

.video-empty {
  z-index: 2;
}

.video-case-tag,
.video-coming-soon {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-case-tag {
  color: #586c8a;
  background: rgba(224, 232, 244, 0.78);
}

.video-coming-soon {
  margin-top: 18px;
  color: #8b7890;
  background: #f0ecf2;
}

.video-empty h3 {
  max-width: 680px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.stage-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 212, 228, 0.86);
  border-radius: 50%;
  color: #4f607a;
  background: rgba(255, 255, 255, 0.86);
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, background 0.18s ease;
}

.video-stage:hover .stage-arrow,
.stage-arrow:focus-visible {
  opacity: 1;
}

.stage-arrow:hover,
.round-button:hover {
  background: var(--blue-soft);
}

.stage-arrow.previous {
  left: 14px;
}

.stage-arrow.next {
  right: 14px;
}

.video-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.round-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #4a5c76;
  background: transparent;
  cursor: pointer;
}

.video-control-center {
  width: 370px;
  max-width: calc(100% - 112px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 16px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d2d9e4;
  cursor: pointer;
}

.carousel-dot.active {
  background: #8096b6;
}

.video-progress {
  width: 100%;
  height: 3px;
  margin: 8px 0 10px;
  accent-color: #859bb9;
}

.video-action-row {
  display: flex;
  gap: 8px;
}

.control-pill {
  flex: 1;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.control-pill:disabled,
.citation-placeholder button:disabled {
  color: #9ca5b3;
  background: #f8f9fb;
  cursor: not-allowed;
}

.result-block {
  margin-top: 42px;
}

.result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.result-heading h3 {
  margin: 4px 0 0;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.table-note {
  color: #8c96a6;
  font-size: 0.75rem;
  font-style: italic;
  white-space: nowrap;
}

.multi-robot-metric-note {
  margin: 8px 0 0;
  color: #526784;
  font-size: 0.9rem;
  font-style: italic;
}

.table-footnote {
  margin: 4px 0 0;
  color: #6d7789;
  font-size: 0.78rem;
  font-style: italic;
  text-align: right;
}

.streaming-experiment-note {
  max-width: 980px;
  margin: 12px 0 0;
  color: #6d7789;
  font-size: 0.86rem;
  line-height: 1.7;
}

.table-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.comparison-table-scroll {
  max-height: 328px;
  overflow: auto;
  border-block: 1px solid #edf1f6;
  scrollbar-gutter: stable;
}

.results-table {
  width: 100%;
  min-width: 1110px;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 0.79rem;
  line-height: 1.35;
}

.results-table th,
.results-table td {
  padding: 12px 11px;
  text-align: center;
  white-space: nowrap;
}

.results-table th {
  color: #44526a;
  background: #f0f4f9;
  font-size: 0.73rem;
  font-weight: 800;
}

.comparison-table {
  min-width: 1370px;
  table-layout: fixed;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 1px 0 #dbe3ef;
}

.comparison-table thead th:first-child {
  z-index: 5;
}

.metric-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px dotted #8291a8;
  cursor: help;
  outline: none;
}

.metric-tooltip::after {
  position: absolute;
  z-index: 12;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  max-width: 260px;
  padding: 9px 11px;
  border: 1px solid #d5dfec;
  border-radius: 9px;
  color: #fff;
  background: #26364f;
  box-shadow: 0 10px 28px rgba(26, 40, 65, 0.18);
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  white-space: normal;
  transform: translate(-50%, -4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.metric-tooltip:hover::after,
.metric-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.results-table th:first-child {
  border-radius: 10px 0 0 10px;
}

.results-table th:last-child {
  border-radius: 0 10px 10px 0;
}

.results-table td {
  color: #526078;
  background: #fff;
  transition: background 0.16s ease;
}

.results-table td:first-child,
.results-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 176px;
  text-align: left;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  width: 158px;
  min-width: 158px;
}

.comparison-table td:nth-child(n + 2),
.comparison-table th:nth-child(n + 2) {
  width: 128px;
}

.results-table tbody tr:hover td {
  background: #f8faff;
}

.metric-comparison-cell {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: auto;
}

.metric-value {
  text-align: center;
}

.metric-delta {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  min-width: 52px;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0;
  text-align: left;
  transform: translateY(calc(-50% + 2px));
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.comparison-table tbody tr:hover .metric-delta,
.comparison-table tbody tr:focus-within .metric-delta {
  opacity: 1;
  transform: translateY(-50%);
}

.comparison-table tbody tr:not(.ours-row) {
  cursor: help;
  outline: none;
}

.comparison-table tbody tr:focus-visible td {
  box-shadow: inset 0 0 0 2px rgba(53, 99, 169, 0.28);
}

.metric-delta.is-positive {
  color: var(--green);
}

.metric-delta.is-negative {
  color: var(--red);
}

.metric-delta.is-neutral {
  color: #8a94a5;
}

.results-table .ours-row td {
  color: #364761;
  background: #edf4fd;
}

.results-table .ours-row:hover td {
  background: #e4eefb;
}

.results-table .gt-row td {
  color: #778194;
  background: #fafafa;
}

.comparison-table td.rank-first,
.comparison-table tbody tr:hover td.rank-first,
.comparison-table .ours-row td.rank-first,
.comparison-table .ours-row:hover td.rank-first {
  background: rgb(95% 62% 61%);
}

.comparison-table td.rank-second,
.comparison-table tbody tr:hover td.rank-second {
  background: rgb(97% 81% 63%);
}

.results-table tbody td:first-child {
  border-radius: 10px 0 0 10px;
}

.results-table tbody td:last-child {
  border-radius: 0 10px 10px 0;
}

.compact-table {
  min-width: 1050px;
}

.multi-embodiment-table {
  min-width: 900px;
}

.qualitative-figure {
  max-width: 940px;
  margin: 46px auto 74px;
}

.comparison-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 34px auto 50px;
}

.result-video-card {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 52, 87, 0.055);
}

.result-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  border-radius: 12px;
  object-fit: contain;
  background: #10141c;
}

.multi-robot-figure {
  max-width: 790px;
}

.embodied-demo-section {
  margin-top: 56px;
}

.embodied-demo-heading {
  margin-bottom: 0;
}

.real-robot-video-grid {
  margin-bottom: 28px;
}

.real-robot-video-grid .result-video-card video {
  aspect-ratio: 16 / 9;
  background: #fff;
}

.embodied-demo-section .streaming-callout {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.streaming-callout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  margin-top: 52px;
  padding: 34px;
  border: 1px solid #d6e0ed;
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(237, 244, 253, 0.95), rgba(248, 247, 250, 0.98));
}

.streaming-callout h3 {
  margin: 7px 0 7px;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.streaming-callout p {
  margin: 0;
  color: #667288;
}

.streaming-callout .streaming-latency-note {
  margin-top: 12px;
  border-left: 3px solid #9db2d1;
  padding-left: 12px;
  color: #748096;
  font-size: 0.78rem;
  line-height: 1.55;
}

.streaming-latency-note strong {
  color: #526784;
}

.streaming-video-card {
  margin-top: 20px;
}

.streaming-video-card video {
  aspect-ratio: 16 / 9;
}

.streaming-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.streaming-specs span {
  display: grid;
  min-height: 112px;
  padding: 14px 10px;
  border: 1px solid rgba(197, 210, 229, 0.9);
  border-radius: 14px;
  color: #788397;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  place-content: center;
  text-align: center;
}

.streaming-specs strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-deep);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.citation-section {
  margin-top: 84px;
  padding-bottom: 76px;
}

.citation-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.citation-placeholder p {
  margin: 5px 0 0;
  color: #667085;
}

.citation-placeholder button {
  flex: 0 0 auto;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 750;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px max(24px, calc((100vw - var(--content-width)) / 2));
  color: #778194;
  background: #f4f6f8;
  font-size: 0.82rem;
}

.page-footer p {
  margin: 0;
}

.page-footer a {
  color: #586c89;
  font-weight: 700;
}

/* Cool blue and violet visual system for the research page. */
body {
  background: radial-gradient(circle at 50% 0, #f3f7ff 0, #ffffff 720px);
}

.side-nav {
  border-color: #d6e1f1;
  background: rgba(255, 255, 255, 0.94);
}

.side-nav a {
  color: #586c8a;
}

.hero-panel {
  border-color: #d5e1f3;
  background:
    radial-gradient(circle at 9% 18%, rgba(193, 215, 250, 0.48), transparent 38%),
    radial-gradient(circle at 92% 7%, rgba(216, 211, 247, 0.47), transparent 37%),
    linear-gradient(145deg, #f9fbff 0%, #f1f6ff 55%, #f8f7ff 100%);
  box-shadow: 0 26px 68px rgba(35, 67, 119, 0.1);
}

.hero-panel::before,
.hero-panel::after {
  border-color: rgba(67, 103, 160, 0.13);
}

.hero h1,
.section-header h2,
.online-demo-heading h2 {
  color: var(--ink);
}

.title-mark {
  color: #294e88;
}

.title-accent {
  color: #5d61a4;
  font-style: normal;
}

.author-list,
.hero-subtitle {
  color: #344963;
}

.affiliation-list p,
.affiliation-list .corresponding-note {
  color: #586d89;
}

.status-row span {
  border-color: #d0dff2;
  color: #38577f;
  background: rgba(255, 255, 255, 0.78);
}

.resource-button.is-live:hover,
.resource-button.is-live:focus-visible {
  color: var(--violet);
}

.resource-icon {
  border-color: #c7d8ee;
  background: #f7faff;
}

.tldr-card {
  border-left-color: #788ec9;
  background: #f1f6ff;
}

.tldr-card p,
.online-demo-copy > p,
.abstract-copy p,
.method-motivation {
  color: #40536f;
}

.project-video-card,
.figure-card,
.result-video-card {
  border-color: #d9e4f4;
  box-shadow: 0 12px 36px rgba(35, 67, 119, 0.07);
}

.hero-carousel-dot.is-active {
  background: var(--blue);
}

.custom-video-button {
  color: #435b7c;
  background: #fbfcff;
}

.project-video-card figcaption,
.figure-card figcaption {
  color: #475d7b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.online-demo-card {
  border-color: #cedcf0;
  background:
    radial-gradient(circle at 7% 0%, rgba(196, 218, 252, 0.4), transparent 43%),
    linear-gradient(135deg, #f8fbff 0%, #f1f6ff 72%, #f6f4fd 100%);
  box-shadow: 0 16px 42px rgba(35, 67, 119, 0.08);
}

.demo-output-list span,
.demo-open-link {
  border-color: #d0dff1;
  color: #36557f;
  background: rgba(255, 255, 255, 0.85);
}

.demo-embed-shell {
  border-color: #cddcf0;
  box-shadow: 0 14px 36px rgba(35, 67, 119, 0.09);
}

.section-index,
.feature-number {
  color: #5d78a4;
}

.abstract-copy,
.method-motivation {
  max-width: 900px;
}

.method-motivation strong,
.method-motivation .method-transition {
  color: #2d4262;
}

.feature-card {
  border-color: #dbe5f4;
  background: #ffffff;
}

.feature-card:hover {
  border-color: #afc3e6;
  box-shadow: 0 10px 28px rgba(35, 67, 119, 0.09);
  transform: none;
}

.feature-card h3,
.method-step h3,
.result-heading h3,
.streaming-callout h3 {
  color: #2b4062;
}

.feature-card p,
.method-step p {
  color: #4e607c;
}

.method-step {
  border-top-color: #8faee1;
  background: #f5f8fe;
}

.method-step:nth-child(3),
.method-step:nth-child(4) {
  border-top-color: #a4a0d7;
}

.results-table th {
  color: #2c476e;
  background: #eaf1fb;
}

.results-table td {
  color: #425571;
}

.results-table .ours-row td {
  color: #29486d;
  background: #eaf2ff;
}

.results-table .ours-row:hover td {
  background: #e1edfd;
}

.metric-tooltip::after {
  background: #233a60;
}

.streaming-callout {
  border-color: #d5e0f2;
  background: linear-gradient(120deg, #edf4ff, #f7f6ff);
}

.citation-placeholder {
  border-color: #d7e3f4;
}

.page-footer {
  color: #536a89;
  background: #edf3fc;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card:hover {
    box-shadow: none;
  }
}

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

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 32px, var(--content-width));
    padding-top: 24px;
  }

  .hero-panel {
    padding: 52px 28px 46px;
  }

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

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

  .comparison-video-grid {
    grid-template-columns: 1fr;
  }

  .demo-embed-shell {
    height: 900px;
  }

  .technical-grid .figure-card {
    min-height: auto;
  }

  .technical-grid .figure-card img {
    height: auto;
    max-height: 480px;
  }

  .streaming-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    width: min(100% - 24px, var(--content-width));
    padding-bottom: 56px;
  }

  .hero-panel {
    padding: 42px 18px 38px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(1.78rem, 8.7vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
  }

  .hero h1 br {
    display: none;
  }

  .hero-panel > * {
    min-width: 0;
    max-width: 100%;
  }

  .author-block {
    margin: 20px auto 18px;
  }

  .author-list {
    gap: 4px 15px;
  }

  .affiliation-list {
    margin-top: 9px;
  }

  .hero-actions {
    align-items: center;
    gap: 8px;
    flex-direction: column;
  }

  .button-separator {
    display: none;
  }

  .resource-button {
    padding-bottom: 20px;
  }

  .teaser-placeholder {
    min-height: 365px;
  }

  .project-video-card {
    padding: 10px;
    border-radius: 17px;
  }

  .project-video-frame {
    border-radius: 11px;
  }

  .hero-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .hero-carousel-arrow.previous {
    left: 8px;
  }

  .hero-carousel-arrow.next {
    right: 8px;
  }

  .custom-video-controls {
    gap: 6px;
  }

  .custom-video-timeline {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .custom-video-time {
    justify-self: end;
    min-width: 0;
    padding-right: 2px;
  }

  .custom-video-actions {
    gap: 6px;
  }

  .custom-video-button {
    width: auto;
    min-width: 96px;
    flex: 1;
    padding-inline: 6px;
    font-size: 0.78rem;
  }

  .online-demo-card {
    gap: 20px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .online-demo-heading {
    flex-direction: column;
    gap: 11px;
  }

  .demo-status {
    order: -1;
  }

  .demo-embed-shell {
    height: 1180px;
    margin-top: 20px;
    border-radius: 13px;
  }

  .content-group {
    gap: 60px;
    margin-top: 64px;
  }

  .feature-grid,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .method-step {
    min-height: 0;
  }

  .figure-card {
    padding: 12px;
    border-radius: 16px;
  }

  .video-stage {
    height: 390px;
  }

  .stage-arrow {
    opacity: 1;
  }

  .video-empty {
    padding: 28px 44px;
  }

  .video-controls {
    gap: 4px;
  }

  .video-control-center {
    max-width: calc(100% - 84px);
  }

  .video-action-row {
    gap: 5px;
  }

  .control-pill {
    padding: 6px 4px;
    font-size: 0.73rem;
  }

.result-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .streaming-callout {
    padding: 24px 18px;
  }

  .streaming-specs {
    grid-template-columns: 1fr;
  }

  .streaming-specs span {
    min-height: 86px;
  }

  .citation-section {
    margin-top: 72px;
  }

  .citation-placeholder,
  .page-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .citation-placeholder button {
    width: 100%;
  }
}

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

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