/* VOLT4 site v1 — brand tokens per VOLT4_BRAND_GUIDE.md + ADR-018 system.
   Sharp corners (2–8px). Glow ONLY on the active CTA (glow budget). */

:root {
  --bg: #0a0e27;
  --surface: #1a1f3a;
  --card: #16213e;
  --board-line: #00d4ff;
  --action: #00d4ff;
  --gold: #ffd700;
  --green: #00ff88;
  --danger: #ff3366;
  --ink: #eaf2ff;
  --muted: #8a94b8;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); text-transform: uppercase; }

a { color: var(--action); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  background: rgba(10, 14, 39, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark { height: 34px; width: auto; display: block; }

.site-nav { display: flex; gap: 20px; font-size: 0.85rem; }
.site-nav a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--action); }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 72px 0 56px; text-align: center; }

.hero .tagline {
  color: var(--action);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero h1 span { color: var(--action); }

.hero .sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero .board-art {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 8px auto 24px;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.platform-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.chip {
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--action);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Sections ───────────────────────────────────────── */
.section { padding: 56px 0; }
.section.alt { background: var(--surface); }

.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  padding: 22px;
}

.feature .icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.feature h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.08em; }
.feature p { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* ── Waitlist ───────────────────────────────────────── */
.waitlist { text-align: center; }

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 26px auto 0;
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 4px;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

.waitlist-form input::placeholder { color: var(--muted); }

.cta {
  background: var(--action);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  padding: 13px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45); /* the one glowing element */
}

.cta:hover { filter: brightness(1.1); }
.cta[disabled] { opacity: 0.6; cursor: wait; box-shadow: none; }

.form-status {
  margin-top: 14px;
  min-height: 1.4em;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.form-status.ok { color: var(--green); }
.form-status.dupe { color: var(--gold); }
.form-status.err { color: var(--danger); }

/* ── Legal pages ────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; margin-top: 1.8em; }
.legal p, .legal li { color: #c6d2f0; }
.legal .banner {
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  padding: 12px 16px;
  font-size: 0.88rem;
  margin: 20px 0;
}
.legal time { color: var(--muted); font-size: 0.85rem; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.82rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--action); }

/* ── Motion discipline ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
