:root {
    color-scheme: light;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #f7f8fc;
    color: #172033;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f8fc;
    color: #172033;
    line-height: 1.65;
}

a {
    color: #4f46e5;
}

.legal-shell {
    width: min(920px, calc(100% - 32px));
    margin-inline: auto;
}

.legal-header {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.legal-header__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.legal-brand {
    color: #111827;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
}

.legal-back-link {
    text-decoration: none;
    font-weight: 700;
}

.legal-main {
    padding-block: 40px;
}

.legal-card {
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.legal-page-header {
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-eyebrow {
    margin: 0 0 6px;
    color: #4f46e5;
    font-weight: 800;
}

.legal-page-header h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.15;
}

.legal-updated {
    margin: 12px 0 0;
    color: #64748b;
}

.legal-section {
    margin-top: 30px;
}

.legal-section h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.2rem;
}

.legal-section p {
    margin: 10px 0;
}

.legal-contact-list {
    margin: 0;
}

.legal-contact-list > div {
    padding-block: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-contact-list dt {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.legal-contact-list dd {
    margin: 4px 0 0;
}

.legal-footer {
    padding: 28px 0 40px;
    color: #64748b;
    text-align: center;
}

.legal-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-bottom: 14px;
}

.legal-footer__links a {
    font-weight: 650;
    text-decoration: none;
}

@media (max-width: 600px) {
    .legal-shell {
        width: min(100% - 20px, 920px);
    }

    .legal-main {
        padding-block: 18px;
    }

    .legal-card {
        padding: 22px 18px;
        border-radius: 15px;
    }
}
