/* ═══════════════════════════════════════════════════════════════
   VALOR PERKS — css/privacypolicy.css
   FULLY SELF-CONTAINED
   Theme: bold purple gradient header — white body — sidebar TOC
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Purple palette (Figma) */
  --purple-900:  #1a0a4f;
  --purple-800:  #2d1472;
  --purple-700:  #4b0acb;
  --purple-600:  #6d28d9;
  --purple-400:  #a78bfa;
  --purple-light:#f5f3ff;

  /* Body / content */
  --white:     #ffffff;
  --body-bg:   #f8f9fc;
  --surface:   #f3f4f6;
  --blue:      #1a56db;
  --blue-soft: #eff4ff;
  --navy:      #1e2560;
  --navy-deep: #0f154a;

  /* Text */
  --text-900: #0d1117;
  --text-700: #1f2937;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --text-300: #d1d5db;

  /* Border */
  --border:       #e5e7eb;
  --border-light: #f3f4f6;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);

  /* Radii */
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;

  /* Spacing */
  --s-4:4px; --s-6:6px; --s-8:8px; --s-10:10px; --s-12:12px;
  --s-16:16px; --s-20:20px; --s-24:24px; --s-28:28px; --s-32:32px;
  --s-40:40px; --s-48:48px; --s-56:56px; --s-64:64px; --s-80:80px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--body-bg);
  color: var(--text-700);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: var(--s-20); }

/* ── PURPLE HEADER ──────────────────────────────────────────── */
.pp-header {
  background: linear-gradient(160deg, var(--purple-700) 0%, var(--purple-800) 50%, var(--purple-900) 100%);
  padding: var(--s-64) var(--s-24) var(--s-56);
  position: relative;
  overflow: hidden;
}

.pp-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(167,139,250,0.12);
  pointer-events: none;
}

.pp-header::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(109,40,217,0.25);
  pointer-events: none;
}

.pp-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Minimal header nav */
.pp-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-48);
  flex-wrap: wrap;
  gap: var(--s-16);
}

.pp-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.pp-logo span { color: var(--purple-400); }

.pp-schedule-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  padding: 9px 20px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s;
  text-decoration: none;
}

.pp-schedule-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); text-decoration: none; }

.pp-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: var(--s-12);
}

.pp-effective {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ── BODY LAYOUT ────────────────────────────────────────────── */
.pp-body {
  background: var(--white);
  min-height: calc(100vh - 260px);
}

.pp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--s-56) var(--s-24) var(--s-80);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-64);
  align-items: start;
}

/* ── SIDEBAR TOC ────────────────────────────────────────────── */
.pp-sidebar {
  position: sticky;
  top: var(--s-32);
}

.pp-sidebar-title {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-400);
  margin-bottom: var(--s-16);
}

.pp-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pp-toc-item {
  border-bottom: 1px solid var(--border-light);
}

.pp-toc-link {
  display: block;
  padding: 10px var(--s-12);
  font-size: 13px;
  color: var(--text-500);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color 0.12s, background 0.12s;
  line-height: 1.4;
  position: relative;
}

.pp-toc-link:hover { color: var(--navy); background: var(--surface); text-decoration: none; }

.pp-toc-link.active {
  color: var(--navy);
  font-weight: 600;
  background: var(--surface);
}

.pp-toc-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: #e05d5d; /* Red underline from Figma */
  border-radius: 2px;
}

/* ── CONTENT ────────────────────────────────────────────────── */
.pp-content {}

.pp-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  margin-bottom: var(--s-20);
  line-height: 1.15;
  scroll-margin-top: var(--s-40);
}

.pp-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: var(--s-28) 0 var(--s-10);
}

.pp-content p {
  font-size: 15px;
  color: var(--text-500);
  line-height: 1.85;
  margin-bottom: var(--s-16);
}

.pp-content ul,
.pp-content ol {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  margin-bottom: var(--s-20);
}

.pp-content li {
  font-size: 15px;
  color: var(--text-500);
  line-height: 1.75;
}

.pp-content li::marker { color: var(--purple-600); }

.pp-content strong { color: var(--text-700); font-weight: 600; }

/* Section divider */
.pp-section {
  padding-bottom: var(--s-48);
  margin-bottom: var(--s-48);
  border-bottom: 1px solid var(--border-light);
}

.pp-section:last-child { border-bottom: none; }

/* Back link */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-6);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s-32);
  text-decoration: none;
  transition: color 0.12s;
  position: relative;
  z-index: 1;
}

.legal-back:hover { color: var(--white); text-decoration: none; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.pp-footer {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: var(--s-24);
}

.pp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-16);
}

.pp-footer p { font-size: 12px; color: var(--text-400); }
.pp-footer a { color: var(--text-400); }
.pp-footer a:hover { color: var(--blue); }

.pp-footer-links {
  display: flex;
  gap: var(--s-20);
  flex-wrap: wrap;
}

.pp-footer-links a { font-size: 12px; color: var(--text-400); text-decoration: none; }
.pp-footer-links a:hover { color: var(--blue); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pp-inner { grid-template-columns: 1fr; gap: var(--s-40); }
  .pp-sidebar { position: static; }
  .pp-toc-list { flex-direction: row; flex-wrap: wrap; gap: var(--s-4); }
  .pp-toc-item { border-bottom: none; }
  .pp-toc-link {
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 12px;
  }
  .pp-toc-link.active::before { display: none; }
}

@media (max-width: 600px) {
  .pp-header { padding: var(--s-40) var(--s-20) var(--s-40); }
  .pp-header h1 { font-size: 36px; }
  .pp-inner { padding: var(--s-32) var(--s-16) var(--s-48); }
  .pp-header-nav { margin-bottom: var(--s-32); }
  .pp-schedule-btn { display: none; }
}