/* ==========================================================================
   Legal/support pages - dark theme matching the marketing site (2026-07-15).
   These were the last pages still on the old light Tailwind-CDN look after
   the PWA retirement; this brings them into the same visual system as
   index.html without touching any of the actual legal/support text.
   ========================================================================== */
:root {
  --bg: #0F1115;
  --panel: #16181D;
  --border: #2A2D34;
  --text: #F4F1EC;
  --text-muted: #9B958C;
  --accent: #E08A50;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--text);
  flex-shrink: 0;
}
.legal-back:hover { background: var(--panel); text-decoration: none; }

.legal-nav-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.legal-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.legal-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.legal-main h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal-main h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal-main p { margin: 0 0 14px; color: var(--text); }
.legal-main p strong { color: var(--text); font-weight: 600; }

.legal-main ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-main li { margin-bottom: 8px; }

.legal-footer {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}
.legal-footer a { color: var(--text-muted); }
.legal-footer a:hover { color: var(--accent); }
.legal-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
