/* Homepage video pair. Scoped to this section, fix1071. */
.ct-demo {
  width: calc(100% - 40px);
  max-width: 1100px;
  box-sizing: border-box;
  margin: 28px auto 40px;
  padding: 28px;
  border: 1px solid #d6d9de;
  border-top: 3px solid #f28c28;
  border-radius: 20px;
  background: #f1f2f4;
  color: #17364c;
  scroll-margin-top: 24px;
}
.ct-demo-heading { max-width: 780px; margin: 0 auto 22px; text-align: center; }
.ct-demo .eyebrow { margin: 0 0 12px; color: #466278; letter-spacing: .12em; }
.ct-demo h2 { margin: 0 0 12px; color: #17364c; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.ct-demo-heading > p:last-child { margin: 0; color: #536474; font-size: 16px; line-height: 1.5; }
.ct-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ct-video-card { display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid #dce0e5; border-radius: 14px; background: #fff; box-shadow: 0 3px 14px rgba(20, 35, 50, .05); }
.ct-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ct-demo h3 { margin: 0; color: #17364c; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }
.ct-video-duration { flex-shrink: 0; padding: 6px 10px; border: 1px solid #d6dce2; border-radius: 6px; color: #385166; background: #f0f2f4; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-video-description { margin: 8px 0 14px; color: #536474; font-size: 15px; line-height: 1.55; }
.ct-demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; margin-top: auto; border-radius: 8px; background: #020d16; }
.ct-demo-action { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; text-align: center; }
.ct-demo-action .primary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; margin: 0; padding: 14px 26px; border: 1px solid #ffaa4d; border-radius: 8px; background: #f28c28; color: #092036; font-size: 17px; font-weight: 800; line-height: 1.3; text-decoration: none; box-shadow: none; }
.ct-demo-action .primary-btn:hover { background: #ffab55; color: #092036; }
.ct-demo-action p { margin: 0; color: #536474; font-size: 14px; line-height: 1.5; }
.ct-demo a:focus-visible, .ct-demo video:focus-visible { outline: 3px solid #1766a0; outline-offset: 5px; }
@media (max-width: 760px) {
  .ct-demo { width: 100%; margin: 24px auto 34px; padding: 24px 16px; border-radius: 14px; }
  .ct-demo-heading { margin-bottom: 24px; text-align: left; }
  .ct-demo-heading > p:last-child { font-size: 16px; }
  .ct-demo-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ct-video-card { padding: 16px; }
  .ct-video-heading { gap: 10px; }
  .ct-demo h3 { font-size: 20px; }
  .ct-video-description { margin-bottom: 16px; }
  .ct-demo-action .primary-btn { width: 100%; }
}

/* (cl-batch137, John 2026-10-28: "That same blue and orange line should be here") the split cyan/orange line from the site header
   (cl-batch136) replaces the card's orange top border; inset from the rounded corners. */
.ct-demo{position:relative;border-top:1px solid #d6d9de}
.ct-demo::before,.ct-demo::after{content:"";position:absolute;top:-2px;height:3px;width:calc(50% - 23px);border-radius:3px;pointer-events:none}
.ct-demo::before{left:20px;background:#18c8ed;box-shadow:0 0 9px #18c8ed55}
.ct-demo::after{right:20px;background:#ff9a2f;box-shadow:0 0 9px #ff9a2f55}
