/* Authentic product captures. Outer sections, cards and their radii are retained. */
.real-capture-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  color: #0a0a0a;
  text-align: left;
  border-radius: inherit;
  cursor: zoom-in;
}
.real-capture-button:focus-visible {
  outline: 3px solid #0a0a0a;
  outline-offset: -3px;
}
.real-capture-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.real-product-picture,
.real-phone-visual,
.hr-illustration-picture {
  position: relative;
  overflow: hidden;
}
.real-capture-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #525252;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .01em;
  pointer-events: none;
}
.real-hero-device .real-capture-button { overflow: hidden; }
.real-hero-device .real-capture-image { width: 100%; }
.real-hero-panel .real-hero-device { background: #fff; }
.real-hero-caption {
  padding: 6px 9px;
  background: #fff;
  color: #525252;
  border: 1px solid #d4d4d4;
  text-shadow: none;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .01em;
  max-width: calc(100% - 44px);
  pointer-events: none;
}
.real-planning-picture .real-capture-button { min-width: 660px; }
.real-email-picture .real-capture-button { min-width: 630px; }
.real-email-picture .real-capture-image {
  height: 310px;
  object-fit: cover;
  object-position: right bottom;
}
.real-phone-frame {
  position: absolute;
  top: 32px;
  left: 32px;
  width: calc(100% - 32px);
  min-width: 0;
  border: 2px solid #0a0a0a;
  background: #fff;
  box-shadow: 5px 5px 0 #0a0a0a;
}
.real-phone-frame .real-capture-image { height: 310px; object-fit: cover; object-position: right top; }
.real-phone-visual .real-capture-caption { left: 18px; }
.real-payment-frame,
.real-operations-frame {
  overflow: hidden;
  border: 2px solid #0a0a0a;
  border-right: 0;
  border-bottom: 0;
  background: #fff;
}
.real-payment-frame .real-capture-button { min-width: 630px; }
.real-operations-frame .real-capture-button { min-width: 650px; }
.real-payment-picture .real-capture-caption,
.real-housekeeping-picture .real-capture-caption,
.hr-illustration-picture .real-capture-caption { left: 52px; }
.real-demo-view {
  margin: 0;
  padding: 0;
  background: #fff;
}
.real-demo-view .real-capture-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.real-demo-caption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid #d4d4d4;
  background: #f4f4f4;
  color: #525252;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}
.real-illustration-caption { text-align: left; }
@media (max-width: 1023px) {
  .real-phone-frame { top: 28px; left: 28px; width: calc(100% - 28px); }
}
@media (max-width: 760px) {
  .real-planning-picture .real-capture-button,
  .real-email-picture .real-capture-button,
  .real-payment-frame .real-capture-button,
  .real-operations-frame .real-capture-button { min-width: 560px; }
  .real-email-picture .real-capture-image { height: 280px; }
  .real-phone-frame .real-capture-image { height: 300px; }
  .real-capture-caption { font-size: 7px; padding: 5px 7px; bottom: 8px; }
  .real-payment-picture .real-capture-caption,
  .real-housekeeping-picture .real-capture-caption,
  .hr-illustration-picture .real-capture-caption { left: 37px; max-width: calc(100% - 49px); }
  .real-hero-caption { font-size: 6px; padding: 4px 6px; max-width: calc(100% - 32px); }
  .real-demo-caption { font-size: 8px; padding: 11px 12px; }
  .real-demo-view { overflow-x: auto; }
  .real-demo-view .real-capture-image { min-width: 720px; }
}

/* Static hero interfaces with the same corner radius as the hero cards. */
.hero { --hero-corner-radius: 6px; }
.hero-copy,
.hero-showcase,
.hero-showcase .showcase-device { border-radius: var(--hero-corner-radius); }
.hero-showcase .showcase-device,
.hero-panel.active .showcase-device { animation: none; transform: none; }
.hero-showcase .real-hero-device {
  left: 32px;
  width: calc(100% - 64px);
  max-height: calc(100% - 124px);
}
.real-hero-device .real-capture-button { border-radius: inherit; }
.real-hero-device .real-capture-image { width: 880px; min-width: 100%; }
@media (max-width: 1279px) {
  .real-hero-device .real-capture-image { width: 760px; }
}
@media (max-width: 1023px) {
  .hero-showcase .real-hero-device { left: 6%; width: 88%; max-height: 78%; }
  .real-hero-device .real-capture-image { width: 150%; }
}
@media (max-width: 760px) {
  .hero-showcase .real-hero-device { max-height: 76%; }
}
