/* ════════════════════════════════════════════════════════════
   PRIVACY — Legal page
   ════════════════════════════════════════════════════════════ */

.legal-page {
  background: var(--bg);
  min-height: 100vh;
  padding: 120px var(--page-pad) 100px;
}

.legal-container {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Header ── */
.legal-header {
  margin-bottom: 72px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 90px);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--text);
  margin: 16px 0 20px;
}

.legal-title span {
  color: var(--accent);
}

.legal-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
}

/* ── Body ── */
.legal-body { }

.legal-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 20px;
}

.legal-section h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 28px 0 14px;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.6);
  margin-bottom: 16px;
}

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

.legal-section strong {
  color: rgba(245, 245, 245, 0.85);
  font-weight: 500;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-section a:hover { color: #9f5fff; }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.legal-section ul li {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.6);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* ── Info card ── */
.legal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(245, 245, 245, 0.6);
}

.legal-card strong { color: rgba(245, 245, 245, 0.9); }

/* ── Table ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 13px;
}

.legal-table thead tr {
  background: rgba(255, 255, 255, 0.05);
}

.legal-table th {
  padding: 13px 18px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.legal-table td {
  padding: 13px 18px;
  font-weight: 300;
  color: rgba(245, 245, 245, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.legal-table code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: rgba(123, 47, 255, 0.12);
  color: #a06fff;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ── Cookie settings button ── */
.legal-cookie-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent);
  font: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-cookie-link:hover { color: #9f5fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .legal-page {
    padding: 88px var(--page-pad) 72px;
  }
  .legal-header { margin-bottom: 48px; }
  .legal-section { margin-bottom: 40px; padding-bottom: 40px; }
  .legal-table th,
  .legal-table td { padding: 10px 14px; }
}
