:root {
  --ink: #080c14;
  --paper: #f0ede8;
  --mist: #8a8f9e;
  --accent: #3b82f6;
  --border: rgba(240, 237, 232, 0.07);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.75;
  -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;
  padding: 1.2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 20, 0.85);
  border-bottom: 1px solid var(--border);
}

.legal-nav-name {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--mist);
}

.legal-nav a {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mist);
  text-decoration: none;
}

.legal-nav a:hover { color: var(--accent); text-decoration: none; }

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
}

.legal-main h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--mist);
  margin-bottom: 2.5rem;
}

.legal-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-main p, .legal-main li {
  color: rgba(240, 237, 232, 0.88);
  margin-bottom: 1rem;
}

.legal-main ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-main li { margin-bottom: 0.5rem; }

footer.legal-footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-name, .footer-copy {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 640px) {
  .legal-nav, footer.legal-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  footer.legal-footer { flex-direction: column; text-align: center; }
}
