:root {
  color-scheme: light;
  --text: #1b1b1b;
  --muted: #666;
  --line: #ddd;
  --soft: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 52px 24px 72px;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
}

.hero {
  margin-bottom: 48px;
}

.hero-copy {
  margin-bottom: 32px;
  text-align: center;
}

.authors {
  margin-bottom: 4px;
  max-width: none;
  color: var(--text);
  font-size: 18px;
}

.affiliation {
  margin-bottom: 20px;
  max-width: none;
  font-size: 16px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 600;
}

.links span {
  color: var(--muted);
}

.hero-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.comparison-arrow {
  color: var(--text);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.section {
  margin-top: 44px;
}

figure {
  margin: 0;
  background: #fff;
}

img,
video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}

figcaption {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

figcaption span {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

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

@media (max-width: 820px) {
  main {
    padding-top: 40px;
  }

  .hero-comparison,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}
