/* NotePulse video showcase: isolated to homepage, MIDI Visualizer and Visual Story. */
#story-demo,#story-examples,#midi-demo{scroll-margin-top:95px}
.np-demo-section{background:linear-gradient(165deg,#091529 0%,#0b1d37 60%,#10152f 100%);border-bottom:1px solid #2a4160}
.np-demo-examples{background:#0b1226}
.np-demo-heading{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:end;gap:35px;margin-bottom:28px}
.np-demo-heading h2{font-size:clamp(1.8rem,3.3vw,3.1rem);margin:8px 0 0;max-width:750px;letter-spacing:-.04em}
.np-demo-heading>p{margin:0 0 4px;color:#b5c8e4;line-height:1.7;font-size:.98rem}
.np-demo-featured,.np-demo-card{margin:0;min-width:0;border-radius:18px;overflow:hidden;border:1px solid #385879;background:#111e35;box-shadow:0 23px 60px #0005}
.np-video-shell{width:100%;background:#07101f;line-height:0}
.np-video-shell video{display:block;width:100%;height:auto;aspect-ratio:1200/884;background:#080f1d;object-fit:contain;max-height:78vh}
.np-demo-featured figcaption,.np-demo-card figcaption{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:14px 19px;color:#9db9dc;font-size:.86rem;line-height:1.5}
.np-demo-featured figcaption strong,.np-demo-card figcaption strong{color:#f2f7ff}
.np-demo-examples-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.np-demo-card figcaption{display:grid;gap:3px}
.np-demo-card figcaption strong{font-size:1.04rem}
.np-demo-disclosure{color:#94abc9;margin:24px 0 0;font-size:.87rem;line-height:1.6}
.np-demo-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;color:#b6cbe4}
.np-demo-footer span{font-size:.9rem;max-width:630px}
.np-demo-footer .button{white-space:nowrap}
.np-hero-video{position:relative;overflow:hidden;background:#071227;aspect-ratio:1200 / 884;border-radius:5px}
.np-hero-video .np-hero-poster,.np-hero-video .np-hero-motion{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.np-hero-video .np-hero-motion{opacity:0;transition:opacity .35s}
.np-hero-video.np-loop-playing .np-hero-motion{opacity:1}
.np-hero-video-link{position:absolute;right:13px;bottom:13px;z-index:2;color:#fff!important;font-size:.78rem;font-weight:780;text-decoration:none;background:rgba(6,18,36,.92);border:1px solid #4599c8;border-radius:999px;padding:11px 15px;box-shadow:0 6px 20px #0008;transition:background .2s,border-color .2s}
.np-hero-video-link:hover,.np-hero-video-link:focus-visible{background:#154c7a;border-color:#76e8ff}
.np-hero-video-link>span{color:#68e1ff;margin-right:8px}
.np-video-inline-link{display:block;margin-top:12px;font-size:.85rem;color:#7cdbff;font-weight:750;text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){.np-demo-heading{grid-template-columns:1fr;gap:9px}.np-demo-heading>p{max-width:700px}.np-demo-featured figcaption{align-items:start;flex-direction:column}}
@media(max-width:590px){.np-demo-examples-grid{grid-template-columns:1fr}.np-demo-featured figcaption,.np-demo-card figcaption{padding:12px 14px}.np-demo-footer{align-items:stretch;flex-direction:column}.np-demo-footer .button{width:100%}.np-hero-video-link{font-size:.69rem;right:9px;bottom:9px;padding:9px 12px}.np-demo-heading h2{font-size:1.9rem}}
@media(prefers-reduced-motion:reduce){.np-hero-video .np-hero-motion,.np-hero-video-link{transition:none}}
