:root {
  --ink: #071018;
  --fog: #d7e6df;
  --mist: #9eb8ae;
  --signal: #e8ff6b;
  --line: rgba(215, 230, 223, 0.14);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

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

body {
  color: var(--fog);
  font-family: var(--font-body);
  background: var(--ink);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(62, 120, 98, 0.35), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(28, 64, 84, 0.55), transparent 50%),
    linear-gradient(160deg, #05090d 0%, #0b1614 45%, #071018 100%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 75%);
  opacity: 0.55;
}

.queue-lane {
  position: absolute;
  inset: auto 0 18% 8%;
  display: flex;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  align-items: flex-end;
  height: 28vh;
  pointer-events: none;
}

.queue-lane span {
  display: block;
  width: clamp(10px, 1.6vw, 18px);
  border-radius: 999px;
  background: color-mix(in srgb, var(--fog) 70%, transparent);
  height: 18%;
  transform-origin: bottom center;
  opacity: 0.35;
}

.queue-lane span:nth-child(3n) {
  height: 42%;
}
.queue-lane span:nth-child(4n) {
  height: 64%;
}
.queue-lane span:nth-child(5n) {
  height: 28%;
  background: color-mix(in srgb, var(--signal) 55%, var(--fog));
}

.queue-lane.is-live span {
  animation: rise 3.6s ease-in-out infinite;
}

.queue-lane.is-live span:nth-child(odd) {
  animation-delay: 0.35s;
}
.queue-lane.is-live span:nth-child(3n) {
  animation-delay: 0.8s;
}
.queue-lane.is-live span:nth-child(5n) {
  animation-delay: 1.2s;
}

@keyframes rise {
  0%,
  100% {
    transform: translateY(0) scaleY(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-12%) scaleY(1.08);
    opacity: 0.85;
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 44rem;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--fog);
  animation: fade-up 0.9s ease both;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--fog) 92%, var(--signal));
  animation: fade-up 0.9s ease 0.12s both;
}

.lede {
  margin: 0;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--mist);
  animation: fade-up 0.9s ease 0.22s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.6rem;
  animation: fade-up 0.9s ease 0.32s both;
}

.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.15rem;
  border-radius: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.cta a:hover {
  transform: translateY(-1px);
}

.cta .primary {
  background: var(--signal);
  color: #10160a;
}

.cta .secondary {
  color: var(--fog);
  border: 1px solid color-mix(in srgb, var(--fog) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 35%, transparent);
}

.cta .secondary:hover {
  border-color: var(--fog);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  h1,
  .lede,
  .cta,
  .queue-lane span {
    animation: none !important;
  }
}
