/* =========================================================
   Privacy Policy page — extends the shared design tokens
   in style.css with legal-document-specific layout.
   ========================================================= */

.policy-hero {
  padding: 150px 0 60px;
  border-bottom: 1px solid var(--border-soft);
}
.policy-hero h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); margin-bottom: 14px; }
.policy-meta { color: var(--text-muted); font-size: 0.95rem; }

.policy-content { padding: 70px 0 110px; }
.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.policy-toc span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.policy-toc a {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 7px 0;
  border-radius: 6px;
  transition: color .2s ease;
}
.policy-toc a:hover { color: var(--heading); }

.policy-body { max-width: 760px; }
.policy-body > section { margin-bottom: 56px; scroll-margin-top: 96px; }
.policy-body h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.policy-body h3 { font-size: 1.1rem; margin: 26px 0 12px; color: var(--heading); }
.policy-body p { color: var(--text-muted); margin-bottom: 16px; }
.policy-body ul, .policy-body ol { margin: 0 0 16px; padding-left: 22px; }
.policy-body li { color: var(--text-muted); margin-bottom: 8px; }
.policy-body ul ul, .policy-body ol ul, .policy-body ul ol { margin-top: 8px; margin-bottom: 0; }
.policy-body strong { color: var(--heading); }
.policy-definition { font-weight: 600; color: var(--accent-3); }

.policy-highlight {
  background: linear-gradient(160deg, rgba(47,107,255,0.1) 0%, rgba(23,184,138,0.06) 100%);
  border: 1px solid rgba(47,107,255,0.3);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}
.policy-highlight h3 { margin-top: 0; }

.policy-contact-box {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 20px;
}
.policy-contact-box h3 { margin-top: 0; }

.policy-table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--border-soft); border-radius: var(--radius); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.policy-table th, .policy-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}
.policy-table th {
  background: var(--surface-2);
  color: var(--heading);
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.policy-table tr:last-child td { border-bottom: none; }

@media (max-width: 980px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}

@media (max-width: 760px) {
  .policy-hero { padding: 120px 0 44px; }
  .policy-highlight, .policy-contact-box { padding: 22px 20px; }
}
