/* The product is the hero. All footage and captions are existing engine output. */
.clipper-hero .clipper-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.clipper-hero .clipper-copy { min-width: 0; }
.clipper-hero .clipper-copy h1 { max-width: none; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.clipper-hero .clipper-copy .sub { max-width: 650px; margin: 20px 0 24px; }
.clipper-hero .clipper-copy .home-captions-link { display: block; margin: 14px 0 0; }
.product-demo { margin: 0 auto; max-width: 1080px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); box-shadow: 0 28px 80px -28px #000; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.demo-bar > span:first-child { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.demo-bar b { font-weight: 500; color: var(--ink-3); }
.demo-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime, var(--tomato)); }
.demo-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 24px 156px; align-items: center; gap: 10px; padding: 24px 20px; background: radial-gradient(ellipse at 85% 40%, #ff5a4710, transparent 65%), var(--paper-2); }
.demo-label { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; margin: 0 0 14px; }
.demo-label b { color: var(--ink-2); font-weight: 500; }
.demo-monitor { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #050507; border: 1px solid var(--line-2); }
.demo-monitor > img { width: 100%; height: 100%; object-fit: contain; }
.demo-monitor > span { position: absolute; top: 10px; right: 12px; border-radius: 5px; padding: 4px 8px; background: #050507d9; color: #fff; font-size: 10px; }
.demo-strip-label { margin: 14px 0 6px; color: var(--ink-2); font-size: 11px; }
.demo-timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--tomato-2); border-radius: 6px; height: 58px; overflow: hidden; }
.demo-timeline button { min-width: 0; padding: 0; border: 0; background: var(--stage); cursor: pointer; overflow: hidden; border-radius: 2px; }
.demo-timeline img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .7; transition: opacity .2s; }
.demo-timeline button:hover img, .demo-timeline button:focus-visible img { opacity: 1; }
.demo-timeline button[aria-current="true"] img { opacity: 1; outline: 2px solid var(--lime, var(--tomato)); outline-offset: -2px; }
.product-demo[data-playing="true"] .demo-timeline button[aria-current="true"] img { animation: picked-moment 3s ease-in-out infinite alternate; }
@keyframes picked-moment { to { transform: scale(1.045); } }
.demo-flow { width: 24px; height: 24px; color: var(--lime, var(--tomato)); }
.product-demo[data-playing="true"] .demo-flow { animation: stream-to-clip 2.4s ease-in-out infinite; }
@keyframes stream-to-clip { 0%, 100% { opacity: .5; transform: translateX(-2px); } 50% { opacity: 1; transform: translateX(2px); } }
@media (prefers-reduced-motion: reduce) {
  .product-demo .demo-timeline img, .product-demo .demo-flow { animation: none !important; transition: none; }
}
.demo-playhead { position: absolute; left: var(--demo-progress, 0%); top: 0; bottom: 0; width: 2px; background: var(--lime, var(--tomato)); pointer-events: none; }
.demo-hint { font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.demo-route { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; font-size: 10px; color: var(--ink-2); }
.demo-route i { font-style: normal; color: var(--ink-3); }
.demo-route strong { color: var(--tomato-2); font-weight: 500; }
.demo-phone { aspect-ratio: 9 / 16; width: 152px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #050507; box-shadow: 0 0 0 5px #222229, 0 20px 45px #0006; }
.demo-phone video { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-demo figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12px; }
.product-demo figcaption strong { color: var(--ink-2); font-weight: 500; }
.product-demo figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.product-demo [hidden] { display: none !important; }
@media (max-width: 1000px) {
  .clipper-hero .clipper-grid { display: block; }
  .clipper-hero .clipper-copy { max-width: 800px; margin: 0 auto 32px; text-align: center; }
  .clipper-hero .clipper-copy .sub { margin-left: auto; margin-right: auto; }
  .clipper-hero .clipper-copy .home-captions-link { margin-left: auto; margin-right: auto; }
  .demo-workspace { padding: 24px; gap: 16px; grid-template-columns: minmax(0, 1fr) 24px 180px; }
  .demo-phone { width: 172px; }
  .demo-route { font-size: 11px; }
}
@media (max-width: 600px) {
  .clipper-hero { padding-top: 24px; }
  .clipper-hero .clipper-copy { margin-bottom: 22px; }
  .clipper-hero .clipper-copy h1 { font-size: 36px; }
  .clipper-hero .clipper-copy .sub { font-size: 16px; line-height: 1.45; margin: 16px auto 20px; }
  .clipper-hero .clipper-copy .preview-note { font-size: 12px; margin: 12px 0; }
  .clipper-hero .clipper-copy .home-captions-link { margin-top: 10px; font-size: 14px; }
  .demo-bar { padding: 12px 14px; }
  .demo-bar > span:last-child { display: none; }
  .demo-workspace { grid-template-columns: minmax(0, 1fr) 14px 132px; padding: 18px 14px; gap: 6px; }
  .demo-flow { width: 14px; height: 20px; }
  .demo-label { font-size: 10px; gap: 6px; margin-bottom: 12px; }
  .demo-monitor { aspect-ratio: 16 / 9; }
  .demo-monitor > span, .demo-hint, .demo-route { display: none; }
  .demo-strip-label { font-size: 10px; margin-top: 12px; }
  .demo-timeline { height: 44px; }
  .demo-phone { width: 128px; border-radius: 9px; }
  .demo-output .demo-label { justify-content: center; }
  .product-demo figcaption { padding: 14px; font-size: 11px; }
}
