/* Help pages (FAQ and Contact): shared page frame, photo hero and bottom band.
   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);
}

.help-page__frame {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

/* marketing-landing.css sizes every h1, h2 and section on marketing pages. These pages
   follow the interface standard instead, so their rules are scoped under .help-page to
   win over it. */

/* ---- Hero: label, heading, lead and links beside a photo ---- */

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

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

.help-hero__label {
  margin: 0;
  color: var(--text-supporting);
  font-size: var(--type-muted-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--type-muted-line-height);
}

.help-page .help-hero__title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--type-display-size);
  font-weight: var(--font-weight-bold);
  line-height: var(--type-display-line-height);
  letter-spacing: var(--letter-spacing-tight);
  overflow-wrap: break-word;
}

.help-hero__lead {
  max-width: 33rem;
  margin: 0;
  color: var(--text-supporting);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.help-hero__photo {
  display: block;
  width: 100%;
  max-width: 26.25rem;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  background: var(--surface-muted);
  object-fit: cover;
}

/* ---- Bottom band: a quiet full-width strip with one or two short blocks ---- */

.help-page .help-band {
  margin-top: var(--spacing-2xl);
  padding-block: 0;
  background: var(--surface-subtle);
}

.help-page .help-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-40);
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
}

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

.help-page .help-band__title {
  margin: 0;
  letter-spacing: normal;
  font-size: var(--type-section-title-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-section-title-line-height);
}

.help-band__text {
  max-width: 29rem;
  margin: 0;
  color: var(--text-supporting);
}

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

@media (min-width: 640px) {
  .help-page__frame {
    padding: 0 var(--spacing-lg);
  }
}

@media (min-width: 900px) {
  .help-page .help-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26.25rem);
    gap: var(--spacing-2xl);
  }

  .help-hero__photo {
    justify-self: end;
  }

  .help-page .help-band__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-2xl);
  }
}
