:root {
  --bg: #070B14;
  --bg-deep: #050810;
  --blue: #2563EB;
  --blue-light: #60A5FA;
  --blue-mid: #3B82F6;
  --text: #E2E8F0;
  --muted: #64748B;
  --line: rgba(255, 255, 255, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Starfield — two repeating dot layers at different densities */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1px 1px at 25px 35px, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 110px 90px, rgba(255,255,255,0.30), transparent),
    radial-gradient(1.5px 1.5px at 190px 150px, rgba(147,197,253,0.35), transparent),
    radial-gradient(1px 1px at 60px 170px, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 160px 40px, rgba(255,255,255,0.35), transparent);
  background-size: 220px 220px;
}

/* Radial glow behind center */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(37, 99, 235, 0.16), transparent 70%);
  pointer-events: none;
}

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

a:hover {
  text-decoration: underline;
}

/* ---------- Hero (index) ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.wordmark {
  font-size: clamp(84px, 20vw, 160px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--blue-mid), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.05;
}

.tagline {
  margin-top: 14px;
  font-size: clamp(12px, 2.6vw, 15px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
  padding-left: 0.42em; /* optically balance letter-spacing */
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--line);
  margin: 36px auto 20px;
}

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

.support a {
  color: var(--muted);
}

.btn-outline {
  display: inline-block;
  margin-top: 40px;
  padding: 11px 38px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  text-decoration: none;
  background-color: rgba(37, 99, 235, 0.14);
  border-color: var(--blue-light);
}

/* ---------- About ---------- */

.about {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px 120px;
  text-align: center;
}

.about h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #F8FAFC;
}

.about p {
  color: #94A3B8;
  font-size: 16px;
}

/* ---------- Footer ---------- */

footer {
  padding: 32px 24px 44px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-links {
  font-size: 14px;
  color: var(--muted);
}

.footer-links a {
  color: #94A3B8;
}

.copyright {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.back-link:hover {
  color: var(--blue-light);
  text-decoration: none;
}

.legal h1 {
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 8px;
}

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

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 36px 0 12px;
}

.legal p, .legal li {
  font-size: 15px;
  color: #A7B3C4;
}

.legal ul {
  padding-left: 22px;
  margin: 10px 0;
}

.legal li {
  margin-bottom: 6px;
}
