:root {
  color-scheme: light;
  --ink: #151820;
  --muted: #687081;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --line: #dfe3ea;
  --accent: #119a8b;
  --accent-strong: #087669;
  --rose: #cf4764;
  --blue: #4267b2;
  --shadow: 0 18px 44px rgba(24, 31, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(21, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 36px));
  height: 64px;
  margin: 0 auto;
}

.brand {
  font-size: 16px;
  font-weight: 850;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: #3e4552;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.76;
}

.nav-links a:hover {
  color: var(--accent-strong);
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #10131a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.34) 0%, rgba(12, 14, 18, 0.18) 38%, rgba(12, 14, 18, 0.64) 100%),
    rgba(8, 9, 12, 0.36);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 74px;
  color: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 820;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  max-width: 980px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px;
  width: min(760px, 100%);
  margin-top: 38px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.hero-button.primary {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(17, 154, 139, 0.78);
}

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

.partner-logos {
  display: grid;
  grid-template-columns: 1fr;
  width: min(1060px, calc(100vw - 72px));
  margin-top: 24px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.32));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px) saturate(1.18);
}

.partner-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.combined-logo {
  max-height: 74px;
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.28));
}

.section {
  padding: 86px 0;
}

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

.section-inner.narrow {
  width: min(1220px, calc(100% - 64px));
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.paper-section {
  padding-top: 84px;
  padding-bottom: 64px;
  background: #fff;
  text-align: center;
}

.paper-title {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(30px, 2.65vw, 48px);
  font-weight: 760;
  line-height: 1.2;
}

.authors {
  max-width: 1140px;
  margin: 44px auto 0;
  color: #242936;
  font-size: clamp(18px, 1.18vw, 21px);
  line-height: 1.72;
}

.authors sup,
.institutions sup {
  color: #788191;
  font-weight: 700;
}

.institutions {
  max-width: 980px;
  margin: 26px auto 0;
  color: #798292;
  font-size: clamp(17px, 1.18vw, 21px);
  line-height: 1.75;
}

.author-notes {
  margin: 24px auto 0;
  color: #8b93a1;
  font-size: 17px;
}

.author-notes sup {
  position: relative;
  top: -0.18em;
  color: #6f7787;
  font-size: 0.72em;
  font-weight: 800;
}

.overview-video-section {
  padding-top: 22px;
  padding-bottom: 72px;
  background: #fff;
}

.overview-video-frame {
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10131a;
  box-shadow: var(--shadow);
}

.overview-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #10131a;
  object-fit: contain;
}

.abstract-section {
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.text-block {
  width: min(1080px, calc(100% - 64px));
}

.text-block h2 {
  max-width: none;
  margin: 0 0 36px;
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 780;
  text-align: center;
}

.text-block p {
  margin: 0 0 20px;
  color: #556071;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.72;
}

.paper-figure {
  margin: 50px auto 0;
  background: #fff;
}

.paper-figure figcaption {
  margin: 0 0 18px;
  padding: 0;
  color: #232936;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.paper-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.main-figure {
  width: min(1080px, calc(100% - 44px));
}

.overview-figure {
  width: min(1120px, calc(100% - 44px));
}

.pipeline-figure {
  width: min(1180px, 100%);
  margin-top: 34px;
}

.section-heading {
  max-width: 940px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.center p:not(.eyebrow) {
  max-width: 860px;
  margin: 18px auto 0;
}

.pipeline-section {
  background: #fff;
}

.gallery-section {
  background: #f3f6f4;
}

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

.rollout-card {
  padding: 16px;
  border: 1px solid #d8ded9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(28, 38, 34, 0.06);
}

.rollout-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.rollout-title span {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.rollout-title h3 {
  margin: 0;
  color: #222832;
  font-size: 22px;
  line-height: 1.2;
  text-align: right;
}

.video-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.video-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3e7ec;
  border-radius: 8px;
  background: #fff;
}

.video-frame video {
  width: 100%;
  object-fit: contain;
  background: #10131a;
}

.rollout-card.single-arm .video-frame video {
  aspect-ratio: 4 / 3;
}

.rollout-card.bimanual .video-frame video {
  aspect-ratio: 2 / 1;
}

figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.citation-section {
  background: #fff;
}

.bibtex {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #242936;
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 36px));
  min-height: 86px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--accent-strong);
  font-weight: 800;
}

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

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

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

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
    height: 56px;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding-top: 94px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 38px;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-actions,
  .video-pair {
    grid-template-columns: 1fr;
  }

  .hero-button {
    min-height: 48px;
    font-size: 17px;
  }

  .partner-card {
    min-height: 44px;
    padding: 8px 12px;
  }

  .combined-logo {
    max-height: 54px;
  }

  .section {
    padding: 62px 0;
  }

  .section-inner,
  .section-inner.narrow,
  .text-block {
    width: calc(100% - 24px);
  }

  .paper-title {
    font-size: 36px;
  }

  .authors {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.62;
  }

  .institutions {
    font-size: 16px;
  }

  .main-figure {
    width: min(100% - 24px, 1080px);
  }

  .rollout-title {
    display: block;
  }

  .rollout-title h3 {
    margin-top: 4px;
    text-align: left;
  }
}
