/* ── FAQ (/faq) ─────────────────────────────────────── */

/* Group heading above each batch of Q&A entries. Uses the display font +
   cream ink already declared in theme.css so it stays on-theme. */
.faq-category-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

/* Vertical rhythm between category blocks. No colors — purely spacing. */
.faq-category {
  margin-bottom: 3rem;
}
.faq-category:last-of-type {
  margin-bottom: 0;
}

/* Stack of soft secondary links at the bottom of the FAQ body. The
   `hiw-alt-link` class (from how-it-works.css) already styles each link;
   we only need the wrapper to lay them out as a flex column with a
   consistent gap and reset the per-link margin-top that class adds. */
.hiw-alt-link-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.hiw-alt-link-row .hiw-alt-link {
  margin-top: 0;
}

/* Mobile: tighten category heading and shrink spacing so three categories
   fit comfortably on a phone screen without long scrolls. */
@media (max-width: 640px) {
  .faq-category-title {
    font-size: 1.375rem;
  }
  .faq-category {
    margin-bottom: 2.25rem;
  }
}
