:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: rgba(226, 238, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --panel: rgba(8, 15, 24, 0.36);
  --cyan: #48f4ff;
  --rose: #ff5fa2;
  --lime: #b8ff5e;
  --amber: #ffd166;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(72, 244, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 86% 72%, rgba(255, 95, 162, 0.2), transparent 28rem),
    linear-gradient(135deg, #090d14 0%, #121821 44%, #071017 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
}

.stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.25rem, 3vw, 3rem);
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 4.5rem);
  pointer-events: none;
}

.title-block {
  max-width: min(760px, 100%);
  text-shadow: 0 18px 42px var(--shadow);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 0.8rem;
  padding: 0.46rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: clamp(0.72rem, 1.4vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.tagline {
  max-width: 38rem;
  margin: clamp(1rem, 2vw, 1.4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.status-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: min(180px, 28vw);
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.status-panel div {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.readout-label {
  display: block;
  margin-bottom: 0.28rem;
  color: rgba(226, 238, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-panel strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1;
}

@media (max-width: 760px) {
  body {
    overflow: hidden;
  }

  .stage {
    grid-template-columns: 1fr;
    align-content: end;
    align-items: stretch;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.4rem, 20vw, 5.8rem);
  }

  .status-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 0.65rem;
  }

  .status-panel div {
    padding: 0.62rem;
  }

  .readout-label {
    font-size: 0.58rem;
  }
}

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