/* ── Page hero (compact, interior) ── */
.page-hero { background: var(--ink); color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: url('../img/stars.svg'); background-size: 520px 520px; background-repeat: repeat; opacity: 0.32; pointer-events: none; animation: starDrift 180s linear infinite; z-index: 0; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: radial-gradient(ellipse at 50% 100%, rgba(236,30,124,0.15) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.page-hero-skull { position: absolute; top: -50px; right: -60px; width: 300px; opacity: 0.10; transform: rotate(8deg); pointer-events: none; z-index: 1; animation: lightbulbFlicker 2.4s ease-out 0.2s 1 both; }
.page-hero-skull img { width: 100%; height: auto; display: block; }
.page-hero .wrap { position: relative; z-index: 2; }

/* Slow galaxy drift for star backgrounds (matches home page) */
@keyframes starDrift {
  from { background-position: 0 0; }
  to   { background-position: -600px -300px; }
}

/* Light-bulb flicker for the corner skull at page load */
@keyframes lightbulbFlicker {
  0%   { opacity: 0; }
  4%   { opacity: 0.10; }
  6%   { opacity: 0; }
  10%  { opacity: 0.10; }
  12%  { opacity: 0; }
  20%  { opacity: 0.10; }
  24%  { opacity: 0; }
  30%  { opacity: 0.05; }
  36%  { opacity: 0.10; }
  42%  { opacity: 0; }
  50%  { opacity: 0.07; }
  58%  { opacity: 0; }
  66%  { opacity: 0.10; }
  100% { opacity: 0.10; }
}

/* Twinkling stars overlay (matches home page) */
.hero-twinkle { position: absolute; inset: 0; pointer-events: none; z-index: 1; }






@media (prefers-reduced-motion: reduce) {
  .page-hero::before { animation: none; }
  .page-hero-skull { animation: none; opacity: 0.10; }
}
.page-hero .label { color: var(--cyan); margin-bottom: 18px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(48px, 7vw, 80px); font-weight: 700; line-height: 1.02; letter-spacing: -2px; margin-bottom: 22px; }
.page-hero h1 em { color: var(--pink); font-style: normal; }
.page-hero .page-hero-lede { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 640px; }
.page-hero .breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 28px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--cyan); }
.page-hero .breadcrumb .sep { color: var(--pink); padding: 0 10px; }

/* ── FAQ layout ── */
.faq-section { padding: 80px 0 120px; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; }

/* Sticky side nav */
.faq-sidenav { position: sticky; top: 100px; }
.faq-sidenav .label { color: var(--ink-muted); margin-bottom: 18px; }
.faq-sidenav ul { list-style: none; border-left: 1px solid var(--line); }
.faq-sidenav li { margin: 0; }
.faq-sidenav a { display: block; padding: 10px 0 10px 18px; margin-left: -1px; font-size: 13px; line-height: 1.4; color: var(--ink-muted); border-left: 2px solid transparent; transition: all 0.2s; }
.faq-sidenav a:hover { color: var(--ink); border-left-color: var(--cyan); }
.faq-sidenav a.active { color: var(--ink); border-left-color: var(--pink); font-weight: 600; }
.faq-sidenav .count { color: var(--ink-faint); font-family: var(--font-mono); font-size: 11px; margin-left: 6px; }

/* FAQ content */
.faq-content > section { margin-bottom: 56px; scroll-margin-top: 100px; }
.faq-content > section:last-child { margin-bottom: 0; }
.faq-content h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 8px; color: var(--ink); }
.faq-content > section > p { color: var(--ink-muted); font-size: 14px; margin-bottom: 24px; }

/* Accordion items */
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa-q { width: 100%; background: transparent; border: 0; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; transition: color 0.2s; }
.qa-q:hover { color: var(--pink); }
.qa-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.25s; color: var(--ink-faint); }
.qa-q[aria-expanded="true"] .qa-icon { transform: rotate(45deg); color: var(--pink); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.qa-q[aria-expanded="true"] + .qa-a { max-height: 800px; }
.qa-a-inner { padding: 0 0 24px; color: var(--ink-muted); font-size: 15px; line-height: 1.7; }
.qa-a-inner a { color: var(--pink); border-bottom: 1px solid currentColor; }
.qa-a-inner strong { color: var(--ink); }
.qa-a-inner ul { padding-left: 20px; margin: 10px 0; }
.qa-a-inner li { margin-bottom: 6px; }

/* Bottom CTA */
.faq-cta { background: var(--ink); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.faq-cta::before { content: ''; position: absolute; bottom: -80px; right: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(54,182,224,0.15) 0%, transparent 70%); pointer-events: none; }
.faq-cta .wrap { position: relative; z-index: 1; text-align: center; }
.faq-cta .label { color: var(--yellow); justify-content: center; margin-bottom: 18px; }
.faq-cta h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 18px; }
.faq-cta h2 em { color: var(--cyan); font-style: normal; }
.faq-cta p { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 36px; }
.faq-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-sidenav { position: static; }
  .faq-sidenav ul { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .faq-sidenav li { margin: 0; }
  .faq-sidenav a { padding: 8px 14px; margin: 0; border: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); border-radius: 999px; }
  .faq-sidenav a.active { border-color: var(--pink); color: var(--pink); }
  .page-hero { padding: 60px 0 80px; }
}
