figure.ota-demo-laptop {
  --laptop-bezel: #142038;
  --laptop-base: #9caac0;
  --laptop-radius: clamp(8px, 1.5vw, 18px);
  width: min(100%, 52rem);
  margin-block: clamp(20px, 4vw, 40px);
  margin-inline: auto;
}

.ota-demo-laptop-screen {
  display: block;
  padding: clamp(4px, 1vw, 12px);
  background: var(--laptop-bezel);
  border: 1px solid #364561;
  border-radius: var(--laptop-radius) var(--laptop-radius) 4px 4px;
}

figure.ota-demo-laptop .ota-demo-laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: calc(var(--laptop-radius) / 3);
  box-shadow: none;
}

.ota-demo-laptop-base {
  position: relative;
  height: clamp(5px, 1.25vw, 12px);
  margin-inline: -2.6%;
  background: linear-gradient(#e5ebf2, var(--laptop-base));
  border-radius: 0 0 45% 45%;
  box-shadow: 0 10px 18px -12px #091729;
}

.ota-demo-laptop-base::before {
  position: absolute;
  inset: 0 41% auto;
  height: 45%;
  background: #7c8ba5;
  border-radius: 0 0 4px 4px;
  content: "";
}

.ota-demo-laptop figcaption {
  margin-block-start: 13px;
  text-align: center;
  font-size: .9rem;
  line-height: 1.45;
}

.ota-demo-laptop figcaption a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 540px) {
  .ota-demo-laptop-base {
    margin-inline: -1%;
  }
}
