/* FAQ page — page-specific styles. All colors sourced from theme.css variables. */

.faq-page {
  background: var(--bg);
  min-height: 100vh;
}

/* --- Hero --- */
.faq-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.faq-hero .pledge-sub a {
  color: var(--accent);
  text-decoration: none;
}
.faq-hero .pledge-sub a:hover { text-decoration: underline; }

.faq-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  color: var(--fg);
  margin-top: 24px;
}

/* --- Q&A list --- */
.faq-list {
  padding: 60px 48px 80px;
  background: var(--bg2);
  position: relative;
}
.faq-list::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

.faq-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(245,158,11,0.3); }
.faq-item[open] { border-color: rgba(245,158,11,0.3); }

.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--fg);
  line-height: 1.4;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }

.faq-q-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 28px;
  padding-top: 4px;
  flex-shrink: 0;
}

.faq-q-text { flex: 1; }

.faq-a {
  padding: 0 24px 24px 70px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.faq-a p { margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a {
  color: var(--accent);
  text-decoration: none;
}
.faq-a a:hover { text-decoration: underline; }
.faq-a strong { color: var(--fg); font-weight: 500; }

/* --- Still-have-questions CTA --- */
.faq-cta-section {
  padding: 100px 48px 110px;
  text-align: center;
}
.faq-cta-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 32px;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .faq-hero { padding: 60px 24px; }
  .faq-list { padding: 40px 24px 60px; }
  .faq-q { padding: 16px 18px; gap: 12px; font-size: 15px; }
  .faq-q-num { min-width: 22px; }
  .faq-a { padding: 0 18px 20px 52px; font-size: 14px; }
  .faq-cta-section { padding: 60px 24px 80px; }
}
