/* App Store and Google Play badges (Paul, 6 Nov 2026: "1 to 4 now"). Official artwork, not altered: Apple's badge as
   supplied; Google's PNG keeps its built-in clear space, hidden by the link box so both badges are the same height.
   The visitor's own phone's store comes first (site.js sets data-device on <html>). */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: block; height: 44px; overflow: hidden; border-radius: 8px; line-height: 0; text-decoration: none !important; }
.store-badge img { display: block; height: 44px; width: auto; }
.store-badge.store-google img { height: 65.5px; margin: -10.75px; }
.store-badge:focus-visible { outline: 3px solid #CCF15C; outline-offset: 3px; }
[data-device="android"] .store-badge.store-google { order: -1; }
/* Home hero, under the app pictures. */
.hero-real .hero-get-app { margin: 22px 0 14px; color: #dde7df; font-size: .95rem; }
.hero-real .store-badges { margin-bottom: 16px; }
/* Readable words for the apps next to the badges, so people and search tools see iPhone and Android in text, not only
   in the badge pictures (Paul, 7 Nov 2026: "both, make the preview"). */
.hero-real .hero-app-platforms { margin: -6px 0 14px; color: #dde7df; font-size: .9rem; }
@media (max-width: 1000px) {
  .hero-real .hero-get-app { text-align: center; }
  .hero-real .store-badges { justify-content: center; }
  .hero-real .hero-app-platforms { text-align: center; }
}
/* Marketing footer: the badges sit with the links. */
.site-footer .store-badges { gap: 10px; }
.site-footer .store-badge, .site-footer .store-badge img { height: 40px; }
.site-footer .store-badge.store-google img { height: 59.5px; margin: -9.75px; }
.site-footer .store-badge:hover { text-decoration: none; }
@media (min-width: 761px) {
  /* Copyright stays left; the links stay on the right with the badges after them; all on one centre line. */
  .site-footer { align-items: center; }
  .site-footer > span:first-child { margin-right: auto; }
}
@media (max-width: 1000px) {
  /* Under the centred badges, the sample workspace link is centred too (as its existing phone rule intended). */
  .hero-product.hero-real .hero-sample-link { display: flex; width: fit-content; margin: 0 auto; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  /* Tablets: copyright and links on the first line as before, the badges on their own line under them. */
  .site-footer { flex-wrap: wrap; row-gap: 14px; }
  .site-footer > .store-badges { width: 100%; }
}
