/*
 * Legal page styles (v1).
 * Shared visual shell for terms and privacy pages.
 * Designed to match the same dark premium language used in index/catalog.
 */

:root {
  --wx-legal-bg: #05060a;
  --wx-legal-surface: rgba(10, 12, 18, 0.9);
  --wx-legal-border: rgba(214, 178, 113, 0.32);
  --wx-legal-border-soft: rgba(214, 178, 113, 0.18);
  --wx-legal-text: #f8f4ea;
  --wx-legal-muted: rgba(235, 230, 220, 0.7);
  --wx-legal-accent: #d6b271;
}

body#wx-legal-page {
  font-family: "Manrope", "Sora", sans-serif;
  background:
    radial-gradient(
      110% 90% at 0% 0%,
      rgba(214, 178, 113, 0.12) 0%,
      rgba(8, 10, 14, 0) 62%
    ),
    radial-gradient(
      90% 70% at 100% 0%,
      rgba(85, 109, 147, 0.14) 0%,
      rgba(8, 10, 14, 0) 58%
    ),
    var(--wx-legal-bg);
  color: var(--wx-legal-text);
}

.wx-legal-header {
  border-bottom: 1px solid var(--wx-legal-border-soft);
  background: rgba(8, 9, 13, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
}

.wx-legal-card {
  border: 1px solid var(--wx-legal-border-soft);
  background:
    radial-gradient(
      120% 120% at 14% -14%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    var(--wx-legal-surface);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wx-legal-card h1,
.wx-legal-card h2 {
  color: var(--wx-legal-text);
}

.wx-legal-card p,
.wx-legal-card li {
  color: var(--wx-legal-muted);
}

.wx-legal-card a {
  color: var(--wx-legal-accent);
}

.wx-legal-card a:hover {
  text-decoration: underline;
}

.wx-legal-divider {
  border-color: var(--wx-legal-border-soft);
}

.wx-legal-footer {
  border-top: 1px solid var(--wx-legal-border-soft);
  background: rgba(7, 9, 13, 0.72);
}
