/* Help pages (FAQ and Contact): the task opening and the closing help blocks.
   The sections themselves come from components/public-sections.css (body.public-page).
   Flat and open per docs/design/ink-sea-glass-standard.md: shared roles only, so the
   dark theme follows; no gradients, glows, tinted backgrounds or all-caps labels. */

.help-page {
  color: var(--text-primary);
}

/* ---- Opening: heading, lead and question-group links ---- */

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
}

.help-hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
  min-width: 0;
}

/* ---- Closing: one or two short help blocks ---- */

/* Same weight as the shared inner rule and loaded after it, so the grid wins. */
body.public-page .help-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-40);
}

.help-band__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-12);
  min-width: 0;
}

.help-band__block .swiftspot-app-store-badge {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height);
}

@media (min-width: 1024px) {
  body.public-page .help-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-2xl);
    align-items: center;
  }
}
