.legal-page {
    min-height: 100vh;
    background: var(--cream);
    color: var(--forest2);
}

.legal-container {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
}

.legal-narrow-container {
    width: min(100% - 32px, 1024px);
    margin-inline: auto;
}

.legal-hero {
    position: relative;
    overflow: hidden;
}

.legal-hero__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(64px);
    pointer-events: none;
}

.legal-hero__glow--right {
    top: -160px;
    right: 0;
    width: 512px;
    height: 512px;
    background: rgba(47, 125, 75, .20);
}

.legal-hero__glow--left {
    bottom: 0;
    left: 0;
    width: 320px;
    height: 320px;
    background: rgba(167, 243, 208, .30);
}

.legal-hero__container {
    position: relative;
    padding-block: 96px;
}

.legal-hero__content {
    max-width: 896px;
}

.legal-label {
    margin: 0;
    color: var(--leaf);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-label--light {
    color: var(--emerald-200);
}

.legal-hero__title {
    max-width: 1024px;
    margin: 16px 0 0;
    color: var(--forest2);
    font-size: clamp(40px, 7vw, 60px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.legal-hero__text {
    max-width: 768px;
    margin: 24px 0 0;
    color: var(--zinc-700);
    font-size: 18px;
    line-height: 1.8;
}

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 24px 0 0;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .70);
    color: var(--forest2);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 1px 4px rgba(16, 32, 24, .08);
    backdrop-filter: blur(14px);
}

.legal-content-section {
    padding-bottom: 96px;
}

.legal-panel {
    padding: 24px;
    border: 1px solid rgba(11, 51, 38, .10);
    border-radius: 40px;
    background: rgba(255, 255, 255, .70);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.legal-article {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(11, 51, 38, .10);
}

.legal-article+.legal-article {
    padding-top: 32px;
}

.legal-article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-article__title {
    margin: 0;
    color: var(--forest2);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.25;
}

.legal-article__text {
    margin: 16px 0 0;
    color: var(--zinc-700);
    font-size: 16px;
    line-height: 2;
}

.legal-cta-section {
    padding-bottom: 96px;
}

.legal-cta {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 40px;
    background: var(--forest);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.legal-cta__glow {
    position: absolute;
    top: -96px;
    right: -96px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(47, 125, 75, .25);
    filter: blur(64px);
}

.legal-cta__content {
    position: relative;
    max-width: 768px;
}

.legal-cta__title {
    margin: 16px 0 0;
    color: var(--white);
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.legal-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 16px 32px;
    border-radius: 999px;
    background: var(--white);
    color: var(--forest2);
    font-weight: 900;
    text-decoration: none;
    transition: transform .25s ease, background-color .25s ease;
}

.legal-cta__button:hover {
    transform: translateY(-4px);
    background: var(--emerald-100);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 768px) {
    .legal-panel {
        padding: 40px;
    }

    .legal-cta {
        padding: 64px;
    }
}

@media (max-width: 560px) {
    .legal-hero__container {
        padding-block: 80px;
    }

    .legal-panel,
    .legal-cta {
        border-radius: 28px;
    }

    .legal-panel {
        padding: 20px;
    }

    .legal-cta {
        padding: 28px;
    }
}