/* ─────────────────────────────────────────────
   Legal Pages (Legal Notice, Privacy, Cookies)
   ───────────────────────────────────────────── */

.legal-section {
    max-width: 820px;
    margin: 0 auto;
    padding: var(--space-16) 0;
}

.legal-section h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--neutral-200);
}

.legal-section h2:first-child {
    margin-top: 0;
}

.legal-section h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--neutral-800);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.legal-section p {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-4);
}

.legal-section ul,
.legal-section ol {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.legal-section ol {
    counter-reset: legal-ol;
}

.legal-section ul li,
.legal-section ol li {
    position: relative;
    padding-left: 12px;
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--neutral-600);
}

.legal-section ul li::before,
.legal-section ol li[data-list="bullet"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-500);
}

.legal-section ol li:not([data-list="bullet"])::before {
    counter-increment: legal-ol;
    content: counter(legal-ol) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--blue-500);
}

.legal-section .ql-ui {
    display: none;
}

.legal-section a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.legal-section a:hover {
    color: var(--blue-700);
}

.legal-last-updated {
    display: inline-block;
    font-size: var(--text-sm);
    color: var(--neutral-400);
    margin-bottom: var(--space-8);
    font-style: italic;
}

@media (max-width: 768px) {
    .legal-section {
        padding: var(--space-10) var(--space-4);
    }

    .legal-section h2 {
        font-size: var(--text-xl);
    }
}