.product-demo { padding-top:24px; }
.product-demo-stage { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:40px; padding:32px clamp(28px,4.5vw,72px); border-radius:16px; background:var(--surface); }
.product-demo-copy h2 { font-size:clamp(36px,4.4vw,64px); }
.demo-watch { display:inline-flex; align-items:center; gap:22px; margin-top:30px; font-size:20px; }
.demo-watch small { display:block; color:var(--muted); font-size:15px; margin-top:6px; }
.demo-play { display:grid; place-items:center; width:68px; height:68px; border-radius:50%; background:#1d1d1f; color:white; transition:background .2s; }
.demo-watch:hover .demo-play { background:#424246; }
.demo-poster { display:block; justify-self:center; width:min(100%,246px); border-radius:5px; box-shadow:0 14px 26px rgba(20,26,35,.16); }
.demo-poster img { display:block; width:100%; height:auto; object-fit:contain; border-radius:5px; }
.demo-dialog { padding:0; border:1px solid #353538; border-radius:12px; background:#141416; color:#fff; width:min(520px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 24px); margin:auto; overflow:auto; }
.demo-dialog::backdrop { background:rgba(0,0,0,.78); }
.demo-dialog-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:10px 16px; }
.demo-dialog-bar h2 { font-size:16px; letter-spacing:-.02em; }
.demo-dialog-bar form { margin:0; }
.demo-close { display:flex; align-items:center; gap:12px; min-height:44px; padding:6px 10px; background:transparent; color:white; border:0; font-size:14px; }
.demo-close span { font-size:24px; }
.demo-dialog video { display:block; width:100%; height:calc(100dvh - 102px); max-height:900px; object-fit:contain; background:#080808; }
.demo-error { margin:0; padding:16px; font-size:14px; }
.demo-error a { text-decoration:underline; }
body.demo-open { overflow:hidden; }
@media(max-width:700px) {
  .product-demo { padding-top:12px; }
  .product-demo-stage { grid-template-columns:1fr; gap:30px; padding:30px 22px; }
  .product-demo-copy h2 { font-size:36px; }
  .demo-watch { margin-top:20px; gap:16px; font-size:18px; }
  .demo-play { width:56px; height:56px; }
  .demo-poster { width:min(100%,232px); }
  .demo-dialog { width:calc(100vw - 16px); max-width:calc(100vw - 16px); }
}
