/* The Google Play and App Store badges.
   Shared by the React site and the static printable pages, which link the copy that
   build_web.py drops in website/public/printables/ — edit here, never there. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.play-badge-link,
.app-store-badge-link {
  display: inline-block;
  line-height: 0;
  transition: transform 160ms ease;
}
.play-badge {
  display: block;
  width: 215px;
  height: auto;
}
/* Google's PNG carries ~14px of clear space around a 56px-tall badge; Apple's SVG has none.
   Same visible height (Apple's rule for badges side by side) and the same clear space, so the
   two also line up when they wrap onto two lines on a phone. */
.app-store-badge-link { padding: 14px; }
.app-store-badge {
  display: block;
  height: 56px;
  width: auto;
}
.play-badge-link:hover,
.play-badge-link:focus-visible,
.app-store-badge-link:hover,
.app-store-badge-link:focus-visible {
  transform: translateY(-2px);
}
.play-badge-link:focus-visible,
.app-store-badge-link:focus-visible {
  border-radius: 10px;
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

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