/* Desktop store choice: the original CTA separates into two native store links. */
body .hero-store-access {
  --store-options-width: 392px;
  min-height: 68px;
  width: min(142px, calc(100vw - 40px));
  overflow: visible;
}

body .hero-store-access .hero-access-shell {
  width: 142px !important;
  height: 68px;
  overflow: visible;
  transition: width 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

body .hero-store-access.is-store-expanded .hero-access-shell {
  width: var(--store-options-width) !important;
}

body .hero-store-access .hero-access-button {
  width: 100%;
  height: 100%;
  padding: 0 24px;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  transition: opacity 170ms ease, transform 340ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease, box-shadow 180ms ease;
}

body .hero-store-access .hero-access-button::before,
body .hero-store-access .hero-access-button::after,
body .hero-store-access .hero-access-field,
body .hero-store-access .hero-download,
body .hero-store-access .hero-access-helper {
  display: none !important;
}

body .hero-store-access .hero-access-button:hover,
body .hero-store-access .hero-access-button:focus-visible {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 2px 4px rgba(255, 255, 255, 0.76);
  transform: translateY(-1px) !important;
  outline: none;
}

body .hero-store-access .hero-access-button:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), inset 0 1px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(1px) scale(0.98) !important;
}

body .hero-store-access.is-store-expanded .hero-access-button {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.88) !important;
  transition-delay: 0ms, 0ms, 0ms, 0ms;
}

body .hero-store-options {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  width: var(--store-options-width);
  height: 68px;
  grid-template-columns: 174px 202px;
  gap: 16px;
  pointer-events: none;
  transform: translateX(-50%);
}

body .hero-store-option {
  box-sizing: border-box;
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  color: #68605B;
  font: 500 22px/27px Inter, sans-serif;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  background: rgba(0, 0, 0, 0.004);
  border: 0;
  border-radius: 32px;
  box-shadow: -1px 1px 2.5px rgba(0, 0, 0, 0.25), inset 0 -1px 8.6px rgba(0, 0, 0, 0.1);
  filter: blur(1px);
  transition: opacity 250ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body .hero-store-option--ios { transform: translateX(109px) scale(0.88); }
body .hero-store-option--android { transform: translateX(-95px) scale(0.88); }

body .hero-store-access.is-store-expanded .hero-store-options {
  pointer-events: auto;
}

body .hero-store-access.is-store-expanded .hero-store-option {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) scale(1);
}

body .hero-store-access.is-store-expanded .hero-store-option--ios { transition-delay: 65ms; }
body .hero-store-access.is-store-expanded .hero-store-option--android { transition-delay: 85ms; }

body .hero-store-option:hover,
body .hero-store-option:focus-visible {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 2px 4px rgba(255, 255, 255, 0.76);
  outline: none;
}

body .hero-store-access.is-store-expanded .hero-store-option:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), inset 0 1px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(1px) scale(0.98);
}

body .hero-store-icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

body .hero-store-icon--apple {
  width: 20px;
  height: 24px;
}

body .hero-store-icon--android {
  width: 24px;
  height: 24px;
}

@media (max-width: 409px) {
  body .hero-store-access { --store-options-width: calc(100vw - 32px); }

  body .hero-store-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body .hero-store-option {
    min-width: 0;
    padding: 20px 10px;
    font-size: 18px;
    line-height: 22px;
  }

  body .hero-store-option--ios { transform: translateX(75px) scale(0.88); }
  body .hero-store-option--android { transform: translateX(-75px) scale(0.88); }
}

@media (prefers-reduced-motion: reduce) {
  body .hero-store-access .hero-access-shell,
  body .hero-store-access .hero-access-button,
  body .hero-store-option {
    transition: none;
  }
}
