.help-mast {
  border-block-end: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.help-mast-inner {
  position: relative;
  padding-block: clamp(36px, 6vw, 84px);
}

.help-mast h1 {
  margin-block: .28em .25em;
}

.help-index {
  padding-block: 12px var(--section-space);
}

.help-category {
  display: grid;
  grid-template-columns: minmax(10em, 1fr) minmax(0, 3fr);
  gap: clamp(16px, 4vw, 56px);
  padding-block: clamp(24px, 4vw, 54px);
  border-block-end: 1px solid var(--border);
}

.help-category h2 {
  align-self: start;
  margin: 0;
  font-size: clamp(26px, 2.25vw, 36px);
  text-wrap: pretty;
}

.help-category .faq-item {
  border-inline: 1px solid var(--border);
}

.help-category .faq-item:first-of-type {
  border-block-start: 1px solid var(--border);
}

.help-category .faq-item > summary:hover {
  background: var(--hover-bg);
}

.help-category .faq-item > p {
  line-height: 1.8;
}

.help-references {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--small-size);
}

.help-references a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

@media (max-width: 768px) {
  .help-category {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:has([data-help-toc]) {
    scroll-behavior: smooth;
  }
}