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

:root {
  --bg: hsl(225, 14%, 2%);
  --fg: hsl(210, 20%, 98%);
  --primary: hsl(45, 96%, 49%);
  --primary-fg: hsl(225, 14%, 2%);
  --muted: hsl(217, 10%, 64%);
  --border: hsl(220, 10%, 16%);
  --radius: 0.75rem;
}

::selection { background: hsl(45 96% 49% / 0.3); color: var(--fg); }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; }

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

.text-primary { color: var(--primary); }
.font-mono { font-family: monospace; }

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(225 14% 2% / 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.legal-nav-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-logo:hover { text-decoration: none; opacity: 0.9; }

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  text-decoration: none;
}

.nav-cta:hover { opacity: 0.9; text-decoration: none; }

.legal-main {
  flex: 1;
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  width: 100%;
}

.legal-header { margin-bottom: 2.5rem; }

.legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.legal-meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-content p strong { color: var(--fg); }

.legal-content ul,
.legal-content ol {
  color: var(--muted);
  margin: 0 0 1rem 1.25rem;
}

.legal-content li { margin-bottom: 0.35rem; }

.legal-content li strong { color: var(--fg); }

.legal-footer-links {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.legal-footer-links a { color: var(--primary); font-weight: 500; }

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