:root {
  --guide-leading: 1.85;
  --guide-intro-width: 63ch;
  --guide-chapter-space: clamp(28px, 4.4vw, 56px);
}

.guide-intro {
  position: relative;
}

.guide-intro h1 {
  font-size: var(--sz-hero);
  line-height: 1.1;
}

.guide-intro p:not(.mono-tag) {
  max-inline-size: var(--guide-intro-width);
  color: var(--muted);
}

.guide-intro .guide-deck {
  font-size: var(--sz-lede);
}

.guide-intro a {
  text-decoration-color: var(--accent);
}

.guide-reference > section {
  padding-block: var(--guide-chapter-space);
  line-height: var(--guide-leading);
}

.guide-reference > section:first-of-type {
  padding-block-start: 0;
}

.guide-reference > section:last-of-type {
  padding-block-end: 0;
}

.guide-reference > section + section {
  border-block-start: 1px solid var(--border);
}

.guide-reference h3 {
  margin-block-start: 1.5em;
}

.guide-reference .data-table tbody th {
  font-weight: var(--w-medium);
}

.guide-reference .data-table tbody :is(th, td) {
  vertical-align: top;
}

@media (max-width: 768px) {
  .guide-intro h1 {
    font-size: var(--sz-h1);
  }
}

@media (max-width: 640px) {
  .guide-reference .data-table td {
    word-break: normal;
  }
}