.macbook{position:relative;width:100%;aspect-ratio:1.7;isolation:isolate;container-type:inline-size}
.macbook::after{content:"";position:absolute;z-index:0;left:8%;right:8%;bottom:-1%;height:3%;border-radius:50%;background:rgb(18 28 44 / .2);filter:blur(10px)}
.macbook-lid{position:absolute;left:4.4%;top:0;width:91.2%;aspect-ratio:1036 / 635;overflow:hidden;border-radius:2.6cqw 2.6cqw .8cqw .8cqw;z-index:1;transform:perspective(100cqw) rotateX(7deg) scaleX(.97);background:linear-gradient(145deg,#73777c 0%,#3a3d42 20%,#181b20 56%,#53585e 100%);box-shadow:inset 0 0 0 1px #282b30}
.macbook-lid::before{content:"";position:absolute;inset:2px;border-radius:calc(2.6cqw - 2px) calc(2.6cqw - 2px) .7cqw .7cqw;background:linear-gradient(110deg,#0c0e11,#07090c 46%,#101216);box-shadow:inset 0 0 0 1px #191c21}
.macbook-hardware{display:none}
.macbook-base{position:absolute;left:0;bottom:0;width:100%;height:5.3%;overflow:hidden;border-radius:2px 2px 24% 24% / 4% 4% 44% 44%;z-index:4;background:linear-gradient(180deg,#ffffff16,transparent 22%,#080a0d50 85%,#0d1014 100%),linear-gradient(90deg,#22252a 0%,#62676d 1%,#444950 5%,#3b4047 24%,#484d54 50%,#3c4148 76%,#5c6168 97%,#272b30 100%);box-shadow:inset 0 1px 0 #8a8e9466,inset 0 -1px 0 #15181c}
.macbook-base::before{content:"";position:absolute;left:40%;top:0;width:20%;height:42%;border-radius:0 0 12% 12% / 0 0 65% 65%;background:linear-gradient(180deg,#23272c,#50555b);box-shadow:inset 1px 0 2px #16191d66,inset -1px 0 2px #16191d66,0 1px 0 #777d8466}
.macbook-base::after{content:"";position:absolute;left:8%;right:8%;bottom:1px;height:1px;background:linear-gradient(90deg,transparent,#737a8255,transparent)}
.macbook-screen{position:absolute;left:1.93%;top:3.15%;width:96.14%;height:89.76%;overflow:hidden;border-radius:1.5% 1.5% .3% .3%;background:#111b2e}
.screen-content{position:absolute;inset:0;width:100%;height:100%}
.screen-content video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.macbook-notch{position:absolute;z-index:4;top:0;left:45.5%;width:9%;height:3.4%;border-radius:0 0 9px 9px;background:#08090b;pointer-events:none}
.macbook-notch::after{content:"";position:absolute;left:48%;top:21%;width:5%;aspect-ratio:1;border-radius:50%;background:#171d26;box-shadow:inset 0 0 1px #476279}
