/* Store badges (store-badges.js). Brand rules: both badges share one visible height (--badge-h, never below
   Apple's 40px onscreen minimum), keep a quarter of that height as clear space, and are never recoloured,
   cropped, rotated or animated. The Google Play PNG carries its own transparent margin (41px of 250px on
   every side), so it is drawn taller and pulled back by that margin to line up with the App Store badge. */
.store-badges {
  --badge-h: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--badge-h) / 4);
  padding: calc(var(--badge-h) / 4) 0;
}
.store-badges[hidden],
[data-store-apps][hidden],
[data-store-legal][hidden],
.store-app .store-badges,
.store-app [data-store-apps] {
  display: none !important;
}
.store-badge {
  display: block;
  line-height: 0;
  border-radius: calc(var(--badge-h) / 6);
}
.store-badge:focus-visible {
  outline: 2px solid #8fd3ff;
  outline-offset: 3px;
}
.store-badge img {
  display: block;
  width: auto;
  max-width: none;
}
.store-badge-apple img {
  height: var(--badge-h);
}
.store-badge-google {
  margin: calc(var(--badge-h) * -41 / 168);
}
.store-badge-google img {
  height: calc(var(--badge-h) * 250 / 168);
}
.store-badges-lg {
  --badge-h: 44px;
}
.store-legal {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #596880;
}

/* Placements */
.hero-copy .store-badges {
  margin-top: 18px;
}
.gate-apps {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #1d2540;
}
.gate-apps > p:first-child,
.get-app > p:first-child,
.sub-apps > p:first-child {
  margin: 0;
  color: #b8c0d8;
  font-size: 13px;
}
.gate-apps .store-badges {
  justify-content: center;
}
.get-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 28px;
  padding: 18px 0 4px;
  border-top: 1px solid #1a2238;
}
.get-app .store-legal {
  flex-basis: 100%;
}
.sub-apps {
  margin-top: 18px;
}
