/* Desktop: phone left, heading and copy right. Mobile: heading, phone, copy. */
.intro-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "phone heading" "phone copy";
  grid-template-rows: 1fr 1fr;
  column-gap: var(--spacing-12);
  row-gap: var(--spacing-6);
  align-items: center;
}
.intro-heading {grid-area:heading;align-self:end;min-width:0;}
.intro-copy {grid-area:copy;align-self:start;padding-top:0;min-width:0;}
.intro-demo {position:relative;isolation:isolate;grid-area:phone;width:min(100%,360px);justify-self:center;line-height:0;}
.intro-demo iframe {display:block;width:100%;aspect-ratio:456/856;border:0;background:transparent;pointer-events:none;}
/* Catch gestures in the landing document, above the iframe's composited surface.
   Native page scrolling and pinch zoom stay available; the film is never a target. */
.intro-demo-surface {position:absolute;inset:0;z-index:1;touch-action:pan-y pinch-zoom;pointer-events:auto;}
@media (max-width:760px) {
  .intro-section {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"heading" "phone" "copy";
    grid-template-rows:auto auto auto;
    gap:var(--spacing-8);
  }
  .intro-demo {width:100%;}
}
