:root {
  --bg-top: #0c1226;
  --bg-mid: #04060f;
  --bg-bottom: #000000;
  --surface: #0a0f1a;
  --border: #1e2749;
  --text: #f7f7f2;
  --text-soft: #d0d0c8;
  --text-dim: #8b8b83;
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --flame: #ff6b35;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(
    180deg,
    var(--bg-top) 0%,
    var(--bg-mid) 45%,
    var(--bg-bottom) 100%
  );
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Outfit', -apple-system, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain texture for the night-sky feel — copied from the old build. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Star field — JS injects 120 .star elements at load. */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.star {
  position: absolute;
  background: var(--text);
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star {
    animation: none;
    opacity: 0.6;
  }
}

.sr-only {
  position: absolute;
  left: -9999px;
}

main.hero {
  position: relative;
  z-index: 10;
  max-width: 640px;
  margin: 0 auto;
  padding: 14vh 24px 10vh;
  text-align: center;
}

.mark {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--flame), transparent 65%);
  filter: drop-shadow(0 0 24px rgba(255, 107, 53, 0.25));
}

.mark::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

h1 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.tagline {
  font-size: 20px;
  margin: 0 0 28px;
  letter-spacing: 0.005em;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(99, 102, 241, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.copy {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 36px;
}

.links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.links a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(10, 15, 26, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  backdrop-filter: blur(6px);
}

.waitlist input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist button {
  padding: 13px 24px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition:
    transform 140ms ease,
    filter 140ms ease,
    box-shadow 220ms ease;
}

.waitlist button:hover {
  transform: scale(1.02);
  filter: brightness(1.15);
  box-shadow:
    0 0 28px rgba(245, 158, 11, 0.18),
    0 0 36px rgba(167, 139, 250, 0.18);
}

.status {
  width: 100%;
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 14px;
  min-height: 18px;
}
