/* Homepage demo cursor */
.dc { position: fixed; inset: 0; z-index: 65; pointer-events: none; }
.dc-cursor { position: absolute; left: 0; top: 0; width: 28px; height: 28px; margin: -3px 0 0 -4px; opacity: 0; will-change: transform;
  transition: opacity 260ms ease; filter: drop-shadow(0 4px 8px rgba(17, 17, 17, .25)); }
.dc.on .dc-cursor { opacity: 1; }
.dc.away .dc-cursor { opacity: 0; }
.dc-cursor svg { display: block; transition: transform 120ms cubic-bezier(.23, 1, .32, 1); transform-origin: 4px 3px; }
.dc-cursor.down svg { transform: scale(.82); }
/* click ripple */
.dc-ring { position: absolute; left: 4px; top: 3px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2px solid var(--orange, #d9541e); opacity: 0; transform: scale(.3); }
.dc-ring.go { animation: dc-ring 520ms cubic-bezier(.23, 1, .32, 1); }
@keyframes dc-ring { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }

/* caption next to the cursor (same pop as the app's mascot bubble) */
.dc-tip { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; max-width: 300px; padding: 9px 12px; border-radius: 12px;
  background: #111; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; box-shadow: 0 10px 28px rgba(17, 17, 17, .25);
  opacity: 0; visibility: hidden; transform-origin: top left; will-change: transform; pointer-events: auto; }
.dc-tip.show { opacity: 1; visibility: visible; animation: dc-pop 300ms cubic-bezier(.34, 1.4, .64, 1) both; }
@keyframes dc-pop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
.dc.away .dc-tip:not(.keep) { opacity: 0; visibility: hidden; }
.dc-off { flex: none; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: none; color: #d6ccb9; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.dc-off:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }

/* "your turn": a soft pulsing outline around the button a person should click */
.dc-spot { position: absolute; left: 0; top: 0; border-radius: 14px; border: 2px solid var(--orange, #d9541e); opacity: 0; will-change: transform;
  box-shadow: 0 0 0 0 rgba(217, 84, 30, .35); transition: opacity 220ms ease; }
.dc-spot.on { opacity: 1; animation: dc-pulse 1.6s ease-out infinite; }
@keyframes dc-pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 84, 30, .4); } 100% { box-shadow: 0 0 0 14px rgba(217, 84, 30, 0); } }
@media (prefers-reduced-motion: reduce) { .dc-tip.show, .dc-spot.on, .dc-ring.go { animation: none; } .dc-cursor svg { transition: none; } }

/* the visitor is using the section themselves: the demo steps aside until they scroll */
.dc { transition: opacity 260ms ease; }
.dc.away { opacity: 0; }

/* the item the cursor passes over during a sweep */
.dc-hl { outline: none; }
#faq summary.dc-hl { color: var(--orange, #d9541e); }

/* the demo cursor's hover looks exactly like a real mouse's hover */
.problem.r-card.dc-hl, .q-card.r-card.dc-hl { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.problem.r-card.dc-hl { border-color: rgba(217, 84, 30, 0.35); }
.problem.r-card.dc-hl .num { transform: translateX(4px); }
.trust.r-card.dc-hl { translate: 0 -4px; border-color: rgba(217, 84, 30, 0.35); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.trust.r-card.dc-hl .ico, .feature.r-card.dc-hl .ico { transform: rotate(-6deg) scale(1.08); background: var(--orange); color: #fff; }
.feature.dc-hl { background: #fdfcfa; }
