/* ============================================================
   Challenge Circle — privacy.css
   Privacy Policy page styles. Loaded via $extra_css array.
   References site CSS variables from main.css :root block.
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.pp-wrap {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-height, 72px);
}
.pp-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 32px 56px;
    text-align: center;
}
.pp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6b7280;
    margin-bottom: 20px;
}
.pp-eyebrow::before,
.pp-eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: rgba(139,92,246,0.4);
    display: inline-block;
}
.pp-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}
.pp-hero h1 span { color: #a78bfa; }
.pp-hero-sub {
    font-size: 15px;
    color: #9ca3af;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 24px;
}
.pp-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.pp-meta-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
}
.pp-meta-pill.green {
    background: rgba(52,211,153,0.08);
    border-color: rgba(52,211,153,0.2);
    color: #34d399;
}

/* ── Layout ──────────────────────────────────────────────── */
.pp-layout {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 32px 80px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── TOC sidebar ─────────────────────────────────────────── */
.pp-toc {
    position: sticky;
    top: calc(var(--nav-height, 72px) + 20px);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 20px;
}
.pp-toc-title {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a78bfa;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pp-toc a {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    margin-bottom: 1px;
    transition: all 0.15s;
    line-height: 1.4;
}
.pp-toc a:hover {
    background: rgba(139,92,246,0.08);
    color: #ffffff;
    border-left-color: rgba(139,92,246,0.4);
}
.pp-toc a.pp-active {
    background: rgba(139,92,246,0.1);
    color: #a78bfa;
    border-left-color: #7c3aed;
}

/* ── Content sections ────────────────────────────────────── */
.pp-content { display: flex; flex-direction: column; }

.pp-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pp-section:last-child { border-bottom: none; }

.pp-section-num {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(139,92,246,0.6);
    margin-bottom: 8px;
    display: block;
}
.pp-section h2 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #ffffff;
}
.pp-section p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.85;
    margin-bottom: 14px;
}
.pp-section p:last-child { margin-bottom: 0; }
.pp-section strong { color: #e5e7eb; font-weight: 700; }
.pp-section a { color: #a78bfa; text-decoration: none; }
.pp-section a:hover { color: #ffffff; text-decoration: underline; }

/* ── Callout box ─────────────────────────────────────────── */
.pp-callout {
    background: rgba(139,92,246,0.06);
    border: 1px solid rgba(139,92,246,0.2);
    border-left: 3px solid #7c3aed;
    border-radius: 0 14px 14px 0;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.7;
}
.pp-callout strong { color: #c4b5fd; }

.pp-callout.gold {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.2);
    border-left-color: #f59e0b;
}
.pp-callout.gold strong { color: #fcd34d; }

/* ── Data table ──────────────────────────────────────────── */
.pp-table-wrap { overflow-x: auto; margin: 18px 0; border-radius: 14px; }
.pp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.pp-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a78bfa;
    border-bottom: 1px solid rgba(139,92,246,0.2);
    background: rgba(139,92,246,0.05);
}
.pp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #9ca3af;
    vertical-align: top;
    line-height: 1.6;
    background: rgba(255,255,255,0.01);
}
.pp-table td:first-child { color: #e5e7eb; font-weight: 600; }
.pp-table tr:last-child td { border-bottom: none; }
.pp-table tr:hover td { background: rgba(255,255,255,0.03); }

/* ── Lists ───────────────────────────────────────────────── */
.pp-section ul,
.pp-section ol {
    padding-left: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}
.pp-section ul li,
.pp-section ol li {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}
.pp-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(139,92,246,0.5);
}
.pp-section ol { counter-reset: pp-counter; }
.pp-section ol li { counter-increment: pp-counter; }
.pp-section ol li::before {
    content: counter(pp-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 11px;
    font-weight: 800;
    color: #a78bfa;
}
.pp-section li strong { color: #e5e7eb; }

/* ── Rights grid ─────────────────────────────────────────── */
.pp-rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}
.pp-right-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px 16px;
    transition: border-color 0.2s;
}
.pp-right-card:hover { border-color: rgba(139,92,246,0.25); }
.pp-right-icon { font-size: 18px; margin-bottom: 8px; }
.pp-right-title {
    font-size: 13px;
    font-weight: 800;
    color: #e5e7eb;
    margin-bottom: 4px;
}
.pp-right-desc { font-size: 11px; color: #6b7280; line-height: 1.5; }

/* ── Third party cards ───────────────────────────────────── */
.pp-third-party {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}
.pp-tp-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 14px 16px;
    min-width: 160px;
    flex: 1;
}
.pp-tp-name { font-size: 13px; font-weight: 800; color: #e5e7eb; margin-bottom: 4px; }
.pp-tp-role { font-size: 11px; color: #6b7280; line-height: 1.4; margin-bottom: 8px; }
.pp-tp-link { font-size: 11px; font-weight: 700; color: #a78bfa; text-decoration: none; }
.pp-tp-link:hover { color: #ffffff; }

/* ── Refund box ──────────────────────────────────────────── */
.pp-refund-box {
    background: rgba(245,158,11,0.05);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 20px;
    padding: 24px;
    margin-top: 8px;
}
.pp-refund-box h3 {
    font-size: 15px;
    font-weight: 900;
    color: #f59e0b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pp-refund-list {
    padding-left: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 8px !important;
}
.pp-refund-list li {
    font-size: 13px !important;
    color: #9ca3af !important;
    padding-left: 18px !important;
    position: relative !important;
}
.pp-refund-list li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: #34d399 !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    top: 0 !important;
}

/* ── Contact card ────────────────────────────────────────── */
.pp-contact-card {
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(109,40,217,0.04));
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: 24px;
    padding: 28px;
    margin-top: 20px;
}
.pp-contact-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a78bfa;
    margin-bottom: 16px;
}
.pp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}
.pp-contact-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.pp-contact-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(139,92,246,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    color: #a78bfa;
}
.pp-contact-item-lbl {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
    margin-bottom: 3px;
}
.pp-contact-item-val {
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 600;
    word-break: break-all;
    line-height: 1.5;
}
.pp-contact-item-val a { color: #a78bfa; text-decoration: none; }
.pp-contact-item-val a:hover { color: #ffffff; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 820px) {
    .pp-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px 80px;
    }
    .pp-toc { display: none; }
    .pp-hero { padding: 48px 20px 36px; }
    .pp-rights-grid { grid-template-columns: 1fr; }
    .pp-contact-grid { grid-template-columns: 1fr; }
    .pp-section h2 { font-size: 20px; }
}