:root {
  --bg-0: #e8eef2;
  --bg-1: #d5e3ea;
  --ink: #132028;
  --ink-soft: #3d5561;
  --accent: #0f6e7a;
  --accent-soft: rgba(15, 110, 122, 0.14);
  --glow-a: rgba(47, 143, 156, 0.45);
  --glow-b: rgba(180, 140, 90, 0.28);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", 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:
    radial-gradient(1200px 700px at 12% -10%, #f7fbff 0%, transparent 55%),
    radial-gradient(900px 600px at 88% 110%, #c9dde6 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1));
  overflow-x: hidden;
  position: relative;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.35;
  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");
  mix-blend-mode: soft-light;
  z-index: 1;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(48px);
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -8%;
  right: -6%;
  background: var(--glow-a);
}

.orb-b {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  bottom: -10%;
  left: -8%;
  background: var(--glow-b);
  animation-delay: -4s;
  animation-duration: 18s;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  width: min(100%, 720px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.9s ease-out both;
}

.headline {
  margin-top: 1.4rem;
  max-width: 16ch;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  animation: rise 0.9s ease-out 0.12s both;
}

.headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lead {
  margin-top: 1.25rem;
  max-width: 38ch;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  animation: rise 0.9s ease-out 0.22s both;
}

.cta {
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(19, 32, 40, 0.12);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  animation: rise 0.9s ease-out 0.34s both;
}

.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-soft);
  }
  70% {
    box-shadow: 0 0 0 12px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@media (max-width: 640px) {
  .headline {
    max-width: 18ch;
  }

  .cta {
    text-align: left;
  }
}
