/* ==========================================================================
   Macaw Bytes - FAQ page (corporate dark mood)
   Extends home.css tokens via body.page-faq
   ========================================================================== */

.faq-hero {
  position: relative;
  min-height: min(62svh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    linear-gradient(165deg, #0a1218 0%, #0b0d10 45%, #0c1410 100%);
}

.faq-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 14% 22%, rgba(74, 168, 224, 0.28), transparent 62%),
    radial-gradient(ellipse 48% 45% at 88% 16%, rgba(46, 174, 78, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 95%, rgba(240, 180, 41, 0.12), transparent 55%);
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  margin: 0.65rem auto 1.15rem;
  max-width: 14ch;
}

.faq-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Tighten FAQ block under hero on this page */
body.page-faq .mb-faq-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

@media (max-width: 640px) {
  .faq-hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .faq-hero h1 {
    max-width: none;
  }

  .faq-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
