.handbook-heading {
  background: var(--accent-dark);
  color: var(--on-dark);
}

.handbook-heading .eyebrow {
  margin-bottom: 20px;
  background: var(--sun);
  color: var(--text);
}

.handbook-heading h1 {
  color: var(--on-dark);
}

.handbook-heading p {
  color: var(--on-dark-muted);
}

.handbook-heading .handbook-lead {
  margin-bottom: 24px;
  color: var(--on-dark);
  font-size: var(--fs-intro);
  font-weight: var(--weight-semibold);
}

.handbook-heading a {
  color: var(--on-dark);
}

.handbook-heading a:focus-visible {
  outline-color: var(--sun);
}

.handbook-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}

.handbook-route span:nth-child(odd) {
  padding: 5px 12px;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-pill);
  color: var(--on-dark);
}

.prose > section {
  padding-top: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 110px;
}

.prose > section:first-of-type h2 {
  margin-top: 1em;
}

.prose > section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 640px) {
  .handbook-route {
    gap: 8px;
  }

  .handbook-route span:nth-child(odd) {
    padding-inline: 9px;
  }
}