* {
    box-sizing: border-box;
}

:root {
    color: #23283B;
    background: #F7F9FC;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 10%, rgba(73, 147, 255, 0.10), transparent 28rem),
        radial-gradient(circle at 86% 12%, rgba(255, 127, 191, 0.10), transparent 26rem),
        linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);
}

a {
    color: #3655E8;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.legal-shell {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 44px;
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 24px;
}

.legal-brand {
    color: #1F2540;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(31, 37, 64, 0.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-card {
    border: 1px solid rgba(119, 134, 166, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 60px rgba(31, 37, 64, 0.08);
    padding: clamp(24px, 4vw, 44px);
}

.legal-kicker {
    margin: 0 0 12px;
    color: rgba(31, 37, 64, 0.52);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: #1F2540;
    font-size: clamp(34px, 7vw, 56px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.legal-updated {
    margin: 14px 0 0;
    color: rgba(31, 37, 64, 0.58);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.legal-intro {
    margin: 24px 0 0;
    color: rgba(31, 37, 64, 0.78);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 650;
}

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

h2 {
    margin: 0 0 10px;
    color: #1F2540;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

p,
li {
    color: rgba(31, 37, 64, 0.74);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 560;
}

p {
    margin: 0;
}

ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: rgba(31, 37, 64, 0.48);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

@media (max-width: 620px) {
    .legal-shell {
        width: min(100% - 24px, 860px);
        padding-top: 14px;
    }

    .legal-nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .legal-nav-links {
        justify-content: flex-start;
    }
}
