/* Prose styling for legal pages (privacy policy, terms). Pairs with landing.css. */

.legal {
    background: #fff;
}

.legal .container {
    max-width: 820px;
}

.legal .legal-updated {
    display: inline-block;
    margin-bottom: 30px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #555;
    font-size: 0.85rem;
}

.legal .legal-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #333;
    padding: 20px 24px;
    border-left: 4px solid var(--primary-color, #c8102e);
    background: #fafafa;
    border-radius: 0 8px 8px 0;
    margin-bottom: 40px;
}

.legal h2 {
    margin: 42px 0 14px;
    font-size: 1.35rem;
    color: #111;
}

.legal h3 {
    margin: 26px 0 8px;
    font-size: 1.05rem;
    color: #222;
}

.legal p,
.legal li {
    line-height: 1.8;
    color: #444;
}

.legal p {
    margin-bottom: 14px;
}

.legal ul {
    margin: 0 0 18px 20px;
    list-style: disc;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--primary-color, #c8102e);
}

.legal .legal-callout {
    margin: 24px 0;
    padding: 18px 22px;
    background: #fff8f2;
    border: 1px solid #f0d9c4;
    border-radius: 8px;
}

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

.legal .legal-contact {
    margin-top: 10px;
    padding: 22px 24px;
    background: #f7f7f8;
    border-radius: 8px;
}

.legal .legal-contact p {
    margin-bottom: 6px;
}

.legal table.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 24px;
    font-size: 0.95rem;
}

.legal table.legal-table th,
.legal table.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 11px 12px;
    border-bottom: 1px solid #e6e6e8;
    line-height: 1.6;
}

.legal table.legal-table th {
    background: #f3f4f6;
    color: #222;
    font-weight: 600;
}

@media (max-width: 600px) {
    .legal table.legal-table,
    .legal table.legal-table tbody,
    .legal table.legal-table tr,
    .legal table.legal-table td {
        display: block;
        width: 100%;
    }

    .legal table.legal-table thead {
        display: none;
    }

    .legal table.legal-table tr {
        margin-bottom: 16px;
        border: 1px solid #e6e6e8;
        border-radius: 8px;
        overflow: hidden;
    }

    .legal table.legal-table td {
        border-bottom: 1px solid #f0f0f2;
    }

    .legal table.legal-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #888;
    }
}
