/* R2: compact editorial scale and intrinsic evidence framing. */
.hero h1 {
  max-width: 690px;
  font-size: clamp(3rem, 3.9vw, 3.5rem);
  line-height: .96;
  letter-spacing: -.045em;
}

html[lang="zh-Hant"] .hero h1 {
  max-width: 620px;
  font-size: clamp(2.8rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.section-heading h2,
.demo-heading h2,
.closing h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.042em;
}

.qa-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

html[lang="zh-Hant"] .section-heading h2,
html[lang="zh-Hant"] .demo-heading h2,
html[lang="zh-Hant"] .closing h2,
html[lang="zh-Hant"] .qa-copy h2 {
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.hero-media img,
.evidence-grid img,
.material-grid img,
.qa-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.evidence-grid,
.material-grid {
  align-items: start;
}

.pipeline article {
  min-height: 0;
  padding: 22px 20px 24px;
}

.pipeline h3 {
  margin: 24px 0 12px;
}

.limit-grid article {
  min-height: 0;
}

.limit-grid h3 {
  margin-top: 24px;
}

.qa-grid {
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(36px, 5vw, 68px);
}

.closing {
  gap: 42px;
  padding: 46px 50px;
}

.closing > div {
  max-width: 820px;
}

@media (max-width: 1120px) {
  .qa-grid {
    grid-template-columns: 1fr;
  }

  .qa-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.6rem, 11.5vw, 3.35rem);
    line-height: 1;
  }

  html[lang="zh-Hant"] .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 1.1;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .pipeline article,
  .pipeline article:nth-child(2n),
  .pipeline article:last-child {
    min-height: 0;
  }

  .pipeline h3 {
    margin-top: 20px;
  }

  .closing {
    padding: 28px 22px;
  }
}
