/* ── SITE PAGE (Terms, Billing Terms… managed in /console/pages) ── */
.sp-main {
    padding-top: 56px;
    padding-bottom: 80px;
    max-width: 820px;
}

.sp-page-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.sp-page-header h1 {
    color: var(--text-primary);
    font-size: 2.25rem;
    line-height: 1.2;
}

.sp-updated {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Trix output: div blocks, h1 headings, lists, quotes, code. */
.sp-content {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.75;
}

.sp-content > div,
.sp-content p { margin-bottom: 1em; }

.sp-content h1,
.sp-content h2,
.sp-content h3 {
    margin: 1.8em 0 0.6em;
    color: var(--text-primary);
    font-size: 1.35rem;
    line-height: 1.3;
}

.sp-content ul,
.sp-content ol {
    margin: 0 0 1em 1.5em;
}

.sp-content li { margin-bottom: 0.35em; }

.sp-content a { color: var(--accent-sky); }

.sp-content strong { color: var(--text-primary); }

.sp-content blockquote {
    margin: 0 0 1em;
    padding: 4px 0 4px 16px;
    border-left: 3px solid var(--border-color);
    color: var(--text-muted);
}

.sp-content pre {
    margin: 0 0 1em;
    padding: 14px 16px;
    overflow-x: auto;
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ── FAQ TEMPLATE (faq.css does the accordion) ──────────────── */
.sp-faq-intro {
    max-width: 62ch;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.faq-answer.sp-content {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-answer.sp-content > div:last-child { margin-bottom: 0; }

.sp-faq-empty {
    margin: 24px 0;
    color: var(--text-muted);
    text-align: center;
}

.faq-item[hidden],
.faq-section[hidden] { display: none; }
