:root {
  color-scheme: dark;
  --bg: #03030c;
  --ink: #f6f4ff;
  --muted: #a7a3ba;
  --dot: rgba(160, 154, 190, 0.33);
  --dot-hot: rgba(218, 214, 255, 0.58);
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    ui-monospace,
    "SFMono-Regular",
    "SF Mono",
    Menlo,
    Consolas,
    "Liberation Mono",
    monospace;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  padding: clamp(24px, 5vw, 72px);
  background:
    radial-gradient(circle at 50% 42%, rgba(120, 105, 255, 0.15), transparent 34rem),
    radial-gradient(circle at 84% 74%, rgba(45, 210, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #060515 0%, #02020a 100%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.92;
  background-image:
    radial-gradient(circle, var(--dot-hot) 0 2px, transparent 2.7px),
    radial-gradient(circle, rgba(255, 255, 255, 0.055) 0 1px, transparent 1.4px);
  background-position:
    0 0,
    18px 18px;
  background-size:
    44px 44px,
    8px 8px;
  mask-image: radial-gradient(ellipse at center, black 0%, black 48%, transparent 82%);
  animation: gridDrift 18s linear infinite;
}

.ambient-grid::before,
.ambient-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-grid::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent),
    repeating-linear-gradient(90deg, transparent 0 43px, var(--line) 43px 44px),
    repeating-linear-gradient(0deg, transparent 0 43px, rgba(255, 255, 255, 0.055) 43px 44px);
  opacity: 0.18;
}

.ambient-grid::after {
  background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(0, 0, 0, 0.72) 78%);
}

.hero {
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow,
.coming-soon {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 22px auto 28px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.coming-soon {
  color: #dddae9;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 24px;
  }

  .ambient-grid {
    background-size:
      34px 34px,
      7px 7px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-grid {
    animation: none;
  }
}

@keyframes gridDrift {
  from {
    background-position:
      0 0,
      18px 18px;
  }

  to {
    background-position:
      44px 44px,
      26px 26px;
  }
}
