/* Legal pages — dark theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--headline); line-height: 1.15; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--headline);
  font-weight: 800;
  font-size: 1rem;
}
.logo-text {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.03em;
}

/* Legal content */
.legal {
  padding: 48px 24px 100px;
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.legal p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal ul {
  margin: 0 0 16px 20px;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
}
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo .logo-mark {
  width: 24px; height: 24px;
  background: #fff;
  color: var(--accent);
  font-size: 0.8rem;
}
.footer-logo .logo-text { font-size: 1.1rem; }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-dim); }
.footer-copy { font-size: 0.75rem; color: var(--muted); }
