/* Keep the phone and its leaning mascot in one responsive composition.
   Transparent padding in the cutout places the right shoulder at the phone edge. */
.home-hero .mock.mock--with-mascot {
  width: min(100%, 440px);
  max-width: none;
  isolation: isolate;
}

.mock--with-mascot .mock-img {
  position: relative;
  width: 70%;
  margin-left: 30%;
  z-index: 0;
}

.mock--with-mascot .mock-mascot {
  position: absolute;
  left: -6%;
  bottom: 0;
  z-index: 1;
  display: block;
  width: 50%;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 10px #00000026);
}

@media (max-width: 700px) {
  .home-hero .mock.mock--with-mascot {
    width: min(calc(100% - 16px), 354px);
  }
}
