:root {
  --bg:     #07080c;
  --fg:     #f2f4f8;
  --muted:  #7d8797;
  --accent: #ffb347;
  --ring:   rgba(255, 179, 71, 0.18);
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

/* Soft light source behind the text. Purely decoration. */
.glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ring) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -55%) scale(1);    }
  50%      { opacity: 1;    transform: translate(-50%, -55%) scale(1.12); }
}

main {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 28px;
  animation: rise 0.8s 0.1s ease-out both;
}

h1 {
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* Each line fades up slightly after the one above it. */
.line { display: block; animation: rise 0.9s ease-out both; }
.line:nth-child(1) { animation-delay: 0.25s; }
.line:nth-child(2) { animation-delay: 0.40s; }
.line:nth-child(3) { animation-delay: 0.55s; }

.accent {
  color: var(--accent);
  font-style: italic;
}

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

.sub {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.02rem;
  animation: rise 0.9s 0.75s ease-out both;
}

.meta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 0.9s 0.95s ease-out both;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 11px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0); }
}

footer {
  position: absolute;
  bottom: 26px;
  font-size: 0.72rem;
  color: #3c4452;
  letter-spacing: 0.16em;
  font-family: Consolas, monospace;
}

/* Respect people who get motion sickness from animation. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
