html {
  scroll-behavior: smooth;
}

.page-figure-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.98)),
    repeating-linear-gradient(
      -45deg,
      rgba(37, 99, 235, 0.04),
      rgba(37, 99, 235, 0.04) 10px,
      rgba(255, 255, 255, 0.24) 10px,
      rgba(255, 255, 255, 0.24) 20px
    );
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.content .page-figure-frame,
.level-set + .page-figure-frame {
  margin: 1.15rem auto 0;
}

.page-figure-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
}

.page-figure-frame.is-standard-figure {
  max-width: 620px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}

.page-figure-frame.is-standard-figure img {
  width: auto;
  max-width: 100%;
  max-height: 280px;
  margin: 0 auto;
}

.figure-placeholder {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: #475569;
}

.figure-placeholder strong {
  color: #0f172a;
}

.teaser-figure {
  max-width: 78%;
  margin: 0 auto;
}

.teaser-figure.is-compact {
  max-width: 620px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}

.teaser-figure.is-compact img {
  width: auto;
  max-width: 100%;
  max-height: 280px;
  margin: 0 auto;
}

.teaser-figure.is-tight {
  max-width: 560px;
  min-height: 280px;
  padding: 14px 16px;
}

.teaser-figure.is-tight img {
  max-height: 240px;
}

.page-figure-frame.is-setup-figure {
  max-width: 560px;
  min-height: 280px;
}

.page-figure-frame.is-setup-figure img {
  max-height: 240px;
}

.demo-video-frame {
  max-width: 760px;
  margin: 1.15rem auto 0;
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000000;
}

.results-pair {
  gap: 1.75rem;
  margin-top: 1.2rem;
}

.results-pair .column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.results-pair .page-figure-frame {
  width: 100%;
  max-width: 430px;
}

.page-figure-frame.is-results-size {
  width: 100%;
  max-width: 430px;
}

.content p,
.level-set p,
.hero.teaser .subtitle,
.figure-caption {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  font-weight: 400;
  color: #363636;
}

.hero.teaser .subtitle {
  margin: 1.2rem auto 0;
  max-width: 900px;
}

.section-heading {
  text-align: center;
}

.figure-caption {
  margin: 0.95rem auto 0;
  max-width: 620px;
}

.results-pair .figure-caption {
  max-width: 430px;
}

.asset-list {
  margin-top: 0.5rem;
}

.asset-list li + li {
  margin-top: 0.5rem;
}

.page-anchor-link {
  color: inherit;
}

.page-anchor-link strong {
  color: inherit;
}

.publication-affiliations {
  margin-top: 1rem;
  line-height: 1.6;
}

.publication-affiliations .author-block {
  display: block;
}

.footer .content,
.footer .content p {
  text-align: center;
}

@media (max-width: 768px) {
  .teaser-figure {
    max-width: 100%;
  }

  .teaser-figure.is-compact {
    min-height: 260px;
    padding: 14px;
  }

  .teaser-figure.is-compact img {
    max-height: 230px;
  }

  .teaser-figure.is-tight {
    min-height: 240px;
    padding: 12px;
  }

  .teaser-figure.is-tight img {
    max-height: 205px;
  }

  .page-figure-frame.is-setup-figure {
    min-height: 240px;
    padding: 12px;
  }

  .page-figure-frame.is-setup-figure img {
    max-height: 205px;
  }

  .page-figure-frame.is-standard-figure {
    min-height: 260px;
    padding: 14px;
  }

  .page-figure-frame.is-standard-figure img {
    max-height: 230px;
  }
}
