/* Privacy Policy Page — Checkoutify Brand System */
:root {
  --ink: #0A0A0A;
  --turmeric: #D4A843;
  --turmeric-light: #F0CE7A;
  --turmeric-bg: #FDF8EE;
  --taupe: #6B5744;
  --ivory: #F5F0E8;
  --pure-white: #FFFFFF;
  --warm-border: #E8E4DC;
  --muted: #8B7355;
  --font-display: 'Cormorant Garamond', serif;
  --font-ui: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ─────────────────────────────── */
.pp-header {
  background: var(--ink);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.pp-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pp-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--pure-white);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.pp-logo span { color: var(--turmeric); }
.pp-back {
  font-size: 13px;
  font-weight: 500;
  color: var(--turmeric);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.pp-back:hover { opacity: 1; }

/* ── HERO ─────────────────────────────── */
.pp-hero {
  background: var(--ink);
  padding: 64px 24px 80px;
  text-align: center;
}
.pp-hero-inner { max-width: 720px; margin: 0 auto; }
.pp-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--turmeric);
  background: rgba(212,168,67,0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.pp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  color: var(--pure-white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}
.pp-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 24px;
}
.pp-hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.pp-hero-meta-item {
  text-align: center;
}
.pp-hero-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.pp-hero-meta-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--turmeric-light);
}

/* ── TOC ─────────────────────────────── */
.pp-toc {
  max-width: 960px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.pp-toc-inner {
  background: var(--pure-white);
  border-radius: 12px;
  border: 1px solid var(--warm-border);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.pp-toc-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.pp-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}
.pp-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--taupe);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.pp-toc-link:hover {
  background: var(--turmeric-bg);
  color: var(--ink);
}
.pp-toc-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--turmeric);
  min-width: 20px;
}

/* ── CONTENT ─────────────────────────── */
.pp-content {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 0 24px 96px;
}

.pp-section {
  background: var(--pure-white);
  border-radius: 12px;
  border: 1px solid var(--warm-border);
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

.pp-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--warm-border);
}

.pp-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
  line-height: 1.3;
}

.pp-section p {
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.75;
}

.pp-section ul, .pp-section ol {
  margin: 12px 0 20px 20px;
}
.pp-section li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--ink);
}

/* ── TABLES ─────────────────────────── */
.pp-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: 10px;
  border: 1px solid var(--warm-border);
}
.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pp-table th {
  background: var(--turmeric-bg);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--warm-border);
  white-space: nowrap;
}
.pp-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--warm-border);
  color: var(--ink);
  vertical-align: top;
  line-height: 1.6;
}
.pp-table tr:last-child td { border-bottom: none; }
.pp-table tr:hover td { background: rgba(253,248,238,0.5); }

/* ── CALLOUT ─────────────────────────── */
.pp-callout {
  background: var(--turmeric-bg);
  border-left: 3px solid var(--turmeric);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 14px;
  color: var(--taupe);
  line-height: 1.65;
}

/* ── FOOTER ─────────────────────────── */
.pp-footer {
  background: var(--ink);
  padding: 48px 24px;
  text-align: center;
}
.pp-footer-inner { max-width: 960px; margin: 0 auto; }
.pp-footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 8px;
}
.pp-footer-logo span { color: var(--turmeric); }
.pp-footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}
.pp-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 24px;
}

a.pp-email {
  color: var(--turmeric);
  text-decoration: none;
  font-weight: 500;
}
a.pp-email:hover { text-decoration: underline; }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 640px) {
  .pp-section { padding: 24px 20px; }
  .pp-toc-grid { grid-template-columns: 1fr; }
  .pp-hero { padding: 48px 20px 64px; }
  .pp-hero-meta { gap: 20px; }
  .pp-table { font-size: 12px; }
  .pp-table th, .pp-table td { padding: 10px 12px; }
}
