/**
 * Legal Pages - Privacy Policy & Terms of Use
 *
 * Minimal centered prose layout layered on top of marketing-home.css.
 * Used by /privacy.php and /terms.php.
 */

.legal-hero {
    max-width: 720px;
    margin: 0 auto;
    /* Clear the fixed header stack (nav + demo banner) - see --mkt-header-h */
    padding: calc(var(--mkt-header-h) + var(--space-12)) var(--space-6) var(--space-8);
    text-align: center;
}

.legal-hero h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-ink);
    margin: 0 0 var(--space-3);
}

.legal-hero .legal-updated {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-stone);
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-6) var(--space-20);
}

.legal-content section {
    margin-bottom: var(--space-10);
}

.legal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-ink);
    margin: 0 0 var(--space-3);
}

.legal-content p,
.legal-content li {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-ink-muted);
}

.legal-content p {
    margin: 0 0 var(--space-3);
}

.legal-content ul {
    margin: 0 0 var(--space-3);
    padding-left: var(--space-6);
}

.legal-content li {
    margin-bottom: var(--space-2);
}

.legal-content a {
    color: var(--color-burgundy);
}

@media (max-width: 640px) {
    .legal-hero {
        /* Still clear the fixed header on mobile (was var(--space-12) alone,
           which is < the nav height and tucked content under it). */
        padding-top: calc(var(--mkt-header-h) + var(--space-6));
    }

    .legal-hero h1 {
        font-size: 2.25rem;
    }
}
