:root {
  --ink: #e8eef2;
  --muted: #9aadb8;
  --brand: #f2f7fa;
  --accent: #3d9a8b;
  --bg-deep: #0b1418;
  --bg-mid: #122028;
  --bg-glow: #1a3a36;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

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

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 20%, var(--bg-glow) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, #163044 0%, transparent 50%),
    linear-gradient(165deg, var(--bg-mid) 0%, var(--bg-deep) 55%, #071014 100%);
  pointer-events: none;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem);
  max-width: 40rem;
  animation: rise 0.9s ease-out both;
}

.brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--brand);
  animation: rise 0.9s ease-out 0.08s both;
}

.headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  animation: rise 0.9s ease-out 0.16s both;
}

.lede {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  animation: rise 0.9s ease-out 0.24s both;
}

.lede::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--accent);
  border-radius: 1px;
  transform-origin: left center;
  animation: draw 0.7s ease-out 0.35s both;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 1.25rem clamp(2rem, 6vw, 4rem) 1.75rem;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--muted) 70%, transparent);
  animation: rise 0.9s ease-out 0.4s both;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .stage,
  .brand,
  .headline,
  .lede,
  .lede::before,
  .foot {
    animation: none;
  }
}
