:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --fg: #f4f4f8;
  --muted: #9a9aad;
  --line: #26263a;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --ok: #34d399;
  --err: #fb7185;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: .5rem 1rem;
  background: var(--fg);
  color: var(--bg);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header,
.site-footer { padding: 1.25rem clamp(1rem, 4vw, 2.5rem); }

.wordmark {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}
.wordmark span { color: var(--accent-2); margin-left: .35em; }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

/* Background art: two soft orbs, CSS only. */
.hero-art {
  position: absolute;
  inset: -40% -30%;
  z-index: -1;
  pointer-events: none;
}
.orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  will-change: transform;
}
.orb-a {
  left: -2rem;
  top: 0;
  background: var(--accent);
  animation: drift-a 16s ease-in-out infinite alternate;
}
.orb-b {
  right: -2rem;
  bottom: 0;
  background: var(--accent-2);
  animation: drift-b 20s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4rem, 3rem) scale(1.15); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-4rem, -3rem) scale(.95); }
}

.play {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  overflow: visible;
}
.play .ring {
  fill: none;
  stroke: url(#pg);
  stroke-width: 3;
  transform-origin: 50% 50%;
  animation: pulse 2.8s ease-out infinite;
}
.play .tri { fill: var(--fg); }
@keyframes pulse {
  0%   { transform: scale(.92); opacity: 1; }
  70%  { transform: scale(1.12); opacity: .15; }
  100% { transform: scale(1.12); opacity: 0; }
}

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-2);
}
h1 {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.lede {
  margin: 1rem 0 2.25rem;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--muted);
}

/* Waitlist form */
.waitlist { margin: 0 auto; max-width: 30rem; }
.field-row { display: flex; gap: .5rem; }
.field-row input {
  flex: 1;
  min-width: 0;
  padding: .9rem 1rem;
  font: inherit;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.field-row input::placeholder { color: var(--muted); }
.field-row input:focus-visible,
.cta:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.cta {
  display: inline-block;
  padding: .9rem 1.25rem;
  font: inherit;
  font-weight: 700;
  color: #0a0a0f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0;
  border-radius: .75rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.cta:disabled { opacity: .6; cursor: default; }
.microcopy {
  margin: .75rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.form-status {
  min-height: 1.5rem;
  margin: .5rem 0 0;
  font-size: .95rem;
}
.form-status.is-sending { color: var(--muted); }
.form-status.is-success { color: var(--ok); }
.form-status.is-error   { color: var(--err); }

/* Honeypot and a11y helpers */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Secondary pages (thanks, 404) */
.doc h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
.doc p { color: var(--muted); }
.doc .actions { margin-top: 1.75rem; }

.site-footer {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--fg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .field-row { flex-direction: column; }
  .cta { width: 100%; }
  .orb { width: 16rem; height: 16rem; filter: blur(50px); }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .play .ring { animation: none !important; }
  .play .ring { opacity: .8; }
}
