:root {
  --bg: #eef1f5;
  --ink: #12151a;
  --mute: #5a6472;
  --cta: #229ed9;
  --cta-ink: #ffffff;
  --cta-press: #1a8fc4;
  --ring: rgba(34, 158, 217, 0.35);
  --font: "Onest", system-ui, sans-serif;
  --display: "Unbounded", "Onest", sans-serif;
}

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

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

body {
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 100%, #dfe8f2 0%, transparent 45%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.stage {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  gap: 0;
}

.brand {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(0.78rem, 2.2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--ink);
  opacity: 0;
  animation: rise 0.55s ease forwards 0.05s;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(1.85rem, 6.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.55s ease forwards 0.14s;
}

.lead {
  margin: 0.9rem 0 0;
  max-width: 28ch;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--mute);
  opacity: 0;
  animation: rise 0.55s ease forwards 0.22s;
}

.cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.6rem;
  padding: 1rem 1.6rem;
  width: min(100%, 22rem);
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 32px -12px rgba(34, 158, 217, 0.65);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: cta-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.34s;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta:hover {
  background: var(--cta-press);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 18px 36px -12px rgba(34, 158, 217, 0.75);
}

.cta:active {
  transform: translateY(1px) scale(0.99);
}

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

.tg {
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
}

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

@keyframes cta-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  h1,
  .lead,
  .cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
