.doc-hero {
  background: var(--color-page);
  color: var(--color-ink);
}

.doc-hero .reading-wrap {
  text-align: center;
}

.doc-hero .eyebrow {
  justify-content: center;
}

.doc-hero__lead {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--color-muted);
  font-size: 18px;
}

.doc-hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 34px;
}

.doc-hero__links a {
  color: var(--color-brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--color-mist);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.doc-hero .callout {
  max-width: var(--reading-width);
  margin-inline: auto;
  text-align: left;
}

.doc-hero .callout p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.doc-hero .callout a {
  color: var(--color-brand-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-mist);
  text-underline-offset: 3px;
}

.doc-body {
  padding-top: 48px;
}

.doc-article {
  width: 100%;
  max-width: var(--reading-width);
  margin-inline: auto;
}

.doc-section {
  padding-top: 54px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--color-line);
}

.doc-section:first-of-type {
  padding-top: 12px;
}

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

.doc-section__index {
  margin-bottom: 10px;
  color: var(--color-brand-dark);
  font: 700 12px/1.5 var(--font-mono);
  letter-spacing: .04em;
}

.doc-section h2 {
  margin-top: 0;
  margin-bottom: 30px;
}

.doc-section h3 {
  margin-top: 36px;
  padding-left: 14px;
  border-left: 4px solid var(--color-mist);
}

.doc-section pre {
  margin-top: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.doc-section .table-wrap {
  margin-top: 26px;
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-row);
}

.doc-section .data-table th:first-child {
  border-top-left-radius: var(--radius-lg);
}

.doc-section .data-table th:last-child {
  border-top-right-radius: var(--radius-lg);
}

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

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

@media (max-width: 768px) {
  .doc-hero__lead {
    font-size: 16px;
  }

  .doc-body {
    padding-top: 30px;
  }

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

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

@media (max-width: 480px) {
  .doc-hero__links {
    align-items: center;
    flex-direction: column;
  }

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

  .doc-section h2 {
    margin-bottom: 24px;
  }
}