*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }

/* ─── Privacy Policy Page ──────────────────────────────────────── */

.privacy-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.privacy-back:hover {
  color: var(--primary);
}

.privacy-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.privacy-header h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.privacy-header .effective-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(243, 185, 108, 0.1); /* TODO: tokenize */
  border: 1px solid rgba(243, 185, 108, 0.2); /* TODO: tokenize */
  color: var(--goldPrimary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

[data-theme="light"] .privacy-header .effective-date {
  background: rgba(226, 142, 70, 0.08); /* TODO: tokenize */
  border-color: rgba(226, 142, 70, 0.16); /* TODO: tokenize */
}

.privacy-header .intro {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ─── Table of Contents ────────────────────────────────────────── */

.privacy-toc {
  margin-bottom: 48px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--goldPrimary);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.privacy-toc h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.privacy-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 8px;
}

.privacy-toc li {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.privacy-toc a {
  color: var(--text-soft);
  transition: color 0.15s ease;
}

.privacy-toc a:hover {
  color: var(--primary);
}

/* ─── Sections ─────────────────────────────────────────────────── */

.privacy-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.privacy-section h2 .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(243, 185, 108, 0.12); /* TODO: tokenize */
  color: var(--goldPrimary);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="light"] .privacy-section h2 .section-number {
  background: rgba(226, 142, 70, 0.1); /* TODO: tokenize */
}

.privacy-section h3 {
  margin: 20px 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.privacy-section p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.privacy-section ul {
  margin: 0 0 14px;
  padding: 0 0 0 20px;
  display: grid;
  gap: 8px;
}

.privacy-section li {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.privacy-section li strong {
  color: var(--text);
  font-weight: 600;
}

.privacy-section a {
  color: var(--goldPrimary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.privacy-section a:hover {
  color: var(--primary-strong);
}

/* ─── Info Cards (callouts) ────────────────────────────────────── */

.privacy-callout {
  margin: 18px 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--goldPrimary);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.privacy-callout p {
  margin: 0;
  font-size: 0.92rem;
}

.privacy-callout strong {
  color: var(--text);
}

/* ─── Contact Card ─────────────────────────────────────────────── */

.privacy-contact-card {
  margin: 18px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--goldPrimary);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  display: grid;
  gap: 10px;
}

.privacy-contact-card .contact-line {
  display: flex;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.privacy-contact-card .contact-line strong {
  color: var(--text);
  min-width: 70px;
}

/* ─── Footer ───────────────────────────────────────────────────── */

.privacy-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.privacy-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.privacy-footer a {
  color: var(--goldPrimary);
  font-weight: 600;
  transition: color 0.15s ease;
}

.privacy-footer a:hover {
  color: var(--primary-strong);
}

/* ─── Shared Utilities ─────────────────────────────────────────── */

.link-gold {
  color: var(--goldPrimary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Responsive ───────────────────────────────────────────────── */

@media (max-width: 640px) {
  .privacy-page {
    padding: 32px 16px 60px;
  }

  .privacy-toc {
    padding: 20px 22px;
  }

  .privacy-section h2 {
    font-size: 1.12rem;
  }

  .privacy-contact-card .contact-line {
    flex-direction: column;
    gap: 2px;
  }
}
