/* ─────────────────────────────────────────────────────────────
   faq.css — Frequently asked questions

   A GEO/SEO surface, not a nav destination — it isn't in the
   masthead, only linked from the footer. It reads at the same
   measure as about.css and legal.css: one column, hairline rules,
   no display type above the h1.

   Native <details>/<summary> rather than a JS-driven accordion —
   every answer is real markup in the DOM (and the FAQPage JSON-LD
   above it is generated from the same list), so a crawler that
   doesn't run JS still sees the full content, open or not.
   ───────────────────────────────────────────────────────────── */

.faq {
  padding-block: clamp(56px, 9vh, 104px) var(--section-y);
}

.faq__wrap { max-width: min(74ch, var(--page-max)); }

.faq__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.faq__list {
  margin-top: var(--space-6);
  border-top: 1px solid var(--rule);
}

.faq__item {
  border-bottom: 1px solid var(--rule);
}

/* Kill the default disclosure triangle so the SVG chevron is the only
   marker — Safari and Firefox render ::marker/::-webkit-details-marker
   differently, so both are silenced. */
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}

.faq__question:hover { color: var(--signal-ink); }

.faq__icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--signal-ink);
  transition: transform var(--dur-fast) var(--ease);
}

.faq__icon svg { width: 15px; height: 15px; }

.faq__item[open] .faq__icon { transform: rotate(180deg); }

.faq__answer {
  padding-bottom: var(--space-4);
}

.faq__answer p {
  margin: 0;
  max-width: 68ch;
  font-size: var(--t-body);
  line-height: 1.66;
  color: var(--ink-soft);
}

.faq__close {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: baseline;
}

.faq__close a {
  display: inline-block;
  padding: 4px 0;
  font-size: var(--t-sm);
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.faq__close a:hover { color: var(--signal-deep); }
