:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --text: #f5f5f5;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --border: rgba(255,255,255,0.08);
  --font-head: 'Sora', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  min-height: 72px;
  background: rgba(0,0,0,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

nav .logo-img {
  height: clamp(48px, 7vw, 64px);
  width: auto;
  max-width: min(300px, 58vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  min-width: 0;
  gap: 0.35rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.legal-wrap h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.prose h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.25;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  color: #d1d5db;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li { margin-bottom: 0.35rem; }

.prose strong { color: var(--text); font-weight: 600; }

.back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

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

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
}

footer .footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  nav { padding: 0.65rem 1rem; min-height: 56px; }
  nav .logo-img { height: 40px; max-width: 160px; }
}

@media (max-width: 480px) {
  nav { gap: 0.5rem; padding: 0.5rem 0.75rem; }
  .legal-wrap { padding: 2rem 0.9rem 4rem; }
}
