/* Privacy Policy page styles. Extends theme.css variables. */

.pp-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.pp-header {
  padding: 80px 48px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pp-header-inner { max-width: 680px; margin: 0 auto; }

.pp-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 12px 0 8px;
}

.pp-last-updated {
  font-size: 14px;
  color: var(--fg-muted);
}

/* BODY — sidebar + content */
.pp-body {
  display: flex;
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  gap: 48px;
  align-items: flex-start;
}

/* SIDEBAR TOC */
.pp-nav-sidebar {
  position: sticky;
  top: 32px;
  width: 200px;
  flex-shrink: 0;
  padding-top: 40px;
}

.pp-toc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp-toc-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  line-height: 1.4;
}

.pp-toc-item:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.05);
}

/* CONTENT */
.pp-content {
  flex: 1;
  padding: 48px 0 80px;
  min-width: 0;
}

.pp-section {
  margin-bottom: 48px;
  scroll-margin-top: 32px;
}

.pp-section:last-child { margin-bottom: 0; }

.pp-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pp-section p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.pp-section p:last-child { margin-bottom: 0; }

.pp-section ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-section ul li {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.pp-section ul li strong { color: var(--fg); }

.pp-section a {
  color: var(--accent);
  text-decoration: none;
}

.pp-section a:hover { text-decoration: underline; }

/* TABLE */
.pp-table-wrap { overflow-x: auto; margin: 16px 0; }

.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pp-table th,
.pp-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  vertical-align: top;
}

.pp-table th {
  font-weight: 600;
  color: var(--fg);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.pp-table td strong { color: var(--fg); }

.pp-table tr:last-child td { border-bottom: none; }

/* CONTACT CARD */
.pp-contact-card {
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 4px;
}

.pp-contact-card p {
  margin-bottom: 6px;
}

.pp-contact-card p:last-child { margin-bottom: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .pp-nav-sidebar { display: none; }
  .pp-body { padding: 0 24px; }
}

@media (max-width: 768px) {
  .pp-header { padding: 60px 24px 36px; }
  .pp-content { padding: 32px 0 64px; }
}