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

:root {
  --dark: #080A0C;
  --dark2: #0F1114;
  --card: #13161A;
  --border: rgba(255, 255, 255, 0.07);
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.45);
  --accent: #4ECDC4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(8, 10, 12, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4ECDC4 0%, #9B6FD0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: -0.2px;
  line-height: 1.15;
}

.nav-brand span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.5px;
  font-family: 'DM Sans', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  background: var(--white);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

/* ── LEGAL PAGE ── */
.legal-page {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
  padding: 72px 32px 96px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.legal-header h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-company {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--muted);
}

.legal-meta span + span::before {
  content: ' · ';
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.legal-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 20px 0 10px;
}

.legal-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: none;
  margin: 12px 0 16px;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

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

.legal-content a:hover {
  text-decoration: underline;
}

.legal-callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-nav-bottom {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-nav-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s;
}

.legal-nav-bottom a:hover {
  border-color: rgba(78, 205, 196, 0.4);
  color: var(--accent);
  background: rgba(78, 205, 196, 0.06);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  background: var(--dark2);
}

.footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 640px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .legal-page {
    padding: 48px 20px 72px;
  }

  .legal-header h1 {
    font-size: 32px;
  }

  footer {
    padding: 32px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
