:root {
  color-scheme: dark;
  --bg: #05070c;
  --bg-soft: #0a1018;
  --surface: rgba(9, 12, 19, 0.72);
  --surface-border: rgba(145, 175, 255, 0.18);
  --text: #f4f7fb;
  --muted: rgba(220, 228, 244, 0.72);
  --accent: #8eb8ff;
  --accent-strong: #d3e2ff;
  --shadow: rgba(2, 6, 14, 0.55);
  --glow: rgba(115, 164, 255, 0.22);
  --grid: rgba(186, 203, 242, 0.06);
  --font-display: "Avenir Next Condensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(56, 83, 140, 0.16), transparent 38%),
    linear-gradient(145deg, #04060a 0%, #05070c 38%, #07101a 100%);
  color: var(--text);
  font-family: var(--font-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(transparent 0 94%, rgba(255, 255, 255, 0.028) 94% 100%),
    linear-gradient(90deg, transparent 0 94%, rgba(255, 255, 255, 0.028) 94% 100%);
  background-size: 100% 4px, 4px 100%;
  opacity: 0.22;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.56;
  animation: drift 16s ease-in-out infinite alternate;
}

.ambient-left {
  top: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(142, 184, 255, 0.42), transparent 62%);
}

.ambient-right {
  right: -12rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(76, 111, 195, 0.28), transparent 60%);
  animation-duration: 21s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: radial-gradient(circle at center, black 24%, transparent 80%);
  opacity: 0.42;
}

.hero {
  --pointer-x: 50%;
  --pointer-y: 28%;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 2rem;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: var(--pointer-y);
  left: var(--pointer-x);
  width: min(68vw, 46rem);
  height: min(68vw, 46rem);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 64%);
  filter: blur(10px);
  opacity: 0.94;
  animation: pulse 8.5s ease-in-out infinite;
}

.eyebrow,
.tagline,
.status-pill {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.wordmark {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.15rem, 1vw, 0.75rem);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 16vw, 9.8rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(199, 220, 255, 0.12);
}

.wordmark span {
  display: inline-block;
  animation: rise 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--index, 0) * 90ms);
}

.wordmark span:nth-child(1) { --index: 1; }
.wordmark span:nth-child(2) { --index: 2; }
.wordmark span:nth-child(3) { --index: 3; }
.wordmark span:nth-child(4) { --index: 4; }
.wordmark span:nth-child(5) { --index: 5; }
.wordmark span:nth-child(6) { --index: 6; }
.wordmark span:nth-child(7) { --index: 7; }

.tagline {
  max-width: 36rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-height: 2.9rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -24px var(--shadow);
  color: var(--accent-strong);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.status-pill:hover,
.status-pill:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(186, 208, 255, 0.38);
  background: rgba(11, 15, 24, 0.84);
}

.status-pill:focus-visible {
  outline: 2px solid rgba(186, 208, 255, 0.42);
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(2rem, 1.5rem, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.68;
    transform: translate(-50%, -50%) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (max-width: 700px) {
  body {
    overflow-y: auto;
  }

  .hero {
    padding: 1.5rem;
  }

  .eyebrow {
    letter-spacing: 0.3em;
  }

  .wordmark {
    gap: 0.05rem 0.45rem;
    letter-spacing: 0.12em;
  }

  .tagline {
    max-width: 20rem;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
