/* Laptop mockup, adapted from the CodePen "16" MacBook Pro Responsive Mockup" by Devin David
   (codepen.io/devindavid/pen/poeaxEb, CodePen public pens are MIT licensed).
   Changes: a static screenshot instead of the live iframe, no wordmark under the screen, sized for the hero. */
.mbp-mockup-wrapper { position: relative; z-index: 2; width: min(960px, 92%); min-width: 300px; margin: 0 auto; display: flex; }
.mbp-container { position: relative; width: 100%; height: auto; padding-top: 58.6%; margin: 0 auto; box-sizing: border-box; }
.mbp-display { position: absolute; top: 0; left: 0; right: 0; display: block; width: 81.3%; height: 95.2%; margin: 0 auto;
  background-image: radial-gradient(#cfd0d1, #cfd0d1, #adadae); border: 1px solid #e5e7e9; border-radius: 3.1% / 4%; z-index: 1; box-sizing: border-box; }
.mbp-display .display-edge { display: block; position: relative; width: 99.37%; height: 99.25%; margin: .3% auto; z-index: 2; background-color: #262626; border-radius: 2.75% / 3.8%; }
.mbp-display .bezel { display: block; position: relative; width: 99.5%; height: 99.2%; margin: auto; top: .4%; border-radius: 2.8% / 3.2%; z-index: 3; background-color: #010101; }
.mbp-display .bezel::after { content: ""; display: none; position: absolute; right: .15%; top: .3%; width: 62.5%; height: 100%; pointer-events: none;
  background: linear-gradient(55deg, rgba(0, 0, 0, 0) 61%, rgba(242, 245, 248, .15) 61%); background-blend-mode: screen; border-top-right-radius: 3.5% 3%; z-index: 6; }
.mbp-display.with-glare .bezel::after { display: block; }
.mbp-display .display-camera { width: .62%; height: .95%; margin: 1% auto; left: 0; right: 0; position: absolute; border-radius: 50%; z-index: 5; background-color: #303132; }
.mbp-display .display-frame { display: block; position: absolute; width: 97.65%; height: 89.5%; margin: 0 auto; top: 3.5%; left: 0; right: 0; background-color: #151515; overflow: hidden; }
.mbp-display .display-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.mbp-display .below-display { display: flex; justify-content: center; position: absolute; width: 100%; height: 4.9%; bottom: .15%; z-index: 3;
  background-color: #212121; border-bottom-right-radius: 2.5% 70%; border-bottom-left-radius: 2.5% 70%; }
.mbp-keyboard { width: 99.75%; height: 7.6%; margin: 0 auto; position: absolute; bottom: 0; left: 0; right: 0; z-index: 100; display: flex; flex-wrap: wrap; justify-content: center; }
.mbp-keyboard .front { width: 100%; height: 37.25%; position: absolute; margin: 0 auto; left: 0; right: 0; top: 0; z-index: 100; border-radius: 1px; display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(90deg, #68696b 0%, #757678 .15%, #a0a1a3 .3%, #cccdcf .5%, #e7e8ea .8%, #e8e9eb 1%, #dfe0e2 1.25%, #d1d2d4 1.5%, #adaeb0 2%, #a4a5a7 3%, #bbbdbf 4%, #e1e1e3 8%, #eaebed 15%, #e9eaec 25%, #e9eaec 75%, #eaebed 85%, #e1e1e3 92%, #bbbdbf 96%, #a4a5a7 97%, #adaeb0 98%, #d1d2d4 98.5%, #dfe0e2 98.75%, #e8e9eb 99%, #e7e8ea 99.2%, #cccdcf 99.5%, #a0a1a3 99.7%, #757678 99.85%, #68696b 100%); }
.mbp-keyboard .opener-left, .mbp-keyboard .opener-right { position: relative; width: 6.917%; height: 65.5%; z-index: 101; background-color: #c1c2c6; background-blend-mode: darken; }
.mbp-keyboard .opener-left { border-radius: 0 0 0 20px;
  background: linear-gradient(180deg, rgba(195, 198, 200, .5) 0%, rgba(199, 200, 204, .5) 60%, rgba(115, 125, 130, .4) 100%), radial-gradient(circle at right, rgba(189, 190, 193, .5) 0%, rgba(189, 190, 193, .5) 50%, rgba(166, 169, 172, .5) 80%, rgba(30, 34, 40, .75) 100%); }
.mbp-keyboard .opener-right { border-radius: 0 0 20px 0;
  background: linear-gradient(180deg, rgba(195, 198, 200, .5) 0%, rgba(199, 200, 204, .5) 60%, rgba(115, 125, 130, .4) 100%), radial-gradient(circle at left, rgba(189, 190, 193, .5) 0%, rgba(189, 190, 193, .5) 50%, rgba(166, 169, 172, .5) 80%, rgba(30, 34, 40, .75) 100%); }
.mbp-keyboard .bottom-left, .mbp-keyboard .bottom-right { display: block; position: relative; width: 50%; height: 58%; top: 10%; z-index: 99;
  background: linear-gradient(180deg, #e5e6e9 0%, #909193 65%, #4e4f51 90%, #323234 96%, #29292b 100%); }
.mbp-keyboard .bottom-left { border-bottom-left-radius: 25% 60%; }
.mbp-keyboard .bottom-right { border-bottom-right-radius: 25% 60%; }
.mbp-shadow { width: 95%; height: 60%; display: flex; justify-content: center; }
.mbp-shadow .shadow-left, .mbp-shadow .shadow-right { display: block; position: relative; width: 50%; height: 100%; top: 10%; z-index: 90; filter: blur(2px); background-blend-mode: multiply;
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(8, 11, 17, .85) 2.5%, rgba(29, 32, 36, .4) 15%, rgba(255, 255, 255, 0) 50%); }
.mbp-shadow .shadow-left { border-top-left-radius: 20% 90%; }
.mbp-shadow .shadow-right { border-top-right-radius: 20% 90%; }
/* on the black page the floor shadow is lifted with a faint glow so the base reads */
body.dark .mbp-mockup-wrapper::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -14px; height: 28px; background: radial-gradient(50% 50% at 50% 0%, rgba(255,255,255,.08), transparent 70%); pointer-events: none; }
