/* CareIntell — "How it works" three-video picker. Used on nri.html and how-it-works.html. */
.civ { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 1120px; margin: 0 auto; font-family: Inter, system-ui, sans-serif; }
.civ__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.civ__tab { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; min-height: 44px; border-radius: 16px; border: 1.5px solid #E2E8F0; background: #fff; font: inherit; text-align: left; cursor: pointer; color: #172554; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.civ__tab:hover { border-color: #99D5CF; }
.civ__tab:focus-visible { outline: 3px solid #0D9488; outline-offset: 2px; }
.civ__tab[aria-selected="true"] { border-color: #0D9488; background: #F0F8F7; box-shadow: 0 10px 24px -16px rgba(13,148,136,.6); }
.civ__num { flex: none; width: 32px; height: 32px; border-radius: 999px; background: #E2E8F0; color: #172554; font-family: Manrope, sans-serif; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.civ__tab[aria-selected="true"] .civ__num { background: #0D9488; color: #fff; }
.civ__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.civ__step { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0F766E; }
.civ__q { font-family: Manrope, sans-serif; font-size: 16px; line-height: 1.35; font-weight: 800; color: #172554; text-wrap: balance; }
.civ__len { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #64748B; }
.civ__len svg { flex: none; }
.civ__player { position: relative; border-radius: clamp(14px, 2vw, 20px); overflow: hidden; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 30px 60px -32px rgba(15,23,42,.45); }
.civ__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fff; }
.civ__play { position: absolute; left: 50%; top: 83%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 16px; border: 0; border-radius: 999px; background: #172554; color: #fff; font-family: Manrope, sans-serif; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(15,23,42,.6); transition: background-color .2s, transform .2s; white-space: nowrap; }
.civ__play:hover { background: #0D9488; }
.civ__play:focus-visible { outline: 3px solid #0D9488; outline-offset: 3px; }
.civ__play-ic { width: 32px; height: 32px; border-radius: 999px; background: #0D9488; display: flex; align-items: center; justify-content: center; }
.civ__play:hover .civ__play-ic { background: #172554; }
.civ__end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: rgba(255,255,255,.96); }
.civ [hidden] { display: none !important; }
.civ__end-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0F766E; }
.civ__end-t { margin: 0; max-width: 560px; font-family: Manrope, sans-serif; font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.3; color: #172554; text-wrap: balance; }
.civ__end-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.civ__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid #CBD5E1; background: #fff; color: #172554; font-family: Manrope, sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; }
.civ__btn--primary { background: #0D9488; border-color: #0D9488; color: #fff; }
.civ__btn:hover { filter: brightness(1.05); border-color: #0D9488; }
.civ__btn--primary:hover { color: #fff; }
.civ__btn:focus-visible { outline: 3px solid #0D9488; outline-offset: 2px; }
.civ__note { margin: 0; font-size: 12.5px; line-height: 1.6; color: #64748B; text-align: center; text-wrap: pretty; }
@media (max-width: 767px) {
  .civ__tabs { grid-template-columns: 1fr; gap: 8px; order: 2; }
  .civ__player { order: 1; }
  .civ__note { order: 3; }
  .civ__tab { padding: 12px 14px; align-items: center; }
  .civ__q { font-size: 15px; }
  .civ__step { display: none; }
  .civ__play { top: auto; bottom: 10px; transform: translateX(-50%); min-height: 44px; font-size: 14px; padding: 0 16px 0 10px; }
  .civ__play-ic { width: 28px; height: 28px; }
  .civ__end { gap: 10px; }
  .civ__end-k { display: none; }
  .civ__btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .civ * { transition: none !important; } }
