:root {
  --bg: #0a0a0f;
  --fg: #f4f4f8;
  --muted: #8a8a99;
  --accent: #6d8bff;
  --accent-2: #b06dff;
}

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

html,
body {
  height: 100%;
  overflow-x: clip;
}

body {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vmax;
  height: 60vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    color-mix(in oklab, var(--accent) 22%, transparent),
    transparent 60%
  );
  filter: blur(40px);
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: translate(-52%, -48%) scale(1);
  }
  to {
    transform: translate(-48%, -52%) scale(1.15);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.3em;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  z-index: 1;
}

.mark {
  width: 0.85em;
  height: 0.85em;
  flex-shrink: 0;
}

h1 {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lede {
  margin-top: 1.75rem;
  max-width: 56ch;
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
  color: color-mix(in oklab, var(--muted) 85%, var(--fg));
  z-index: 1;
}

.lede strong {
  color: var(--fg);
  font-weight: 600;
}

.foot {
  position: absolute;
  bottom: 1.5rem;
  font-size: 0.8rem;
  color: color-mix(in oklab, var(--muted) 70%, transparent);
  z-index: 1;
}

.foot a {
  color: inherit;
  text-decoration: none;
  margin-left: 0.5rem;
  border-bottom: 1px solid color-mix(in oklab, var(--muted) 30%, transparent);
  transition: color 0.15s ease;
}

.foot a:hover {
  color: var(--fg);
}

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