.legal-page {
    background: var(--white);
}

.legal-content {
    padding: 104px 24px 130px;
    background: var(--white);
}

.legal-content .container {
    width: min(100%, 860px);
    margin: 0 auto;
}

.legal-eyebrow {
    margin-bottom: 22px;
}

.legal-content h1 {
    max-width: 820px;
    margin: 0 0 78px;
    font-size: clamp(48px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.05em;
}

.legal-section {
    padding: 0 0 58px;
    border-bottom: 1px solid rgba(29, 29, 31, .16);
    background: transparent;
}

.legal-section + .legal-section {
    margin-top: 58px;
}

.legal-section h2 {
    margin: 62px 0 22px;
    padding-top: 48px;
    border-top: 1px solid rgba(29, 29, 31, .12);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}

.legal-section h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal-section h3 {
    margin: 42px 0 14px;
    font-size: clamp(21px, 2.4vw, 26px);
    line-height: 1.2;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.legal-section h4 {
    margin: 30px 0 10px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.015em;
    overflow-wrap: anywhere;
}

.legal-section p,
.legal-section li {
    color: rgba(29, 29, 31, .7);
    font-size: 16px;
    line-height: 1.72;
}

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

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

.legal-section ul,
.legal-section ol {
    margin: 18px 0 26px;
    padding-left: 24px;
}

.legal-section li + li {
    margin-top: 10px;
}

.legal-section strong {
    color: var(--ink);
    font-weight: 600;
}

.legal-section a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.back-link {
    margin-top: 42px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: var(--ink);
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    gap: 9px;
}

.back-link a::before {
    content: "←";
}

@media (max-width: 820px) {
    .legal-content {
        padding-top: 86px;
        padding-bottom: 110px;
    }

    .legal-content h1 {
        margin-bottom: 54px;
    }
}

@media (max-width: 560px) {
    .legal-content {
        padding: 72px 20px 88px;
    }

    .legal-content h1 {
        margin-bottom: 56px;
        font-size: clamp(42px, 12vw, 54px);
    }

    .legal-section {
        padding-bottom: 44px;
    }

    .legal-section h2 {
        margin-top: 54px;
        padding-top: 42px;
        font-size: 28px;
    }

    .legal-section h3 {
        margin-top: 36px;
        font-size: 21px;
    }

    .legal-section h4 {
        font-size: 17px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
        line-height: 1.7;
    }
}
