/* ============================================================
   privacy.css — Privacy Policy page styles (Solara amber theme)
   Extends app.css — must be loaded after it.
   ============================================================ */

/* ── Hero strip ─────────────────────────────────────────────── */
.privacy-hero {
  background: linear-gradient(145deg, #0D0900 0%, #1A1200 50%, #2C1F00 100%);
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.privacy-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 1rem 0 0.5rem;
  background: linear-gradient(135deg, #FFD54F 0%, #FFB300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* ── Body wrapper ───────────────────────────────────────────── */
.privacy-body {
  padding: 3rem 0 5rem;
  background: var(--bg);
}

.privacy-content {
  max-width: 780px;
}

/* ── Summary notice box ─────────────────────────────────────── */
.privacy-notice {
  background: rgba(255, 179, 0, 0.07);
  border: 1px solid rgba(255, 179, 0, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.privacy-notice strong {
  color: var(--primary);
}

/* ── Sections ───────────────────────────────────────────────── */
.privacy-section {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
}

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

.privacy-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.privacy-section h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-container-on);
  margin: 1.5rem 0 0.6rem;
}

.privacy-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

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

.privacy-section ul {
  margin: 0.5rem 0 0.85rem 0;
  padding-left: 0;
  list-style: none;
}

.privacy-section ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}

.privacy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.privacy-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,179,0,.35);
  transition: text-decoration-color 0.2s;
}

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

.privacy-section code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background: var(--surface-variant);
  color: var(--primary-container-on);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── Third-party table ──────────────────────────────────────── */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.privacy-table thead {
  background: var(--surface-variant);
}

.privacy-table th {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.privacy-table td {
  color: var(--text-secondary);
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

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

.privacy-table tbody tr {
  background: var(--surface);
  transition: background 0.15s;
}

.privacy-table tbody tr:nth-child(even) {
  background: rgba(44, 42, 37, 0.4);
}

.privacy-table tbody tr:hover {
  background: var(--surface-variant);
}

.privacy-table a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,179,0,.35);
}

.privacy-table a:hover {
  text-decoration-color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .privacy-hero {
    padding: 4rem 0 2rem;
  }

  /* Scrollable table on small screens */
  .privacy-section:has(.privacy-table) {
    overflow-x: auto;
  }

  .privacy-table {
    min-width: 520px;
  }
}

@media (max-width: 480px) {
  .privacy-body {
    padding: 2rem 0 3rem;
  }
}
