.doc-hero {
  border-bottom: 1px solid var(--color-border);
}

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

.doc-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.08;
}

.doc-hero__lead {
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.doc-hero__chips {
  margin-top: 24px;
}

.doc-route {
  margin-top: 28px;
}

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

.doc-route p:last-child {
  margin-bottom: 0;
}

.deep-document {
  position: relative;
}

.deep-document > .section {
  border-bottom: 1px solid var(--color-border);
}

.deep-document > .section:nth-child(even) {
  background: var(--color-white-faint);
}

.deep-document section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.deep-document .reading-wrap {
  min-width: 0;
}

.deep-document h2 {
  margin-top: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.deep-document h3 {
  padding-top: 8px;
}

.deep-document p {
  line-height: 1.9;
}

.deep-document .table-wrap {
  margin: 28px 0;
  border: 1px solid var(--color-border);
}

.deep-document .data-table {
  min-width: 760px;
}

.deep-document .data-table th {
  font-family: var(--font-mono);
  font-size: 12px;
}

.deep-document .data-table td {
  line-height: 1.65;
}

.deep-document pre {
  margin-top: 26px;
  margin-bottom: 26px;
}

.deep-document ol {
  margin: 24px 0;
  padding-left: 1.5em;
}

.deep-document ol li {
  padding-left: 6px;
}

.deep-document .article-download h2 {
  margin-top: 0;
}

@media (max-width: 880px) {
  .doc-hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
}

@media (max-width: 640px) {
  .doc-hero h1 {
    font-size: clamp(26px, 7.7vw, 30px);
  }

  .doc-hero__chips {
    justify-content: flex-start;
  }

  .doc-hero .chip-row {
    justify-content: flex-start;
  }

  .deep-document p {
    line-height: 1.82;
  }

  .deep-document .data-table {
    min-width: 680px;
  }
}