:root {
    --primary: var(--blue);
    --primary-dark: var(--blue-dark);
    --dark: var(--ink);
    --text: var(--muted);
    --border: var(--line);
}

.privacy-hero {
    padding: 110px 0 85px;
    background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
    position: relative;
    overflow: hidden
}

.privacy-hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 86, 255, .10), transparent 68%);
    top: -250px;
    left: -180px
}

.privacy-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center
}

.privacy-hero-copy {
    position: relative;
    z-index: 1
}

.privacy-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px
}

.privacy-tag:before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--blue)
}

.privacy-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(48px, 5.4vw, 78px);
    line-height: 1.1;
    letter-spacing: -3px;
    color: var(--ink)
}

.privacy-hero h1 span {
    color: var(--blue)
}

.privacy-hero p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85
}

.effective-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 11px 17px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700
}

.effective-date i {
    color: var(--blue)
}

.privacy-hero-card {
    position: relative;
    min-height: 340px;
    border-radius: 30px;
    background: var(--ink);
    color: #fff;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(11, 16, 32, .16)
}

.privacy-hero-card:before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    top: -75px;
    right: -55px
}

.privacy-hero-card:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 28px;
    background: rgba(37, 86, 255, .18);
    bottom: -55px;
    left: -45px;
    transform: rotate(25deg)
}

.privacy-shield {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-size: 30px;
    margin-bottom: auto;
    position: relative;
    z-index: 1
}

.privacy-hero-card h2 {
    position: relative;
    z-index: 1;
    font-size: 34px;
    line-height: 1.15;
    margin: 35px 0 12px
}

.privacy-hero-card p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.7;
    margin: 0
}

.privacy-content-section {
    background: #fff;
    padding: 95px 0 110px
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 75px;
    align-items: start
}

.privacy-sidebar {
    position: sticky;
    top: 105px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #f8f9fc;
}

.privacy-sidebar-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 15px
}

.privacy-sidebar a {
    display: block;
    padding: 9px 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    transition: .25s
}

.privacy-sidebar a:hover {
    color: var(--blue);
    transform: translateX(4px)
}

.privacy-document {
    max-width: 850px
}

.policy-intro {
    margin-bottom: 48px;
    padding: 28px 30px;
    border-left: 4px solid var(--blue);
    background: #f7f9ff;
    border-radius: 0 18px 18px 0
}

.policy-intro p {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.85
}

.policy-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 110px
}

.policy-section:last-child {
    border-bottom: 0
}

.policy-section h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--ink);
    margin: 0 0 20px
}

.policy-number {
    color: var(--blue);
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 800
}

.policy-section p,
.policy-section li {
    color: var(--text);
    font-size: 16px;
    line-height: 1.9
}

.policy-section p {
    margin: 0 0 17px
}

.policy-section ul {
    margin: 15px 0 0;
    padding-left: 22px
}

.policy-section li {
    margin-bottom: 9px
}

.policy-contact {
    margin-top: 45px;
    padding: 35px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff
}

.policy-contact h3 {
    margin: 0 0 12px;
    font-size: 28px
}

.policy-contact p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.8
}

.policy-contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px
}

.policy-back {
    margin-top: 35px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 700
}

