:root {
  --bg-deep: #07130f;
  --bg-mid: #0d2420;
  --ink: #e8f4ef;
  --ink-muted: rgba(232, 244, 239, 0.68);
  --accent: #3dffa8;
  --accent-soft: rgba(61, 255, 168, 0.18);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Figtree", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, #16382f 0%, transparent 55%),
    linear-gradient(165deg, var(--bg-mid) 0%, var(--bg-deep) 48%, #050d0b 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: 12%;
  left: 8%;
  background: var(--accent-soft);
}

.glow-b {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  right: 5%;
  bottom: 8%;
  background: rgba(34, 140, 110, 0.28);
  animation-delay: -6s;
  animation-duration: 18s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  gap: 0.85rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  width: clamp(7.5rem, 22vw, 10.5rem);
  height: auto;
  display: block;
  border-radius: 1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.brand-name::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: var(--accent);
  animation: expand 1s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.message {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 3.2vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
  animation: rise 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.support {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  color: var(--ink-muted);
  max-width: 32ch;
  line-height: 1.55;
  animation: rise 0.9s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

@keyframes expand {
  from {
    opacity: 0;
    transform: scaleX(0.2);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, -18px) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .brand,
  .brand-name::after,
  .message,
  .support {
    animation: none;
  }
}
