/* Sticky CTA (2026-11-16, variant B picked): stacking/sticky-cta.html + js/sticky-cta.js.
   A glass dock at the bottom centre, the top bar's twin, holding only the hero's Download button.
   html.scta-on = the hero's button is out of view above the top bar. Green only on the button. */

.scta {
  position: fixed; z-index: 48;
  left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 12px 32px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .5s;
}
html.scta-on .scta {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

/* The hero's button (.cu-dl), one size down. */
.scta__btn {
  gap: 9px;
  min-height: 46px; padding: 0 24px;
  font-size: 15.5px; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(89, 214, 160, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.scta__btn svg { flex: none; }

@media (prefers-reduced-motion: reduce) {
  .scta, html.scta-on .scta { transform: translate(-50%, 0); }
  .scta { transition: opacity .2s ease, visibility 0s linear .2s; }
  html.scta-on .scta { transition: opacity .2s ease, visibility 0s; }
}
