.legal-page {
    --legal-ink: #101828;
    --legal-navy: #111b38;
    --legal-navy-soft: #172650;
    --legal-blue: #2265bb;
    --legal-accent: #918aea;
    --legal-accent-soft: #c595f3;
    --legal-paper: #f6f7fb;
    --legal-muted: #667085;
    --legal-line: #e5e9f1;
    overflow: hidden;
    background: #fff;
    color: var(--legal-ink);
}

.legal-page a {
    text-decoration: none;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 105px;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        radial-gradient(circle at 77% 20%, rgba(145,138,234,.3), transparent 31%),
        linear-gradient(135deg, #0c142d 0%, #111b38 52%, #172650 100%);
    background-size: 74px 74px, 74px 74px, auto, auto;
    color: #fff;
}

.legal-hero::after {
    position: absolute;
    right: -120px;
    bottom: -175px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    content: "";
}

.legal-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.legal-hero__orb--one {
    top: 95px;
    right: 8%;
    width: 10px;
    height: 10px;
    background: var(--legal-accent-soft);
    box-shadow: 0 0 34px rgba(197,149,243,.75);
}

.legal-hero__orb--two {
    bottom: 90px;
    left: 5%;
    width: 7px;
    height: 7px;
    background: #2b7ed1;
    box-shadow: 0 0 28px rgba(43,126,209,.75);
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 58px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    font-weight: 700;
}

.legal-breadcrumb a {
    color: rgba(255,255,255,.72);
    transition: color .2s ease;
}

.legal-breadcrumb a:hover {
    color: var(--legal-accent-soft);
}

.legal-breadcrumb i {
    color: rgba(255,255,255,.3);
    font-size: 9px;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--legal-accent-soft);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-kicker i {
    display: inline-flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197,149,243,.28);
    border-radius: 9px;
    background: rgba(145,138,234,.12);
    font-size: 13px;
}

.legal-hero h1 {
    max-width: 780px;
    margin: 0 0 23px;
    color: #fff;
    font-family: var(--urbanist);
    font-size: clamp(45px, 5.35vw, 73px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.legal-hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, #5b87de, var(--legal-accent-soft));
    -webkit-background-clip: text;
    background-clip: text;
}

.legal-hero .col-lg-7 > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 17px;
    line-height: 1.75;
}

.legal-hero__button {
    display: inline-flex;
    min-height: 53px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 34px;
    padding: 0 21px;
    border-radius: 10px;
    background: var(--legal-accent);
    color: var(--legal-ink);
    box-shadow: 0 14px 34px rgba(0,0,0,.17);
    font-size: 13px;
    font-weight: 850;
    transition: transform .25s ease;
}

.legal-hero__button:hover {
    color: var(--legal-ink);
    transform: translateY(-2px);
}

.legal-identity {
    position: relative;
    overflow: hidden;
    max-width: 425px;
    margin-left: auto;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 23px;
    background: rgba(255,255,255,.075);
    box-shadow: 0 28px 70px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
}

.legal-identity::before {
    position: absolute;
    top: -65px;
    right: -55px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(145,138,234,.15);
    content: "";
}

