/**
 * FAQ Page Styles — Stripe Design System
 */

/* ── Layout ───────────────────────────────────────────── */

.faq-container {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--stripe-space-8) var(--stripe-space-6);
}

@media (max-width: 768px) {
    .faq-container {
        padding: var(--stripe-space-6) var(--stripe-space-4);
    }
}

/* ── Page Header ──────────────────────────────────────── */

.faq-header {
    padding-bottom: var(--stripe-space-6);
    margin-bottom: var(--stripe-space-8);
    border-bottom: 1px solid var(--stripe-border-light);
}

.faq-page-title {
    font-size: var(--stripe-fs-3xl);
    font-weight: var(--stripe-fw-bold);
    line-height: var(--stripe-lh-tight);
    color: var(--stripe-text-primary);
    margin: 0 0 var(--stripe-space-3) 0;
}

@media (max-width: 768px) {
    .faq-page-title {
        font-size: var(--stripe-fs-2xl);
    }
}

.faq-page-subtitle {
    font-size: var(--stripe-fs-lg);
    color: var(--stripe-text-secondary);
    margin: 0;
}

/* ── FAQ Item Cards ───────────────────────────────────── */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--stripe-space-4);
}

.faq-item {
    overflow: hidden;
}

.faq-item .stripe-card-header {
    display: flex;
    align-items: center;
    gap: var(--stripe-space-3);
}

.faq-question-text {
    font-size: var(--stripe-fs-lg);
    font-weight: var(--stripe-fw-semibold);
    color: var(--stripe-text-primary);
    margin: 0;
    line-height: var(--stripe-lh-snug);
}

/* ── Answer Body ──────────────────────────────────────── */

.faq-answer {
    font-size: var(--stripe-fs-base);
    line-height: var(--stripe-lh-relaxed);
    color: var(--stripe-text-secondary);
}

/* Reuse help-content typography but at base font size */
.faq-answer p { margin: 0 0 var(--stripe-space-3) 0; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer a {
    color: var(--stripe-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 91, 255, 0.3);
    transition: border-color var(--stripe-transition-fast);
}

.faq-answer a:hover {
    border-bottom-color: var(--stripe-primary);
}

.faq-answer ul,
.faq-answer ol {
    margin: 0 0 var(--stripe-space-3) 0;
    padding-left: var(--stripe-space-6);
}

.faq-answer li { margin-bottom: var(--stripe-space-1); }
