/*
 * Shared download-section artwork.
 * This layer replaces only the legacy app image slots; section copy,
 * CTAs, spacing, and every unrelated image remain owned by page styles.
 */

.dashdrop-app-showcase {
  display: block;
  height: 700px;
  isolation: isolate;
  margin-inline: auto;
  margin-top: 0;
  max-width: 610px;
  overflow: visible;
  position: relative;
  width: 100%;
}

.app-phones .dashdrop-app-showcase {
  height: 100%;
  margin-top: 0;
  max-width: 560px;
}

:is(
  .careers-app-art,
  .leadership-app-art,
  .partners-app-art,
  .press-app-art,
  .transit-app-art
) .dashdrop-app-showcase {
  height: 650px;
  margin-top: 0;
  max-width: 560px;
}

.dashdrop-app-showcase__screen {
  display: block;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.28));
  height: auto;
  max-width: none;
  position: absolute;
  transform-origin: center;
}

.dashdrop-app-showcase__screen--home {
  clip-path: inset(0 5.7% 0 5.7% round 11% / 5.5%);
  left: -1%;
  top: 17%;
  transform: rotate(-4deg);
  width: 43%;
  z-index: 1;
}

.dashdrop-app-showcase__screen--courier {
  clip-path: inset(0 3% 0 3% round 11% / 5.5%);
  right: -1%;
  top: 10%;
  transform: rotate(4deg);
  width: 43%;
  z-index: 2;
}

.dashdrop-app-showcase__screen--rides {
  clip-path: inset(0 3.7% 0 3.7% round 11% / 5.5%);
  left: 25%;
  top: 1%;
  width: 50%;
  z-index: 3;
}

@media (max-width: 760px) {
  .dashdrop-app-showcase,
  :is(
    .careers-app-art,
    .leadership-app-art,
    .partners-app-art,
    .press-app-art,
    .transit-app-art
  ) .dashdrop-app-showcase {
    height: 440px;
    margin-top: 0;
    max-width: 390px;
  }

  .app-phones .dashdrop-app-showcase {
    height: 100%;
    max-width: 390px;
  }

  .dashdrop-app-showcase__screen--home {
    left: 0;
    top: 18%;
    width: 42%;
  }

  .dashdrop-app-showcase__screen--courier {
    right: 0;
    top: 12%;
    width: 42%;
  }

  .dashdrop-app-showcase__screen--rides {
    left: 24%;
    width: 52%;
  }
}
