.legal-content {
    border-radius: 32px;

    width: 100%;
    max-width: 1200px;

    background-color: #ffffff;

    padding: clamp(64px, 8vw, 96px) 0;

    color: #475569;
}

.legal-content > .common-container {
    max-width: 880px;

    padding-inline: clamp(24px, 5vw, 48px);
}

.legal-content ::selection {
    background-color: rgb(242 153 74 / 24%);

    color: #1e293b;
}

.legal-eyebrow {
    margin-bottom: 16px;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #a95721;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.legal-eyebrow::before {
    border-radius: 999px;

    width: 32px;
    height: 3px;

    background-color: #f2994a;

    content: "";

    flex: 0 0 auto;

    transform: rotate(-2deg);
}

.legal-content h1 {
    margin-bottom: 16px;

    color: #0f172a;

    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;

    letter-spacing: -0.025em;
}

.legal-content > .common-container > h1 + p {
    color: #64748b;

    font-size: 14px;
    line-height: 1.6;

    font-variant-numeric: tabular-nums;
}

.legal-summary {
    border-radius: 24px;

    background-color: rgb(242 153 74 / 8%);

    margin: 48px 0;

    padding: 32px;
}

.legal-summary h2 {
    margin-bottom: 12px;

    color: #1e293b;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.legal-summary p {
    color: #475569;

    font-size: 16px;
    line-height: 1.75;
}

.legal-summary p + p {
    margin-top: 16px;
}

.legal-content section {
    max-width: 600px;
}

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

.legal-content section h2 {
    margin-bottom: 16px;

    color: #1e293b;

    font-size: clamp(22px, 2.5vw, 24px);
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: -0.025em;
}

.legal-content section p {
    color: #475569;

    font-size: 16px;
    line-height: 1.75;

    overflow-wrap: anywhere;
}

.legal-content section p + p {
    margin-top: 16px;
}

.legal-content a {
    color: #237a5e;

    font-weight: 500;

    text-decoration: none;

    transition: color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .legal-content a:hover {
        color: #a95721;
    }
}

.legal-content a:focus-visible {
    border-radius: 4px;

    outline: 2px solid rgb(35 122 94 / 52%);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .legal-content {
        border-radius: 24px;

        padding: 48px 0;
    }

    .legal-content > .common-container {
        padding-inline: 24px;
    }

    .legal-summary {
        margin-top: 40px;
        margin-bottom: 40px;

        padding: 24px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .legal-content a {
        transition: none;
    }
}

@media (forced-colors: active) {
    .legal-content,
    .legal-summary {
        background: Canvas;
    }
}
