.product-showcases { background: #f8faff; padding: 100px 0 120px; }
.product-showcases > .container { max-width: 1100px; }
.product-showcases .product-section-heading { margin-bottom: 64px; }
.product-showcase { padding: 64px 0; border-bottom: 0; gap: 72px; }
.product-showcase.showcase-single { max-width: 960px; margin-inline: auto; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; }
.product-showcase.showcase-single:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
.product-showcase.showcase-pair { grid-template-columns: minmax(0, 564px) minmax(0, 1fr); gap: 88px; }
.product-showcase.showcase-pair:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 564px); }
.showcase-images { min-height: 0; align-items: flex-start; justify-content: flex-start; background: transparent; border: 0; border-radius: 0; padding: 0; gap: 36px; }
.showcase-single:nth-of-type(even) .showcase-images { justify-content: flex-end; }
.showcase-pair .prototype-trigger:nth-child(2) { margin-top: 80px; }
.showcase-copy h3 { font-size: 26px; margin-top: 0; }
.showcase-copy ul { gap: 22px; }
.product-showcase.showcase-workstation, .product-showcase.showcase-workstation:nth-of-type(even) { grid-template-columns: 1fr; gap: 36px; }
.showcase-workstation .showcase-copy { max-width: 960px; order: 0; }
.showcase-workstation .showcase-figure { order: 1; }
.showcase-workstation .showcase-images { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 32px; }
.showcase-workstation .prototype-trigger.prototype-phone { width: 200px; justify-self: center; }
.showcase-workstation .showcase-copy ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; }
.prototype-trigger {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
.prototype-trigger.prototype-phone { width: 264px; flex: 0 1 264px; }
.showcase-wide { align-items: center; }
.showcase-stack { align-items: stretch; }
.prototype-frame { display: block; width: 100%; }
.prototype-label { display: none; }
.prototype-phone .prototype-frame { padding: 7px; border-radius: 32px; background: #343a3a; box-shadow: 0 8px 22px #263d4712; }
.prototype-phone .prototype-viewport { border-radius: 25px; box-shadow: none; }
.prototype-viewport {
  display: block;
  position: relative;
  aspect-ratio: var(--view-ratio);
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px #dbe7e1, 0 12px 28px #214b3c12;
}
.prototype-viewport img {
  position: absolute;
  top: var(--raster-top);
  left: var(--raster-left);
  width: var(--raster-width);
  height: auto;
  max-width: none;
  max-height: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.prototype-artwork .prototype-viewport { box-shadow: none; border-radius: 0; }
.prototype-trigger:focus-visible { outline: 3px solid #087d6b; outline-offset: 8px; border-radius: 30px; }
.prototype-trigger:hover .prototype-frame { outline: 2px solid #3eceb6; outline-offset: 3px; }
.prototype-preview {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #dbe7e1;
  border-radius: 18px;
  color: #153f37;
  background: #f2f8f5;
}
.prototype-preview::backdrop { background: #102e27b8; }
.prototype-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; position: sticky; top: 0; z-index: 1; background: #fff; padding: 16px 24px; border-bottom: 1px solid #dbe7e1; }
.prototype-preview-heading h2 { margin: 0; font-size: 18px; line-height: 1.6; }
.prototype-close { flex-shrink: 0; min-height: 44px; padding: 8px 14px; border: 1px solid #bfd8cd; border-radius: 8px; background: #fff; color: #153f37; cursor: pointer; font: inherit; }
.prototype-close:focus-visible { outline: 3px solid #087d6b; outline-offset: 3px; }
.prototype-preview-content { padding: 28px; }
.prototype-preview-content .prototype-frame { width: min(var(--source-width), 100%); margin: auto; }
.prototype-preview-content .prototype-label { display: none; }
html:has(.prototype-preview[open]) { overflow: hidden; }
@media(max-width:1100px) and (min-width:701px) {
  .product-showcase.showcase-pair, .product-showcase.showcase-pair:nth-of-type(even) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
  .product-showcase.showcase-pair:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .product-showcase.showcase-single { grid-template-columns: minmax(0, 264px) minmax(0, 1fr); gap: 48px; }
  .product-showcase.showcase-single:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 264px); }
  .showcase-images { gap: 24px; }
}
@media(max-width:700px) {
  .product-showcases { padding: 56px 0 64px; }
  .product-showcases .product-section-heading { margin-bottom: 32px; }
  .product-showcase, .product-showcase.showcase-single, .product-showcase.showcase-single:nth-of-type(even), .product-showcase.showcase-pair, .product-showcase.showcase-pair:nth-of-type(even) { grid-template-columns: 1fr; gap: 36px; padding: 36px 0; }
  .showcase-images, .showcase-single:nth-of-type(even) .showcase-images { justify-content: center; gap: 16px; }
  .showcase-single .prototype-trigger.prototype-phone { width: 240px; flex-basis: 240px; }
  .showcase-pair .prototype-trigger:nth-child(2) { margin-top: 42px; }
  .prototype-phone .prototype-frame { padding: 5px; border-radius: 24px; }
  .prototype-phone .prototype-viewport { border-radius: 19px; }
  .showcase-copy h3 { font-size: 23px; }
  .showcase-copy ul { gap: 14px; }
  .showcase-workstation .showcase-images { grid-template-columns: 1fr; gap: 28px; }
  .showcase-workstation .prototype-trigger.prototype-phone { width: 240px; }
  .showcase-workstation .showcase-copy ul { grid-template-columns: 1fr; }
  .prototype-preview-heading { padding: 10px 14px; gap: 12px; }
  .prototype-preview-heading h2 { font-size: 16px; }
  .prototype-preview-content { padding: 16px; }
}
.companion-hero-screens { position: relative; isolation: isolate; width: 100%; max-width: 540px; aspect-ratio: 3 / 2; margin-inline: auto; background: radial-gradient(circle at 85% 21%, #ebf9f6 0 14%, transparent 14.3%), radial-gradient(circle at 18% 72%, #e6f7f2 0 22%, transparent 22.3%), #fff; }
.companion-hero-screens::before { content: ''; position: absolute; width: 12%; height: 16%; right: 6%; top: 46%; background: radial-gradient(#d4f1e9 1.5px, transparent 2px) 0 0 / 10px 10px; }
.companion-hero-screens::after { content: ''; position: absolute; inset: auto 13% 3%; height: 5%; border-radius: 50%; background: #4b626333; filter: blur(7px); z-index: -1; }
.companion-hero-screens .prototype-trigger.prototype-phone { position: absolute; width: 31%; max-width: none; left: 19%; top: 5%; z-index: 1; }
.companion-hero-screens .prototype-trigger:nth-child(2) { width: 29%; left: auto; right: 17%; top: auto; bottom: 6%; z-index: 2; }
.companion-hero-screens .prototype-phone .prototype-frame { padding: 5px; border: 2px solid #454c50; border-radius: 22px; background: linear-gradient(115deg, #4a5157, #101619 45%, #353b40); box-shadow: inset 0 0 0 1px #a3abae, 0 7px 10px #21313926; }
.companion-hero-screens .prototype-phone .prototype-viewport { border-radius: 15px; }
.companion-hero-screens .prototype-viewport img { aspect-ratio: auto; }
@media (max-width: 700px) {
  .companion-hero-screens { max-width: 270px; }
  .companion-hero-screens .prototype-phone .prototype-frame { padding: 3px; border-width: 1px; border-radius: 12px; }
  .companion-hero-screens .prototype-phone .prototype-viewport { border-radius: 8px; }
  .companion-hero-screens::after { filter: blur(4px); }
}
