:root {
  --bg: #000000;
  --ink: #f4f4f5;
  --ink-soft: #d4d4d8;
  --mute: #71717a;
  --mute-soft: #3f3f46;
  --accent: #7c5cff;
  --accent-dim: #5b3fd4;
  --heart: #ef4444;

  --pad-x: clamp(1.25rem, 4vw, 2rem);
  --pad-y: clamp(1.25rem, 3vh, 2rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  color-scheme: dark;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
}

.plasma {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.plasma--fallback {
  background:
    radial-gradient(ellipse 72% 30% at 35% 82%, rgba(124, 92, 255, 0.2), transparent 68%),
    radial-gradient(ellipse 55% 26% at 55% 84%, rgba(56, 189, 248, 0.16), transparent 65%),
    radial-gradient(ellipse 50% 24% at 72% 86%, rgba(250, 204, 21, 0.14), transparent 62%),
    var(--bg);
}

.atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 28%, transparent 62%, rgba(0, 0, 0, 0.72) 100%);
}

.mark {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin-top: clamp(16vh, 20vh, 24vh);
  max-width: 36rem;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.35rem;
}

.logo {
  width: clamp(1.9rem, 4.8vw, 2.25rem);
  height: auto;
  aspect-ratio: 535 / 613;
  display: block;
  flex-shrink: 0;
}

.brand {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.7rem, 4.5vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.line {
  position: relative;
  margin: 0;
  max-width: 34rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink-soft);
}

.lede {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.8125rem, 1.7vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--mute);
}

.foot {
  position: relative;
  z-index: 1;
  margin: 0;
  margin-bottom: max(0.15rem, env(safe-area-inset-bottom, 0px));
  padding: 0;
  text-align: center;
  font-size: clamp(0.625rem, 1.5vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.foot-heart {
  display: inline-block;
  margin: 0 0.2em;
  letter-spacing: 0;
  color: var(--heart);
  font-weight: 500;
}

@media (prefers-reduced-motion: no-preference) {
  .logo,
  .brand,
  .line,
  .lede,
  .foot {
    animation: rise-in 0.9s var(--ease-out) both;
  }

  .logo {
    animation-delay: 0.06s;
  }

  .brand {
    animation-delay: 0.16s;
  }

  .line {
    animation-delay: 0.28s;
  }

  .lede {
    animation-delay: 0.4s;
  }

  .foot {
    animation-delay: 0.55s;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .atmosphere {
    background: var(--bg);
  }
}
