:root {
  color-scheme: dark;
  --bg: #05070b;
  --text: #f6f7fb;
  --muted: #aeb6c7;
  --soft: #747d91;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --accent: #8f96ff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px 20px 86px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 120%, rgba(143, 150, 255, 0.16), transparent 42rem),
    linear-gradient(135deg, #030407, var(--bg) 52%, #0b1020);
  color: var(--text);
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

#field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(30px, 7vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(1.15);
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 11vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 520;
  text-wrap: balance;
}

.lede {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.65;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.links a:hover,
.links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(143, 150, 255, 0.62);
  background: rgba(143, 150, 255, 0.12);
  outline: none;
}

footer {
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

@media (max-height: 680px) and (min-width: 561px) {
  .shell { padding: 34px 54px; }
  h1 { font-size: clamp(48px, 8vw, 76px); }
  .lede { margin-top: 18px; }
  .links { margin-top: 26px; }
}

@media (max-width: 560px) {
  body { overflow-y: auto; }
  .shell { border-radius: 22px; }
  footer {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: -52px auto 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}
