:root {
  --bg: #05070d;
  --ink: #eef2fb;
  --muted: #8b95ad;
  --accent: #4fd1c5;
  --accent-2: #6c8cff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: radial-gradient(120% 90% at 50% 40%, #0b1222 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

#grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
  pointer-events: none;
}

.mark {
  font-size: clamp(3.5rem, 14vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  opacity: 0;
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) .2s forwards;
}

.mark span {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.claim {
  margin-top: clamp(1rem, 3vw, 1.75rem);
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--muted);
  opacity: 0;
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) .9s forwards;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 16px max(20px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #5c6680;
  opacity: 0;
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) 1.6s forwards;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 149, 173, 0.35);
  transition: color .2s, border-color .2s;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  outline: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mark, .claim, footer { animation: none; opacity: 1; }
}
