/* Product screens use the same glass and intrinsic proportions as the home hero. */
main figure.app-preview-phone:not(.hero-phone) {
  display: grid;
  place-items: center;
  aspect-ratio: 476 / 977;
}
main figure.app-preview-phone:not(.hero-phone) > .hero-phone-screen,
main .wallet-landing-preview > .hero-phone-screen {
  display: block;
  box-sizing: border-box;
  width: 94%;
  overflow: hidden;
  border: 3px solid #303238;
  border-radius: 12% / 5.625%;
  outline: 1px solid #74777b;
  background: #24262d;
}
main .wallet-landing-preview > .hero-phone-screen {
  width: min(100%, 230px);
  filter: drop-shadow(0 8px 12px #15252d28);
}
@media (max-width: 767px) {
  main .wallet-landing-preview > .hero-phone-screen { width: min(100%, 185px); }
}
main .desktop-hero-phones figure.app-preview-phone > .hero-phone-screen { border-width: 1px; }
/* The extension already has its own window border. */
main .extension-panel > .hero-phone-screen { display: block; }
main :is(.app-preview-phone, .wallet-landing-preview, .extension-panel) .hero-phone-screen > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 15 / 32;
  margin: 0;
  object-fit: contain;
}
