.hero-grid{grid-template-columns:minmax(0,1fr);gap:40px}
.hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:64px;align-items:center;padding-block:16px}
.hero-intro .lead{margin-top:0;margin-bottom:22px}
.hero-intro>.text-link{margin-top:12px}
.hero-demo{min-width:0;width:100%;max-width:min(100%,calc((100svh - 210px)*1.77778 + 28px));justify-self:center;scroll-margin-top:20px;padding:14px;background:var(--blue-soft);border-radius:18px;box-shadow:0 22px 64px -42px #19407866}
.demo-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding-left:6px}
.demo-header h2{font-size:18px;line-height:1.3;letter-spacing:-.025em}
.demo-header .icon-button{width:44px;min-width:44px;height:44px;color:var(--blue)}
.demo-actions{display:flex;gap:12px;align-items:center;flex-shrink:0}
#demo-fullscreen{border:0;background:transparent;color:var(--muted);font-size:14px;min-height:44px;padding:8px}
.demo-screen{overflow:hidden;background:#fff;border-radius:10px;aspect-ratio:16/9;outline:1px solid #192d5b0b}
.demo-screen video{display:block;width:100%;height:100%;object-fit:contain}
.demo-progress{height:3px;background:#cfdaee;border-radius:2px;margin:18px 5px 10px;overflow:hidden}
.demo-progress>span{display:block;width:0;height:100%;background:var(--blue)}
.demo-chapters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.demo-chapters button{min-height:44px;padding:8px 4px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:14px;font-weight:600;line-height:1.25}
.demo-chapters button[aria-current=step]{background:#fff;color:var(--blue)}
.demo-note{margin:12px 5px 0;font-size:12px;line-height:1.6;color:var(--muted)}
@media(hover:hover){.demo-chapters button:hover{color:var(--blue);background:#ffffff70}}
body.video-expanded{overflow:hidden}
.hero-demo:is(:fullscreen,.is-expanded){position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;padding:12px;border-radius:0}.hero-demo:is(:fullscreen,.is-expanded) .demo-screen{flex:1;min-height:0;aspect-ratio:auto;background:#101723}.hero-demo:is(:fullscreen,.is-expanded) .demo-header{margin-bottom:4px}
@media(max-width:900px){.hero-copy{gap:32px}.hero-title h1{font-size:48px}.hero-intro .lead{font-size:17px}}
@media(max-width:640px){.hero-demo{padding:12px;border-radius:14px}.demo-header{padding-left:2px;margin-bottom:8px}.demo-header h2{font-size:16px;max-width:20ch}.demo-chapters{gap:2px}.demo-chapters button{font-size:11px;min-height:44px}.demo-note{font-size:12px;margin-inline:2px}.demo-progress{margin-top:14px}}
@media(max-width:360px){.demo-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-chapters button{font-size:12px}}
@media(max-width:640px){.hero-copy{grid-template-columns:1fr;gap:24px;padding:0}.hero-title h1{font-size:42px}.hero-grid{gap:28px}.hero-demo{padding:6px}.demo-header{padding:4px 6px;gap:8px}.demo-header h2{font-size:15px}.demo-actions{gap:2px}#demo-fullscreen{font-size:12px;max-width:72px;line-height:1.2}.demo-note{padding:0 6px}.demo-chapters button{font-size:12px}.demo-screen{border-radius:6px}}
