/* Machined rails, glass edge and a centered front camera. */
.hero-phone, .tour-preview:not(.desktop) .tour-phone {
  border: 0; padding: clamp(3px, .45vw, 6px); border-radius: 9% / 4.3%;
  background: linear-gradient(105deg,#363240,#bdb6c9 1%,#24212a 2.4%,#131318 50%,#56515e 97%,#d9d4df 98.5%,#46424d);
  box-shadow: inset 0 1px 1px #eeeaf5, inset 0 -1px 1px #151418, 1px 1px 0 #77727d, 6px 13px 18px #24203330;
  overflow: visible;
}
.hero-phone img, .tour-preview:not(.desktop) .tour-phone img {
  display: block; border-radius: 7.7% / 3.6%; outline: 1px solid #141217;
}
.hero-phone .phone-camera, .tour-preview:not(.desktop) .phone-camera {
  width: 2.45%; height: auto; aspect-ratio: 1; top: 2%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%,#577088,#1b2027 36%,#08090c 60%); box-shadow: 0 0 0 .5px #36363a;
}
.hero-phone::before, .tour-preview:not(.desktop) .tour-phone::before {
  content: ""; position: absolute; right: -1.6px; top: 22%; width: 2px; height: 11%;
  border-radius: 2px; background: linear-gradient(#827d89,#47434f); box-shadow: 0 2.7em 0 -0.25px #625c6a;
}
.hero-visual .laptop, .tour-preview.desktop .tour-phone {
  position: relative; border: 0; padding: 1.8% 1% 1.35%; background: linear-gradient(110deg,#252629,#141519 64%,#2c2d30);
  border-radius: 2.4% 2.4% 1% 1% / 3.5% 3.5% 1% 1%;
  box-shadow: 0 0 0 1px #bebfc2, 0 0 0 2px #65686d, 0 14px 20px #32352c29; overflow: visible;
}
.laptop .laptop-camera, .tour-preview.desktop .phone-camera {
  display: block; position: absolute; top: 1.15%; left: 50%; transform: translateX(-50%); width: .8%; height: auto; aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%,#698299,#1b2631 47%,#090a0c 75%); border-radius: 50%;
}
.laptop-screen, .tour-preview.desktop .tour-phone > img {
  border-radius: 1.3% / 2%; background: #f8f6f2;
}
.laptop-screen, .tour-preview.desktop .tour-phone > img { aspect-ratio: 3/2; }
.laptop-screen { display: grid; align-items: center; }
.tour-preview.desktop .tour-phone > img { height: auto; object-fit: contain; }
.device-deck { display: none; }
.laptop .device-deck, .tour-preview.desktop .device-deck {
  direction: ltr; display: flex; flex-direction: column; align-items: center; gap: 4%;
  position: absolute; top: 100%; left: -.2%; width: 100.4%; aspect-ratio: 3.3;
  padding: 1% 8% .7%; transform-origin: center top; transform: perspective(540px) rotateX(69deg);
  border-radius: 1% 1% 3% 3%; border: 1px solid #919497; border-bottom: 4px solid #898c91;
  background: linear-gradient(100deg,#a0a2a6,#d6d7d8 26%,#b6b9bc 78%,#92959a);
  box-shadow: 0 11px 14px #252d2833;
}
.laptop .laptop-base { display: none; }
.device-keys { width: 100%; height: 65%; display: grid; grid-template-rows: repeat(5,1fr); gap: 3%; }
.device-keys i { display: flex; gap: .8%; }
.device-keys b { flex: 1; border-radius: 12%; background: linear-gradient(#44474c,#313337); box-shadow: inset 0 -1px 0 #17191b; }
.device-keys i:last-child b:nth-child(5) { flex: 5; }
.device-deck > span { width: 32%; height: 29%; border: 1px solid #909397; border-radius: 4%; background: #bec0c2; }
.tour-preview.desktop { padding-bottom: 9%; }
.tour-preview.desktop .tour-phone { width: 92%; max-width: 92%; margin: 0; }
@media (max-width:640px) {
  .hero-visual .laptop { width: 96%; }
  .device-keys b { box-shadow: none; }
}
