.reference-heading {
  margin-top: 20px;
  margin-bottom: 24px;
}

.reference-heading h1 {
  margin: 0;
}

.reference-intro__lede {
  margin-bottom: 24px;
  font-size: var(--text-lede);
  line-height: 1.85;
  color: var(--text);
}

.reference-intro .fact-row {
  margin-top: 28px;
}

.reference-intro__scope {
  margin-top: 24px;
  margin-bottom: 0;
  line-height: 1.85;
}

.reference-document {
  padding-bottom: 24px;
}

.reference-copy {
  margin-top: 72px;
}

.reference-chapter {
  padding-top: 24px;
}

.reference-chapter + .reference-chapter {
  margin-top: var(--section-gap);
}

.reference-copy .reference-chapter .section-head h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.reference-copy .table-scroll {
  margin-top: 28px;
  margin-bottom: 32px;
}

.reference-copy .data-table {
  display: table;
  width: 100%;
}

.reference-copy .data-table th:first-child,
.reference-copy .data-table td:first-child {
  min-width: 9em;
}

.reference-copy .data-table th,
.reference-copy .data-table td {
  line-height: 1.85;
}

.reference-copy pre {
  margin-top: 28px;
  margin-bottom: 28px;
}

.reference-chapter > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .reference-heading {
    gap: 14px;
  }

  .reference-copy {
    margin-top: 48px;
  }

  .reference-chapter {
    padding-top: 12px;
  }

  .reference-copy .section-head {
    margin-bottom: 28px;
  }
}