/* Exact supplied 1536 × 2752 studio photograph, composited by the browser.
   The SVG mask reveals only its hardware and original camera island.
   Geometry comes from Frame-Geometry.json; app captures remain unchanged. */
body.product-home :is(.device.device, .iphone-film.iphone-film) {
  --screen-left: 5.361702%;
  --screen-top: 2.205576%;
  --screen-width: 89.361702%;
  --screen-height: 95.380774%;
  position: relative;
  display: block;
  box-sizing: border-box;
  aspect-ratio: 1175 / 2403;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 18% / 8.8%;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  filter: drop-shadow(0 14px 20px #0005);
}

body.product-home :is(.device.device, .iphone-film.iphone-film)::before,
body.product-home .iphone-film .iphone-island {
  display: none;
}

body.product-home :is(.device.device, .iphone-film.iphone-film)::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: url("assets/iphone-studio-optimized.webp") 49.861496% 52.148997% / 130.723404% 114.523512% no-repeat;
  box-shadow: none;
  mask: url("assets/iphone-studio-mask.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/iphone-studio-mask.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

body.product-home :is(.device.device, .iphone-film.iphone-film) > img,
body.product-home .today-film .iphone-film.iphone-film > video {
  position: absolute;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  aspect-ratio: auto;
  border-radius: 15% / 6.85%;
  object-fit: fill;
  display: block;
}

/* Preserve the complete video, including its original portrait framing. */
body.product-home .today-film .iphone-film.iphone-film > video {
  object-fit: contain;
  background: #000;
}

/* Both interactive states occupy precisely the same screen aperture. */
body.product-home .plany-preview,
body.product-home .partner-copy {
  min-width: 0;
}

body.product-home .device.task-demo-phone > .task-after,
body.product-home .device.plany-preview-phone > .plany-draft {
  inset: auto;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
}

/* Native Pro toolbar pixels keep the original recorded conversation unobstructed. */
body.product-home .native-pro-header{position:absolute;z-index:2;left:var(--screen-left);top:calc(var(--screen-top) + var(--screen-height)*.06);width:var(--screen-width);height:calc(var(--screen-height)*.075);overflow:hidden;pointer-events:none}
body.product-home .native-pro-header>img{position:relative;inset:auto;display:block;width:100%;height:auto;max-width:none;border-radius:0;object-fit:fill;transform:translateY(-6%)}

/* Reuse the selected calendars screenshot without displaying its older hardware twice. */
body.product-home .native-calendar-screen{position:absolute;left:var(--screen-left);top:var(--screen-top);width:var(--screen-width);height:var(--screen-height);border-radius:15% / 6.85%;overflow:hidden}
body.product-home .native-calendar-screen>img{position:absolute;display:block;max-width:none;width:114.72%;height:106.086%;left:-7.299%;top:-3.015%;object-fit:fill}
