.privacy-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 430px;
    background:
        linear-gradient(120deg, rgba(4, 20, 33, .96), rgba(10, 53, 73, .9)),
        url('../../images/global-map-dark-gold.png') center / cover no-repeat;
    color: #fff;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to left, #000, transparent 78%);
}

.privacy-hero::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6fbc32, transparent);
}

.privacy-hero__glow {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    inset-inline-start: -110px;
    top: -190px;
    border-radius: 50%;
    background: rgba(111, 188, 50, .2);
    filter: blur(10px);
}

.terms-hero .privacy-hero__icon { background: rgba(111, 188, 50, .18); }
.hsse-hero .privacy-hero__icon { background: rgba(111, 188, 50, .2); }
.hsse-hero::before { opacity: .16; }

.hsse-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.hsse-principles span { display: flex; align-items: center; gap: 9px; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 800; }
.hsse-principles i { color: #91d35f; }

.privacy-hero__inner { padding-top: 110px; padding-bottom: 54px; }

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, .64);
    font-size: .86rem;
}

.legal-breadcrumb a { color: #91d35f; text-decoration: none; font-weight: 800; }
.legal-breadcrumb i { font-size: .65rem; }

.privacy-hero__content {
    display: grid;
    grid-template-columns: 86px minmax(0, 720px);
    align-items: center;
    gap: 26px;
}

.privacy-hero__icon {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 24px;
    background: rgba(111, 188, 50, .15);
    color: #91d35f;
    font-size: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.privacy-hero__eyebrow { color: #91d35f; font-size: .82rem; font-weight: 900; }
.privacy-hero h1 { margin: 7px 0 12px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; letter-spacing: -.035em; }
.privacy-hero__content p { max-width: 690px; margin: 0; color: rgba(255, 255, 255, .75); font-size: 1.08rem; line-height: 1.85; }

.privacy-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding-inline-start: 112px;
}

.privacy-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
}
.privacy-hero__meta i { color: #91d35f; }

.privacy-body { padding: 78px 0 100px; background: var(--bg-secondary); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 28px; }

.legal-toc {
    position: sticky;
    top: 105px;
    grid-column: 2;
    grid-row: 1;
    padding: 26px;
    border: 1px solid var(--inner-line);
    border-radius: 20px;
    background: var(--bg-card);
    box-shadow: 0 14px 38px rgba(7, 31, 50, .07);
}

.legal-toc__label { color: #63a72d; font-size: .75rem; font-weight: 900; }
.legal-toc h2 { margin: 5px 0 20px; color: var(--inner-navy); font-size: 1.2rem; }
.legal-toc nav { display: grid; }
.legal-toc nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--inner-line);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
}
.legal-toc nav a:last-child { border-bottom: 0; }
.legal-toc nav a:hover { color: #63a72d; }
.legal-toc nav span { color: #6fbc32; font-size: .72rem; font-weight: 900; }

.legal-toc__note {
    display: flex;
    gap: 11px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 13px;
    background: rgba(111, 188, 50, .09);
    color: var(--text-secondary);
}
.legal-toc__note i { margin-top: 4px; color: #6fbc32; }
.legal-toc__note p { margin: 0; font-size: .78rem; line-height: 1.7; }

.legal-content { grid-column: 1; grid-row: 1; min-width: 0; }
.legal-intro { margin-bottom: 18px; padding: 34px; border-radius: 20px; background: linear-gradient(135deg, #0b253b, #12445c); color: #fff; }
.legal-intro span { color: #91d35f; font-size: .78rem; font-weight: 900; }
.legal-intro h2 { margin: 6px 0 10px; font-size: clamp(1.45rem, 2.7vw, 2rem); }
.legal-intro p { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .72); line-height: 1.85; }

.legal-block {
    scroll-margin-top: 110px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 14px;
    padding: 28px;
    border: 1px solid var(--inner-line);
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(7, 31, 50, .045);
}

.legal-block__number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(111, 188, 50, .1);
    color: #63a72d;
    font-size: .82rem;
    font-weight: 900;
}

.legal-block h2 { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; color: var(--inner-navy); font-size: 1.18rem; }
.legal-block h2 i { color: #6fbc32; font-size: .95rem; }
.legal-block p { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.95; }
.legal-block--contact { border-color: rgba(111, 188, 50, .28); }

.legal-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #63a72d;
    font-weight: 900;
    text-decoration: none;
    direction: ltr;
}

.legal-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #63a72d;
    font-weight: 900;
    text-decoration: none;
}
.legal-inline-link:hover { gap: 12px; }
.legal-contact-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; }

html[data-theme="dark"] .legal-toc,
html[data-theme="dark"] .legal-block { box-shadow: 0 14px 38px rgba(0, 0, 0, .2); }
html[data-theme="dark"] .legal-toc__label,
html[data-theme="dark"] .legal-toc nav a:hover,
html[data-theme="dark"] .legal-block__number,
html[data-theme="dark"] .legal-contact-link { color: #91d35f; }
html[data-theme="dark"] .legal-inline-link { color: #91d35f; }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; grid-column: 1; grid-row: 1; }
    .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
    .legal-content { grid-row: 2; }
}

@media (max-width: 680px) {
    .privacy-hero { min-height: auto; }
    .privacy-hero__inner { padding-top: 100px; padding-bottom: 42px; }
    .legal-breadcrumb { margin-bottom: 26px; }
    .privacy-hero__content { grid-template-columns: 1fr; gap: 18px; }
    .privacy-hero__icon { width: 66px; height: 66px; border-radius: 19px; font-size: 1.55rem; }
    .privacy-hero h1 { font-size: 2.25rem; }
    .privacy-hero__content p { font-size: .96rem; }
    .privacy-hero__meta { padding-inline-start: 0; margin-top: 24px; }
    .privacy-body { padding: 42px 0 64px; }
    .legal-toc { padding: 22px; }
    .legal-toc nav { grid-template-columns: 1fr; }
    .legal-intro { padding: 26px 22px; }
    .legal-block { grid-template-columns: 1fr; gap: 15px; padding: 24px 20px; }
    .hsse-principles { grid-template-columns: 1fr; }
}
