:root {
  --teal: #00e5ff;
  --teal-dim: #00b8d9;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 76px;
}

[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --white: #f0f4f8;
  --white-dim: #a8b4c0;
  --white-muted: #6b7a8a;
  --border: rgba(0, 229, 255, 0.12);
}

[data-theme="light"] {
  --bg-primary: #eef2f6;
  --bg-secondary: #e2e8ef;
  --teal: #00a8cc;
  --teal-dim: #008fad;
  --white: #0c1219;
  --white-dim: #3a4a5c;
  --white-muted: #5a6878;
  --border: rgba(0, 168, 204, 0.2);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.7;
  transition: background-color 0.35s ease, color 0.35s ease;
}

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

a:hover {
  text-decoration: underline;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .legal-nav {
  background: rgba(255, 255, 255, 0.9);
}

.legal-nav-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.legal-logo:hover {
  text-decoration: none;
}


.legal-back {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-dim);
}

.legal-back:hover {
  color: var(--teal);
  text-decoration: none;
}

.legal-page {
  padding: 48px 24px 80px;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
}

.legal-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.legal-container h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
}

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

.legal-container section {
  margin-bottom: 32px;
}

.legal-container h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 8px;
}

.legal-container p,
.legal-container li {
  color: var(--white-dim);
  margin-bottom: 12px;
}

.legal-container ul {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

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

@media (max-width: 480px) {
  .legal-nav-inner {
    padding: 12px 16px;
  }

  .legal-back {
    font-size: 0.8125rem;
  }

  .legal-page {
    padding: 32px 16px 64px;
  }

  .legal-eyebrow {
    letter-spacing: 0.12em;
  }
}

