/* faq-page.css — extracted from dev/from_kate/donors/faq.html
 * Stripped: *,*::before,*::after, :root, html, body (owned by base + tokens.css),
 *           .site-footer, .footer-community, .community-form, .footer-bottom, .footer-logo,
 *           .footer-links, .footer-copy, .footer-form-note (base owns chrome footer).
 * Hex literals (donor's #1E0A30 ink, #fff white) replaced with var(--ink) and var(--white).
 * Donor's page-hero base64 (246 KB gold-purple sparkle, byte-identical to book + contributors
 * heroes) externalized to /img/hero-bg.png — canonical sparkle PNG shared across all 6 designed pages (s7d dedup).
 */

.container        { max-width: 820px;  margin: 0 auto; }
.container-narrow { max-width: 640px;  margin: 0 auto; }

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}

/* =====================================================
   PAGE HERO — glitter, compact
   ===================================================== */

.page-hero {
  padding: 6rem 2rem 5rem;
  background-image: url("/img/hero-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(60,21,96,0.07);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: rgba(255,255,255,0.6);
  display: inline-block;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--purple-deep);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.page-hero-sub {
  font-family: var(--body);
  font-size: 1.15rem;
  color: var(--ink-mid);
  line-height: 1.65;
  background: rgba(255,255,255,0.52);
  padding: 0.8rem 1.2rem;
  display: inline-block;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */

.faq-section {
  background: var(--cream);
  padding: 5rem 2rem 6rem;
}

/* Category headers */
.faq-category {
  margin-bottom: 0.5rem;
  margin-top: 3.5rem;
}

.faq-category:first-of-type { margin-top: 0; }

/* Variant: category header with action button on the right */
.faq-category--with-btn {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(155,114,187,0.15);
  padding-bottom: 0.8rem;
  margin-bottom: 0.5rem;
}

.faq-category--with-btn .faq-category-label {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faq-receipt-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: var(--gold-bright);
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.faq-receipt-btn:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.faq-category-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(155,114,187,0.15);
  margin-bottom: 0.5rem;
  display: block;
}

/* Accordion items */
.faq-item {
  border-bottom: 1px solid rgba(155,114,187,0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover .faq-q-text { color: var(--purple-mid); }

.faq-q-text {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.2s;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lavender-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  transition: background 0.2s, transform 0.25s;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--purple-mid);
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon {
  background: var(--purple-deep);
  transform: none;
}

.faq-item.open .faq-icon svg {
  stroke: var(--gold-bright);
  transform: rotate(45deg);
}

.faq-item.open .faq-q-text { color: var(--purple-deep); }

.faq-answer {
  display: none;
  padding: 0 0 1.8rem 0;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
  font-family: var(--body);
  font-size: 1.08rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 620px;
}

.faq-answer p + p { margin-top: 0.8rem; }

.faq-answer a {
  color: var(--purple-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.faq-answer a:hover { color: var(--purple-deep); }

/* Answer accent for preorder focus */
.faq-answer-accent {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background: var(--lavender-pale);
  border-left: 3px solid var(--purple-mid);
  font-family: var(--body);
  font-size: 1rem;
  font-style: italic;
  color: var(--purple-mid);
  line-height: 1.6;
}

/* =====================================================
   STILL HAVE QUESTIONS — bottom CTA band
   ===================================================== */

.faq-cta {
  background: var(--purple-deep);
  padding: 4rem 2rem;
  text-align: center;
}

.faq-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.faq-cta h2 em { font-style: italic; color: var(--gold-bright); }

.faq-cta p {
  font-family: var(--body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.btn-contact {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: var(--gold-bright);
  border: none;
  padding: 1rem 2.8rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-contact:hover { background: var(--gold); transform: translateY(-1px); }

/* =====================================================
   FOOTER — consistent across all site pages
   ===================================================== */

.footer-community > p {
  font-family: var(--body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 600px) {
  .page-hero { padding: 5rem 1.5rem 4rem; }
  .faq-section { padding: 3.5rem 1.5rem 5rem; }
  .faq-cta { padding: 3.5rem 1.5rem; }
  
  
  
  
  
  
}
