.reference-intro .badge {
  margin-bottom: 24px;
}
.reference-intro h1 {
  margin-bottom: 24px;
}
.reference-deck {
  max-width: 36em;
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.reference-intro .toc {
  margin-top: 40px;
}
.reference-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.reference-link:hover {
  text-decoration-thickness: 2px;
}
main > section[id] {
  scroll-margin-top: 32px;
}
main > section[id] h2 {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
main > .section-dark[id] h2 {
  border-bottom-color: var(--border-dark);
}
main > section[id] h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}
main > section[id] p {
  line-height: 1.95;
}
main > .section-dark[id] p {
  color: var(--text-on-dark);
}
main > section[id] .table-scroll {
  margin-top: 28px;
  margin-bottom: 28px;
}
main > section[id] caption {
  padding: 14px 20px;
  background: var(--bg-panel);
  color: var(--text-secondary);
  font-size: 13px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
main > section[id] .callout:last-child,
main > section[id] p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .reference-deck {
    font-size: 18px;
  }
}