/* Landing Page Styles
 * Uses design tokens from variables.css.
 * Navbar styles are in navbar.css (shared component).
 * Sections: faq, footer.
 */

/* ── FAQ ────────────────────────────────────────────────── */

.faq {
  padding: 80px 32px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--accent, #f0b90b);
}

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  transition: transform 0.25s ease;
  color: var(--muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* No-JS fallback: show all answers */
.no-js .faq-answer {
  max-height: none;
}

.no-js .faq-arrow {
  display: none;
}

/* ── Footer ─────────────────────────────────────────────── */

.landing-footer {
  padding: 40px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .faq {
    padding: 60px 20px;
  }
}
