/* Shared stylesheet for /privacy, /terms, /support — keeps the brand consistent
   without duplicating the landing-page CSS. Palette from PenguinArcade
   ART_STYLE.md (night sky + aurora). */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0b1026;
  --surface: #121a3a;
  --card: #182247;
  --fg: #eaf4ff;
  --muted-fg: #a8bede;
  --faint: #8fa4c6;
  --ice: #59c8ff;
  --aurora-teal: #4fd0c0;
  --aurora-violet: #b08aff;
  --beak: #ffb35a;
  --warn: #ff8b6b;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.17);
}

html { scroll-behavior: smooth; color-scheme: only dark; background: var(--bg); }

body {
  font-family: -apple-system, 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ice); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--aurora-teal); }
a:focus-visible { outline: 3px solid var(--aurora-teal); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Off-screen until a keyboard reaches it, then the first thing on the page. */
.skip-link {
  position: absolute; left: 14px; top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 0 0 12px 12px;
  background: var(--beak); color: #221304; font-weight: 800; font-size: 0.95rem;
  transition: top 0.15s;
}
.skip-link:focus, .skip-link:hover { color: #221304; }
.skip-link:focus { top: 0; }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,16,38,0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.legal-nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.legal-nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--fg); font-size: 1.05rem; }
.legal-nav .brand img { width: 30px; height: 30px; border-radius: 8px; }
.legal-nav .links { display: flex; gap: 22px; font-size: 0.95rem; }
.legal-nav .links a { color: var(--muted-fg); font-weight: 600; }
.legal-nav .links a:hover { color: var(--fg); }
.legal-nav .links a.active { color: var(--ice); }

@media (max-width: 560px) {
  .legal-nav .container { gap: 12px; }
  .legal-nav .brand { font-size: 0.95rem; gap: 8px; }
  .legal-nav .brand img { width: 26px; height: 26px; }
  .legal-nav .links { gap: 14px; font-size: 0.85rem; }
}

main.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
main.legal h1 { font-weight: 800; font-size: 2.4rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--fg); }
main.legal .updated { color: var(--muted-fg); font-size: 0.95rem; margin-bottom: 36px; }
main.legal h2 { font-size: 1.28rem; font-weight: 800; margin-top: 36px; margin-bottom: 12px; color: var(--ice); }
main.legal h3 { font-size: 1.05rem; font-weight: 700; margin-top: 22px; margin-bottom: 8px; color: var(--fg); }
main.legal p, main.legal li { color: var(--muted-fg); margin-bottom: 14px; }
main.legal ul { padding-left: 22px; margin-bottom: 14px; }
main.legal li { margin-bottom: 6px; }
main.legal strong { color: var(--fg); font-weight: 700; }
main.legal code { background: var(--card); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; color: var(--aurora-teal); }

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--beak);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.note strong { color: var(--beak); }

footer.legal-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px; padding: 28px 24px 36px;
  text-align: center; color: var(--muted-fg); font-size: 0.9rem;
}
footer.legal-footer a { color: var(--muted-fg); margin: 0 12px; font-weight: 600; }
footer.legal-footer a:hover { color: var(--ice); }
