/* A continuous canvas behind a deck of inset product cards. */
.section-pacing{--deck-inset:var(--header-height);--deck-peek:24px}
.section-pacing,.section-pacing body{background:#eeefec}
/* Let the shadow above a pinned card show through the header's lower edge. */
.section-pacing .site-header{
  background:linear-gradient(to bottom,#eeefec calc(100% - 16px),transparent);
}
.section-pacing #main>.container{position:relative;isolation:isolate}
.section-pacing .scroll-scene:not(.scroll-faq){position:sticky;top:var(--header-height);z-index:var(--card-layer);height:calc(100dvh - var(--deck-inset) - var(--deck-peek));overflow:auto;scrollbar-width:thin;box-sizing:border-box;padding:clamp(24px,4vh,48px) clamp(20px,3vw,40px);background:var(--paper);border-radius:28px;box-shadow:0 20px 55px #2429231c,0 3px 10px #2429230d}
.section-pacing .simple-hero.scroll-scene{max-width:none;display:flex;flex-direction:column;justify-content:center;padding:32px 0;background:transparent;box-shadow:none;border-radius:0}
.section-pacing .simple-hero h1{max-width:850px}
.section-pacing .simple-demo,.section-pacing .simple-watch{display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:24px}
.section-pacing .simple-demo .wide-capture{width:min(100%,max(280px,calc((100svh - var(--header-height) - 250px)*1.6)));margin:0 auto}
.section-pacing .watch-simulation{width:min(100%,max(260px,var(--watch-fit-width,calc((100svh - 220px)*1.31877))));max-width:none;margin:0 auto}
.section-pacing .playlist-inner{align-items:center;gap:clamp(24px,5vw,70px)}
.section-pacing .scroll-faq{position:relative;z-index:var(--card-layer);margin-top:0;padding:0;background:transparent;border-radius:0;box-shadow:none}
.is-enhanced:not(.is-flowing) .faq-stage{top:var(--header-height)}
.section-pacing .faq-stage{min-height:var(--faq-stage-height,calc(100svh - 48px));padding-inline:clamp(20px,3vw,40px);background:var(--paper);border-radius:28px;box-shadow:0 20px 55px #2429231c,0 3px 10px #2429230d}
@media(max-width:650px){.section-pacing .scroll-scene:not(.scroll-faq),.section-pacing .scroll-faq{padding-inline:16px;border-radius:20px}.section-pacing .simple-hero.scroll-scene{padding-inline:0;border-radius:0}.section-pacing .simple-demo .wide-capture,.section-pacing .watch-simulation{width:100%}}

.section-pacing .simple-hero>*{opacity:var(--hero-visibility,1)}
/* Match the final pinned card’s bottom inset so the page ends before it unpins. */
.section-pacing{background:#eeefec}
.section-pacing #main>.container{padding-bottom:var(--deck-peek)}

/* Real document distance keeps each card pinned while the scrollbar advances. */
.card-runway{display:none}
.section-pacing .card-runway{display:block;height:clamp(634.8px,99.1875svh,1058px);pointer-events:none}

@media(max-width:650px){.section-pacing .scroll-faq{padding:0;border-radius:0}.section-pacing .faq-stage{padding-inline:16px;border-radius:20px}}

/* A short reading pause suits a swipe and a landscape phone. */
@media (pointer:coarse), (max-height:600px) {
  .section-pacing .card-runway{height:clamp(64px,18svh,160px)}
}
.is-enhanced.is-flowing{height:auto!important}
.is-enhanced.is-flowing .faq-stage{position:relative;top:auto}

/* Product screenshots get more of the card, with equal side padding. */
.section-pacing :is(.simple-demo,.simple-watch){padding-inline:clamp(12px,2vw,28px)}

/* Let the watch screenshot fill the usable area while keeping its full proportions. */
.section-pacing .simple-watch.scroll-scene{padding-inline:12px}

.section-pacing .simple-hero.scroll-scene{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,4vw,56px);align-content:safe center;align-items:safe center}
@media(max-width:639px){.section-pacing .simple-hero.scroll-scene{grid-template-columns:minmax(0,1fr);gap:32px}}


html:has(.scroll-faq.is-enhanced:not(.is-flowing)){overscroll-behavior-y:none}

/* Use the available card height for the batch controls. Only the video list
   needs to grow when more links are added. */
.section-pacing .playlist-inner {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr);
  align-items:safe center;
}
.section-pacing .batch-simulation {
  display:flex; flex-direction:column; max-height:100%; overflow:auto;
}
.section-pacing .batch-simulation > * { flex:none; }
.section-pacing #sim-sources { flex:0 1 auto; min-height:64px; }
.section-pacing .faq-stage.has-footer {
  align-content:start; align-items:start; justify-content:flex-start;
  padding-top:clamp(16px,4vh,48px);
  padding-bottom:64px;
}
@media (min-width:640px) and (min-height:650px) {
  .section-pacing .faq-stage.has-footer {padding-top:clamp(40px,8.5svh,92px)}
}
.section-pacing .faq-stage :is(.faq-left,.faq-answers) { align-self:start; min-width:0; width:100%; }

@media (max-width:900px), (max-height:650px) {
  .section-pacing .scroll-scene:not(.scroll-faq) {padding-block:clamp(10px,2.5vh,22px)}
  .section-pacing :is(.simple-hero.scroll-scene,.playlist-inner) {gap:clamp(12px,2.5vw,24px)}
  .section-pacing .simple-hero h1,.section-pacing .playlist-copy h2 {
    font-size:clamp(28px,4.5vw,44px); letter-spacing:-.045em; margin-bottom:12px;
  }
  .section-pacing .hero-copy .intro,.section-pacing .playlist-copy>p {
    font-size:15px; line-height:1.5; margin:0 0 14px;
  }
  .section-pacing .hero-video-info,.section-pacing .batch-simulation {padding:14px}
  .section-pacing .batch-simulation h3 {font-size:19px;margin:7px 0 10px}
  .section-pacing .sim-toolbar {margin:6px 0}
  .section-pacing #sim-sources {margin-bottom:8px}
  .section-pacing #sim-sources li {padding:7px 8px;margin-bottom:4px}
  .section-pacing .sim-options {margin-top:6px}
}
@media (max-width:639px) {
  .section-pacing .simple-hero.scroll-scene {grid-template-rows:auto auto;gap:14px}
  .section-pacing .hero-video-card {max-width:min(100%,46dvh);justify-self:center}
  .section-pacing .hero-thumbnail img {max-height:23dvh}
  .section-pacing .hero-video-info>p {margin-bottom:8px}
  .section-pacing .playlist-inner {grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,auto);align-content:safe center}
  .section-pacing .playlist-copy>p {margin-bottom:0}
  .section-pacing .batch-simulation {min-height:0}
}
@media (max-height:600px) {
  .section-pacing .hero-thumbnail img {max-height:20dvh}
  .section-pacing .hero-copy .intro {line-height:1.4}
  .section-pacing .hero-video-info h2 {font-size:16px}
  .section-pacing .hero-video-info>p {margin-bottom:6px}
}

.section-pacing :is(.watch-simulation,.feed-demo,.demo-heading) {flex:none}
@media (max-width:520px) {
  .section-pacing #main>.container {padding-inline:12px}
}
@media (max-width:639px) and (max-height:700px) {
  .section-pacing .hero-video-card {
    display:grid; grid-template-columns:72px minmax(0,1fr); align-items:center;
    gap:4px 12px; padding:12px; max-width:380px;
  }
  .section-pacing .hero-video-info {display:contents}
  .section-pacing .hero-thumbnail {grid-row:span 2}
  .section-pacing .hero-thumbnail img {aspect-ratio:1; border-radius:8px}
  .section-pacing .hero-duration {right:3px;bottom:3px;font-size:9px}
  .section-pacing .hero-video-info h2,.section-pacing .hero-video-info>p {margin:0}
  .section-pacing .hero-copy-action {grid-column:1/-1;margin-top:6px}
}
@media (orientation:landscape) and (min-width:520px) and (max-width:639px) {
  .section-pacing :is(.simple-hero.scroll-scene,.playlist-inner) {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)
  }
  .section-pacing .hero-video-card {max-width:100%}
}
@media (max-height:600px) {
  .section-pacing .simple-watch .watch-simulation {width:min(100%,max(200px,var(--watch-fit-width)))}
  .section-pacing .simple-demo .wide-capture {width:100%}
  .section-pacing .feed-image > img,.section-pacing .feed-image .locale-mask {display:none}
  .section-pacing .feed-image {display:flex;flex-wrap:wrap;gap:8px;background:white;padding:8px}
  .section-pacing .feed-result {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px;flex:1 1 230px;padding:5px}
  .section-pacing .feed-result .result-title {display:block;font-size:13px;line-height:1.3}
  .section-pacing .feed-result .result-thumbnail {display:none}
  .section-pacing .feed-result button.feed-hotspot {position:static!important;transform:none;height:40px;width:88px}
}

@media (max-height:600px) {
  :root {--header-height:56px}
  .site-header .site-nav {height:56px;min-height:56px;padding-block:4px}
  .section-pacing .batch-simulation {padding:10px 12px}
  .section-pacing .sim-brand {display:none}
  .section-pacing .batch-simulation h3 {font-size:16px;margin:0 0 6px}
  .section-pacing .sim-output button {padding-block:8px}
  .section-pacing .sim-toolbar,.section-pacing .sim-options {margin-block:3px}
}
@media (max-height:480px) {
  .section-pacing .batch-simulation h3 {display:none}
}
@media (max-width:900px) and (max-height:600px) {
  .scroll-faq.is-enhanced .faq-stage {
    display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px
  }
  .scroll-faq.is-enhanced .faq-nav {
    flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:6px;max-height:none
  }
  .scroll-faq.is-enhanced .faq-nav a {flex:0 0 160px}
  .scroll-faq.is-enhanced .faq-left h2 {margin-bottom:8px}
}
.is-enhanced.is-flowing .faq-stage {min-height:calc(100svh - var(--header-height) - 24px)}
