:root {
  --help-reading-max: 58rem;
  --help-lede-size: clamp(1rem, 1.45vw, 1.125rem);
}

.help-intro {
  padding-top: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(18px, 3vw, 32px);
  max-width: calc(var(--help-reading-max) + 2 * var(--gutter));
}

.help-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, .36fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 4vw, 48px);
}

.help-index-copy,
.help-shortcuts {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.help-index h1,
.help-chapter h2 {
  text-wrap: pretty;
}

.help-lede {
  color: var(--muted);
  font-size: var(--help-lede-size);
}

.help-shortcuts {
  align-content: center;
  justify-items: start;
}

.help-reading {
  max-width: calc(var(--help-reading-max) + 2 * var(--gutter));
  padding-bottom: var(--section-gap);
}

.help-chapter + .help-chapter,
.help-next {
  margin-top: clamp(32px, 5vw, 64px);
}

.help-chapter .section-head > :is(h2, p) {
  margin-block: 0;
}

.help-chapter .section-head p {
  color: var(--muted);
}

.help-chapter .faq-item p {
  max-width: calc(var(--measure) + 36px);
  line-height: 1.75;
}

.help-reading :is(.faq-item p, .help-next) a {
  color: var(--accent-ink);
  font-weight: 700;
}

@media (max-width: 640px) {
  .help-index {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-shortcuts {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: 4px 12px;
  }

  .help-shortcuts p {
    grid-column: 1 / -1;
  }
}