/* Device frames. Each screen shows a real capture at its own proportions: width is set
   and height follows from the image, so nothing is stretched. Light and dark captures
   swap with the visitor's theme through <picture>. */
:root { --bezel: #1b1d19; --bezel-edge: #3a3f36; --stand: #c9cdc3; --stand-2: #aeb3a7; --device-shadow: 0 18px 44px rgb(45 55 35 / .18); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bezel: #2b2f28; --bezel-edge: #4a5044; --stand: #3a3f36; --stand-2: #2b2f28; --device-shadow: 0 18px 44px rgb(0 0 0 / .45); }
}
picture { display: block; }
.mac, .phone { display: block; flex: none; }
.mac img, .phone img { width: 100%; height: auto; }
.mac { width: 100%; }
.mac-body { background: var(--bezel); box-shadow: 0 0 0 1px var(--bezel-edge), var(--device-shadow); padding: 1.3% 1.3% 1.6%; border-radius: 12px; }
.mac-body picture, .mac-body img { border-radius: 4px; overflow: hidden; }
.mac-neck { width: 15%; aspect-ratio: 5 / 2; margin: 0 auto; background: linear-gradient(var(--stand-2), var(--stand)); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.mac-foot { width: 26%; aspect-ratio: 40 / 1; margin: 0 auto; background: var(--stand); border-radius: 3px 3px 6px 6px; }
.phone { width: 260px; }
.phone-body { position: relative; background: var(--bezel); box-shadow: 0 0 0 1px var(--bezel-edge), var(--device-shadow); padding: 3.2%; border-radius: 15% / 7%; }
.phone-body img { border-radius: 12.6% / 5.9%; }
.phone-body.island::after { content: ""; position: absolute; top: 2.9%; left: 50%; width: 28%; height: 2.5%; transform: translateX(-50%); background: #0b0c0a; border-radius: 999px; }
.duo { position: relative; padding-right: 9%; padding-bottom: 2%; }
.duo .phone { position: absolute; right: 0; bottom: 0; width: 24%; }
