/* FAQ surfaces follow the same palette in both themes. */
.faq-page {
  --faq-text: var(--text, #20211f);
  --faq-muted: var(--theme-muted, #62615e);
  --faq-surface: var(--surface, #fffdf9);
  --faq-soft: var(--surface-2, #f4f0e9);
  --faq-line: var(--theme-line, #ded7cd);
  --faq-accent: var(--theme-accent, #1467d8);
  padding-top: clamp(30px, 4vw, 60px);
  padding-bottom: 60px;
}
.faq-content { max-width: 940px; margin: 0 auto; }
.faq-heading { margin-bottom: 28px; }
.faq-heading .eyebrow { color: var(--faq-accent); }
.faq-heading h1 { color: var(--faq-text); font-size: clamp(32px, 4vw, 54px); line-height: 1.12; letter-spacing: -.8px; margin: 16px 0 14px; }
.faq-heading p { color: var(--faq-muted); font-size: 16px; line-height: 1.65; margin: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { margin: 0; padding: 0; border: 1px solid var(--faq-line); border-radius: 18px; background: var(--faq-surface); color: var(--faq-text); overflow: hidden; }
.faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; min-height: 68px; padding: 18px 22px; color: var(--faq-text); font-weight: 800; font-size: 16px; line-height: 1.5; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ''; }
.faq-item > summary:hover { background: var(--faq-soft); }
.faq-item > summary:focus-visible { outline: 3px solid var(--faq-accent); outline-offset: -4px; border-radius: 17px; }
.faq-question { min-width: 0; overflow-wrap: anywhere; }
.faq-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 10px; background: var(--faq-soft); color: var(--faq-accent); }
.faq-icon svg { width: 18px; height: 18px; }
.faq-item[open] { border-color: var(--faq-accent); }
.faq-item[open] .faq-icon { background: var(--faq-accent); color: var(--bg, #faf6ef); }
.faq-item[open] .faq-icon .faq-plus { display: none; }
.faq-answer { padding: 0 22px 21px; }
.faq-answer p { margin: 0; padding-top: 17px; border-top: 1px solid var(--faq-line); color: var(--faq-muted); font-size: 15px; line-height: 1.8; }
.faq-answer a { color: var(--faq-accent); font-weight: 800; text-underline-offset: 3px; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 24px; border: 1px solid var(--faq-line); border-radius: 20px; background: var(--faq-soft); }
.faq-cta h2 { color: var(--faq-text); font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
.faq-cta p { color: var(--faq-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.faq-cta .primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; min-height: 50px; margin: 0; padding: 14px 22px; color: #fff; text-decoration: none; text-align: center; }
@media (max-width: 650px) {
  .faq-heading { margin-bottom: 22px; }
  .faq-heading p { font-size: 15px; }
  .faq-item > summary { font-size: 15px; padding: 16px; gap: 14px; }
  .faq-answer { padding: 0 16px 18px; }
  .faq-answer p { font-size: 14px; }
  .faq-cta { flex-direction: column; align-items: stretch; padding: 22px; gap: 20px; }
  .faq-cta .primary { width: 100%; }
}
