/* Official localized App Store badge plus an inactive Android placeholder. */
.store-badges {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: nowrap;
}

.app-store-badge-link,
.android-store-coming-soon {
  width: clamp(150px, 15vw, 190px);
  aspect-ratio: 108.85157 / 40;
  box-sizing: border-box;
  border-radius: 9px;
}

.app-store-badge-link {
  display: inline-block;
  flex: 0 0 auto;
  line-height: 0;
  transition: transform .2s ease, filter .2s ease;
}

.app-store-badge-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 22px rgba(72, 31, 53, .28));
}

.app-store-badge-link:focus-visible {
  outline: 3px solid rgba(241, 84, 111, .5);
  outline-offset: 4px;
}

.app-store-badge-link > img {
  display: block;
  width: 100%;
  height: 100%;
}

.android-store-coming-soon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, .7vw, 10px);
  padding: 7px 13px;
  border: 1px solid #a6a6a6;
  background: #000;
  color: #fff;
  font-family: var(--f-round), "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
  cursor: default;
  user-select: none;
  opacity: .82;
}

.android-store-coming-soon > img {
  width: clamp(25px, 2.35vw, 34px);
  height: auto;
  flex: 0 0 auto;
}

.android-store-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  white-space: nowrap;
}

.android-store-copy small {
  font-size: clamp(8px, .7vw, 10px);
  font-weight: 500;
  letter-spacing: .04em;
}

.android-store-copy strong {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: .02em;
}

#cta .store-badges {
  justify-content: center;
}

#cta .app-store-badge-link,
#cta .android-store-coming-soon {
  width: clamp(160px, 16vw, 200px);
}

@media (max-width: 520px) {
  .store-badges {
    width: min(100%, 328px);
    margin-inline: auto;
    justify-content: center;
    gap: 8px;
  }

  .app-store-badge-link,
  .android-store-coming-soon,
  #cta .app-store-badge-link,
  #cta .android-store-coming-soon {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 160px;
  }

  .android-store-coming-soon {
    padding: 6px 9px;
    gap: 6px;
  }

  .android-store-copy {
    gap: 3px;
  }

  .android-store-copy strong {
    font-size: clamp(13px, 4vw, 17px);
  }
}
