:root {
  --background: #ffffff;
  --foreground: #1c274c;
  --brand: #007aff;
  --brand-soft: #edf0f9;
  --surface: #f5f8ff;
  --muted: #9397b7;
  --border: #dfe4f2;
  --success: #33d194;
  --danger: #ff3b30;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--foreground);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 122, 255, 0.18), transparent 25%),
    radial-gradient(circle at 84% 20%, rgba(51, 209, 148, 0.14), transparent 24%),
    radial-gradient(circle at 76% 84%, rgba(255, 59, 48, 0.1), transparent 23%),
    linear-gradient(135deg, #ffffff 0%, #f5f8ff 34%, #edf0f9 64%, #ffffff 100%);
  background-size:
    140% 140%,
    150% 150%,
    130% 130%,
    220% 220%;
  animation: gradient-breath 16s ease-in-out infinite;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  content: "";
  filter: blur(8px);
  opacity: 0.6;
  pointer-events: none;
}

body::before {
  top: -18rem;
  right: -10rem;
  background: rgba(0, 122, 255, 0.12);
  animation: orb-drift-one 18s ease-in-out infinite alternate;
}

body::after {
  bottom: -20rem;
  left: -12rem;
  background: rgba(221, 226, 240, 0.82);
  animation: orb-drift-two 20s ease-in-out infinite alternate;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  padding: clamp(2rem, 6vw, 4.5rem) 1.25rem 1.5rem;
  isolation: isolate;
}

.floating-icons {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.decor-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.float-icon {
  position: absolute;
  display: block;
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1;
  color: var(--color);
  filter: drop-shadow(0 1rem 1.6rem var(--shadow));
  mix-blend-mode: multiply;
  opacity: var(--opacity);
  overflow: visible;
  transform: translate3d(0, 0, 0) rotate(var(--rotate));
  animation:
    float var(--duration) ease-in-out infinite alternate,
    blink var(--blink-duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.icon-01 {
  --blink-duration: 5.4s;
  --color: #007aff;
  --delay: -1.2s;
  --duration: 8s;
  --opacity: 0.36;
  --rotate: -12deg;
  --shadow: rgba(0, 122, 255, 0.16);
  --spin: 14deg;
  --size: clamp(4.5rem, 8vw, 7.8rem);
  --x-move: 0.8rem;
  --y-move: -1.1rem;
  left: 7%;
  top: 12%;
}

.icon-02 {
  --blink-duration: 4.8s;
  --color: #007aff;
  --delay: -2.4s;
  --duration: 6.8s;
  --opacity: 0.5;
  --rotate: 18deg;
  --shadow: rgba(0, 122, 255, 0.2);
  --spin: -20deg;
  --size: clamp(1.8rem, 3vw, 2.8rem);
  --x-move: -0.9rem;
  --y-move: 1.1rem;
  left: 19%;
  top: 26%;
}

.icon-03 {
  --blink-duration: 6.2s;
  --color: #ff3b30;
  --delay: -0.6s;
  --duration: 7.5s;
  --opacity: 0.34;
  --rotate: -8deg;
  --shadow: rgba(255, 59, 48, 0.16);
  --spin: 18deg;
  --size: clamp(1.35rem, 2.2vw, 2.1rem);
  --x-move: 0.55rem;
  --y-move: 0.85rem;
  left: 11%;
  top: 70%;
}

.icon-04 {
  --blink-duration: 5.9s;
  --color: #007aff;
  --delay: -3.1s;
  --duration: 9s;
  --opacity: 0.28;
  --rotate: 22deg;
  --shadow: rgba(0, 122, 255, 0.14);
  --spin: -16deg;
  --size: clamp(5.5rem, 9vw, 9rem);
  --x-move: -1.2rem;
  --y-move: 0.95rem;
  left: 77%;
  top: 10%;
}

.icon-05 {
  --blink-duration: 5.2s;
  --color: #33d194;
  --delay: -1.8s;
  --duration: 8.4s;
  --opacity: 0.44;
  --rotate: 34deg;
  --shadow: rgba(51, 209, 148, 0.18);
  --spin: 22deg;
  --size: clamp(2rem, 4vw, 3.5rem);
  --x-move: 0.9rem;
  --y-move: -0.85rem;
  left: 62%;
  top: 30%;
}

.icon-06 {
  --blink-duration: 6.8s;
  --color: #ff3b30;
  --delay: -4.2s;
  --duration: 10.2s;
  --opacity: 0.3;
  --rotate: -24deg;
  --shadow: rgba(255, 59, 48, 0.12);
  --spin: 12deg;
  --size: clamp(4rem, 7vw, 6.5rem);
  --x-move: 1rem;
  --y-move: 1.15rem;
  left: 84%;
  top: 66%;
}

.icon-07 {
  --blink-duration: 4.9s;
  --color: #007aff;
  --delay: -5.1s;
  --duration: 7.2s;
  --opacity: 0.45;
  --rotate: -18deg;
  --shadow: rgba(0, 122, 255, 0.18);
  --spin: -16deg;
  --size: clamp(2.2rem, 5vw, 4rem);
  --x-move: -0.75rem;
  --y-move: -1.05rem;
  left: 72%;
  top: 78%;
}

.icon-08 {
  --blink-duration: 6.4s;
  --color: #75b7ff;
  --delay: -0.9s;
  --duration: 9.6s;
  --opacity: 0.42;
  --rotate: 36deg;
  --shadow: rgba(0, 122, 255, 0.12);
  --spin: -24deg;
  --size: clamp(2.7rem, 5vw, 4.8rem);
  --x-move: 0.75rem;
  --y-move: 0.7rem;
  left: 28%;
  top: 80%;
}

.icon-09 {
  --blink-duration: 4.6s;
  --color: #ffd50b;
  --delay: -2.9s;
  --duration: 7.9s;
  --opacity: 0.44;
  --rotate: 16deg;
  --shadow: rgba(255, 213, 11, 0.18);
  --spin: 18deg;
  --size: clamp(1.6rem, 3vw, 2.6rem);
  --x-move: -0.65rem;
  --y-move: 0.8rem;
  left: 37%;
  top: 15%;
}

.icon-10 {
  --blink-duration: 5.7s;
  --color: #33d194;
  --delay: -6.2s;
  --duration: 8.7s;
  --opacity: 0.36;
  --rotate: -6deg;
  --shadow: rgba(51, 209, 148, 0.14);
  --spin: -18deg;
  --size: clamp(1.4rem, 2.4vw, 2rem);
  --x-move: 0.6rem;
  --y-move: -0.6rem;
  left: 49%;
  top: 75%;
}

.icon-11 {
  --blink-duration: 6s;
  --color: #007aff;
  --delay: -3.8s;
  --duration: 11s;
  --opacity: 0.28;
  --rotate: 14deg;
  --shadow: rgba(0, 122, 255, 0.12);
  --spin: 18deg;
  --size: clamp(3.6rem, 7vw, 6rem);
  --x-move: -0.8rem;
  --y-move: -1rem;
  left: 4%;
  top: 45%;
}

.icon-12 {
  --blink-duration: 5.1s;
  --color: #1c274c;
  --delay: -4.7s;
  --duration: 8.1s;
  --opacity: 0.24;
  --rotate: 27deg;
  --shadow: rgba(28, 39, 76, 0.12);
  --spin: -15deg;
  --size: clamp(2rem, 3.8vw, 3.2rem);
  --x-move: 0.8rem;
  --y-move: 0.9rem;
  left: 91%;
  top: 41%;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-self: center;
  padding: 3rem 0;
}

.brand-card {
  display: flex;
  width: min(100%, 38rem);
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 1.5rem);
  padding: clamp(1.25rem, 4vw, 1.8rem);
  border: 1px solid rgba(223, 228, 242, 0.9);
  border-radius: clamp(1.5rem, 5vw, 2.5rem);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 1.5rem 4.5rem rgba(28, 39, 76, 0.12);
  text-align: left;
  backdrop-filter: blur(24px);
}

.brand-logo {
  width: clamp(4.25rem, 14vw, 5.375rem);
  height: auto;
  flex: 0 0 auto;
  border-radius: 1.35rem;
  filter: drop-shadow(0 1rem 1.3rem rgba(0, 122, 255, 0.18));
}

.brand-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.35rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(0, 122, 255, 0.12);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(0, 122, 255, 0.08);
  font-size: clamp(0.74rem, 1.7vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.launch-note {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 58rem);
  align-items: center;
  justify-self: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border: 1px solid rgba(223, 228, 242, 0.86);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1rem 3rem rgba(28, 39, 76, 0.08);
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.55;
  text-align: center;
  backdrop-filter: blur(18px);
}

.launch-note p {
  flex: 1;
  margin: 0;
}

.launch-note a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 0.85rem 1.6rem rgba(0, 122, 255, 0.18);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.launch-note a:hover {
  background: #006ee6;
  box-shadow: 0 1rem 1.8rem rgba(0, 122, 255, 0.22);
  transform: translateY(-1px);
}

.launch-note a:focus-visible {
  outline: 3px solid rgba(0, 122, 255, 0.28);
  outline-offset: 3px;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--rotate));
  }

  to {
    transform: translate3d(var(--x-move), var(--y-move), 0)
      rotate(calc(var(--rotate) + var(--spin)));
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: calc(var(--opacity) * 0.62);
  }

  38% {
    opacity: var(--opacity);
  }

  58% {
    opacity: calc(var(--opacity) * 0.82);
  }

  74% {
    opacity: calc(var(--opacity) * 1.18);
  }
}

@keyframes gradient-breath {
  0%,
  100% {
    background-position:
      0% 0%,
      100% 0%,
      82% 92%,
      0% 50%;
  }

  45% {
    background-position:
      18% 24%,
      76% 28%,
      66% 74%,
      100% 50%;
  }

  70% {
    background-position:
      8% 52%,
      92% 18%,
      92% 62%,
      58% 50%;
  }
}

@keyframes orb-drift-one {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-5rem, 4rem, 0) scale(1.12);
  }
}

@keyframes orb-drift-two {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(5rem, -3rem, 0) scale(1.08);
  }
}

@media (max-width: 720px) {
  body {
    overflow-y: auto;
  }

  .page-shell {
    padding-bottom: 1rem;
  }

  .brand-card {
    flex-direction: column;
    text-align: center;
  }

  .launch-note {
    flex-direction: column;
    border-radius: 1.75rem;
    padding: 1rem;
  }

  .launch-note a {
    width: 100%;
  }

  .icon-04,
  .icon-12 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .float-icon,
  body,
  body::before,
  body::after,
  .launch-note a {
    animation: none;
    transition: none;
  }
}
