/* Keep the carousel's intrinsic width from stretching the hero grid. */
.hero-copy { min-width: 0; }
.container { width: 100%; max-width: 1280px; padding-inline: 16px; }
.header-cta:active { transform: scale(.95); }
#download { scroll-margin-top: 64px; }

/* Bound the SVG container so its percentage dimensions cannot inflate the CTA. */
.mobile-cta {
  min-height: 56px;
  padding: 16px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
.mobile-cta > i {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.mobile-cta > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Progressive enhancement: sections remain readable if JS is unavailable. */
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: section-in .6s ease-out both; }
.benefit:nth-child(2) { animation-delay: .1s; }
.benefit:nth-child(3) { animation-delay: .2s; }
.step:nth-child(2) { animation-delay: .2s; }
.step:nth-child(3) { animation-delay: .4s; }
.download-content.is-visible { animation-name: download-in; }
footer { padding: 64px 0; }
.desktop-products .product-card {
  border-color: #f3f4f6;
  box-shadow: 0 10px 22px #11182718;
}
@media (min-width: 640px) {
  .qr {
    background: transparent;
    padding: 0;
    box-shadow: none;
    width: auto;
  }
  .qr img {
    box-sizing: content-box;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 18px 35px #00000055;
  }
  .qr figcaption {
    position: static;
    transform: none;
    width: auto;
    margin-top: 24px;
  }
}
@keyframes section-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes download-in { from { opacity: 0; transform: scale(.9); } }

@media (min-width: 1024px) {
  h1 { font-size: 60px; }
  .desktop-products { overflow: visible; }
  /* Anchor within the right column, not at its left boundary. */
  .desktop-products .towels { left: 0; }
  .desktop-products .socks { left: 70px; }
  .desktop-products .boards { left: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-visible { animation: none; }
}