@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.guide-mast h1 {
  margin-block: 16px;
  letter-spacing: -.02em;
}

.guide-intro {
  margin-inline: auto;
  color: var(--text-muted);
}

.guide-manual {
  max-width: 1060px;
  padding-block: 24px 40px;
}

.guide-manual > .toc-tabs {
  background: var(--bg-panel);
}

.guide-chapter {
  padding-block: clamp(32px, 5vw, 60px);
}

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

.guide-chapter .prose {
  max-width: min(100%, 52rem);
}

.guide-chapter h2 {
  margin-block: 8px 24px;
}

.guide-chapter h3 {
  margin-block: 28px 10px;
  text-wrap: wrap;
}

.guide-chapter .prose > p:not(.kicker) {
  line-height: 1.8;
}

.guide-table {
  max-width: min(100%, 52rem);
  margin-block: 12px 18px;
}

.guide-table .data-table tbody th {
  background: var(--bg-panel);
}

.guide-table .data-table tbody tr:last-child th {
  border-block-end: 0;
}

@media (max-width: 640px) {
  .guide-mast {
    padding-block: 40px;
  }

  .guide-intro {
    text-align: start;
  }
}