/**
 * Privacy Policy — layout and typography scoped to .privacy-policy-page
 */
.privacy-policy-page {
    /* Match Elementor feature pages: .e-con-inner max-width + boxed horizontal padding (e.g. /members/). */
    --pp-shell-max: 1250px;
    --pp-shell-gutter: 5%;
    --pp-bg: #f8fafc;
    --pp-surface: #ffffff;
    --pp-text: #1c191a;
    --pp-muted: #64748b;
    --pp-border: #e2e8f0;
    --pp-accent: #2b70e4;
    --pp-accent-soft: rgba(43, 112, 228, 0.08);
    --pp-radius: 14px;
    --pp-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 40px rgba(15, 23, 42, 0.06);
    --pp-max-read: 42rem;
    /* Kit token --e-global-color-3369220 (members bottom CTA band). */
    --pp-cta-gold: #f7d101;
    color: var(--pp-text);
    font-family: "Mulish", system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.privacy-policy-page *,
.privacy-policy-page *::before,
.privacy-policy-page *::after {
    box-sizing: border-box;
}

.privacy-policy-page__site-shell {
    width: 100%;
    max-width: var(--pp-shell-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pp-shell-gutter);
    padding-right: var(--pp-shell-gutter);
}

/* ——— Hero ——— */
.privacy-policy-page__hero {
    position: relative;
    padding: 100px 0 80px;
    background: #f7f7f7;
    border-bottom: 1px solid var(--pp-border);
    overflow: hidden;
    text-align: center;
}

/* Large tilted rectangle, top-right */
.privacy-policy-page__hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -80px;
    width: 320px;
    height: 180px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    transform: rotate(20deg);
    pointer-events: none;
}

/* Smaller tilted rectangle, bottom-left */
.privacy-policy-page__hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -60px;
    width: 220px;
    height: 120px;
    border: 2px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    transform: rotate(-14deg);
    pointer-events: none;
}

@media (max-width: 767px) {
    .privacy-policy-page__hero {
        padding: 70px 0 56px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .privacy-policy-page {
        --pp-shell-gutter: 16px;
    }

    .privacy-policy-page__site-shell {
        width: min(100% - 32px, var(--pp-shell-max));
        padding-left: 0;
        padding-right: 0;
    }

    .privacy-policy-page__hero {
        padding: 88px 0 72px;
    }

}

.privacy-policy-page__hero-inner {
    position: relative;
    z-index: 1;
}

.privacy-policy-page__eyebrow {
    display: inline-block;
    background: #fff;
    color: var(--pp-accent);
    border: 1.5px solid #bfdbfe;
    border-radius: 6px;
    padding: 4px 12px;
    box-shadow: 0 1px 4px rgba(43, 112, 228, 0.12);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

/* Compound headings beat `.custom_theme-kit-7 h1` (Elementor kit typography). */
.privacy-policy-page h1.privacy-policy-page__title {
    margin: 0 0 20px;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--pp-text);
}

.privacy-policy-page__lead {
    margin: 0 auto;
    max-width: 52ch;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--pp-muted);
}

/* ——— Shell: TOC + article ——— */
.privacy-policy-page__shell {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
}

@media (min-width: 960px) {
    .privacy-policy-page__shell {
        grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
        align-items: start;
        gap: 3rem;
    }
}

/* TOC */
.privacy-policy-page__toc {
    position: relative;
}

@media (min-width: 960px) {
    .privacy-policy-page__toc {
        position: sticky;
        top: 92px;
    }
}

.privacy-policy-page__toc-card {
    margin: 0;
    padding: 1.25rem 1.35rem;
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    box-shadow: var(--pp-shadow);
}

.privacy-policy-page__toc-label {
    margin: 0 0 0.85rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pp-muted);
}

.privacy-policy-page__toc-nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pp-toc;
}

.privacy-policy-page__toc-nav li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--pp-border);
}

