/* ==========================================================================
   Launch banner — self-contained, drop-in.
   Customise via the variables below; content (URL, icon, copy) lives in the HTML.
   ========================================================================== */
.launch-banner {
  /* ---- Customise ---- */
  --lb-bg: radial-gradient(ellipse at 50% 35%, #FAFAFA 0%, #ECECEC 55%, #D8D8D8 100%);
  --lb-text: #111;
  --lb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --lb-radius: 24px;
  --lb-c1: #22C7E8;   /* confetti: cyan */
  --lb-c2: #1E90FF;   /* confetti: blue */
  --lb-c3: #1B4FE8;   /* confetti: deep blue */
  --lb-c4: #7FE3FA;   /* confetti: ice */
  --lb-icon-size: 300px;
  /* ------------------- */

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 72px 96px 72px 64px;
  border-radius: var(--lb-radius);
  background: var(--lb-bg);
  color: var(--lb-text);
  font-family: var(--lb-font);
  box-sizing: border-box;
}
.launch-banner *, .launch-banner *::before, .launch-banner *::after { box-sizing: inherit; }

/* Confetti */
.launch-banner__confetti { position: absolute; inset: 0; pointer-events: none; }
.launch-banner__confetti span {
  position: absolute;
  top: var(--y); left: var(--x);
  width: var(--w, 36px);
  height: var(--h, 36px);
  background: var(--c);
  border-radius: 30% 45% 35% 50%;
  transform: rotate(var(--r, 0deg));
}

/* Copy */
.launch-banner__copy, .launch-banner__app { position: relative; z-index: 1; }
.launch-banner .launch-banner__title {
  margin: 0 0 32px;
  font-family: inherit;
  font-weight: 600;
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: inherit;
}

/* App Store badge */
.launch-banner__badge { display: inline-flex; height: 60px; line-height: 0; transition: opacity .15s; }
.launch-banner__badge:hover { opacity: .85; }
.launch-banner__badge img { height: 100%; width: auto; display: block; }

/* App icon + name */
.launch-banner__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  color: inherit;
  font-size: 26px;
  text-decoration: none;
}
.launch-banner__app:hover { color: inherit; text-decoration: none; }
.launch-banner__app img {
  display: block;
  width: var(--lb-icon-size);
  max-width: 100%;
  border-radius: 22.5%;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
  transition: transform .2s;
}
.launch-banner__app:hover img { transform: translateY(-4px); }

/* Stacked layout */
@media (max-width: 900px) {
  .launch-banner { flex-direction: column-reverse; text-align: center; padding: 56px 24px; gap: 36px; }
  .launch-banner .launch-banner__title { font-size: 36px; }
  .launch-banner { --lb-icon-size: 200px; }
  .launch-banner__app { font-size: 20px; gap: 18px; }
  /* Pieces marked data-stack move here so they stay clear of the copy */
  .launch-banner__confetti span[data-stack] { top: var(--sy); left: var(--sx); }
}