@media(max-width:992px) {
    .privacy-hero {
        padding: 95px 0 70px
    }

    .privacy-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .privacy-hero-card {
        min-height: 300px
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .privacy-sidebar {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 18px
    }

    .privacy-sidebar-label {
        width: 100%
    }
}

@media(max-width:768px) {
    .privacy-hero {
        padding: 85px 0 60px
    }

    .privacy-hero h1 {
        font-size: 43px;
        line-height: 1.12;
        letter-spacing: -2px
    }

    .privacy-hero p {
        font-size: 16px;
        line-height: 1.8
    }

    .privacy-hero-card {
        min-height: 280px;
        padding: 30px
    }

    .privacy-content-section {
        padding: 65px 0 80px
    }

    .privacy-section {
        padding: 30px 0
    }

    .policy-section h2 {
        font-size: 25px
    }

    .policy-section p,
    .policy-section li {
        font-size: 15px;
        line-height: 1.85
    }

    .policy-intro,
    .policy-contact {
        padding: 24px
    }
}

/* =========================================================
   PRIVACY POLICY — FINAL RESPONSIVE OVERRIDES
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    min-width: 0;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

.container {
    width: min(1240px, calc(100% - 48px));
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        width: min(760px, calc(100% - 40px));
    }

    .privacy-hero {
        padding: 90px 0 70px;
    }

    .privacy-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .privacy-hero-copy {
        text-align: center;
    }

    .privacy-hero p {
        margin-inline: auto;
    }

    .effective-date {
        justify-content: center;
    }

    .privacy-hero-card {
        min-height: 300px;
        max-width: 700px;
        width: 100%;
        margin-inline: auto;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .privacy-sidebar {
        flex-wrap: nowrap;
        overflow-x: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 18px;
    }


    .privacy-sidebar-label {
        width: 100%;
    }

    .privacy-document {
        max-width: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px);
    }

    .privacy-hero {
        padding: 62px 0 52px;
    }

    .privacy-tag {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-top: 50px;
    }

    .privacy-tag:before {
        width: 18px;
    }

    .privacy-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.08;
        letter-spacing: -1.5px;
        margin-bottom: 18px;
    }

    .privacy-hero p {
        font-size: 15px;
        line-height: 1.75;
    }

    .effective-date {
        margin-top: 22px;
        padding: 10px 14px;
        font-size: 12px;
    }

    .privacy-hero-card {
        min-height: 270px;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .privacy-shield {
        width: 58px;
        height: 58px;
        border-radius: 17px;
        font-size: 24px;
    }

    .privacy-hero-card h2 {
        font-size: 27px;
        margin: 25px 0 10px;
    }

    .privacy-hero-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    .privacy-content-section {
        padding: 55px 0 70px;
    }

    .privacy-layout {
        gap: 28px;
    }

    /* Sidebar becomes horizontally scrollable navigation */
    .privacy-sidebar {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        padding: 14px 16px;
        margin-inline: -2px;
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .privacy-sidebar-label {
        flex: 0 0 100%;
        margin-bottom: 8px;
    }

    .privacy-sidebar a {
        flex: 0 0 auto;
        padding: 9px 14px;
        margin-right: 5px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        white-space: nowrap;
        font-size: 12px;
    }

    .privacy-sidebar a:hover {
        transform: none;
    }

    .policy-intro {
        margin-bottom: 30px;
        padding: 20px 17px;
        border-left-width: 3px;
        border-radius: 0 14px 14px 0;
    }

    .policy-intro p {
        font-size: 14px;
        line-height: 1.75;
    }

    .policy-section {
        padding: 27px 0;
        scroll-margin-top: 85px;
    }

    .policy-section h2 {
        gap: 9px;
        align-items: baseline;
        font-size: clamp(21px, 6vw, 26px);
        line-height: 1.2;
        letter-spacing: -.5px;
        margin-bottom: 14px;
    }

    .policy-number {
        font-size: 11px;
        flex: 0 0 auto;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px;
        line-height: 1.8;
    }

    .policy-section ul {
        padding-left: 20px;
    }

    .policy-contact {
        margin-top: 30px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .policy-contact h3 {
        font-size: 22px;
    }

    .policy-contact p {
        font-size: 14px;
        line-height: 1.7;
    }

    .policy-contact a {
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .policy-back {
        margin-top: 25px;
        font-size: 14px;
    }


}

/* Small phones */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 24px);
    }

    .privacy-hero {
        padding: 48px 0 42px;
    }

    .privacy-hero h1 {
        font-size: 32px;
    }

    .privacy-hero p {
        font-size: 14px;
    }

    .privacy-hero-card {
        min-height: 245px;
        padding: 22px 17px;
        border-radius: 18px;
    }

    .privacy-shield {
        width: 52px;
        height: 52px;
        font-size: 21px;
    }

    .privacy-hero-card h2 {
        font-size: 24px;
    }

    .privacy-hero-card p {
        font-size: 13px;
    }

    .privacy-content-section {
        padding: 45px 0 58px;
    }

    .privacy-sidebar {
        padding: 11px 12px;
    }

    .policy-intro {
        padding: 18px 15px;
    }

    .policy-section h2 {
        font-size: 22px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 13.5px;
    }

    .policy-contact {
        padding: 20px 16px;
    }

    .policy-contact h3 {
        font-size: 20px;
    }


}

/* Landscape phones */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
    .privacy-hero {
        padding: 45px 0;
    }

    .privacy-hero-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
    }

    .privacy-hero p {
        margin-inline: 0;
    }

    .effective-date {
        justify-content: flex-start;
    }

    .privacy-hero-card {
        min-height: 250px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (min-width: 993px) {
    .privacy-content-section {
        height: calc(100vh - 80px);
        overflow: hidden;
    }

    .privacy-layout {
        height: 100%;
    }

    .privacy-document {
        height: 100%;
        max-width: 850px;
        overflow-y: auto;
        padding-right: 20px;
    }

    .privacy-sidebar {
        position: sticky;
        top: 25px;
        align-self: start;
    }
}