/* First-class product video, sharing the website's existing palette and type. */
.nav-links a.demo-nav{color:var(--vio2);font-weight:700}
.demo-hero-link{color:var(--txt)!important;border-color:var(--vio)!important;background:rgba(139,92,246,.12)!important;gap:10px}
.demo-hero-link svg{width:19px;height:19px;flex-shrink:0}.demo-hero-link small{font:12px var(--mono);color:var(--vio2)}
.demo-section{scroll-margin-top:80px;padding:70px 0 80px;background:radial-gradient(ellipse at 16% 20%,rgba(139,92,246,.12),transparent 60%),var(--bg2);border-block:1px solid var(--line)}
.demo-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px}
.demo-heading>div{max-width:780px}.demo-eyebrow{font:600 12px var(--mono);letter-spacing:.13em;color:var(--vio2);margin-bottom:12px}
.demo-heading h2{font-family:var(--disp);font-size:clamp(30px,4vw,48px);font-weight:400;line-height:1.2;margin:0 0 14px}
.demo-intro{font-size:16px;line-height:1.85;color:var(--sub);max-width:720px}.demo-duration{flex-shrink:0;font:12px var(--mono);color:var(--sub);padding-bottom:5px}
.demo-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}
.demo-player{min-width:0}.demo-screen{position:relative;aspect-ratio:16/9;background:#0d1424;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px #0004}
.demo-screen video{display:block;width:100%;height:100%;object-fit:contain;background:#0d1424}
.demo-cover{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;background:linear-gradient(transparent 38%,rgba(6,8,17,.18))}
.demo-play{pointer-events:auto;display:inline-flex;align-items:center;gap:12px;border:0;border-radius:999px;padding:15px 23px;background:#fff;color:#23183d;font-family:inherit;font-size:15px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 8px 28px #0005}
.demo-play svg{width:23px;height:23px;flex-shrink:0;fill:var(--vio-ink)}.demo-play:hover{background:#ede5ff}.demo-play:focus-visible{outline:3px solid var(--vio2);outline-offset:4px}
.demo-busy{position:absolute;inset:0;display:grid;place-content:center;gap:12px;text-align:center;background:#0d1424b8;color:#fff;font-size:14px;pointer-events:none}
.demo-busy::before{content:'';margin:auto;width:26px;height:26px;border:3px solid transparent;border-top-color:#b79bff;border-radius:50%;animation:demo-spin .8s linear infinite}
@keyframes demo-spin{to{transform:rotate(360deg)}}
.demo-cover[hidden],.demo-busy[hidden],.demo-error[hidden]{display:none}
.demo-caption{display:flex;justify-content:space-between;gap:18px;margin-top:15px;font-size:12px;line-height:1.8;color:var(--sub)}
.demo-caption p{margin:0;max-width:600px}.demo-caption a{flex-shrink:0;color:var(--vio2);text-decoration:underline;text-underline-offset:4px}
.demo-error{margin-top:14px;padding:12px 14px;border-radius:8px;background:rgba(245,158,11,.08);color:var(--sub);font-size:14px;line-height:1.7}
.demo-error button{border:0;background:none;color:var(--vio2);text-decoration:underline;font:inherit;cursor:pointer;padding:4px 8px}
.demo-chapters{min-width:0}.demo-chapters h3{font-size:14px;font-weight:600;margin:0 0 12px;line-height:1.5}
.demo-chapter-list{list-style:none;display:grid;gap:7px;padding:0;margin:0}
.demo-seek{width:100%;display:flex;align-items:center;gap:11px;min-height:43px;text-align:left;color:var(--sub);padding:10px 11px;background:rgba(255,255,255,.025);border:1px solid transparent;border-radius:8px;text-decoration:none;font-size:12px;line-height:1.5}
.demo-seek time{font:11px var(--mono);color:var(--vio2);flex-shrink:0}.demo-seek span{min-width:0;overflow-wrap:anywhere}
.demo-seek:hover,.demo-seek:focus-visible{color:var(--txt);border-color:var(--vio);background:rgba(139,92,246,.10);outline:0}
.demo-seek[aria-current=true]{color:var(--txt);background:rgba(139,92,246,.16);border-color:var(--vio)}
.demo-transcript{margin-top:26px;border-top:1px solid var(--line);padding-top:20px;color:var(--sub)}
.demo-transcript summary{width:max-content;max-width:100%;cursor:pointer;font-size:14px;color:var(--vio2)}
.demo-transcript ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px;row-gap:18px;padding:24px 0 0;list-style:none}
.demo-transcript li{font-size:13px;line-height:1.8;min-width:0}.demo-transcript a{color:var(--txt)}.demo-transcript time{font:12px var(--mono);color:var(--vio2);margin-right:8px}.demo-transcript p{margin:5px 0 0}
@media(max-width:1050px){.demo-layout{grid-template-columns:minmax(0,1fr)}.demo-chapter-list{grid-template-columns:repeat(4,minmax(0,1fr))}.demo-seek{height:100%;align-items:flex-start;flex-direction:column;gap:4px}.demo-heading{display:block}.demo-duration{display:block;margin-top:16px}}
@media(max-width:600px){.demo-section{padding:48px 0}.demo-heading h2{font-size:32px}.demo-intro{font-size:14px}.demo-layout{gap:24px}.demo-chapter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-seek{flex-direction:row;align-items:center;gap:9px;min-height:48px;font-size:12px}.demo-play{font-size:12px;padding:12px 16px;gap:8px}.demo-play svg{width:18px;height:18px}.demo-caption{flex-direction:column;gap:7px}.demo-transcript ol{grid-template-columns:minmax(0,1fr)}.demo-screen{border-radius:9px}}
@media(prefers-reduced-motion:reduce){.demo-busy::before{animation:none}}
