:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --border: #1e1e2e;
  --accent: #6c63ff;
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --radius-btn: 8px;
  --maxw: 760px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.legal-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-logo { font-weight: 900; font-size: 1.3rem; color: var(--text); }
.legal-logo span { color: var(--accent); }

.legal-back { font-size: 0.95rem; font-weight: 500; }

main.legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

main.legal h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

main.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}

main.legal p { margin-bottom: 14px; color: var(--text); }

main.legal ul { margin: 0 22px 16px 0; }
main.legal li { margin-bottom: 8px; }

main.legal strong { font-weight: 700; }

.legal-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 40px;
}

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-footer a { color: var(--text-muted); margin: 0 10px; }
.legal-footer a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
