:root {
  --ink: #0a1210;
  --ink-soft: #13201b;
  --mist: #d4ddd7;
  --mist-dim: rgba(212, 221, 215, 0.7);
  --leaf: #3d8f6a;
  --leaf-bright: #5cb88a;
  --sand: #e2c9a0;
  --font-brand: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--mist);
  background: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: -25%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 42% at 20% 18%, rgba(61, 143, 106, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 38% at 78% 72%, rgba(226, 201, 160, 0.12), transparent 52%),
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--ink-soft), var(--ink) 72%);
  animation: drift 24s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
}

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

.brand {
  font-family: var(--font-brand);
  font-size: clamp(3.25rem, 13vw, 6.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #eef5f0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.support {
  max-width: 26rem;
  font-size: clamp(0.95rem, 2.1vw, 1.1rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--mist-dim);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #07110d;
  text-decoration: none;
  background: linear-gradient(135deg, var(--leaf-bright), var(--leaf));
  border-radius: 0.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px rgba(61, 143, 106, 0.28);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 40px rgba(61, 143, 106, 0.38);
}

.cta:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

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

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-2%, 1.5%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .brand,
  .support,
  .cta {
    animation: none;
  }

  .cta:hover {
    transform: none;
  }
}
