:root {
  color-scheme: dark;
  --bg: #03040a;
  --panel: rgba(7, 10, 20, 0.68);
  --text: #f5f7ff;
  --muted: #97a0bf;
  --energy: #4a66ff;
  --energy-soft: #6f8bff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 50% 20%, #0a1230 0%, var(--bg) 52%, #000 100%);
  color: var(--text);
}

.site-nav {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 6px;
  background: rgba(5, 8, 18, 0.55);
  border: 1px solid rgba(111, 139, 255, 0.2);
  border-radius: 8px;
  padding: 4px;
  backdrop-filter: blur(6px);
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 7px 10px;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(111, 139, 255, 0.08);
}

.nav-link.active {
  color: var(--text);
  background: rgba(111, 139, 255, 0.18);
}

.home-page {
  overflow: hidden;
  position: relative;
}

#space-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  align-content: start;
  padding: clamp(52px, 11vh, 120px) 24px 24px;
}

.home-content h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  letter-spacing: 0;
  font-weight: 600;
  text-transform: none;
  text-shadow: 0 0 26px rgba(111, 139, 255, 0.35), 0 0 56px rgba(74, 102, 255, 0.18);
}

.privacy-page {
  display: grid;
  place-items: start center;
  padding: 48px 20px;
}

.policy-wrap {
  width: min(780px, 100%);
  background: var(--panel);
  border: 1px solid rgba(111, 139, 255, 0.2);
  box-shadow: 0 14px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: clamp(20px, 3.8vw, 40px);
}

.policy-wrap h1 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
}

.policy-wrap p {
  margin: 0 0 16px;
  color: #d3d8ea;
  line-height: 1.7;
  font-size: 1rem;
}
