* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at top left, rgba(229, 24, 214, 0.2), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(0, 148, 255, 0.18), transparent 34rem),
    #f7f2ff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-page {
  display: grid;
  place-items: start center;
  min-height: 100svh;
}

.lp-visual {
  position: relative;
  width: min(100%, 864px);
  background: #fff;
  box-shadow: 0 0 42px rgba(62, 0, 156, 0.16);
}

.cta-link {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cta-link::before,
.cta-link::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
}

.cta-link::before {
  background:
    radial-gradient(circle at 20% 42%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(90deg, rgba(255, 0, 190, 0.16), rgba(255, 255, 255, 0.18) 48%, rgba(0, 225, 255, 0.2));
  mix-blend-mode: screen;
  animation: cta-glow 2.2s ease-in-out infinite;
}

.cta-link::after {
  width: 34%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.64) 48%, transparent 100%);
  filter: blur(5px);
  transform: translateX(-135%);
  animation: cta-shine 2.6s ease-in-out infinite;
}

.cta-link-top {
  left: 5.8%;
  top: 7.65%;
  width: 88.1%;
  height: 0.95%;
}

.cta-link-middle {
  left: 5%;
  top: 73.69%;
  width: 91.5%;
  height: 0.82%;
}

.cta-link-bottom {
  left: 3%;
  top: 95.04%;
  width: 93.4%;
  height: 1.13%;
}

.cta-link:focus-visible {
  outline: 4px solid #fff126;
  outline-offset: 4px;
}

.floating-cta {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: max(8px, env(safe-area-inset-bottom));
  display: block;
  width: min(92vw, 780px);
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 28px rgba(25, 0, 118, 0.32));
  animation: floating-cta-pulse 2.2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

.floating-cta img {
  width: 100%;
  height: auto;
}

.floating-cta:focus-visible {
  outline: 4px solid #fff126;
  outline-offset: 4px;
  border-radius: 999px;
}

@keyframes cta-glow {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.86;
  }
}

@keyframes cta-shine {
  0%,
  28% {
    transform: translateX(-135%);
    opacity: 0;
  }

  46% {
    opacity: 0.9;
  }

  72%,
  100% {
    transform: translateX(330%);
    opacity: 0;
  }
}

@keyframes floating-cta-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-link::before,
  .cta-link::after,
  .floating-cta {
    animation: none;
  }
}

@media (min-width: 900px) {
  .landing-page {
    padding-block: 24px;
  }

  .floating-cta {
    bottom: 18px;
  }
}
