/* FAQ section */

.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-soft);
}
.faq-inner {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.faq-heading {
  margin-bottom: var(--space-xl);
  text-align: center;
  /* Fluid, matching .article-title's own 3.5vw idiom. A fixed --fs-2xl (32px) stayed 32px at every
     width while .article-title scales down to 28px, so on narrow viewports this section heading
     rendered LARGER than the page h1. Tops out at 2rem, so desktop is unchanged. */
  font-size: clamp(1.5rem, 3.5vw, var(--fs-2xl));
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--color-border);
}
.faq-question {
  cursor: pointer;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: var(--fs-xl);
  /* amber-700, not --color-accent-strong (amber-600). The +/- is the ONLY signal the row expands,
     so WCAG 1.4.11 applies: amber-600 on the white item fill is 2.34:1, below the 3:1 minimum.
     amber-700 measures 3.05:1 — it PASSES BY 0.05, so re-check it if the amber scale is ever
     retuned. Not using --color-accent-strong because that token is also the link-hover underline,
     where a different contrast rule applies. */
  color: var(--amber-700);
  transition: transform var(--t-fast);
  line-height: 1;
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--color-border-soft);
}
.faq-answer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  line-height: 1.6;
}
.faq-answer p { margin: 0; }

/* .faq-inner is not a .container, so it never picked up the container's 560px padding step-down.
   Below 560px the FAQ column sat 8px inboard of the article text above it. Mirror .container. */
@media (max-width: 560px) {
  .faq-inner { padding: 0 var(--space-md); }
}
