.bd-legal {
    min-height: calc(100vh - 76px);
    padding-bottom: 72px;
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 112, 40, .08), transparent 30%),
        var(--np4-bg, #090909);
    color: var(--np4-text, #f5f5f5);
}

.bd-legal-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.bd-legal-hero {
    padding: 74px 0 44px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.bd-legal-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #ff7028;
}

.bd-legal-hero h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -.045em;
}

.bd-legal-lead {
    max-width: 820px;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.72);
}

.bd-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,.48);
}

.bd-legal-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
    padding-top: 40px;
}

.bd-legal-nav {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(14px);
}

.bd-legal-nav-title {
    margin-bottom: 10px;
    padding: 0 10px 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(255,255,255,.48);
    text-transform: uppercase;
}

.bd-legal-nav > a {
    display: block;
    margin: 4px 0;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-weight: 700;
}

.bd-legal-nav > a:hover,
.bd-legal-nav > a.is-active {
    background: rgba(255,112,40,.12);
    color: #ff8a4c;
}

.bd-legal-language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 15px 10px 4px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
    color: rgba(255,255,255,.52);
}

.bd-legal-language div {
    display: flex;
    gap: 6px;
}

.bd-legal-language a {
    padding: 5px 8px;
    border-radius: 8px;
    color: rgba(255,255,255,.62);
    text-decoration: none;
    font-weight: 800;
}

.bd-legal-language a.is-active {
    background: #ff7028;
    color: #101010;
}

.bd-legal-card {
    padding: 34px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
}

.bd-legal-section + .bd-legal-section {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.bd-legal-card h2 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
}

.bd-legal-card p,
.bd-legal-steps {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.72);
}

.bd-legal-steps {
    padding-left: 24px;
}

.bd-legal-steps li + li {
    margin-top: 12px;
}

.bd-legal-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255,112,40,.08);
    border: 1px solid rgba(255,112,40,.16);
}

.bd-legal-contact div {
    display: grid;
    gap: 4px;
}

.bd-legal-contact span {
    font-size: 13px;
    color: rgba(255,255,255,.56);
}

.bd-legal-contact a {
    color: #ff8a4c;
    font-weight: 800;
    text-decoration: none;
}

html[data-theme="light"] .bd-legal {
    color: #161616;
    background:
        radial-gradient(circle at 15% 0%, rgba(255,112,40,.08), transparent 30%),
        #f6f6f6;
}

html[data-theme="light"] .bd-legal-lead,
html[data-theme="light"] .bd-legal-card p,
html[data-theme="light"] .bd-legal-steps {
    color: rgba(0,0,0,.67);
}

html[data-theme="light"] .bd-legal-meta,
html[data-theme="light"] .bd-legal-nav-title,
html[data-theme="light"] .bd-legal-language,
html[data-theme="light"] .bd-legal-contact span {
    color: rgba(0,0,0,.5);
}

html[data-theme="light"] .bd-legal-nav,
html[data-theme="light"] .bd-legal-card {
    border-color: rgba(0,0,0,.08);
    background: rgba(255,255,255,.8);
}

html[data-theme="light"] .bd-legal-nav > a {
    color: rgba(0,0,0,.72);
}

html[data-theme="light"] .bd-legal-section + .bd-legal-section,
html[data-theme="light"] .bd-legal-language {
    border-color: rgba(0,0,0,.08);
}

@media (max-width: 820px) {
    .bd-legal-shell {
        width: min(100% - 24px, 1180px);
    }

    .bd-legal-hero {
        padding: 50px 0 32px;
    }

    .bd-legal-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 22px;
    }

    .bd-legal-nav {
        position: static;
    }

    .bd-legal-card {
        padding: 22px;
    }

    .bd-legal-contact {
        align-items: flex-start;
        flex-direction: column;
    }
}