/* Card icon backgrounds + insurance compare animation (2026-10-29, rev b: no text zoom) */

/* insurance cost cards: hover lift (icon background lives in fx/card-bg.css) */
.why-cmp .cmp{transition:transform .35s cubic-bezier(.16,.8,.24,1),border-color .35s ease,box-shadow .35s ease}
@media (hover:hover){.why-cmp .cmp:hover{transform:translateY(-4px);border-color:rgba(154,117,54,.7);box-shadow:0 18px 36px -24px rgba(20,18,16,.35)}@media (min-width:1024px){/*s80*/.why-cmp .cmp:hover{transform:translateY(-2.88px);border-color:rgba(154,117,54,.7);box-shadow:0 12.96px 25.92px -17.28px rgba(20,18,16,.35)}/*/s80*/}}

/* reveal sequence: cards (existing), then prices count up (JS), then badges pop one by one, then "Your life" */
@media (prefers-reduced-motion:no-preference){
  html.anim .why-cmp .cmp-st{opacity:0;transform:scale(.6);transform-origin:0 50%;transition:opacity .35s ease,transform .5s cubic-bezier(.34,1.56,.64,1)}
  html.anim .why-cmp.cmp-go .cmp-st{opacity:1;transform:none;transition-delay:calc(var(--d) + 1.25s)}
  html.anim .why-cmp .cmp-st .ok-t{stroke-dasharray:14;stroke-dashoffset:14;transition:stroke-dashoffset .45s ease}
  html.anim .why-cmp.cmp-go .cmp-st .ok-t{stroke-dashoffset:0;transition-delay:calc(var(--d) + 1.45s)}
  html.anim .why-cmp .cmp-st .no-c{transform-origin:10px 10px;transform:rotate(-200deg) scale(.4);opacity:0;transition:transform 1.1s cubic-bezier(.16,.8,.24,1),opacity .5s ease}@media (min-width:1024px){/*s80*/html.anim .why-cmp .cmp-st .no-c{transform-origin:7.2px 7.2px;transform:rotate(-200deg) scale(.4);opacity:0;transition:transform 1.1s cubic-bezier(.16,.8,.24,1),opacity .5s ease}/*/s80*/}
  html.anim .why-cmp.cmp-go .cmp-st .no-c{transform:none;opacity:1;transition-delay:2.25s}
  html.anim .why-cmp .cmp-st .no-q{opacity:0;transition:opacity .4s ease}
  html.anim .why-cmp.cmp-go .cmp-st .no-q{opacity:1;transition-delay:2.9s}
  html.anim .why-cmp.cmp-go .cmp.you{animation:youGlow 2.2s ease 2.6s 2}
}
@keyframes youGlow{0%,100%{border-color:rgba(154,117,54,.6);box-shadow:0 20px 40px -30px rgba(122,90,50,.6),0 0 0 0 rgba(176,138,58,0)}
  45%{border-color:rgba(154,117,54,1);box-shadow:0 20px 40px -30px rgba(122,90,50,.6),0 0 0 7px rgba(176,138,58,.2),0 0 28px 2px rgba(201,164,92,.28)}}@media (min-width:1024px){/*s80*/@keyframes youGlow{0%,100%{border-color:rgba(154,117,54,.6);box-shadow:0 14.4px 28.8px -21.6px rgba(122,90,50,.6),0 0 0 0 rgba(176,138,58,0)}
  45%{border-color:rgba(154,117,54,1);box-shadow:0 14.4px 28.8px -21.6px rgba(122,90,50,.6),0 0 0 5.04px rgba(176,138,58,.2),0 0 20.16px 1.44px rgba(201,164,92,.28)}}/*/s80*/}
@media (prefers-reduced-motion:reduce){
  .why-cmp .cmp{transition:border-color .2s linear!important}
  .why-cmp .cmp:hover{transform:none!important}
}
