.brand-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
}

.store-buttons {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  width: 225px;
  min-height: 80px;
  padding: 10px 16px;
  border-radius: 15px;
  text-decoration: none;
  line-height: 1;
}

.store-card--google {
  border: 1px solid #415064;
  background: #202c3d;
  color: #fff;
  box-shadow: 0 8px 22px rgba(18, 39, 60, .1);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.store-card--google:hover {
  transform: translateY(-2px);
  border-color: #70839c;
  box-shadow: 0 13px 27px rgba(18, 39, 60, .17);
}

.store-card--apple {
  border: 1px solid #d0dce7;
  background: #fff;
  color: #102337;
  box-shadow: 0 8px 22px rgba(18, 39, 60, .05);
  cursor: default;
}

.store-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
}

.store-card__icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

.store-card--apple .store-card__icon svg {
  width: 27px;
  height: 27px;
}

.store-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 2px;
}

.store-card__overline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .9;
}

.store-card__brand {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.05;
  white-space: nowrap;
}

.store-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 12px;
  margin-top: 2px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.store-card__stars {
  color: #facc15;
  font-size: 11px;
  letter-spacing: -.1em;
}

.store-card__rating-value {
  color: #e5ecf3;
  font-size: 10px;
  font-weight: 700;
}

.store-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
  padding: 2px 7px;
  border: 1px solid rgba(251, 191, 36, .28);
  border-radius: 100px;
  background: rgba(251, 191, 36, .13);
  color: #fff1bf;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.store-card__pill--soon {
  border-color: #d7e1e9;
  background: #f3f6f8;
  color: #526578;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.store-card--nav {
  width: 172px;
  min-height: 62px;
  padding: 7px 10px;
  gap: 7px;
  margin-right: -4px;
}

.store-card--nav .store-card__icon,
.store-card--nav .store-card__icon svg { width: 25px; height: 25px; }
.store-card--nav .store-card__overline { font-size: 9px; }
.store-card--nav .store-card__brand { font-size: 18px; }
.store-card--nav .store-card__stars { font-size: 10px; }
.store-card--nav .store-card__rating-value { font-size: 9px; }

.store-buttons--hero .store-card {
  width: 234px;
  min-height: 84px;
}

.hero-how-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}
.hero-how-link:hover { text-decoration: underline; }

.store-buttons--final { flex: none; }
.store-buttons--final .store-card { width: 198px; min-height: 76px; padding: 9px 12px; gap: 8px; }
.store-buttons--final .store-card__brand { font-size: 20px; }

.store-buttons--side { flex-direction: column; gap: 10px; }
.store-buttons--side .store-card,
.store-card--side-single { width: 100%; min-height: 72px; padding: 8px 13px; }
.store-card--side-single { margin-top: 14px; }

.floating-install[hidden] { display: none; }
.floating-install {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(760px, calc(100% - 32px));
  min-height: 82px;
  padding: 9px 12px;
  border: 1px solid #d6e2e9;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(16, 35, 55, .2);
}

.floating-app-icon { display: block; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.floating-install-copy { min-width: 0; }
.floating-install-copy strong { display: block; color: var(--ink); font-size: 14px; white-space: nowrap; }
.floating-install-copy span { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; }
.store-buttons--floating { gap: 8px; margin-left: auto; flex: none; }
.store-buttons--floating .store-card { width: 166px; min-height: 62px; padding: 7px 10px; gap: 7px; border-radius: 12px; }
.store-buttons--floating .store-card__icon,
.store-buttons--floating .store-card__icon svg { width: 24px; height: 24px; }
.store-buttons--floating .store-card--apple .store-card__icon svg { width: 21px; height: 21px; }
.store-buttons--floating .store-card__overline { font-size: 8px; }
.store-buttons--floating .store-card__brand { font-size: 17px; }
.store-buttons--floating .store-card__stars { font-size: 10px; }
.store-buttons--floating .store-card__rating-value { font-size: 9px; }
.store-buttons--floating .store-card__pill { font-size: 9px; padding: 1px 5px; }

.floating-install-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef3f5;
  color: #526578;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.floating-install-close:hover { background: #dce7eb; color: var(--ink); }
body.has-floating-install { padding-bottom: 100px; }

@media (max-width: 1050px) {
  .store-buttons--final .store-card { width: 180px; }
  .store-buttons--final .store-card__brand { font-size: 18px; }
}

@media (max-width: 650px) {
  .nav { gap: 8px; }
  .store-card--nav { width: 136px; min-height: 54px; padding: 5px 7px; gap: 4px; }
  .store-card--nav .store-card__icon,
  .store-card--nav .store-card__icon svg { width: 21px; height: 21px; }
  .store-card--nav .store-card__overline { font-size: 7px; }
  .store-card--nav .store-card__brand { font-size: 15px; }
  .store-card--nav .store-card__stars { font-size: 9px; }
  .store-card--nav .store-card__rating-value { font-size: 8px; }
  .store-buttons--hero { gap: 9px; }
  .store-buttons--hero .store-card { width: calc((100% - 9px) / 2); min-height: 75px; padding: 8px 10px; gap: 6px; }
  .store-buttons--hero .store-card__icon,
  .store-buttons--hero .store-card__icon svg { width: 23px; height: 23px; }
  .store-buttons--hero .store-card--apple .store-card__icon svg { width: 21px; height: 21px; }
  .store-buttons--hero .store-card__brand { font-size: 17px; }
  .store-buttons--hero .store-card__overline { font-size: 8px; }
  .store-buttons--hero .store-card__stars { font-size: 10px; }
  .store-buttons--hero .store-card__rating-value { font-size: 9px; }
  .store-buttons--final { flex-direction: column; gap: 10px; margin-top: 22px; }
  .store-buttons--final .store-card { width: 100%; }
  .floating-install { gap: 8px; min-height: 68px; width: calc(100% - 20px); bottom: max(10px, env(safe-area-inset-bottom)); padding: 7px 9px; border-radius: 15px; }
  .floating-app-icon, .floating-install-copy { display: none; }
  .store-buttons--floating { flex: 1; min-width: 0; margin-left: 0; }
  .store-buttons--floating .store-card { flex: 1; width: 0; min-width: 0; min-height: 53px; padding: 5px 7px; gap: 4px; }
  .store-buttons--floating .store-card__icon,
  .store-buttons--floating .store-card__icon svg { width: 20px; height: 20px; }
  .store-buttons--floating .store-card__brand { font-size: 15px; }
  .store-buttons--floating .store-card__overline { font-size: 7px; }
  .store-buttons--floating .store-card__stars { font-size: 9px; }
  .store-buttons--floating .store-card__rating-value { font-size: 8px; }
  .floating-install-close { width: 23px; height: 23px; font-size: 18px; }
}

@media (max-width: 390px) {
  .store-card--nav { width: 124px; min-height: 50px; }
  .store-card--nav .store-card__brand { font-size: 14px; }
  .store-buttons--floating .store-card { min-height: 50px; }
  .store-buttons--floating .store-card__brand { font-size: 14px; }
}

@media (max-width: 360px) {
  .store-buttons--hero { flex-direction: column; }
  .store-buttons--hero .store-card { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .store-card--google { transition: none; }
}
