/* ==========================================================================
   DREWBEEE RIPS — faq.css (page styles for faq.html only)
   ========================================================================== */

/* ---- Page hero: honeycomb texture + purple energy ---- */
.faq-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(139, 49, 232, 0.28), transparent 65%),
    radial-gradient(ellipse 40% 45% at 88% 100%, rgba(255, 180, 0, 0.07), transparent 70%);
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V18l28-16 28 16v32L28 66zm0 34V66m28-16l-28 16L0 50' fill='none' stroke='%23A855F7' stroke-opacity='0.09' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
}
.faq-hero .wrap { position: relative; }

.faq-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  max-width: 18ch;
}
.faq-hero h1 .marker { font-size: 0.82em; }

.faq-hero-sub {
  color: var(--ink-dim);
  max-width: 56ch;
  margin-top: 14px;
}

/* Jump pills */
.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.faq-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  background: rgba(139, 49, 232, 0.1);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.faq-jump a:hover {
  background: rgba(139, 49, 232, 0.24);
  border-color: var(--purple-hot);
  box-shadow: var(--glow-purple);
  color: var(--ink);
}

/* ---- FAQ sections ---- */
.faq-wrap { max-width: 860px; }

.faq-section { scroll-margin-top: 84px; }
.faq-section .section-head { margin-bottom: 24px; }

/* ---- Accordion items ---- */
.faq-item {
  background: var(--bg-raised);
  border: 1px solid rgba(139, 49, 232, 0.45);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item + .faq-item { margin-top: 12px; }

.faq-item:hover { border-color: var(--purple-hot); }

.faq-item[open] {
  border-color: var(--purple-hot);
  box-shadow: var(--glow-purple);
  background: var(--bg-panel);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item[open] summary h3 { color: var(--gold-hot); }

/* Gold "+" indicator, rotates to "x" when open */
.faq-item summary::after {
  content: "+";
  content: "+" / ""; /* alt-text syntax: hides the "+" from screen readers */
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  border: 1px solid rgba(255, 180, 0, 0.5);
  border-radius: 50%;
  background: rgba(255, 180, 0, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(255, 180, 0, 0.18);
  box-shadow: var(--glow-gold);
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
}

.faq-answer {
  padding: 2px 18px 20px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  border-top: 1px solid rgba(139, 49, 232, 0.25);
  margin: 0 0;
  padding-top: 14px;
}
.faq-answer p + p { margin-top: 10px; }
.faq-answer strong { color: var(--ink); }
.faq-answer ul {
  margin: 10px 0;
  padding-left: 20px;
}
.faq-answer li + li { margin-top: 8px; }

/* ---- Mini glossary (dl inside the RC//99 answer) ---- */
.faq-glossary {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.faq-glossary > div {
  background: rgba(11, 7, 19, 0.55);
  border: 1px solid rgba(139, 49, 232, 0.3);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.faq-glossary dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 3px;
}
.faq-glossary dd {
  margin: 0;
  font-size: 0.92rem;
}

/* ---- Contact CTA panel ---- */
.faq-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(139, 49, 232, 0.3), transparent 70%),
    var(--bg-raised);
  border: 1px solid var(--purple-hot);
  border-radius: var(--radius);
  box-shadow: var(--glow-purple);
  padding: 48px 24px 44px;
}
.faq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V18l28-16 28 16v32L28 66zm0 34V66m28-16l-28 16L0 50' fill='none' stroke='%23FFB400' stroke-opacity='0.06' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}
.faq-cta > * { position: relative; }

.faq-cta h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }

.faq-cta-sub {
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 12px auto 0;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* ---- Small screens ---- */
@media (max-width: 560px) {
  .faq-hero { padding: 52px 0 44px; }
  .faq-item summary { padding: 14px 14px; }
  .faq-answer { padding-left: 14px; padding-right: 14px; }
  .faq-cta-actions .btn { width: 100%; }
}
