/* ========== Legal Pages ==========
 * Sits on top of style.css and uses the same dark "Drop it" theme,
 * shell layout, and lang-picker as index.html.
 */

.legal-page {
    padding: calc(var(--header-h) + 64px) 0 96px;
    min-height: 80vh;
}

.legal-header {
    margin-bottom: 48px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--faint);
    max-width: 780px;
}

.legal-header h1 {
    font-family: var(--type-display);
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-meta {
    font-family: var(--type-mono);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.legal-content {
    max-width: 780px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--type-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.005em;
}

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

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

.legal-section ul,
.legal-section ol {
    margin: 10px 0 14px 22px;
    padding: 0;
}

.legal-section ul {
    list-style: disc;
}

.legal-section ol {
    list-style: decimal;
}

.legal-section li {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 8px;
    padding-left: 4px;
}

.legal-section li::marker {
    color: var(--lavender);
}

.legal-section a {
    color: var(--lavender);
    text-decoration: underline;
    text-decoration-color: rgba(180, 156, 255, 0.4);
    text-underline-offset: 2px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.legal-section a:hover {
    color: var(--lavender-2);
    text-decoration-color: var(--lavender-2);
}

.legal-section strong {
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 640px) {
    .legal-page {
        padding-top: calc(var(--header-h) + 40px);
        padding-bottom: 64px;
    }

    .legal-section {
        margin-bottom: 32px;
    }
}