.legal-identity__label {
    display: block;
    margin-bottom: 20px;
    color: var(--legal-accent-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-identity__name {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.legal-identity__name > i {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(145,138,234,.14);
    color: var(--legal-accent-soft);
    font-size: 19px;
}

.legal-identity__name strong,
.legal-identity__name span {
    display: block;
}

.legal-identity__name strong {
    margin-bottom: 3px;
    color: #fff;
    font-family: var(--urbanist);
    font-size: 25px;
    font-weight: 800;
}

.legal-identity__name span {
    color: rgba(255,255,255,.48);
    font-size: 10px;
}

.legal-identity dl {
    display: grid;
    gap: 13px;
    margin: 21px 0 0;
}

.legal-identity dl > div {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    gap: 12px;
}

.legal-identity dt {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: rgba(255,255,255,.42);
    font-size: 9px;
    font-weight: 700;
}

.legal-identity dt i {
    width: 12px;
    margin-top: 2px;
    color: var(--legal-accent-soft);
    text-align: center;
}

.legal-identity dd {
    margin: 0;
    color: rgba(255,255,255,.8);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.legal-identity dd a {
    color: #fff;
}

.legal-content {
    padding: 104px 0 115px;
    background: var(--legal-paper);
}

.legal-heading {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 33px;
}

.legal-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--legal-blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-section-kicker::before {
    width: 28px;
    height: 3px;
    border-radius: 5px;
    background: var(--legal-accent);
    content: "";
}

.legal-heading h2 {
    margin: 0;
    color: var(--legal-ink);
    font-family: var(--urbanist);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.legal-heading > p {
    margin: 0;
    color: var(--legal-muted);
    font-size: 15px;
    line-height: 1.75;
}

.legal-quick-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 9px;
    margin-bottom: 38px;
    padding: 9px;
    border: 1px solid var(--legal-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(16,24,40,.04);
}

.legal-quick-nav a {
    display: grid;
    grid-template-columns: 27px 29px minmax(0,1fr);
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #475467;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    transition: background .2s ease, color .2s ease;
}

.legal-quick-nav a:hover {
    background: #f0f2ff;
    color: var(--legal-blue);
}

.legal-quick-nav a > span {
    color: #98a2b3;
    font-size: 8px;
}

.legal-quick-nav a > i {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f2ff;
    color: var(--legal-blue);
    font-size: 11px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 285px minmax(0,1fr);
    align-items: start;
    gap: 31px;
}

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

.legal-sidebar__card {
    padding: 28px;
    border-radius: 18px;
    background: var(--legal-navy);
    color: #fff;
}

.legal-sidebar__card > i {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 13px;
    background: rgba(145,138,234,.14);
    color: var(--legal-accent-soft);
    font-size: 18px;
}

.legal-sidebar__card h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--urbanist);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.legal-sidebar__card p {
    margin: 0 0 19px;
    color: rgba(255,255,255,.6);
    font-size: 11px;
    line-height: 1.65;
}

.legal-sidebar__card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--legal-accent-soft);
    font-size: 10px;
    font-weight: 850;
}

.legal-sidebar__contact {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--legal-line);
    border-radius: 14px;
    background: #fff;
    color: var(--legal-ink);
}

.legal-sidebar__contact small,
.legal-sidebar__contact strong {
    display: block;
}

.legal-sidebar__contact small {
    margin-bottom: 3px;
    color: #98a2b3;
    font-size: 8px;
}

.legal-sidebar__contact strong {
    color: var(--legal-ink);
    font-size: 10px;
    line-height: 1.4;
}

.legal-sidebar__contact > i {
    color: var(--legal-blue);
    font-size: 11px;
    transition: transform .2s ease;
}

.legal-sidebar__contact:hover > i {
    transform: translateX(3px);
}

.legal-sections {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.legal-section {
    scroll-margin-top: 115px;
    overflow: hidden;
    border: 1px solid var(--legal-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(16,24,40,.045);
}

.legal-section > header {
    position: relative;
    display: grid;
    grid-template-columns: 51px minmax(0,1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 27px 30px;
    border-bottom: 1px solid var(--legal-line);
    background: linear-gradient(135deg, #fff 0%, #fafbff 100%);
}

.legal-section__icon {
    display: inline-flex;
    width: 51px;
    height: 51px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--legal-navy);
    color: var(--legal-accent-soft);
    box-shadow: 0 10px 23px rgba(17,27,56,.13);
}

.legal-section__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--legal-blue);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.legal-section h2 {
    margin: 0;
    color: var(--legal-ink);
    font-family: var(--urbanist);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.legal-section__number {
    color: #e0e4ec;
    font-size: 17px;
    font-weight: 850;
}

.legal-section__body {
    padding: 30px;
}

.legal-section__body > p {
    margin: 0 0 14px;
    color: var(--legal-muted);
    font-size: 14px;
    line-height: 1.8;
}

.legal-section__body > p:last-of-type {
    margin-bottom: 0;
}

.legal-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin: 25px 0 0;
    padding-top: 25px;
    border-top: 1px solid var(--legal-line);
}

.legal-details > div {
    padding: 15px;
    border-radius: 11px;
    background: var(--legal-paper);
}

.legal-details dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #98a2b3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.legal-details dt i {
    color: var(--legal-blue);
}

.legal-details dd {
    margin: 0;
    color: #344054;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.5;
}

.legal-details dd a {
    color: var(--legal-blue);
}

.legal-section__action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 23px;
    padding: 12px 15px;
    border-radius: 9px;
    background: var(--legal-navy);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
}

.legal-section__action:hover {
    color: var(--legal-accent-soft);
}

.legal-section__action i {
    transition: transform .2s ease;
}

.legal-section__action:hover i {
    transform: translateX(3px);
}

.legal-cta {
    padding: 0 0 110px;
    background: var(--legal-paper);
}

.legal-cta__inner {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 53px 58px;
    border-radius: 23px;
    background:
        radial-gradient(circle at 88% 15%, rgba(145,138,234,.22), transparent 28%),
        var(--legal-navy);
    color: #fff;
}

.legal-cta__inner::after {
    position: absolute;
    right: 21%;
    bottom: -110px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    content: "";
}

.legal-cta__inner > div {
    position: relative;
    z-index: 1;
}

.legal-cta__inner > div:first-child > span {
    display: block;
    margin-bottom: 10px;
    color: var(--legal-accent-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-cta h2 {
    max-width: 710px;
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--urbanist);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.legal-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.7;
}

.legal-cta__actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
}

.legal-cta__actions a {
    display: inline-flex;
    min-width: 205px;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 850;
}

.legal-cta__actions a:first-child {
    background: var(--legal-accent);
    color: var(--legal-ink);
}

.legal-cta__actions a:last-child {
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
}

.legal-cta__actions a:last-child:hover {
    border-color: rgba(255,255,255,.48);
    color: var(--legal-accent-soft);
}

@media (max-width: 1199px) {
    .legal-hero h1 {
        font-size: 56px;
    }

    .legal-layout {
        grid-template-columns: 255px minmax(0,1fr);
        gap: 25px;
    }

    .legal-quick-nav a {
        grid-template-columns: 24px minmax(0,1fr);
    }

    .legal-quick-nav a > i {
        display: none;
    }

    .legal-cta__inner {
        padding: 45px;
    }
}

@media (max-width: 991px) {
    .legal-hero {
        padding: 60px 0 88px;
    }

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

    .legal-identity {
        max-width: none;
        margin-left: 0;
    }

    .legal-content {
        padding: 84px 0 92px;
    }

    .legal-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .legal-quick-nav {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

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

    .legal-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 15px;
    }

    .legal-sidebar__contact {
        margin-top: 0;
    }

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

    .legal-cta__actions {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 44px 0 72px;
    }

    .legal-hero h1 {
        font-size: 43px;
    }

    .legal-hero .col-lg-7 > p {
        font-size: 15px;
    }

    .legal-identity {
        padding: 27px;
    }

    .legal-content {
        padding: 70px 0 78px;
    }

    .legal-heading h2 {
        font-size: 37px;
    }

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

    .legal-section > header {
        padding: 23px;
    }

    .legal-section__body {
        padding: 25px 23px;
    }

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

    .legal-cta {
        padding-bottom: 80px;
    }

    .legal-cta__inner {
        padding: 37px 30px;
    }
}

@media (max-width: 575px) {
    .legal-breadcrumb {
        margin-bottom: 32px;
    }

    .legal-kicker {
        font-size: 10px;
    }

    .legal-hero h1 {
        font-size: 36px;
    }

    .legal-hero__button,
    .legal-cta__actions,
    .legal-cta__actions a {
        width: 100%;
    }

    .legal-identity dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .legal-heading h2 {
        font-size: 32px;
    }

    .legal-section > header {
        grid-template-columns: 45px minmax(0,1fr);
        gap: 12px;
    }

    .legal-section__icon {
        width: 45px;
        height: 45px;
    }

    .legal-section h2 {
        font-size: 21px;
    }

    .legal-section__number {
        display: none;
    }

    .legal-section__body > p {
        font-size: 13px;
    }

    .legal-cta__actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-page *,
    .legal-page *::before,
    .legal-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
