/* Shared FAQ component (CLAUDE.md section 16 and IQ-SEO-GUIDE section 2.10).
   Markup: .iq-faq-list > details.iq-faq-item > summary.iq-faq-q > h3 + .iq-faq-a
   Native <details>: keyboard accessible, no JS, answers stay in the DOM for crawlers.
   Each value is var(--iq-*, var(--legacy)) so the component works on pages that load the
   token file and on pages that still use the legacy variable set. */

.iq-faq-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--iq-cta-bg, var(--accent));
  margin: 0 0 0.7rem;
}

.iq-faq-list {
  margin-top: 1.5rem;
  max-width: 820px;
  border-top: 1px solid var(--iq-border-light, var(--border));
}

.iq-faq-item {
  border-bottom: 1px solid var(--iq-border-light, var(--border));
}

.iq-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}

.iq-faq-q::-webkit-details-marker { display: none; }

.iq-faq-q::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--iq-cta-bg, var(--accent));
  transition: transform 0.18s;
}

.iq-faq-item[open] > .iq-faq-q::after { transform: rotate(45deg); }

.iq-faq-q h3 {
  margin: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: normal;
  color: var(--iq-text-primary, var(--ink));
}

.iq-faq-q:hover h3 { color: var(--iq-cta-hover, var(--ah)); }

.iq-faq-a {
  padding: 0 2rem 1.3rem 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--iq-text-secondary, var(--ink2));
}

.iq-faq-a p { margin: 0 0 0.8rem; font-size: inherit; font-weight: 400; color: inherit; max-width: 46rem; }
.iq-faq-a p:last-child { margin-bottom: 0; }
.iq-faq-a a { color: var(--iq-text-primary, var(--ink)); text-decoration-color: var(--iq-cta-bg, var(--accent)); text-underline-offset: 3px; }
.iq-faq-a a:hover { color: var(--iq-cta-hover, var(--ah)); }
