/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #07080f;
  --violet2: #a06bff;
  --sol2:    #60a5fa;
  --text:    #e0e2f0;
  --muted:   #7880a0;
  --white:   #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* ─── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 48px); max-width: 1100px;
  padding: 10px 6px 10px 20px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  background: rgba(10, 12, 24, 0.45);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  box-shadow: 0 4px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  transition: background .3s;
}
.nav-inner { display: flex; align-items: center; gap: 40px; width: 100%; padding-left: 10px; padding-right: 8px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; flex-shrink: 0; color: var(--white); text-decoration: none; }
.logo-mark { display: flex; align-items: center; flex-shrink: 0; }
.logo-mark img { height: 30px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  padding: 11px 24px; border-radius: 100px;
  cursor: pointer; transition: all .25s; white-space: nowrap; border: none;
  text-decoration: none;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { transform: translateY(-1px); }
.nav-inner .btn { margin-left: auto; padding: 8px 18px; font-size: 13px; }

/* ─── BG ───────────────────────────────────────────────────── */
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(123,47,255,.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 85%, rgba(59,130,246,.06) 0%, transparent 60%);
}

/* ─── PAGE ─────────────────────────────────────────────────── */
.page {
  position: relative; z-index: 1;
  padding: 140px 40px 100px;
  max-width: 760px; margin: 0 auto;
}
.page-header { margin-bottom: 56px; }
.tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet2);
  margin-bottom: 18px;
}
.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--white); line-height: 1.1; margin-bottom: 14px;
}
.page-sub {
  font-size: 15px; font-weight: 400;
  color: var(--muted);
}

/* ─── LEGAL CONTENT ────────────────────────────────────────── */
.legal h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  color: var(--white);
  margin: 48px 0 16px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 16px; font-weight: 700;
  color: var(--white);
  margin: 28px 0 10px;
}
.legal p {
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.7);
  margin-bottom: 14px; font-weight: 300;
}
.legal ul, .legal ol {
  margin: 0 0 14px 0; padding-left: 22px;
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.7); font-weight: 300;
}
.legal li { margin-bottom: 6px; }
.legal a { color: var(--sol2); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.legal a:hover { color: var(--white); }
.legal strong { color: var(--white); font-weight: 600; }
.legal hr { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 40px 0; }

/* ─── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #04040c;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 40px 0;
  position: relative; z-index: 1;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 720px) {
  /* nav-links hidden by mobile-nav.css at 768px */
  .page { padding: 120px 24px 80px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .page { padding: 100px 16px 60px; }
  .legal h1 { font-size: clamp(24px, 7vw, 32px); }
  .legal h2 { font-size: 17px; }
}
