/* ============================================================
   FAQ PAGE STYLES
   Standalone full FAQ page. Mirrors the legal-page pattern:
   soft hero band on top, content body underneath. The accordion
   uses the same .faq-h-item / .faq-h-q / .faq-h-a markup as the
   home FAQ for visual consistency, with category groups.
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.fq-hero {
  position: relative;
  background: var(--soft);
  padding: calc(var(--nav-height) + 90px) var(--section-pad-h) 90px;
  overflow: hidden;
  isolation: isolate;
}
.fq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(124,58,237,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 80% 80%, rgba(255,202,1,0.06) 0%, transparent 60%);
  z-index: -1;
}
.fq-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.fq-hero .section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-block;
  margin-bottom: 24px;
}
.fq-hero h1 {
  font-family: var(--font-body);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.4px;
  font-weight: 600;
  color: var(--plum);
  margin: 0 0 20px;
}
.fq-hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
  letter-spacing: -1.5px;
}
.fq-hero p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--mid);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}
.fq-hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.fq-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--purple-light);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--purple);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fq-hero-link svg {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
}
.fq-hero-link:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.fq-hero-link:hover svg {
  transform: translateX(3px);
}

/* ── BODY ───────────────────────────────────────────────────── */
.fq-body {
  background: white;
  padding: 90px var(--section-pad-h) 120px;
}
.fq-body-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* ── SIDEBAR (sticky category nav) ──────────────────────────── */
.fq-toc {
  position: sticky;
  top: 110px;
  align-self: start;
}
.fq-toc h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 18px;
}
.fq-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fq-toc li { margin: 0 0 4px; }
.fq-toc a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-left-color 0.2s ease, background-color 0.2s ease;
  border-radius: 0 6px 6px 0;
}
.fq-toc a:hover {
  color: var(--purple);
  border-left-color: var(--purple);
  background: var(--lavender);
}
.fq-toc a.is-active {
  color: var(--purple);
  border-left-color: var(--purple);
  background: var(--lavender);
  font-weight: 600;
}

/* ── CONTENT (the FAQ groups themselves) ────────────────────── */
.fq-content { }
.fq-group {
  margin-bottom: 56px;
  scroll-margin-top: 120px;
}
.fq-group:last-child { margin-bottom: 0; }
.fq-group-head {
  margin-bottom: 24px;
}
.fq-group-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-block;
  margin-bottom: 12px;
}
.fq-group-title {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  font-weight: 600;
  color: var(--plum);
  margin: 0;
}
.fq-group-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}

/* ── FAQ accordion (matches home FAQ pattern) ───────────────── */
.fq-list { }
.fq-item {
  border-bottom: 1px solid var(--hairline);
}
.fq-item:first-child { border-top: 1px solid var(--hairline); }
.fq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}
.fq-q:hover { color: var(--purple); }
.fq-item.open .fq-q { color: var(--purple); }
.fq-q-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 300;
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.32s ease,
    color 0.32s ease;
}
.fq-item.open .fq-q-plus {
  background: var(--purple);
  color: white;
  transform: rotate(45deg);
}

.fq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.fq-a-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.32s ease 0.08s,
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) 0.08s;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
  padding-bottom: 0;
}
.fq-item.open .fq-a {
  grid-template-rows: 1fr;
}
.fq-item.open .fq-a-inner {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 22px;
}
.fq-a-inner a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}
.fq-a-inner a:hover {
  text-decoration-color: var(--purple);
}

@media (prefers-reduced-motion: reduce) {
  .fq-a, .fq-a-inner, .fq-q-plus {
    transition-duration: 0.01ms !important;
  }
}

/* ── CTA BAND (bottom) ──────────────────────────────────────── */
.fq-cta {
  background: var(--purple);
  padding: 90px var(--section-pad-h);
  text-align: center;
  color: white;
}
.fq-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.fq-cta h2 {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.6px;
  font-weight: 600;
  color: white;
  margin: 0 0 16px;
}
.fq-cta h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--yellow);
}
.fq-cta p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin: 0 0 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.fq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--yellow);
  color: var(--plum);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
}
.fq-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.fq-cta-email {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.fq-cta-email:hover { color: white; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .fq-hero { padding: calc(var(--nav-height) + 56px) var(--section-pad-h) 64px; }
  .fq-body { padding: 64px var(--section-pad-h) 80px; }
  .fq-body-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fq-toc {
    position: static;
    padding: 20px;
    background: var(--soft);
    border-radius: 16px;
    border: 1px solid var(--hairline);
  }
  .fq-toc a {
    padding: 6px 12px;
  }
  .fq-cta { padding: 64px var(--section-pad-h); }
}

@media (max-width: 560px) {
  .fq-hero { padding: calc(var(--nav-height) + 40px) var(--section-pad-h) 56px; }
  .fq-body { padding: 48px var(--section-pad-h) 64px; }
  .fq-group { margin-bottom: 40px; }
  .fq-q { font-size: 15px; padding: 18px 0; }
  .fq-a-inner { font-size: 14px; }
}
