:root {
  color-scheme: dark;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --bg: #020308;
  --surface: rgba(7, 14, 24, 0.72);
  --text: #f7fbff;
  --muted: #a7b6c8;
  --soft: #6e7f92;
  --line: rgba(205, 242, 255, 0.15);
  --accent: #00aeef;
  --accent-2: #55d9ff;
}

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

html {
  min-height: 100%;
  background: #06101b;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 174, 239, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 80%, rgba(85, 217, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #020308 0%, #050913 52%, #020308 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(205, 242, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 242, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent 82%);
}

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.82;
  pointer-events: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(0, 174, 239, 0.36);
  outline-offset: 4px;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.notice {
  width: min(100%, 760px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  color: var(--text);
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 174, 239, 0.28));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 840;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.lead a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.actions {
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 174, 239, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 24px 90px rgba(0, 174, 239, 0.18);
  color: #02070a;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 28px 100px rgba(0, 174, 239, 0.24);
}

.countdown {
  margin: 28px 0 0;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 13px;
}

.countdown span {
  color: var(--text);
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px;
  color: var(--muted);
}

.noscript-note a {
  color: var(--accent-2);
}

@media (max-width: 620px) {
  .page {
    place-items: start center;
    padding-block: 32px;
  }

  .brand {
    margin-bottom: 84px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-canvas {
    display: none;
  }
}
