:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --paper: #ffffff;
  --ink: #17201b;
  --muted: #5f6f66;
  --line: #d9e1dc;
  --soft: #eaf1ee;
  --accent: #286f68;
  --accent-dark: #174b48;
  --accent-light: #dcefeb;
  --shadow: 0 18px 48px rgba(26, 45, 38, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 247, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 225, 220, 0.85);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 58px 0 24px;
  text-align: center;
}

.venue,
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.subtitle {
  width: min(900px, 100%);
  margin: 18px auto 16px;
  color: #314039;
  font-size: clamp(19px, 2.5vw, 27px);
  line-height: 1.25;
  font-weight: 650;
}

.authors {
  margin: 18px 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.affiliations,
.notes {
  width: min(900px, 100%);
  margin: 4px auto;
  color: var(--muted);
  font-size: 14px;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 45, 38, 0.05);
}

.button svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button svg.logo-fill {
  fill: currentColor;
  stroke: none;
}

.button svg.quote-icon {
  fill: currentColor;
  stroke: none;
}

.button-img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  object-fit: contain;
}

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

.button.disabled {
  color: #89968f;
  background: #edf1ef;
  box-shadow: none;
}

.section {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.video-first {
  margin-top: 12px;
}

.section-heading {
  width: min(850px, 100%);
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sound-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sound-note::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--accent);
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading .speed-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.section-label-row .eyebrow,
.section-heading .sound-note {
  margin: 0;
}

.section-heading .sound-note {
  font-size: 13px;
}

.video-frame,
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101412;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: contain;
}

.hero-video video {
  max-height: 72vh;
}

.abstract-text {
  margin: 0;
  color: #26342e;
  font-size: 17px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric-value {
  display: block;
  color: var(--accent-dark);
  font-size: 31px;
  line-height: 1;
  font-weight: 850;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.abstract-teaser {
  margin-top: 24px;
}

.task-stack {
  display: grid;
  gap: 28px;
}

.real-task {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.real-task:first-child {
  padding-top: 0;
  border-top: 0;
}

.task-heading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}

.task-heading h3 {
  margin-top: 0;
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.12;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.layout-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 28px;
  row-gap: 10px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.layout-label {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.layout-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layout-tab {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid #a9cbc4;
  border-radius: 7px;
  background: #fff;
  color: var(--accent-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 45, 38, 0.05);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.layout-tab:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
}

.layout-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 111, 104, 0.18);
}

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

.video-card {
  background: #fff;
}

.card-title {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.card-title strong {
  color: var(--ink);
  font-size: 16px;
}

.figure-block {
  margin: 0;
}

.figure-block img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.table-card {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table-title {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  font-weight: 850;
}

.table-note {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

td:first-child,
td:nth-child(2),
th:first-child,
th:nth-child(2) {
  text-align: center;
}

th {
  background: #f8fbfa;
  font-weight: 850;
}

.ours-row {
  background: var(--accent-light);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.method-grid > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.method-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.method-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid #c8ddd8;
}

.method-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-icon .robot-arm-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

h3 {
  margin: 0;
  font-size: 18px;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.bibtex {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101412;
  color: #e7f2ed;
  font-size: 13px;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 44px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 36px;
  }

  .metric-row,
  .rollout-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 20px;
  }

  .task-heading {
    flex-direction: column;
    gap: 10px;
  }

  .card-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
