:root {
  --guide-gap: clamp(32px, 5vw, 64px);
  --guide-note-gap: clamp(14px, 2vw, 24px);
}

.guide-lead {
  padding-top: clamp(36px, 7vw, 94px);
  padding-bottom: clamp(28px, 5vw, 62px);
}

.guide-lead .badge {
  margin-bottom: 18px;
}

.guide-lead > p {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--muted);
}

.guide-lead a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.guide-body {
  padding-bottom: var(--guide-gap);
}

.guide-body > .toc-tabs {
  margin-bottom: 0;
}

.guide-body > .toc-tabs a:focus-visible {
  outline-offset: -2px;
}

.guide-body > section {
  padding-top: var(--guide-note-gap);
  border-top: 1px solid var(--line-soft);
}

.guide-body > section:first-of-type {
  border-top: 0;
}

.guide-body > section + section {
  margin-top: var(--guide-gap);
}

.guide-body > section > h2 {
  margin-top: 0;
  margin-bottom: var(--guide-note-gap);
}

.guide-body :is(.callout, .table-scroll) {
  margin-block: var(--guide-note-gap);
}