.legal {
    min-height: 100vh;
    padding: 96px 16px 80px;
    color: rgb(var(--ink-primary));
}

.legal__container {
    max-width: 760px;
    margin: 0 auto;
}

.legal__head {
    text-align: center;
    margin-bottom: 48px;
}

.legal__eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgb(37 99 235);
    margin: 0 0 12px;
}

.legal__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: rgb(var(--ink-primary));
    margin: 0 0 16px;
}

.legal__updated {
    font-size: 13px;
    color: rgb(var(--ink-muted, 113 113 122));
    margin: 0;
}

.legal__content {
    background: rgb(var(--canvas-raised));
    border: 1px solid rgb(var(--outline-subtle));
    border-radius: 12px;
    padding: 32px clamp(20px, 4vw, 40px);
    box-shadow: 0 1px 2px rgb(0 0 0 / .04);
}

.legal__section {
    padding: 16px 0;
    border-bottom: 1px solid rgb(var(--outline-subtle));
}

.legal__section:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.legal__section:first-child {
    padding-top: 4px;
}

.legal__h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(var(--ink-primary));
    margin: 0 0 12px;
}

.legal__section p {
    font-size: 14px;
    line-height: 1.7;
    color: rgb(var(--ink-secondary));
    margin: 0 0 12px;
}

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

.legal__section strong {
    color: rgb(var(--ink-primary));
    font-weight: 600;
}

.legal__section a {
    color: rgb(37 99 235);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s;
}

.legal__section a:hover {
    border-bottom-color: rgb(37 99 235);
}

.legal__section ul,
.legal__meta {
    margin: 12px 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.legal__meta {
    list-style: none;
    padding-left: 0;
}

.legal__section li {
    font-size: 14px;
    line-height: 1.7;
    color: rgb(var(--ink-secondary));
    margin: 6px 0;
}

.legal__meta li {
    margin: 4px 0;
}

.legal__back {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 600px) {
    .legal {
        padding: 80px 12px 60px;
    }

    .legal__head {
        margin-bottom: 32px;
    }

    .legal__content {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .legal__h2 {
        font-size: 16px;
    }
}
