:root {
  --bg: #f5f5f5;
  --text: #050505;
  --blue: #1f57ef;
  --cyan: #25bee0;
  --light-cyan: #6ed8ef;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.launch {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.98) 0 18%, rgba(246,246,246,.96) 52%, rgba(229,229,229,.92) 100%);
}

.launch__content {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  min-height: calc(100svh - 9rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.launch__copy h1 {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 700;
}

.store-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  margin-top: clamp(2rem, 4vw, 3.2rem);
  flex-wrap: wrap;
}

.store-link {
  display: inline-block;
  width: clamp(190px, 18vw, 230px);
  border-radius: 14px;
  transition: transform .2s ease, filter .2s ease;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.18));
  outline: none;
}

.launch__visual {
  text-align: center;
  justify-self: center;
  width: min(100%, 470px);
}

.app-icon {
  width: 100%;
  border-radius: 24%;
  filter: drop-shadow(0 22px 22px rgba(0,0,0,.22));
}

.facility-name {
  margin: 1.25rem auto 0;
  max-width: 560px;
  font-size: clamp(1.65rem, 2.7vw, 2.7rem);
  line-height: 1.08;
  font-weight: 500;
}

.developer {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  justify-items: center;
  gap: .15rem;
  font-size: clamp(.8rem, 1.1vw, 1rem);
  color: #0759ae;
}

.developer img { width: clamp(120px, 12vw, 160px); }

.confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  width: var(--w);
  height: var(--h);
  left: var(--x);
  top: var(--y);
  background: var(--c);
  border-radius: 30% 60% 45% 55%;
  transform: rotate(var(--r));
  opacity: .98;
}

@media (max-width: 820px) {
  .launch {
    min-height: 100svh;
    padding: 4.5rem 1.35rem 7.5rem;
  }

  .launch__content {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
  }

  .launch__copy { text-align: center; order: 1; }

  .launch__copy h1 {
    font-size: clamp(2.75rem, 10vw, 4.7rem);
    line-height: 1.12;
  }

  .launch__visual {
    order: 2;
    width: min(82vw, 500px);
  }

  .store-links {
    order: 3;
    justify-content: center;
    margin-top: 2.2rem;
    gap: 1rem;
  }

  .store-link { width: min(275px, 68vw); }

  .facility-name {
    margin-top: 2rem;
    font-size: clamp(1.7rem, 6vw, 2.55rem);
  }

  .developer {
    right: 1rem;
    bottom: .8rem;
  }
}

@media (max-width: 480px) {
  .launch { padding-top: 3.5rem; }
  .launch__copy h1 { font-size: clamp(2.4rem, 11vw, 3.35rem); }
  .launch__visual { width: min(88vw, 390px); }
  .facility-name { font-size: 1.7rem; }
  .store-link { width: min(250px, 76vw); }
}

@media (prefers-reduced-motion: reduce) {
  .store-link { transition: none; }
}
