.legal-hero {
    background: linear-gradient(155deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

.legal-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-hero-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-gold-bright);
    margin-bottom: .75rem;
}

.legal-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: 2.4rem;
    margin-bottom: .5rem;
}

.legal-hero-updated {
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
}

.legal-page-bg {
    background: #f6f8fb;
}

.legal-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.5rem 20px 4rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 1rem;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(11, 31, 58, .08);
    padding: 1.25rem;
}

.legal-toc h4 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--brand-navy);
    margin-bottom: .85rem;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.legal-toc a {
    display: block;
    padding: .5rem .6rem;
    border-radius: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: #6b7789;
    transition: background-color .15s ease, color .15s ease;
}

.legal-toc a:hover {
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
}

.legal-toc a.active {
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
}

.legal-content {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(11, 31, 58, .08);
    padding: 2.5rem;
}

.legal-content>p.legal-intro {
    color: #4b5565;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.legal-section {
    padding: 1.75rem 0;
    border-top: 1px solid #eef1f6;
    scroll-margin-top: 80px;
}

.legal-section:first-of-type {
    padding-top: 0;
    border-top: none;
}

.legal-section h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    color: var(--brand-navy);
    margin-bottom: .85rem;
}

.legal-section p {
    color: #4b5565;
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: .9rem;
}

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

.legal-section ul {
    margin: 0 0 .9rem;
    padding-left: 1.2rem;
    color: #4b5565;
    font-size: .95rem;
    line-height: 1.75;
}

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

.legal-section li {
    margin-bottom: .35rem;
}

.legal-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--brand-navy-soft);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: .5rem;
}

.legal-contact-card .icon {
    width: 22px;
    height: 22px;
    color: var(--brand-gold);
    flex-shrink: 0;
}

.legal-contact-card a {
    color: var(--brand-navy);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 899.98px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    .legal-content {
        padding: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .legal-hero-title {
        font-size: 1.9rem;
    }
}
