/* ==========================================================================
   Section 10 — FAQ · ported from the original site's #faq
   Same look: centred 720px column, hairline-divided questions, a round
   plus that turns into a filled ×, answer text easing up as it opens.
   Changes from the original:
   - scoped .fq- classes, tokens instead of hard-coded greys (dark mode)
   - open/close uses grid rows 0fr → 1fr (no max-height cap, so long
     answers never clip)
   - headline uses the shared section scale; copy is the wireframe's
     ("Straight answers"), so there is no kicker or subheading
   ========================================================================== */

.faq {
  position: relative;
  padding: clamp(72px, 9vw, 112px) var(--page-px);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.fq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.fq-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}
.fq-title {
  font-size: var(--fs-section-title);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
/* ─── Accordion ───────────────────────────────────────────────────────── */
.fq-list { border-top: 1px solid var(--border); }
.fq-item { border-bottom: 1px solid var(--border); }

.fq-q { margin: 0; font: inherit; }
.fq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.fq-btn:focus-visible { outline-offset: 4px; }
.fq-q-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.fq-btn:hover .fq-q-text { color: var(--accent); }
.fq-item.is-open .fq-q-text { color: var(--accent-text); }

.fq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow 0.35s ease;
}
.fq-icon i {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.fq-btn:hover .fq-icon { border-color: var(--accent-line); }
.fq-item.is-open .fq-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(21,101,192,0.25);
}
.fq-item.is-open .fq-icon i { color: #ffffff; }

/* Answer: rows 0fr → 1fr, text eases up a beat later */
.fq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.fq-item.is-open .fq-a { grid-template-rows: 1fr; }
.fq-a-inner { overflow: hidden; }
.fq-a-text {
  padding: 0 54px 24px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s var(--ease-out) 0.1s;
}
.fq-item.is-open .fq-a-text { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .fq-a-text { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fq-a, .fq-a-text, .fq-icon, .fq-q-text { transition: none; }
}
