/* Shared by the marketing download page and Settings › Apps. */
.dl-device-artwork {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px;
}

/* A light take on the MCP card: periwinkle with a soft peach haze. */
.dl-art.haze { background: radial-gradient(70% 80% at 18% 12%, #fbe3d4 0%, rgba(251, 227, 212, 0) 60%), radial-gradient(80% 90% at 88% 90%, #a9b2e2 0%, rgba(169, 178, 226, 0) 65%), linear-gradient(150deg, #eef0fa, #cfd5f0); }
.dl-art.navy { background: radial-gradient(120% 120% at 30% 20%, #4a578f, #232a42); }

/* Phones: three screens that fan out */
.dl-phones { display: flex; align-items: flex-end; justify-content: center; gap: 0; width: 100%; margin-bottom: -96px; }
.dl-phone { width: min(172px, 35%); aspect-ratio: 390 / 844; padding: 5px; border-radius: 26px; background: #1c2133; box-shadow: 0 24px 40px rgba(28, 33, 51, 0.28); transition: transform 0.8s var(--ease, ease-out); }
.dl-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 21px; display: block; }
.dl-phone:nth-child(1) { margin-right: -14px; transform: translate(30px, 30px) rotate(-4deg); }
.dl-phone:nth-child(2) { transform: translateY(60px); z-index: 1; }
.dl-phone:nth-child(3) { margin-left: -14px; transform: translate(-30px, 30px) rotate(4deg); }
.seen .dl-phone:nth-child(1) { transform: translateY(24px) rotate(-4deg); }
.seen .dl-phone:nth-child(2) { transform: translateY(-10px); }
.seen .dl-phone:nth-child(3) { transform: translateY(24px) rotate(4deg); }
:is(.dl-card, .dl-device-artwork):hover .dl-phone:nth-child(2) { transform: translateY(-22px); }
.seen .dl-phone { transition-delay: 0.1s; }
.seen .dl-phone:nth-child(2) { transition-delay: 0.2s; }

/* Mac */
.dl-mac { width: 92%; transform: translateY(16px); opacity: 0.9; transition: transform 0.9s var(--ease, ease-out), opacity 0.9s; }
.seen .dl-mac { transform: none; opacity: 1; }
.dl-mac-screen { padding: 7px; border-radius: 12px; background: #11141f; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.dl-mac-screen img { width: 100%; display: block; border-radius: 6px; }
.dl-mac-stand { width: 22%; height: 40px; margin: 0 auto; background: linear-gradient(#c9c6c0, #a9a59e); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }

/* Settings renders the final state immediately, so start its entrance on mount. */
@starting-style {
  .dl-device-artwork.seen .dl-mac { transform: translateY(16px); opacity: 0.9; }
  .dl-device-artwork.seen .dl-phone:nth-child(1) { transform: translate(30px, 48px) rotate(-4deg); }
  .dl-device-artwork.seen .dl-phone:nth-child(2) { transform: translateY(60px); }
  .dl-device-artwork.seen .dl-phone:nth-child(3) { transform: translate(-30px, 48px) rotate(4deg); }
}

@media (max-width: 600px) {
  .dl-device-artwork { padding: 28px 20px; }
  .dl-phones { gap: 8px; margin-bottom: -40px; }
  .dl-phone { width: min(104px, 33%); border-radius: 18px; padding: 4px; }
  .dl-phone img { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-mac, .dl-phone { transition: none; }
}
