/* Page-level look: hero, overview video, teaser figure, section rhythm.
   Accent matches the comparison widgets (model-comparison.css). */
:root {
  --site-ink: #172033;
  --site-muted: #5d6879;
  --site-line: #e2e7ee;
  --site-accent: #167b6d;
  --site-accent-2: #2f5fd0;
  --site-soft: #f5f8fa;
}

body {
  color: var(--site-ink);
  background: #fff;
}

/* ── Hero ── */
.site-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(22, 123, 109, 0.13), transparent 70%),
    radial-gradient(800px 380px at 90% 0%, rgba(47, 95, 208, 0.11), transparent 70%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}
.site-hero .hero-body {
  padding: 4.5rem 1.5rem 3.5rem;
}
.site-venue {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(22, 123, 109, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--site-accent);
  font-family: 'Roboto', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-hero .publication-title {
  margin-bottom: 1.6rem !important;
  color: var(--site-ink);
  line-height: 1.15;
}
.site-brand {
  display: block;
  margin-bottom: 0.35rem;
  background: linear-gradient(100deg, var(--site-accent) 10%, var(--site-accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.site-title-rest {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.site-authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.4rem;
  font-size: 1.18rem;
}
.site-authors a {
  color: var(--site-ink) !important;
  border-bottom: 1.5px solid rgba(22, 123, 109, 0.35);
  transition: color 0.15s, border-color 0.15s;
}
.site-authors a:hover {
  color: var(--site-accent) !important;
  border-color: var(--site-accent);
  text-decoration: none !important;
}
.site-authors sup { color: var(--site-accent); margin-left: 1px; }
.site-affiliation {
  margin-top: 0.8rem;
  color: var(--site-muted);
  font-size: 1rem;
}
.site-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: #8a94a3;
}
.site-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
}
.site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1.35rem;
  border: 1px solid var(--site-ink);
  border-radius: 999px;
  background: var(--site-ink);
  color: #fff !important;
  font-family: 'Roboto', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: 0 6px 16px rgba(23, 32, 51, 0.16);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.site-btn:hover {
  transform: translateY(-2px);
  background: #0d1424;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.22);
}
.site-btn i { font-size: 1.05rem; }
.site-btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--site-ink) !important;
  border-color: #cfd6df;
  box-shadow: none;
}
.site-btn-ghost:hover {
  background: #fff;
  border-color: var(--site-accent);
  color: var(--site-accent) !important;
}

/* ── Overview video ── */
.site-teaser {
  padding: 0 1.5rem 3.5rem;
}
.site-video-frame {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #0b111b;
  box-shadow:
    0 30px 60px -20px rgba(23, 32, 51, 0.38),
    0 0 0 1px rgba(23, 32, 51, 0.06);
  scroll-margin-top: 2rem;
}
.site-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b111b;
}
.site-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  background: linear-gradient(180deg, rgba(11, 17, 27, 0) 40%, rgba(11, 17, 27, 0.45) 100%);
  cursor: pointer;
}
.site-video-play-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--site-ink);
  font-size: 1.9rem;
  padding-left: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s, background 0.18s, color 0.18s;
}
.site-video-play:hover .site-video-play-icon {
  transform: scale(1.07);
  background: var(--site-accent);
  color: #fff;
}
.site-video-play-label {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 17, 27, 0.55);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.site-video-frame.is-playing .site-video-play { display: none; }

/* ── TL;DR + teaser figure ── */
.site-teaser + .site-overview { margin-top: 0.5rem; }
.site-tldr {
  max-width: 900px;
  margin: 0 auto 2.2rem;
  color: #34405a;
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: center;
}
.site-tldr strong { color: var(--site-ink); }
.site-figure {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 38, 58, 0.06);
}
.site-figure img { display: block; width: 100%; height: auto; }

/* ── Section rhythm ── */
.section {
  padding: 4.5rem 1.5rem;
}
.section-alt {
  background: var(--site-soft);
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}
.section-title {
  position: relative;
  margin-bottom: 2.4rem !important;
  padding-bottom: 0.9rem;
  color: var(--site-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--site-accent), var(--site-accent-2));
}

.footer {
  background: #f1f4f7;
  color: var(--site-muted);
}

@media (max-width: 768px) {
  .site-hero .hero-body { padding: 3rem 1rem 2.5rem; }
  .site-teaser { padding: 0 1rem 2.5rem; }
  .site-video-frame { border-radius: 12px; }
  .site-video-play-icon { width: 68px; height: 68px; font-size: 1.4rem; }
  .site-tldr { font-size: 1.1rem; }
  .site-figure { padding: 0.6rem; }
  .section { padding: 3rem 1rem; }
}
