body {
  font-family: "Noto Sans", sans-serif;
  color: #151f31;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

a {
  transition: color 0.2s ease;
}

code {
  background: rgba(18, 42, 76, 0.08);
  color: #172033;
}

pre code {
  display: block;
  overflow-x: auto;
  border-radius: 12px;
  padding: 1.25rem;
  background: #10192d;
  color: #f3f7ff;
}

.publication-title,
.publication-authors,
.publication-venue,
.teaser,
.progressive-title,
.highlight-card h3 {
  font-family: "Google Sans", sans-serif;
}

.publication-header .hero-body {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.publication-title {
  line-height: 1.08;
  margin-bottom: 1rem;
  text-align: center;
}

.publication-title-line {
  display: block;
}

.publication-title-line:last-child {
  font-size: 0.8em;
}

.publication-venue {
  color: #5f6b7e;
  margin-bottom: 1rem;
}

.publication-authors {
  margin-bottom: 0.45rem;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
  margin-right: 0.15rem;
}

.publication-links {
  margin-top: 1.5rem;
}

.link-block a,
.link-block .button {
  margin-top: 5px;
  margin-bottom: 5px;
}

.button.is-disabled {
  opacity: 0.68;
  pointer-events: none;
}

.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #ffffff;
}

.teaser-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transform-origin: center center;
}

.teaser-summary {
  max-width: 56rem;
  margin: 1.4rem auto 0;
  color: #5f6b7e;
}

.section-copy {
  max-width: 52rem;
  margin: 0 auto 1.4rem;
}

.section-copy p,
.progressive-copy p {
  color: #596579;
}

#highlight .highlight-card {
  border-color: rgba(48, 114, 255, 0.22);
  box-shadow: 0 16px 34px rgba(48, 114, 255, 0.08);
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.98), #ffffff);
}

.highlight-card {
  height: 100%;
  padding: 1.4rem;
  border: 1px solid rgba(21, 31, 49, 0.1);
  border-radius: 14px;
  background: #ffffff;
}

.highlight-index {
  margin-bottom: 0.7rem;
  color: #3072ff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.highlight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.media-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.media-panel video {
  display: block;
  width: 100%;
  height: auto;
}

.progressive-stack {
  display: grid;
  gap: 2rem;
}

.progressive-title {
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
  text-align: center;
}

.progressive-copy {
  max-width: 52rem;
  margin: 0 auto 1rem;
}

.comparison-panel {
  max-width: 960px;
  margin: 0 auto;
}

.comparison-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.comparison-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.comparison-video {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 12px;
}

.comparison-video.is-active {
  display: block;
}

.comparison-nav {
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  padding: 0;
}

.comparison-nav:hover {
  background: rgba(0, 0, 0, 0.78);
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.footer .icon-link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media screen and (max-width: 768px) {
  .publication-header .hero-body {
    padding-top: 2.75rem;
  }

  .publication-title {
    font-size: 2.1rem;
  }

  .publication-venue {
    font-size: 1.15rem;
  }

  .highlight-card {
    padding: 1.2rem;
  }

  .comparison-switcher {
    gap: 8px;
  }

  .comparison-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
    line-height: 38px;
  }
}
