.tflsk-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 792 / 1721;
  grid-template-rows: 24% minmax(0, 1fr);
  justify-items: center;
  overflow: hidden;
  container-type: inline-size;
  color: #0b233b;
  background: radial-gradient(ellipse at 18% 8%, #fff 0, transparent 57%),
    linear-gradient(155deg, #ecf2f6, #c6d7e6);
  border: 1px solid #a8bbce;
  border-radius: clamp(8px, 1.3vw, 17px);
}

.tflsk-preview::before {
  position: absolute;
  z-index: -1;
  inset: 38% -22% -16%;
  content: "";
  background: linear-gradient(180deg, #e5eef5, #e5eef500 28%),
    url("../img/pitch-overhead-v1.webp") center / cover;
  opacity: .16;
  transform: rotate(-12deg);
}

.tflsk-preview-copy {
  display: grid;
  width: 100%;
  align-content: start;
  justify-items: center;
  padding: 11cqi 6cqi 0;
  text-align: center;
}

.tflsk-preview-copy strong {
  display: block;
  font-size: 9.2cqi;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .99;
}

.tflsk-preview-copy strong::after {
  display: block;
  width: 65%;
  height: .9cqi;
  margin: 2.1cqi auto 1.8cqi;
  background: #bd8509;
  content: "";
}

.tflsk-preview-copy span {
  color: #2e4860;
  font-size: 4.7cqi;
  font-weight: 650;
  line-height: 1.2;
}

.tflsk-preview > img.tflsk-preview-screen {
  align-self: start;
  width: auto;
  max-width: 78%;
  height: calc(100% - 2.2cqi);
  object-fit: contain;
  background: #081729;
  border: 1px solid #30465c;
  border-radius: 5.8cqi;
  box-shadow: 0 2.5cqi 5cqi #0b233b4d;
}

.app-duo-screens > .tflsk-preview {
  box-shadow: 0 15px 30px #0005;
}

.app-duo-screens > img,
.build-app-images > img {
  aspect-ratio: 792 / 1721;
}

#app-previews {
  scroll-margin-top: var(--header);
}

.launch-product-screens > .tflsk-preview {
  border-radius: clamp(8px, 1.5vw, 19px);
  box-shadow: 0 18px 35px #150e2440;
}

.app-screen-track figure > .tflsk-preview {
  border-radius: 10px;
}

.build-intro .build-app-images > .tflsk-preview {
  flex: 0 1 auto;
  width: min(45%, 150px);
  border-radius: 10px;
  box-shadow: 0 12px 28px #0b1c2b20;
}

@media (min-width: 761px) {
  .home-app-duo .app-duo-screens {
    width: min(100%, 560px, 38vw);
  }
}
