.demo-stage {
  padding: clamp(.4rem, 1.8vw, 1.55rem);
  overflow: hidden;
  border: 1px solid #263e58;
  border-radius: clamp(.8rem, 2vw, 1.55rem);
  background: radial-gradient(ellipse at 52% 16%, #233a58, #14243a 63%, #101d30);
}

.demo-screen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: clamp(.35rem, .85vw, .75rem);
  background: #edf1ee;
  box-shadow: 0 .9rem 2.6rem #050d1990;
}

.demo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.demo-poster { opacity: 1; }

.demo-pointer {
  position: absolute;
  z-index: 3;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.demo-pointer svg {
  position: absolute;
  inset: -2px auto auto -3px;
  width: clamp(1.05rem, 2.2vw, 1.75rem);
  height: auto;
  filter: drop-shadow(0 2px 2px #10251280);
  transform-origin: 12% 7%;
}

.demo-click-ring {
  position: absolute;
  width: clamp(1.1rem, 2.4vw, 1.8rem);
  aspect-ratio: 1;
  border: 2px solid #66aaff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #214374, inset 0 0 0 1px #e3f1ff;
  opacity: 0;
}

.demo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding-top: 1rem;
}

.demo-step { color: #ebf2ff; font-size: 1.05rem; font-weight: 520; }
.demo-data { color: #aabbd5; font-size: .8rem; }
.demo-summary { width: 100%; max-width: 54rem; color: #acbedb; line-height: 1.6; }

@media (max-width: 42rem) {
  .demo-caption { display: grid; }
}
