/* Device silhouettes stay outside the source image and never cover its controls. */
.hardware-stage{box-sizing:border-box;width:100%;padding:16px;background:#f5f6f7;border-radius:20px}
.hardware-device{position:relative;box-sizing:content-box;width:calc(100% - 16px);margin:0 auto;border:6px solid #35433f;background:#35433f;box-shadow:0 8px 20px #182f2512}
.hardware-screen{display:block;width:100%;overflow:hidden;background:#fff}
.hardware-phone .hardware-device{max-width:280px;border-radius:30px;padding:12px 0}
.hardware-phone .hardware-screen{border-radius:18px}
.hardware-phone .hardware-device::before{content:"";position:absolute;width:30px;height:3px;left:50%;top:3px;transform:translateX(-50%);background:#82908b;border-radius:3px}
.hardware-phone .hardware-device::after{content:"";position:absolute;width:40px;height:3px;left:50%;bottom:3px;transform:translateX(-50%);background:#82908b;border-radius:3px}
.hardware-tablet .hardware-device{max-width:840px;border-radius:22px;padding:10px 0}
.hardware-tablet .hardware-screen{border-radius:10px}
.hardware-tablet .hardware-device::before{content:"";position:absolute;width:4px;height:4px;left:50%;top:2px;transform:translateX(-50%);border-radius:50%;background:#82908b}
.hardware-web .hardware-device,.hardware-pc .hardware-device{max-width:960px;border-color:#42494d;background:#42494d;border-radius:12px;padding-bottom:10px}
.hardware-web .hardware-screen,.hardware-pc .hardware-screen{border-radius:6px}
.hardware-foot{display:none}
.hardware-web .hardware-foot,.hardware-pc .hardware-foot{display:block;position:relative;width:32%;height:6px;margin:23px auto 0;border-radius:6px;background:#90989d}
.hardware-web .hardware-foot::before,.hardware-pc .hardware-foot::before{content:"";position:absolute;bottom:6px;left:38%;width:24%;height:24px;background:#bac0c4}
.hardware-stage .guide-video,.hardware-stage .demo-image{display:block;width:100%;max-width:100%;margin:0;border-radius:0}
@media(min-width:700px){.hardware-stage{padding:16px;border-radius:24px}}
.step-demo .demo-device.hardware-stage{width:100%;max-width:none;border:0;padding:16px;background:#f5f6f7;border-radius:20px;box-shadow:none}
.hardware-stage .demo-screen{padding:0;border-radius:0}
.hardware-stage .screenshot-button .product-screenshot,.hardware-stage .device-tablet .product-screenshot{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.real-recording .recording-window.hardware-stage{padding:16px;background:#f5f6f7;border:0;border-radius:20px;max-width:none}
.real-recording .hardware-stage video{display:block;width:100%;height:auto;max-width:100%;max-height:none;border-radius:0;margin:0}
.hardware-phone.hardware-landscape .hardware-device{max-width:840px;border-radius:24px;padding:0 12px}
.hardware-phone.hardware-landscape .hardware-screen{border-radius:12px}
.hardware-phone.hardware-landscape .hardware-device::before{width:3px;height:30px;left:3px;top:50%;transform:translateY(-50%)}
.hardware-phone.hardware-landscape .hardware-device::after{width:3px;height:40px;left:auto;right:3px;top:50%;bottom:auto;transform:translateY(-50%)}
