.legal-page {
    --legal-ink: #152d27;
    --legal-muted: #64756e;
    --legal-green: #147b56;
    --legal-mint: #d9f0e4;
    color: var(--legal-ink);
    padding: 1.4rem 0 4rem;
}

.legal-hero {
    position: relative;
    display: flex;
    min-height: 340px;
    align-items: center;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4.6rem);
    border-radius: 1.5rem;
    background: linear-gradient(115deg, #f1f7f2 0%, #e5f2e9 62%, #d4eadc 100%);
}

.legal-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.legal-home-link,
.legal-article a {
    color: var(--legal-green);
    font-weight: 700;
    text-decoration: none;
}

.legal-home-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 2rem;
    font-size: .88rem;
}

.legal-eyebrow,
.legal-sidebar-label {
    display: block;
    color: var(--legal-green);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.legal-hero h1 {
    margin: .65rem 0 .85rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.055em;
}

.legal-hero-copy>p {
    max-width: 610px;
    margin: 0;
    color: #53675e;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.8;
}

.legal-updated {
    display: inline-block;
    margin-top: 1.35rem;
    color: #61746b;
    font-size: .8rem;
    font-weight: 600;
}

.legal-hero-art {
    position: absolute;
    top: 50%;
    right: clamp(2rem, 10vw, 8rem);
    width: 235px;
    height: 235px;
    transform: translateY(-50%);
}

.legal-art-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(20, 123, 86, .18);
    border-radius: 50%;
}

.legal-art-orbit-one {
    transform: rotate(-28deg) scaleX(.7);
}

.legal-art-orbit-two {
    transform: rotate(28deg) scaleX(.7);
}

.legal-art-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border: 1px solid rgba(20, 123, 86, .12);
    border-radius: 2rem;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 20px 45px rgba(29, 86, 61, .12);
    color: var(--legal-green);
    font-size: 2.7rem;
    transform: translate(-50%, -50%) rotate(-8deg);
}

.legal-art-caption {
    position: absolute;
    right: -1rem;
    bottom: 1.7rem;
    color: #507563;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.6;
    transform: rotate(-8deg);
}

.legal-content-grid {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    max-width: 1120px;
    margin: 3.5rem auto 0;
}

.legal-sidebar {
    position: sticky;
    top: 105px;
}

.legal-sidebar nav {
    display: grid;
    gap: .25rem;
    max-height: calc(100vh - 250px);
    margin-top: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: .25rem;
}

.legal-sidebar nav a {
    display: flex;
    gap: .8rem;
    padding: .7rem .65rem;
    border-radius: .65rem;
    color: #4f625a;
    font-size: .84rem;
    line-height: 1.45;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.legal-sidebar nav a span {
    color: #91a69b;
    font-size: .72rem;
    font-weight: 800;
}

.legal-sidebar nav a:hover,
.legal-sidebar nav a:focus-visible {
    background: #eef6f0;
    color: var(--legal-green);
}

.legal-contact-card {
    display: grid;
    gap: .55rem;
    margin-top: 1.7rem;
    padding: 1.15rem;
    border: 1px solid #e0ebe3;
    border-radius: 1rem;
    background: #f8fbf8;
}

.legal-contact-card>i {
    color: var(--legal-green);
    font-size: 1.3rem;
}

.legal-contact-card strong {
    font-size: .92rem;
}

.legal-contact-card span {
    color: var(--legal-muted);
    font-size: .8rem;
    line-height: 1.55;
}

.legal-contact-card a {
    margin-top: .2rem;
    color: var(--legal-green);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-article {
    min-width: 0;
}

.legal-section {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
    padding: 0 0 2.1rem;
    scroll-margin-top: 100px;
}

.legal-section+.legal-section {
    padding-top: 2rem;
    border-top: 1px solid #e7ede8;
}

.legal-section-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: #edf6ef;
    color: var(--legal-green);
    font-size: .78rem;
    font-weight: 800;
}

.legal-section h2 {
    margin: .35rem 0 .8rem;
    color: var(--legal-ink);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 750;
    letter-spacing: -.025em;
}

.legal-section p {
    margin: 0 0 .85rem;
    color: #5c6c65;
    font-size: .96rem;
    line-height: 1.85;
}

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

.legal-callout {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: .4rem 0 0 58px;
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    background: #173b2d;
    color: white;
}

.legal-callout>i {
    flex: 0 0 auto;
    color: #a4e0bd;
    font-size: 1.35rem;
}

.legal-callout p {
    flex: 1;
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
}

.legal-callout a {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: white;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .legal-page {
        padding-top: .5rem;
    }
    .legal-hero {
        min-height: 0;
        padding: 1.7rem 1.35rem;
        border-radius: 1rem;
    }
    .legal-home-link {
        margin-bottom: 1.8rem;
    }
    .legal-hero-art {
        top: auto;
        right: .4rem;
        bottom: -.7rem;
        width: 125px;
        height: 125px;
        opacity: .28;
        transform: none;
    }
    .legal-art-icon {
        width: 60px;
        height: 60px;
        border-radius: 1rem;
        font-size: 1.6rem;
    }
    .legal-art-caption {
        display: none;
    }
    .legal-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    .legal-sidebar {
        position: static;
    }
    .legal-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    .legal-contact-card {
        display: none;
    }
    .legal-section {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: .7rem;
        padding-bottom: 1.6rem;
    }
    .legal-section-number {
        width: 32px;
        height: 32px;
    }
    .legal-section+.legal-section {
        padding-top: 1.6rem;
    }
    .legal-callout {
        margin-left: 0;
        padding: 1rem;
    }
}

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