/* Desktop-only App Store QR companion for Stillkeep download CTAs. */
.download-qr { display: none; }
.download-actions { display: contents; }

@media (min-width: 1024px) {
  /* Desktop: keep the primary CTA and QR together on one visual line. */
  .download-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    margin-top: 12px;
  }

  /* Avoid inheriting extra top spacing from CTA rules now that the wrapper owns spacing. */
  .download-actions > .cta,
  .download-actions > .button {
    margin-top: 0 !important;
    flex: 0 0 auto;
  }

  .download-qr {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: 58px;
    padding: 7px 11px 7px 7px;
    border: 1px solid rgba(66, 43, 98, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 7px 22px rgba(52, 34, 74, 0.06);
    color: #24202c;
    text-align: left;
    line-height: 1.15;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .download-qr__image {
    display: block;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    padding: 2px;
    box-sizing: border-box;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
  }

  .download-qr__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: 0;
  }

  .download-qr__copy strong {
    font-size: 12px;
    font-weight: 700;
  }

  .download-qr__copy span { opacity: 0.62; }

  /* Supporting copy should breathe below the entire CTA row. */
  .download-actions + .micro { margin-top: 18px; }

  /* SEO landing-page closing CTA: center the button + QR as one unit. */
  .closing .download-actions {
    margin-inline: auto;
    justify-content: center;
  }

  /* Closing CTA sections remain centered as a complete unit. */
  .band .download-actions,
  .final-cta .download-actions,
  .cta-section .download-actions,
  .download-section .download-actions {
    margin-inline: auto;
    justify-content: center;
  }
}
