.hero-demo-window {
  position: relative;
  --demo-chrome-height: 44px;
  aspect-ratio: 1203 / 753;
  min-height: 540px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e3e6;
  border-radius: 12px;
  box-shadow: 0 24px 70px #25212e0d;
  scroll-margin-top: 100px;
}
.hero-demo-chrome { height: var(--demo-chrome-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; background: #f5f5f7; border-bottom: 1px solid #e3e3e6; color: #62636b; }
.hero-demo-lights { display: flex; gap: 7px; width: 52px; flex-shrink: 0; }
.hero-demo-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff6058; }
.hero-demo-lights i:nth-child(2) { background: #ffbd2e; }
.hero-demo-lights i:nth-child(3) { background: #28c840; }
.hero-demo-address { width: min(46%, 460px); padding: 4px 12px; border-radius: 6px; background: #eaeaee; text-align: center; font: 12px/1.5 Arial, sans-serif; }
.hero-demo-chrome-spacer { width: 52px; flex-shrink: 0; }
.hero-demo-window > [hidden] { display: none !important; }
.hero-demo-surface { position: absolute; top: var(--demo-chrome-height); right: 0; bottom: 0; left: 0; background: #fff; }
.hero-demo-surface iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.hero-demo-window[data-theme="dark"] { background: #202127; border-color: #393a42; }
.hero-demo-window[data-theme="dark"] .hero-demo-chrome { background: #27282f; border-color: #393a42; color: #c3c5cf; }
.hero-demo-window[data-theme="dark"] .hero-demo-address { background: #353640; }
.hero-demo-window[data-theme="dark"] .hero-demo-surface { background: #202127; }
@media (prefers-reduced-motion: no-preference) {
  .hero-demo-window { transition: border-color 160ms ease-out, background-color 160ms ease-out; }
  .hero-demo-chrome, .hero-demo-address { transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out; }
}
@media (max-width: 767px) {
  #interactive-demo,
  .container-x:has(> #interactive-demo),
  a[href="/#interactive-demo"] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo-window, .hero-demo-chrome, .hero-demo-address { transition: none !important; }
}