.privacy-policy-page__toc-nav li:last-child {
    border-bottom: 0;
}

.privacy-policy-page__toc-nav a {
    display: block;
    padding: 0.55rem 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--pp-text);
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.privacy-policy-page__toc-nav a:hover,
.privacy-policy-page__toc-nav a:focus-visible {
    color: var(--pp-accent);
    padding-left: 4px;
}

@media (max-width: 959px) {
    .privacy-policy-page__toc-card {
        padding: 1rem clamp(1.25rem, 5vw, 2rem);
    }

    .privacy-policy-page__toc-nav li {
        border-bottom: 1px solid var(--pp-border);
    }

    .privacy-policy-page__toc-nav li:last-child {
        border-bottom: 0;
    }

    .privacy-policy-page__toc-nav a {
        padding: 0.45rem 0;
        font-size: 1rem;
    }
}

/* Article */
.privacy-policy-page__article {
    margin: 0;
    max-width: var(--pp-max-read);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .privacy-policy-page__article {
        max-width: none;
        width: 100%;
    }
}

.privacy-policy-page__article > section {
    scroll-margin-top: 96px;
    padding: 0 clamp(1rem, 3vw, 1.5rem) clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    border-bottom: 1px solid var(--pp-border);
}

.privacy-policy-page__article > section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .privacy-policy-page__site-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .privacy-policy-page__article > section {
        padding-left: 0;
        padding-right: 0;
    }
}

.privacy-policy-page__section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.privacy-policy-page__section-num {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pp-accent);
    background: var(--pp-accent-soft);
    border-radius: 10px;
    margin-top: 0.15rem;
}

.privacy-policy-page h2.privacy-policy-page__section-title {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.008em;
    color: var(--pp-text);
}

.privacy-policy-page__prose {
    margin: 0;
    color: var(--pp-text);
}

.privacy-policy-page__prose + .privacy-policy-page__prose {
    margin-top: 1rem;
}

.privacy-policy-page__list {
    padding-left: 1.5rem;
}

.privacy-policy-page__list li + li {
    margin-top: 0.45rem;
}

/* ——— CTA (aligned with /members/ bottom band: boxed shell + gold panel + cta_bg_5) ——— */
.privacy-policy-page__cta {
    padding: 50px 0 70px;
}

.privacy-policy-page__cta-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(13px, 3vw, 30px);
    min-height: clamp(280px, 36vh, 420px);
    padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
    text-align: center;
    background-color: var(--pp-cta-gold);
    background-image: url("../images/2024/06/cta_bg_5.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .privacy-policy-page__cta-panel {
        border-radius: 0;
    }
}

@media (max-width: 767px) {
    .privacy-policy-page__cta {
        padding: 40px 0 56px;
    }

    .privacy-policy-page__cta-panel {
        min-height: 327px;
        gap: 13px;
    }
}

.privacy-policy-page h2.privacy-policy-page__cta-title {
    margin: 0;
    max-width: 100%;
    font-family: "Mulish", system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--pp-text);
}

.privacy-policy-page__cta-sub {
    margin: 0;
    max-width: 36ch;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--pp-text);
}

/* Beat `.custom_theme-kit-7 a` (otherwise link color is --e-global-color-secondary ≈ invisible on dark fill). */
.privacy-policy-page a.privacy-policy-page__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 15px 40px;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    color: #ffffff;
    background-color: var(--pp-text);
    border: 1px solid var(--pp-text);
    border-radius: 25px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.privacy-policy-page a.privacy-policy-page__cta-btn:hover {
    background-color: #1b252f;
    border-color: #1b252f;
    color: #ffffff;
}

.privacy-policy-page a.privacy-policy-page__cta-btn:focus-visible {
    outline: 2px solid var(--pp-text);
    outline-offset: 3px;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .privacy-policy-page__toc-nav a {
        transition: none;
    }

    .privacy-policy-page a.privacy-policy-page__cta-btn {
        transition: none;
    }
}
