/* FAQ / troubleshooting — uses the shared design tokens in style.css */

.page-hero-h1 { text-wrap: balance; }

.faq-section {
    padding: 72px 0 96px;
    background: var(--bg);
}
.faq-section.alt {
    background: var(--bg-cool);
    border-top: 1px solid var(--line);
}
.faq-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.faq-inner.narrow { max-width: 860px; }

.faq-intro {
    max-width: 760px;
    margin-bottom: 36px;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--ink-soft);
}
.faq-intro strong { color: var(--ink); font-weight: 600; }

.faq-download { margin: -8px 0 36px; }
.faq-download a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: white;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.45;
    text-align: center;
}
.faq-download a:hover { border-color: var(--brand); color: var(--brand); }

.faq-group { margin-bottom: 42px; }
.faq-group h2 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 14px;
}

.faq-cards { display: grid; gap: 12px; }
.faq-card {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}
.faq-card h3 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    line-height: 1.45;
}
.faq-card p {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--ink-soft);
}
.faq-card .more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
}
.faq-card .more svg { width: 12px; height: 12px; }

.faq-article h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 12px;
    letter-spacing: -0.01em;
}
.faq-article h2:first-child { margin-top: 0; }
.faq-article p,
.faq-article li {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink-soft);
}
.faq-article p { margin-bottom: 14px; }
.faq-article strong { color: var(--ink); font-weight: 600; }
.faq-article a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.faq-article a:hover { color: var(--brand); }

.faq-article ol,
.faq-article ul { margin: 0 0 16px 1.2em; }
.faq-article li { margin-bottom: 8px; }
.faq-article li strong { color: var(--ink); }

.faq-callout {
    background: var(--bg-cool);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 8px 0 18px;
}
.faq-callout p:last-child { margin-bottom: 0; }

.faq-sources {
    margin-top: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px 24px;
}
.faq-sources h2 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 12px;
    font-weight: 600;
}
.faq-sources ul { margin-bottom: 10px; }
.faq-sources .note {
    font-size: 13px;
    color: var(--ink-mute);
    margin: 0;
}

.faq-related { margin-top: 28px; }
.faq-related h2 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}
.faq-related ul { list-style: none; margin: 0; display: grid; gap: 8px; }
.faq-related a {
    display: block;
    padding: 12px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.faq-related a:hover { border-color: var(--brand); color: var(--brand); }

.faq-cta {
    background: var(--ink);
    color: white;
    border-radius: 10px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.faq-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin: 0 0 10px;
}
.faq-cta h2 em { font-style: normal; color: #22d3ee; }
.faq-cta p { margin: 0; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.78); }
.faq-cta p strong { color: white; font-weight: 600; }
.faq-cta .btn-primary { white-space: nowrap; }

@media (max-width: 720px) {
    .faq-section { padding: 48px 0 72px; }
    .faq-download a { width: 100%; }
    .faq-cta { grid-template-columns: 1fr; padding: 28px 22px; }
    .faq-card { padding: 18px 16px; }
}
