:root {
  --paper: #f5f7f9;
  --surface: #ffffff;
  --ink: #152331;
  --muted: #657482;
  --line: #dbe3e9;
  --accent: #0f5b8d;
  --accent-soft: #e8f2f8;
  --dark: #102536;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center; gap: 30px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(245,247,249,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.topbar nav { display: flex; gap: 24px; margin-left: auto; color: var(--muted); font-size: 13px; }
.topbar nav a:hover, .footer a:hover { color: var(--accent); }
.github { border: 1px solid #a9bac6; border-radius: 999px; padding: 7px 13px; color: var(--ink); font-size: 12px; }
.hero { padding: 86px 0 78px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
h1 { max-width: 960px; margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.authors { margin: 25px 0 0; font-size: 16px; }
.affiliation { margin: 2px 0 0; color: var(--muted); }
.lead { max-width: 640px; margin: 30px 0 0; color: var(--muted); font-size: 17px; }
.figure-section { padding: 28px 0 54px; border-top: 1px solid var(--line); }
.pipeline-figure { margin: 0; padding: 24px 28px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(25, 48, 64, .05); }
.pipeline-figure img { display: block; width: 100%; max-width: none; height: auto; margin: 0 auto; }
.pipeline-figure figcaption { max-width: 980px; margin: 16px auto 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.results-section { padding: 64px 0 80px; border-top: 1px solid var(--line); }
.tfeacg-section { width: 100%; background: var(--dark); color: #f4f8fb; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
h2 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.section-note { max-width: 330px; margin: 0; color: var(--muted); font-size: 13px; }
.tfeacg-section .section-note { color: #aabac5; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.video-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 5px 18px rgba(25, 48, 64, .05); }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #0e1720; }
.tfeacg-section .video-card { border-color: #314957; box-shadow: none; }
.subsection { margin-top: 48px; }
.subsection + .subsection { margin-top: 64px; }
h3 { margin: 0 0 18px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
h3 span { margin-right: 9px; color: #7dc0e3; font-variant-numeric: tabular-nums; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0 30px; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .five-column { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .wrap { width: min(100% - 30px, 520px); } .figure-section { padding: 20px 0 42px; } .pipeline-figure { padding: 14px 14px 16px; } .topbar { padding: 0 15px; gap: 15px; } .topbar nav { gap: 12px; font-size: 11px; } .github { padding: 6px 9px; font-size: 11px; } .hero { padding: 58px 0 55px; } .section-heading { display: block; } .section-note { margin-top: 15px; } .video-grid, .five-column { grid-template-columns: 1fr; gap: 14px; } .results-section { padding: 48px 0 58px; } .subsection + .subsection { margin-top: 48px; } .footer { display: block; } .footer a { display: block; margin-top: 8px; } }
