/* Shared horizontal browsing for viewing features and setup steps. */
.bb-watch-section {
  --watch-bg: #061226;
  --watch-ink: #fff;
  --watch-muted: #a3acbb;
  --watch-line: #ffffff24;
  --watch-media: #122038;
  --watch-panel: #09162b;
  --watch-card-width: clamp(300px, 28vw, 380px);
  position: relative;
  padding: 88px 0;
  background: var(--watch-bg);
  color: var(--watch-ink);
  overflow: hidden;
}
html.light .bb-watch-section {
  --watch-bg: #fff;
  --watch-ink: #061226;
  --watch-muted: #6E7180;
  --watch-line: #E8EAF0;
  --watch-media: #eeece9;
  --watch-panel: #fff;
}
.bb-setup-section .bb-watch-header { max-width: 700px; }
.bb-setup-section .bb-watch-media { height: 460px; }
.bb-watch-section.bb-setup-section .uc-home-mockup { padding: 76px 18px 22px; }
.bb-setup-section .bb-mockinner { max-height: 100%; overflow-y: auto; }
.bb-setup-section .bb-mockinner:not(.demo-step) {
  width: 100%;
  border: 1px solid var(--watch-line);
  border-radius: 10px;
  background: var(--watch-panel);
}
.bb-setup-section .su-wa-head,
.bb-setup-section .su-field,
.bb-setup-section .su-code-row,
.bb-setup-section .su-dev,
.bb-setup-section .su-opt,
.bb-setup-section .su-cred { border-color: var(--watch-line); }
.bb-setup-section .su-field,
.bb-setup-section .su-code-row,
.bb-setup-section .su-dev,
.bb-setup-section .su-opt,
.bb-setup-section .su-bubble.in { background: var(--watch-bg); }
.bb-setup-section .su-wa-name,
.bb-setup-section .su-field-val,
.bb-setup-section .su-dev-name,
.bb-setup-section .su-opt-name,
.bb-setup-section .su-opt.sel .su-opt-name,
.bb-setup-section .su-cred-v,
.bb-setup-section .su-bubble.in,
.bb-setup-section #su-trial .su-inp,
.bb-setup-section #su-trial .su-consent,
.bb-setup-section #su-trial .su-consent span { color: var(--watch-ink); }
.bb-setup-section .su-note,
.bb-setup-section .su-field-label,
.bb-setup-section .su-code-label,
.bb-setup-section .su-cred-k,
.bb-setup-section #su-trial .su-field-label { color: var(--watch-muted); }
.bb-setup-section #su-trial .su-inp::placeholder { color: var(--watch-muted); }
.bb-setup-section #su-trial .su-field { min-height: 44px; }
.bb-setup-section #su-trial .su-consent { gap: 8px; font-size: 11px; line-height: 1.5; }
.bb-setup-section #su-trial .su-consent input { flex-shrink: 0; margin-top: 2px; accent-color: #EA720F; }
.bb-setup-section #su-trial .su-trial-btn {
  min-height: 44px;
  font-size: 12px;
  background: var(--watch-ink);
  color: var(--watch-bg);
}
.bb-setup-section #su-trial .su-trial-btn:hover { opacity: .85; }
.bb-setup-section #su-trial .su-inp:focus-visible { outline: none; }
.bb-setup-section .su-opt-radio { border-color: var(--watch-muted); }
.bb-setup-section .su-opt.sel { border-color: #EA720F; background: #ea720f12; }
.bb-setup-section .su-note b { color: var(--watch-ink); }
.bb-setup-section .su-bubble { font-size: 12px; }
.bb-setup-section .su-wa-name { font-size: 13px; }
.bb-setup-section .su-wa-status { font-size: 10px; }
.bb-watch-header {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.bb-watch-header .bb-eyebrow { color: var(--watch-muted); }
.bb-watch-header h2 {
  margin: 16px 0 0;
  color: var(--watch-ink);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.bb-watch-header h2::first-line { color: var(--watch-muted); }
.bb-watch-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-top: 48px;
  padding: 24px max(24px, calc((100vw - 1300px) / 2)) 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - 1300px) / 2));
  scrollbar-width: thin;
  scrollbar-color: #EA720F var(--watch-line);
  cursor: grab;
}
.bb-watch-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.bb-watch-track:focus-visible { outline: 2px solid #EA720F; outline-offset: -2px; }
.bb-watch-card {
  flex: 0 0 var(--watch-card-width);
  width: var(--watch-card-width);
  min-width: 0;
  scroll-snap-align: start;
}
.bb-watch-card:nth-child(odd) { margin-top: 64px; }
.bb-watch-media {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--watch-media);
  isolation: isolate;
}
.bb-watch-card-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  max-width: calc(100% - 36px);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: #e86000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.bb-watch-section .uc-home-mockup {
  opacity: 1;
  padding: 64px 20px 24px;
  pointer-events: auto;
}
.bb-watch-section .uc-home-mockup.uc-vid-mock { padding: 0; }
.bb-watch-section .uc-home-video { object-fit: cover; }
.bb-watch-section .uc-vid-overlay { padding: 80px 18px 20px; }
.bb-watch-section .uc-vid-title { font-size: 18px; }
.bb-watch-section .uc-vid-logos { flex-wrap: wrap; gap: 8px; }
.bb-watch-section .uc-vid-logo { width: 38px; }
.bb-watch-section .bb-mockinner.demo-step {
  width: 100%;
  max-width: 310px;
  padding: 22px 18px;
  border: 1px solid var(--watch-line);
  border-radius: 10px;
  background: var(--watch-panel);
  box-shadow: 0 16px 36px #0000000d;
}
.bb-watch-section .demo-screen-title,
.bb-watch-section .demo-list-name,
.bb-watch-section .ic-card-name { color: var(--watch-ink); }
.bb-watch-section .demo-screen-sub,
.bb-watch-section .demo-list-meta,
.bb-watch-section .demo-section-label { color: var(--watch-muted); }
.bb-watch-section .demo-list-item { border-color: var(--watch-line); }
.bb-watch-section .ic-card { background: var(--watch-media); border-color: var(--watch-line); }
.bb-watch-section .hero-video-play { z-index: 3; cursor: pointer; }
.bb-watch-section .needs-play > .hero-video-play { display: flex; }
.bb-watch-caption { display: flex; gap: 16px; padding: 20px 4px 0; }
.bb-watch-number { color: var(--watch-muted); font-size: 13px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.bb-watch-caption p { margin: 0; color: var(--watch-muted); font-size: 15px; line-height: 1.55; }
.bb-watch-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1300px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.bb-watch-progress { flex: 1; max-width: 200px; height: 2px; overflow: hidden; background: var(--watch-line); }
.bb-watch-progress span { display: block; height: 100%; background: #EA720F; transform-origin: left; }
.bb-watch-arrows { display: flex; gap: 10px; }
.bb-watch-arrows button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--watch-line);
  border-radius: 50%;
  color: var(--watch-ink);
  background: var(--watch-bg);
  font-size: 24px;
}
.bb-watch-arrows button:not(:disabled):hover { border-color: #EA720F; color: #EA720F; }
.bb-watch-arrows button:disabled { opacity: .3; cursor: default; }
.bb-watch-arrows button:focus-visible { outline: 2px solid #EA720F; outline-offset: 3px; }
@media (max-width: 768px) {
  .bb-watch-section { --watch-card-width: min(82vw, 350px); padding: 64px 0; }
  .bb-watch-header h2 { font-size: clamp(30px, 6vw, 42px); }
  .bb-watch-track { gap: 16px; margin-top: 32px; padding: 20px 20px 24px; scroll-padding-inline: 20px; }
  .bb-watch-card:nth-child(odd) { margin-top: 32px; }
  .bb-watch-media { height: 360px; }
  .bb-watch-card-label { font-size: 15px; }
  .bb-watch-caption p { font-size: 14px; }
  .bb-watch-controls { margin-top: 24px; padding: 0 20px; }
}

/* Step 01 starts on the right; reading and focus order remain chronological. */
.bb-setup-section .bb-watch-track { direction: rtl; }
.bb-setup-section .bb-watch-card { direction: ltr; }
.bb-setup-section .bb-watch-arrows { flex-direction: row-reverse; }
.bb-setup-section .bb-watch-arrows span { transform: scaleX(-1); }
.bb-setup-section .bb-watch-progress span { transform-origin: right center; }

/* The extra section height is the exact horizontal travel distance. Native
   vertical scrolling releases the sticky panel when the final card is visible. */
.bb-watch-section.is-scroll-journey {
  height: calc(var(--journey-height) + var(--journey-distance));
  padding: 0;
  overflow: visible;
  overflow-anchor: none;
}
.is-scroll-journey > .bb-watch-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--journey-height);
  padding: 88px 0 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--watch-bg);
  overflow: clip;
}
.is-scroll-journey .bb-watch-header { flex: 0 0 auto; width: 100%; }
.is-scroll-journey .bb-watch-header h2 { font-size: clamp(30px, 3.2vw, 48px); margin-top: 12px; }
.is-scroll-journey .bb-watch-track {
  flex: 0 0 auto;
  margin-top: 24px;
  padding-top: 8px;
  padding-bottom: 12px;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.is-scroll-journey .bb-watch-track::-webkit-scrollbar { display: none; }
.is-scroll-journey .bb-watch-card:nth-child(odd) { margin-top: 32px; }
.is-scroll-journey .bb-watch-media { height: var(--journey-media-height); }
.is-scroll-journey .bb-mockinner:not(:has(form)) { max-height: none; overflow: visible; zoom: var(--journey-mock-scale, 1); }
.is-scroll-journey .bb-watch-caption { padding-top: 14px; }
.is-scroll-journey .bb-watch-controls { flex: 0 0 auto; width: 100%; margin-top: 12px; }
@media (max-width: 768px) {
  .is-scroll-journey > .bb-watch-pin { padding-top: 64px; padding-bottom: 152px; }
  .is-scroll-journey .bb-watch-header h2 { font-size: clamp(28px, 6vw, 36px); }
  .is-scroll-journey .bb-watch-track { margin-top: 20px; }
  .is-scroll-journey .bb-watch-card:nth-child(odd) { margin-top: 20px; }
}
