:root {
  color-scheme: dark;
  --viewport-height: 100vh;
  --bg: #020005;
  --ink: #f8f6ff;
  --muted: #bdb4cf;
  --dim: #776a90;
  --plasma: #8d45ff;
  --plasma-hot: #f1e6ff;
  --plasma-deep: #5420c7;
  --cyan: #73f7ff;
  --status-blue: #5796ff;
  --ember: #ff6aaf;
  --line: rgba(241, 230, 255, 0.18);
  --shadow: rgba(0, 0, 0, 0.72);
}

@supports (height: 100svh) {
  :root {
    --viewport-height: 100svh;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  overscroll-behavior-y: none;
}

body {
  min-height: var(--viewport-height);
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  background:
    radial-gradient(circle at 70% 44%, rgba(141, 69, 255, 0.22), transparent 23rem),
    linear-gradient(145deg, #020005 0%, #07030e 48%, #0b0714 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

@media (pointer: coarse) {
  html,
  body {
    width: 100%;
    height: var(--viewport-height);
    overflow: hidden;
    touch-action: none;
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(248, 246, 255, 0.68) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(115, 247, 255, 0.42) 0 1px, transparent 1.6px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 42%);
  background-position:
    0 0,
    38px 52px,
    center;
  background-size:
    145px 145px,
    217px 217px,
    cover;
  opacity: 0.45;
  mask-image: radial-gradient(circle at 68% 44%, transparent 0 12rem, #000 24rem);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.54)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 6px
    );
  mix-blend-mode: soft-light;
}

.void-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: var(--viewport-height);
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 2;
  min-height: var(--viewport-height);
  padding: clamp(1.1rem, 3vw, 3rem);
}

.hero {
  display: grid;
  min-height: calc(var(--viewport-height) - clamp(2.2rem, 6vw, 6rem));
  align-content: space-between;
  gap: clamp(2.6rem, 7vw, 5.5rem);
}

.brand-lockup {
  display: flex;
  width: min(100%, 36rem);
  align-items: center;
  gap: 0;
  --logo-height: clamp(4.6rem, 10vw, 7.3rem);
}

.brand-image-mark,
.brand-image-wordmark {
  display: block;
  height: var(--logo-height);
  width: auto;
  object-fit: contain;
}

.brand-image-mark {
  flex: 0 0 auto;
}

.brand-image-wordmark {
  flex: 0 1 auto;
  min-width: 0;
}

.brand-fallback {
  display: none;
  color: var(--ink);
  font-size: clamp(1.35rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow:
    0 0 1.1rem rgba(255, 255, 255, 0.28),
    0 0 1.8rem rgba(141, 69, 255, 0.54);
}

.logo-assets-missing .brand-fallback {
  display: block;
}

.logo-assets-missing .brand-image-mark,
.logo-assets-missing .brand-image-wordmark {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.status {
  margin: 0;
  color: var(--status-blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.7rem, 1.6vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero-copy {
  width: min(100%, 52rem);
  padding-block: clamp(1rem, 4vw, 3rem);
}

.status {
  margin-bottom: 1.05rem;
  color: var(--status-blue);
}

h2 {
  max-width: 12ch;
  margin-bottom: clamp(1rem, 3vw, 1.35rem);
  font-size: clamp(2.75rem, 10vw, 8.1rem);
  font-weight: 800;
  line-height: 0.88;
  text-wrap: balance;
}

.lede {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  font-weight: 600;
  line-height: 1.55;
}

.transmission {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.82rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--ink);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.84rem, 2vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 1rem rgba(141, 69, 255, 0.45);
}

.pulse {
  position: relative;
  display: inline-block;
  width: 0.76rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--plasma-hot);
  box-shadow:
    0 0 0.7rem rgba(241, 230, 255, 0.95),
    0 0 1.2rem rgba(141, 69, 255, 0.9);
}

.pulse::after {
  position: absolute;
  inset: -0.55rem;
  border: 1px solid rgba(141, 69, 255, 0.78);
  border-radius: inherit;
  content: "";
  animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
  0% {
    opacity: 0.9;
    transform: scale(0.45);
  }

  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 1rem;
  }

  .hero {
    min-height: calc(var(--viewport-height) - 2rem);
    gap: 2.4rem;
  }

  .brand-lockup {
    --logo-height: clamp(3.8rem, 15vw, 5.3rem);
    width: min(100%, 29rem);
  }

  h2 {
    max-width: 9.5ch;
  }
}

@media (max-width: 420px) {
  .brand-lockup {
    --logo-height: 3.8rem;
    width: min(100%, 20rem);
  }
}

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