/**
 * Divzoon Cookie Policy — Minimalist Editorial Single-Column Layout
 * Identical typography, palette, and proportions to Privacy Policy.
 */

:root {
  --ds-bg: #000000;
  --ds-heading: #ffffff;
  --ds-text: #94969c;
  --ds-text-muted: #71717a;
  --ds-font-sans: var(--font-tree-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  --ds-font-mono: var(--font-tree-mono, 'JetBrains Mono', monospace);
}

html {
  scroll-behavior: smooth;
  background-color: #000000 !important;
  color-scheme: dark;
}

body.privacy-body {
  background-color: #000000 !important;
  color: var(--ds-text) !important;
  font-family: var(--ds-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  margin: 0;
  padding: 0;
  line-height: 1.75;
  overflow-x: hidden;
}

.privacy-page-wrapper {
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  padding: 130px 24px 100px;
  box-sizing: border-box;
}

.privacy-container {
  max-width: 720px;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────────────────────
   Header Section (Centered)
   ────────────────────────────────────────────────────────────────────────── */
.privacy-header {
  text-align: center;
  margin-bottom: 60px;
}

.privacy-date-kicker {
  font-size: 14px;
  font-weight: 500;
  color: #94969c;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.privacy-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 18px 0;
  text-wrap: balance;
}

.privacy-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #94969c;
  max-width: 660px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ──────────────────────────────────────────────────────────────────────────
   Article Content (Clean Editorial Text)
   ────────────────────────────────────────────────────────────────────────── */
.privacy-content {
  font-size: 16px;
  line-height: 1.75;
  color: #94969c;
}

.privacy-content p {
  margin: 0 0 24px 0;
}

.privacy-content h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 44px 0 20px 0;
}

.privacy-content h2:first-of-type {
  margin-top: 36px;
}

.privacy-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 28px 0 12px 0;
}

.privacy-content strong {
  color: #ffffff;
  font-weight: 600;
}

.privacy-content a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.privacy-content a:hover {
  opacity: 0.8;
}

.privacy-content code {
  font-family: var(--ds-font-mono);
  font-size: 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.privacy-cookie-text-btn {
  background: none;
  border: none;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.privacy-cookie-text-btn:hover {
  opacity: 0.8;
}

/* ──────────────────────────────────────────────────────────────────────────
   Cookie Disclosure Tables
   ────────────────────────────────────────────────────────────────────────── */
.cookie-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 32px 0;
  border: 1px solid #27272a;
  border-radius: 8px;
  background-color: #050505;
  -webkit-overflow-scrolling: touch;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.55;
}

.cookie-table th {
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 1px solid #27272a;
  white-space: nowrap;
}

.cookie-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  color: #94969c;
}

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

.cookie-table td code {
  color: #ffffff;
  font-size: 12.5px;
  white-space: nowrap;
}

.cookie-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.cookie-badge-necessary {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.cookie-badge-functionality {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.cookie-badge-analytics {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.28);
}

/* ──────────────────────────────────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .privacy-page-wrapper {
    padding: 130px 20px 80px;
  }

  .privacy-header {
    margin-bottom: 48px;
  }

  .privacy-subtitle {
    font-size: 16px;
  }

  .privacy-content {
    font-size: 15px;
    line-height: 1.7;
  }

  .privacy-content h2 {
    margin: 38px 0 16px 0;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  .privacy-page-wrapper {
    padding: 140px 16px 64px;
  }

  .privacy-date-kicker {
    font-size: 13px;
  }
}
