/* ─── Legal Pages (Privacy Policy & Terms of Use) ───────────────────────── */
/* Uses main.css design tokens. Include AFTER main.css. */

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px 100px;
}

.legal-page__title {
    font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.legal-page__updated {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 56px;
}

/* ── Sections ── */
.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: clamp(1.1rem, 0.8vw + 0.9rem, 1.35rem);
    font-weight: 700;
    color: var(--color-primary);
    padding-left: 16px;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.35;
}

.legal-section h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin: 28px 0 10px;
}

.legal-section p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.75;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: var(--color-primary-dark);
}

.legal-section ul {
    margin: 10px 0 16px 24px;
    padding: 0;
}

.legal-section li {
    font-size: 1rem;
    color: var(--color-text);
    margin: 8px 0;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .legal-page {
        padding: 32px 16px 64px;
    }

    .legal-page__updated {
        margin-bottom: 36px;
    }
}

@media print {
    .legal-section {
        border-color: #ccc;
    }

    .legal-section h2 {
        color: #eb870f;
        border-color: #eb870f;
    }
}
