/* Shared, responsive demo player for the home and partner pages. */
.demo-section {
  padding: 64px 0;
  background: var(--bg-soft, #f7f8fa);
  border-bottom: 1px solid var(--border, #e6e8ec);
  scroll-margin-top: 96px;
}
.demo-wrap { max-width: 1060px; margin: 0 auto; }
.demo-heading { max-width: 680px; margin: 0 auto 26px; text-align: center; }
.demo-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--blue, #0066cc);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.demo-heading h2 {
  margin-bottom: 12px;
  color: var(--ink, #0d1220);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.demo-heading p { color: var(--muted, #6b7280); font-size: 16px; line-height: 1.6; }
.demo-player {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border, #e6e8ec);
  border-radius: 12px;
  background: #0b1220;
  box-shadow: var(--shadow-lg, 0 12px 32px rgba(15, 23, 42, .08));
}
.demo-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}
.demo-player video:focus-visible { outline: 3px solid #74b9ff; outline-offset: -3px; }
.demo-player figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 14px 18px;
  background: #fff;
  color: var(--text, #374151);
  font-size: 13px;
}
.demo-duration { color: var(--muted, #6b7280); white-space: nowrap; }
.demo-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}
.demo-direct { color: var(--blue, #0066cc); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.demo-jump { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 700px) {
  .demo-section { padding: 40px 0; scroll-margin-top: 80px; }
  .demo-heading { margin-bottom: 20px; }
  .demo-player { border-radius: 8px; }
  .demo-player figcaption { padding: 12px 14px; }
}
