/* Design tokens + page skeleton. Colors are sampled from the logo (neon blue on deep navy). */
:root {
  --bg-0: #020820;
  --bg-1: #04103a;
  --blue: #1f6bff;
  --neon: #5cc8ff;
  --neon-soft: rgb(92 200 255 / 0.35);
  --spark: #ffb347;
  --text: #eaf4ff;
  --muted: #9fb6d9;
  --glass: rgb(255 255 255 / 0.06);
  --glass-line: rgb(140 200 255 / 0.18);
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed backdrop: radial glow + subtle hex grid, echoing the logo's background. */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 50% 12%, rgb(31 107 255 / 0.55), transparent 70%),
    radial-gradient(80% 50% at 50% 110%, rgb(31 107 255 / 0.35), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(30deg, var(--neon) 1px, transparent 1px),
    linear-gradient(150deg, var(--neon) 1px, transparent 1px);
  background-size: 28px 48px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}

.page {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 26px;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
