.doc-hero {
  position: relative;
  padding-top: clamp(54px, 8vw, 104px);
  padding-bottom: clamp(44px, 7vw, 84px);
  overflow-x: clip;
}

.doc-hero::before {
  position: absolute;
  top: 4%;
  right: -8%;
  width: min(48vw, 620px);
  aspect-ratio: 1.3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--color-sun-soft), transparent 62%),
    radial-gradient(circle at 72% 68%, var(--color-dusk-soft), transparent 64%);
  content: "";
  filter: blur(34px);
  pointer-events: none;
}

.doc-hero .reading-wrap {
  position: relative;
  z-index: 1;
}

.doc-hero h1 {
  max-width: 780px;
  margin-top: 20px;
  margin-bottom: 22px;
}

.doc-hero .lead {
  margin-bottom: 0;
}

.doc-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.doc-intro-note {
  margin-top: 34px;
  margin-bottom: 0;
}

.doc-intro-note a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-article {
  padding-bottom: var(--section-space);
}

.doc-section {
  padding-top: clamp(68px, 9vw, 108px);
  padding-bottom: clamp(60px, 8vw, 96px);
  border-bottom: 1px solid var(--color-border);
}

.doc-section:last-child {
  border-bottom: 0;
}

.doc-section > h2 {
  max-width: 760px;
}

.doc-section > h3 {
  margin-top: 44px;
}

.doc-section > h2 + h3 {
  margin-top: 30px;
}

.doc-section p {
  color: var(--color-text);
}

.doc-section .table-scroll {
  margin-top: 30px;
  margin-bottom: 30px;
}

.doc-section .callout {
  margin-top: 32px;
  margin-bottom: 32px;
}

.doc-end-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .doc-hero {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .doc-hero::before {
    top: 8%;
    right: -28%;
    width: 92vw;
  }

  .doc-section {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .doc-section > h3 {
    margin-top: 36px;
  }
}

@media (max-width: 520px) {
  .doc-hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-end-actions {
    flex-direction: column;
  }

  .doc-end-actions .btn {
    width: 100%;
  }
}