/* Product videos from the release notes. Used with videos.js. */
.cp-video {
  margin: 0;
}
.cp-video-frame {
  position: relative;
  aspect-ratio: 16 / 9; /* posters and clips are 1920x1080 */
  background: var(--card, #182030);
  border: 1px solid var(--border, #1e2a3a);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cp-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--card, #182030);
}
.cp-video-caption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted, #a9b4c3);
}
.cp-video-caption strong {
  color: var(--text, #e6edf6);
  font-weight: 600;
}

/* Inside a feature text column, under the pills */
.feat-text .cp-video {
  margin-top: 28px;
}

/* Picker: one player, a row of buttons that switch the clip */
.cp-video-picker {
  max-width: 960px;
  margin: 0 auto;
}
.feat-text .cp-video-picker {
  margin-top: 28px;
}
.feat-text .cp-video-picker .cp-video {
  margin-top: 0;
}
.cp-video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.cp-video-picker > .cp-video-tabs {
  justify-content: center;
}
.feat-text .cp-video-picker > .cp-video-tabs {
  justify-content: flex-start;
}
.cp-video-tab {
  padding: 8px 14px;
  font:
    500 13px/1.2 'Inter',
    system-ui,
    sans-serif;
  color: var(--muted, #a9b4c3);
  background: var(--surface-2, #141c2b);
  border: 1px solid var(--border, #1e2a3a);
  border-radius: 100px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.cp-video-tab:hover {
  border-color: var(--border-hover, #2e3e52);
  color: var(--text, #e6edf6);
}
.cp-video-tab[aria-pressed='true'] {
  color: var(--turquoise, #32d0dc);
  border-color: var(--turquoise, #32d0dc);
  background: var(--turq-muted, rgba(50, 208, 220, 0.1));
}
.cp-video-tab:focus-visible {
  outline: 2px solid var(--turquoise, #32d0dc);
  outline-offset: 2px;
}

/* Standalone video inside a page section (who-its-for) */
.cp-video-block {
  max-width: 880px;
  margin: 48px auto;
}
