/* ==========================================================================
   Privacy Policy — inner page styling for the Liquid Glass theme.
   Scoped under #lgx so it inherits the theme's CSS variables (--gold, --serif…)
   and sits on the same aurora background as the home page.
   ========================================================================== */

/* Reading-progress bar (fixed to viewport) */
.pp-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    height: 3px;
    width: 0;
    z-index: 1200;
    background: linear-gradient(90deg, var(--gold-b, #e7c360), var(--gold, #b8930c));
}

/* ---- Hero header --------------------------------------------------------- */
#lgx .pp-hero {
    text-align: center;
    padding: 150px 26px 20px;
    max-width: 820px;
    margin: 0 auto;
}

#lgx .pp-hero .eyebrow {
    justify-content: center;
}

#lgx .pp-hero .pp-title {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--emerald-d);
}

#lgx .pp-hero .pp-sub {
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 16px auto 0;
}

#lgx .pp-updated {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 8px 16px;
    border-radius: var(--pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--emerald-d);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--lg-brd);
}

#lgx .pp-updated svg {
    width: 15px;
    height: 15px;
    stroke: var(--gold);
}

/* ---- Layout: sticky TOC + content card ----------------------------------- */
#lgx .pp-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

#lgx .pp-toc {
    position: sticky;
    top: 104px;
    padding: 22px 20px;
    border-radius: var(--radius);
}

#lgx .pp-toc-title {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 700;
    margin-bottom: 12px;
}

#lgx .pp-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#lgx .pp-toc a {
    display: block;
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 500;
    border-inline-start: 2px solid transparent;
    transition: 0.25s var(--ease);
}

#lgx .pp-toc a:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink);
}

#lgx .pp-toc a.is-active {
    color: var(--emerald-d);
    font-weight: 600;
    background: rgba(217, 180, 90, 0.16);
    border-inline-start-color: var(--gold);
}

/* ---- Content card -------------------------------------------------------- */
#lgx .pp-card {
    padding: 44px clamp(22px, 4vw, 48px);
    border-radius: var(--radius-lg);
}

#lgx .pp-card .pp-intro {
    font-size: 1.1rem;
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.6;
}

#lgx .pp-card p {
    color: var(--ink-soft);
    margin-bottom: 14px;
    font-size: 0.98rem;
    text-align: start;
}

#lgx .pp-section {
    scroll-margin-top: 104px;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(23, 37, 31, 0.1);
    opacity: 0;
    transform: translateY(18px);
    transition: 0.7s var(--ease);
}

#lgx .pp-section.is-visible {
    opacity: 1;
    transform: none;
}

#lgx .pp-section:first-of-type {
    border-top: 0;
    margin-top: 18px;
    padding-top: 0;
}

#lgx .pp-section h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--serif);
    color: var(--emerald-d);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 12px;
    text-align: start;
}

#lgx .pp-num {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-l), var(--gold-b) 55%, var(--gold));
    color: #241c04;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 8px 18px -8px rgba(184, 147, 12, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

#lgx .pp-section ul {
    list-style: none;
    margin: 8px 0 14px;
    padding: 0;
}

#lgx .pp-section ul li {
    position: relative;
    padding-inline-start: 24px;
    margin-bottom: 10px;
    color: var(--ink-soft);
    text-align: start;
}

#lgx .pp-section ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

#lgx .pp-section ul li strong,
#lgx .pp-section p strong {
    color: var(--ink);
}

#lgx .pp-card a {
    color: var(--emerald-d);
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 74, 55, 0.35);
}

#lgx .pp-card a:hover {
    border-bottom-color: var(--emerald-d);
}

/* ---- Contact callout ----------------------------------------------------- */
#lgx .pp-callout {
    margin-top: 26px;
    padding: 28px 26px;
    border-radius: var(--radius);
    text-align: center;
    background: linear-gradient(135deg, rgba(217, 180, 90, 0.16), rgba(255, 255, 255, 0.35));
    border: 1px solid var(--lg-brd);
}

#lgx .pp-callout h4 {
    font-family: var(--serif);
    color: var(--emerald-d);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0 6px;
}

#lgx .pp-callout p {
    margin: 0 0 16px;
    text-align: center;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
    #lgx .pp-shell {
        grid-template-columns: 1fr;
    }
    #lgx .pp-toc {
        display: none;
    }
}

@media (max-width: 640px) {
    #lgx .pp-hero {
        padding-top: 120px;
    }
    #lgx .pp-card {
        padding: 28px 20px;
    }
}
