#app .wearjoy-heading {
  display: flex;
  align-items: center;
  gap: .16em;
  font-size: clamp(3rem, 7.2vw, 8rem);
  letter-spacing: -.065em;
  margin-left: 0;
}

#app .wearjoy-heading img {
  flex: none;
  width: .86em;
  height: .86em;
}

#app .wearjoy-visual > img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(26rem, 43vw, 39rem);
}

#app .wearjoy-visual figcaption {
  justify-self: center;
}

/* Anchor the two screen surfaces to the original 920 × 765 device photograph. */
#app .wearjoy-platform {
  position: relative;
  aspect-ratio: 920 / 765;
  height: 100%;
  max-width: 100%;
}

#app .app-feature-art .wearjoy-platform img {
  width: 100%;
  height: 100%;
}

#app .wearjoy-platform::before,
#app .wearjoy-platform::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: #fdfdfd url("media/wearjoy-logo-20261130.png") no-repeat center;
}

#app .wearjoy-platform::before {
  inset: 3.4% 2.5% 35.9% 7.72%;
  background-size: 18% auto;
  /* Leave the handset in front of the lower-left corner of the monitor. */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%, 16% 65%, 15.5% 62%, 14.6% 60%, 13.2% 59%, 0 59%);
}

#app .wearjoy-platform::after {
  inset: 50% 80.5% 24% 2.4%;
  background-size: 51% auto;
}

@media (max-width: 660px) {
  #app .wearjoy-platform {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 760px) {
  #app .wearjoy-visual > img {
    max-height: 28rem;
  }
}
