.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 82px;
    background:
        radial-gradient(
            circle at 87% 10%,
            rgba(201, 162, 39, 0.09),
            transparent 27rem
        ),
        linear-gradient(180deg, #fff 0%, #f3f6f6 100%);
}

.legal-hero::after {
    position: absolute;
    width: 360px;
    height: 360px;
    top: -260px;
    left: -130px;
    border: 1px solid rgba(12, 53, 85, 0.07);
    border-radius: 50%;
    content: "";
}

.legal-hero-inner {
    position: relative;
    z-index: 1;
}

.legal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 48px;
    color: #7c8d96;
    font-family: var(--font-ui);
    font-size: 0.68rem;
}

.legal-breadcrumb a {
    color: var(--navy-900);
    text-decoration: none;
}

.legal-breadcrumb a:hover {
    color: var(--gold-dark);
}

.legal-eyebrow {
    margin: 0 0 16px;
    color: var(--gold-dark);
    font-family: var(--font-ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.legal-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: clamp(3.1rem, 6.2vw, 5.4rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
}

.legal-intro {
    max-width: 710px;
    margin: 25px 0 0;
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 0.96rem;
    line-height: 1.8;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 28px;
    margin-top: 33px;
    color: #758891;
    font-family: var(--font-ui);
    font-size: 0.65rem;
}

.legal-meta span {
    position: relative;
    padding-left: 14px;
}

.legal-meta span::before {
    position: absolute;
    width: 5px;
    height: 5px;
    top: 0.52em;
    left: 0;
    border-radius: 50%;
    background: var(--gold-dark);
    content: "";
}

.legal-page {
    padding: 92px 0 112px;
    background: var(--white);
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 760px);
    justify-content: space-between;
    gap: 92px;
}

.legal-sidebar nav {
    position: sticky;
    top: 112px;
    display: grid;
    border-top: 1px solid var(--border);
}

.legal-sidebar strong,
.legal-sidebar a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-ui);
    font-size: 0.7rem;
}

.legal-sidebar strong {
    color: var(--gold-dark);
    font-size: 0.61rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.legal-sidebar a {
    color: #617681;
    line-height: 1.45;
    text-decoration: none;
}

.legal-sidebar a:hover {
    color: var(--navy-900);
}

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

.legal-review-notice,
.legal-callout {
    padding: 24px 27px;
    border: 1px solid #e5d8b5;
    border-radius: 12px;
    background: #fbf9f2;
}

.legal-review-notice {
    margin-bottom: 64px;
}

.legal-review-notice strong,
.legal-callout strong {
    color: var(--gold-dark);
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.legal-review-notice p,
.legal-callout p {
    margin: 10px 0 0;
    color: #5e7079;
    font-family: var(--font-ui);
    font-size: 0.77rem;
    line-height: 1.7;
}

.legal-content > section {
    padding: 0 0 58px;
    scroll-margin-top: 120px;
}

.legal-content > section + section {
    padding-top: 58px;
    border-top: 1px solid var(--border);
}

.legal-section-number {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-family: var(--font-ui);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.legal-content h2 {
    margin: 0 0 22px;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.legal-content h3 {
    margin: 31px 0 10px;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 600;
}

.legal-content section > p,
.legal-content section > ul {
    color: #526974;
    font-family: var(--font-ui);
    font-size: 0.86rem;
    line-height: 1.85;
}

.legal-content section > p {
    margin: 0;
}

.legal-content section > p + p,
.legal-content section > p + ul,
.legal-content section > ul + p,
.legal-content section > ul + .legal-callout,
.legal-content section > p + .legal-callout {
    margin-top: 18px;
}

.legal-content section > ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    margin-bottom: 0;
}

.legal-content a {
    color: var(--navy-900);
    font-weight: 700;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--gold-dark);
}

.cookie-category-list {
    display: grid;
    gap: 12px;
}

.cookie-category-list article {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfcfc;
}

.cookie-category-list article > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-category-list h3 {
    margin: 0;
    font-size: 1.15rem;
}

.cookie-category-list p {
    margin: 11px 0 0;
    color: #617681;
    font-family: var(--font-ui);
    font-size: 0.77rem;
    line-height: 1.7;
}

.cookie-status {
    flex: none;
    padding: 6px 9px;
    border-radius: 999px;
    color: #6c7378;
    background: #edf0f1;
    font-family: var(--font-ui);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cookie-status.is-required {
    color: #2f694e;
    background: #e6f2eb;
}

.legal-related {
    display: grid;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.legal-related strong {
    padding-bottom: 14px;
    color: var(--gold-dark);
    font-family: var(--font-ui);
    font-size: 0.61rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.legal-related a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid var(--border);
    color: var(--navy-900);
    font-family: var(--font-ui);
    font-size: 0.76rem;
    text-decoration: none;
}

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

    .legal-sidebar nav {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-sidebar strong {
        grid-column: 1 / -1;
    }

    .legal-sidebar a:nth-of-type(odd) {
        padding-right: 20px;
    }

    .legal-sidebar a:nth-of-type(even) {
        padding-left: 20px;
        border-left: 1px solid var(--border);
    }
}

@media (max-width: 680px) {
    .legal-hero {
        padding: 54px 0 64px;
    }

    .legal-breadcrumb {
        margin-bottom: 38px;
    }

    .legal-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    .legal-page {
        padding: 66px 0 82px;
    }

    .legal-layout {
        gap: 42px;
    }

    .legal-sidebar nav {
        grid-template-columns: 1fr;
    }

    .legal-sidebar a:nth-of-type(odd),
    .legal-sidebar a:nth-of-type(even) {
        padding-inline: 0;
        border-left: 0;
    }

    .legal-review-notice,
    .legal-callout {
        padding: 21px;
    }

    .cookie-category-list article > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
