:root {
  --bg:           #0A0807;
  --bg-2:         #131110;
  --border:       #2A2520;
  --border-hi:    #3A332C;
  --text:         #F0EBE2;
  --body:         #C7C0B2;
  --muted:        #8A8377;
  --caption:      #66605A;
  --accent:       #8DA6FF;
  --accent-hover: #A6BBFF;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10,8,7,0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-back {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px 80px;
}

.legal-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--caption);
  margin-bottom: 16px;
}

.legal-wrap h1 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

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

.legal-wrap h2 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.72;
}

.legal-wrap p { margin-bottom: 14px; }

.legal-wrap ul,
.legal-wrap ol {
  margin: 0 0 14px 20px;
  padding: 0;
}

.legal-wrap li { margin-bottom: 8px; }

footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text); }
.footer-sep { color: var(--border-hi); user-select: none; }

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .legal-wrap { padding: 40px 24px 64px; }
  footer { padding: 20px 24px; gap: 16px; flex-wrap: wrap; }
}
