/* Shared, click-to-play product films. No video is fetched until it is opened. */
.product-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 40px; }
.product-intro > * { min-width: 0; }
.product-intro h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.product-film { min-width: 0; margin: 0; }
.product-film figcaption { margin-top: 12px; color: var(--muted); font-size: .85rem; }
.video-preview { position: relative; display: block; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); border-radius: 16px; background: #060b17; color: #fff; text-decoration: none; box-shadow: 0 24px 70px -32px #6366f17a; }
.video-preview img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.video-preview:hover img { transform: scale(1.025); }
.video-preview:focus-visible, .video-close:focus-visible { outline: 3px solid var(--cyan, #22d3ee); outline-offset: 5px; }
.video-play { position: absolute; top: calc(50% - 22px); left: 50%; z-index: 1; transform: translate(-50%, -50%); display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #080f25dc; border: 1px solid #9bedffb3; box-shadow: 0 0 40px #22d3ee38; transition: background .2s; }
.video-play svg { width: 25px; height: 25px; margin-left: 4px; fill: #fff; }
.video-preview:hover .video-play { background: #303865; }
.video-label { display: flex; gap: 12px; justify-content: space-between; align-items: center; min-height: 44px; padding: 12px 18px; border-top: 1px solid var(--line); font: 500 .85rem/1.3 var(--body); }
.video-label small { font: 500 .72rem var(--mono); color: #d7e6f3; white-space: nowrap; }
.product-live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.product-live-grid > * { min-width: 0; }
.product-live-grid .twod-stage { width: 100%; max-width: 560px; justify-self: center; }
.product-live-grid h2 { max-width: 16ch; }
.extension-intro.product-intro h1 { font-size: clamp(3.8rem, 6vw, 5.5rem); margin-bottom: 24px; }
.extension-recording { margin: 32px 0 18px; }
.extension-recording h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.usecard > .usecard-copy { display: grid; gap: 8px; padding: 22px; color: inherit; text-decoration: none; }
.usecard > .video-preview { border: 0; border-radius: 0; box-shadow: none; }
.usecard .video-label { font-size: .75rem; padding-inline: 14px; }
.usecard .video-play { width: 52px; height: 52px; }
.usecard .video-play svg { width: 20px; height: 20px; }
.video-dialog { width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #ffffff30; border-radius: 18px; background: #080e1c; color: #f4f7ff; box-shadow: 0 30px 120px #000b; }
.video-dialog::backdrop { background: #020610eb; backdrop-filter: blur(8px); }
.video-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; }
.video-dialog-head h2 { margin: 0; font: 500 1rem/1.4 var(--display); }
.video-close { flex-shrink: 0; border: 1px solid #ffffff35; border-radius: 50%; color: #fff; background: #ffffff0c; font: 400 26px/1 sans-serif; cursor: pointer; width: 44px; height: 44px; }
.video-dialog video { display: block; width: 100%; max-height: calc(100dvh - 190px); aspect-ratio: 16 / 9; background: #000; }
.video-dialog-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 12px 18px; color: #b3c0d5; font-size: .8rem; }
.video-dialog-foot p { margin: 0; }
.video-dialog-foot a { color: #a5ecf5; }
html:has(.video-dialog[open]) { overflow: hidden; }
@media (max-width: 820px) {
  .product-intro, .product-live-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .product-live-grid h2 { max-width: none; }
  .video-play { width: 58px; height: 58px; }
  .video-label { padding-inline: 14px; font-size: .8rem; }
  .usecard > .usecard-copy { padding: 12px 14px; }
  .usecard .video-label small { display: none; }
  .video-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .video-preview img, .video-play { transition: none; } .video-preview:hover img { transform: none; } }
