/* Minimal readability styles for public policy pages.
 *
 * IMPORTANT: these styles are scoped to the legal content section so the shared
 * landing-page header/footer keep the exact same layout as index/claim.
 */
:root {
    color-scheme: light;
}

.legal-section {
    background: #f8fafc;
}

.legal-section .container {
    margin: 0 auto;
    padding: 48px 24px 64px;
    max-width: 960px;
}

.legal-section .w-richtext {
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: #0f172a;
}

.legal-section .w-richtext h1,
.legal-section .w-richtext h2,
.legal-section .w-richtext h3,
.legal-section .w-richtext h4 {
    color: #0b132b;
    line-height: 1.2;
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-section .w-richtext h1 {
    font-size: 32px;
}

.legal-section .w-richtext h2 {
    font-size: 24px;
}

.legal-section .w-richtext h3 {
    font-size: 20px;
}

.legal-section .w-richtext p,
.legal-section .w-richtext ul,
.legal-section .w-richtext ol {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.legal-section .w-richtext ul,
.legal-section .w-richtext ol {
    padding-left: 20px;
}

.legal-section .w-richtext a {
    color: #0f766e;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 118, 110, 0.35);
}

.legal-section .w-richtext a:hover {
    color: #115e59;
    border-color: rgba(17, 94, 89, 0.55);
}

.legal-section .w-richtext strong {
    font-weight: 700;
}

.legal-section .w-richtext blockquote {
    margin: 18px 0;
    padding: 12px 18px;
    border-left: 4px solid #0ea5e9;
    background: #e0f2fe;
}

.legal-section .w-richtext code {
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    background: #e5e7eb;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 14px;
}

.legal-section .w-richtext footer {
    margin-top: 48px;
    padding-top: 16px;
    border-top: 1px solid #cbd5e1;
    color: #334155;
    font-size: 14px;
}

@media (max-width: 640px) {
    .legal-section .container {
        padding: 32px 18px 48px;
    }

    .legal-section .w-richtext h1 {
        font-size: 28px;
    }

    .legal-section .w-richtext h2 {
        font-size: 22px;
    }
}
