* { box-sizing: border-box; }
:root {
  --ink: #17201d;
  --muted: #5d6b65;
  --line: #d9e0dc;
  --panel: #ffffff;
  --soft: #eef4f1;
  --accent: #0f766e;
  --accent-2: #b45309;
  --deep: #16302b;
}
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: #f8faf8;
  line-height: 1.55;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 36px;
  background: rgba(248, 250, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { font-weight: 800; text-decoration: none; letter-spacing: 0; }
nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
nav a { text-decoration: none; }
nav a:hover { color: var(--accent); }
.section, .section-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 28px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 62px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}
.hero-title {
  max-width: 720px;
}
.hero-title-main,
.hero-title-tail {
  display: block;
  white-space: nowrap;
}
.hero-title-main {
  font-weight: 900;
  color: #0b2a5b;
  background: linear-gradient(135deg, #071a3c 0%, #123f7a 48%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-tail {
  font-weight: 650;
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 { margin: 0 0 8px; font-size: 20px; }
.lead { font-size: 20px; color: var(--muted); margin: 24px 0 18px; max-width: 720px; }
.author-line { font-weight: 700; margin-top: 18px; }
.author-line a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.author-line a:hover { color: var(--accent); }
.affiliation { color: var(--muted); margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions a {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--deep);
  background: transparent;
  color: var(--deep);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}
.video-card, .result-card, .feature-grid article {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(25, 40, 34, 0.07);
}
.hero-figure, .wide-figure, .split figure {
  margin: 0;
}
.hero-figure img, .hero-figure video { width: 100%; }
.hero-video { background: transparent; border-radius: 14px; }
figcaption { padding: 10px 0 0; font-size: 14px; color: var(--muted); }
.abstract { padding-top: 30px; }
.abstract > p { font-size: 18px; color: var(--muted); max-width: 980px; }
.feature-grid, .results-grid, .video-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.section-heading { max-width: 880px; margin-bottom: 28px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.math {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-style: italic;
  color: var(--ink);
  white-space: nowrap;
}
.math sup {
  font-size: 0.72em;
  line-height: 0;
}
.math-script {
  font-style: normal;
}
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #0b1512; }
.video-card div, .result-card, .feature-grid article { padding: 18px; }
.video-card p, .result-card p, .feature-grid p { color: var(--muted); margin: 0; }
.wide-figure { margin-top: 22px; }
.summary-figure { margin-top: 28px; }
.wide-figure img, .wide-figure video { width: 100%; }
.wide-figure.compact img { max-height: 620px; object-fit: contain; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: center; }
.split p { color: var(--muted); font-size: 18px; }
.benchmark-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
}
.benchmark-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url("assets/dataset_scenes.png") center / cover no-repeat;
  opacity: 0.45;
  border-radius: inherit;
  z-index: -2;
}
.benchmark-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(248, 250, 248, 0.68), rgba(248, 250, 248, 0.34));
  border-radius: inherit;
  z-index: -1;
}
.inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.inline-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}
.results-grid { grid-template-columns: repeat(3, 1fr); }
.result-card strong { color: var(--deep); }
.citation pre {
  margin: 18px 0 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #10201d;
  color: #e9f3ef;
  border-radius: 8px;
}
footer { padding: 34px 28px 50px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  h1 { font-size: 52px; }
  .site-header { padding: 12px 18px; align-items: flex-start; gap: 12px; }
  nav { flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
  .hero, .split { grid-template-columns: 1fr; min-height: auto; }
  .feature-grid, .results-grid, .video-grid { grid-template-columns: 1fr; }
  .section, .section-band { padding: 48px 18px; }
}
@media (max-width: 520px) {
  h1 { font-size: 36px; }
}
