/* COMPARE family: "the head-to-head". Loaded only on vs_* pages, scoped under .t-compare.
   Accent: neutral greys for the competitor, success green for checks, aubergine for knowhere. */
.t-compare{--cx-g0:#F8F7FA;--cx-g1:#F4F3F7;--cx-g2:#E5E1ED;--cx-g3:#9B94AE;--cx-g4:#7E7398;--cx-ok:#55B685;--cx-okt:#EEF8F2;--cx-kt:#F4F3F7}
.t-compare a.card{color:inherit}

/* ---------- hero: split head-to-head ---------- */
.t-compare .cx-hero{padding-block:clamp(48px,7vw,96px) clamp(56px,7vw,96px)}
.t-compare .cx-head{display:flex;flex-direction:column;gap:16px}
.t-compare .cx-head .kick{margin:0;color:var(--cx-g4)}
.t-compare .cx-head h1{font:600 clamp(36px,4.3vw,62px)/1.06 var(--display);letter-spacing:-.035em;text-wrap:pretty}
.t-compare .cx-head .lead{font-size:clamp(18px,1.5vw,20px);line-height:1.55;max-width:62ch;color:var(--fg2)}

.t-compare .cx-duel{position:relative;display:grid;grid-template-columns:1fr 1fr;margin-top:clamp(40px,5vw,64px);border-radius:28px;overflow:hidden;box-shadow:0 30px 70px -40px rgba(25,18,41,.45),0 0 0 1px rgba(25,18,41,.05)}
.t-compare .cx-side{position:relative;display:flex;flex-direction:column;gap:12px;padding:clamp(28px,3.6vw,52px) clamp(24px,3.6vw,52px) 0;min-width:0}
.t-compare .cx-them{background:linear-gradient(165deg,var(--cx-g0),var(--cx-g2));color:var(--cx-g4)}
.t-compare .cx-us{color:#fff;background:radial-gradient(70% 70% at 100% 0%,transparent,transparent 60%),radial-gradient(60% 60% at 0% 100%,rgba(99,62,180,.28),transparent 60%),linear-gradient(160deg,var(--au1),var(--au2) 55%,var(--au3))}
.t-compare .cx-who{display:flex;align-items:center;gap:10px;font:600 clamp(24px,2.4vw,32px)/1 var(--display);letter-spacing:-.03em;margin:0 0 clamp(12px,2vw,28px)}
.t-compare .cx-them .cx-who{color:var(--cx-g3)}
.t-compare .cx-us .cx-who img{height:26px;width:auto}
.t-compare .cx-lab{font:600 12px/1.2 var(--sans);letter-spacing:.08em;text-transform:uppercase;margin:0}
.t-compare .cx-them .cx-lab{color:var(--cx-g4)}
.t-compare .cx-us .cx-lab{color:var(--lilac)}
.t-compare .cx-claim{font:600 clamp(24px,2.4vw,32px)/1.15 var(--display);letter-spacing:-.02em;margin:0;text-wrap:pretty}
.t-compare .cx-claim.num{font-size:clamp(36px,3.6vw,48px);line-height:1}
.t-compare .cx-them .cx-claim{color:#7E7398}
.t-compare .cx-side>p:not(.cx-who):not(.cx-lab){margin:0;font-size:17px;line-height:1.55;max-width:44ch;text-wrap:pretty}
.t-compare .cx-us>p:not(.cx-who):not(.cx-lab){color:rgba(255,255,255,.78)}
.t-compare .cx-side b{color:inherit}
/* bottom visuals, both bleed off the bottom-right edge at the same height */
.t-compare .cx-shot,.t-compare .cx-ghost{margin:clamp(24px,3vw,40px) calc(-1*clamp(24px,3.6vw,52px)) 0 0;margin-top:auto;aspect-ratio:16/9.4;border-radius:14px 0 0 0;overflow:hidden}
.t-compare .cx-shot{background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 40px 80px -30px rgba(0,0,0,.7)}
.t-compare .cx-shot img{width:100%;height:100%;object-fit:cover;object-position:left top}
.t-compare .cx-ghost{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;grid-auto-rows:1fr;gap:1px;background:var(--cx-g2);border:1px solid var(--cx-g2);border-width:1px 0 0 1px;filter:saturate(0)}
.t-compare .cx-ghost i{background:#F8F7FA;position:relative}
.t-compare .cx-ghost i::after{content:"";position:absolute;left:12%;top:50%;height:7px;width:var(--w,55%);margin-top:-3.5px;border-radius:4px;background:var(--cx-g2)}
.t-compare .cx-ghost i:nth-child(-n+4){background:var(--cx-g1)}
.t-compare .cx-ghost i:nth-child(-n+4)::after{background:var(--cx-g3);opacity:.55}
.t-compare .cx-ghost i:nth-child(3n)::after{--w:38%}
.t-compare .cx-ghost i:nth-child(5n)::after{--w:70%}
.t-compare .cx-ghost i:nth-child(7n)::after{--w:0%}
.t-compare .cx-vs{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--fg);font:600 20px/1 var(--display);letter-spacing:-.02em;box-shadow:0 0 0 8px rgba(255,255,255,.35),0 14px 30px -10px rgba(25,18,41,.5)}
/* below the duel: the shift line + quick ctas */
.t-compare .cx-after{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px clamp(32px,6vw,96px);align-items:end;margin-top:clamp(36px,4vw,56px)}
.t-compare .cx-after .kick{color:var(--cx-g4)}
.t-compare .cx-after h2{margin-bottom:10px}
.t-compare .cx-after .body{margin:0}
.t-compare .cx-after .cta-row{margin:0;font-weight:500;color:var(--fg2)}
.t-compare .cx-after .cta-row span{flex-basis:100%}
@media (max-width:920px){
  .t-compare .cx-duel{grid-template-columns:1fr}
  .t-compare .cx-vs{position:relative;left:auto;top:auto;transform:none;justify-self:start;margin:-34px 0 -34px clamp(24px,3.6vw,52px);width:64px;height:64px;font-size:18px}
  .t-compare .cx-them{padding-bottom:44px}
  .t-compare .cx-them .cx-ghost{display:none}
  .t-compare .cx-us{padding-top:48px}
}
@media (max-width:920px){.t-compare .cx-after{grid-template-columns:1fr}}

/* ---------- verdict scoreboard strip ---------- */
.t-compare section.cx-verdict{padding-top:0}
.t-compare .cx-score{background:#fff;border-radius:24px;box-shadow:var(--shadow-card),0 0 0 1px rgba(25,18,41,.05);overflow:hidden}
.t-compare .cx-row{display:grid;grid-template-columns:minmax(150px,.62fr) 1fr 1fr;border-top:1px solid var(--hl)}
.t-compare .cx-row:first-child{border-top:0}
.t-compare .cx-row>*{padding:18px clamp(16px,2vw,26px);margin:0;font-size:16px;line-height:1.5}
.t-compare .cx-row>b{font-weight:600;color:var(--fg)}
.t-compare .cx-row>.t{color:var(--cx-g4);display:flex;gap:12px}
.t-compare .cx-row>.t::before{content:"";flex:none;width:10px;height:10px;margin-top:7px;border-radius:50%;background:var(--cx-g3);opacity:.6}
.t-compare .cx-row>.u{background:var(--cx-kt);color:var(--fg);font-weight:500;display:flex;gap:12px}
.t-compare .cx-row>.u::before{content:"";flex:none;width:10px;height:10px;margin-top:7px;border-radius:50%;background:var(--cx-ok)}
.t-compare .cx-row.hd>*{padding-block:16px;font:600 12px/1.2 var(--sans);letter-spacing:.08em;text-transform:uppercase}
.t-compare .cx-row.hd>.t{color:var(--cx-g3);background:var(--cx-g0)}
.t-compare .cx-row.hd>.u{color:#fff;background:var(--fg)}
.t-compare .cx-row.hd>*::before{display:none}
.t-compare .cx-vtext{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px clamp(32px,6vw,96px);margin-top:clamp(48px,6vw,80px);align-items:start}
.t-compare .cx-vtext .kick{color:var(--cx-g4)}
.t-compare .cx-vtext .body{margin:0}
@media (max-width:760px){
  .t-compare .cx-row{grid-template-columns:1fr;padding:16px 18px 14px;gap:8px}
  .t-compare .cx-row>*{padding:0}
  .t-compare .cx-row>.t,.t-compare .cx-row>.u{font-size:15px;padding:10px 12px;border-radius:12px;flex-wrap:wrap;column-gap:10px}
  .t-compare .cx-row>.t{background:var(--cx-g0)}
  .t-compare .cx-row>.t::before,.t-compare .cx-row>.u::before{display:none}
  .t-compare .cx-row>.t>span::before,.t-compare .cx-row>.u>span::before{content:none}
  .t-compare .cx-row>[data-l]{display:block}
  .t-compare .cx-row>[data-l]::before{content:attr(data-l)!important;display:block!important;width:auto!important;height:auto!important;margin:0 0 4px!important;border-radius:0!important;background:none!important;opacity:1!important;font:600 11.5px/1.4 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
  .t-compare .cx-row.hd{display:none}
  .t-compare .cx-row:nth-child(2){border-top:0}
}
@media (max-width:920px){.t-compare .cx-vtext{grid-template-columns:1fr}}

/* ---------- the comparison table, the centerpiece ---------- */
.t-compare .cx-tablehead{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:20px clamp(32px,6vw,96px);align-items:end}
.t-compare .cx-tablehead .prose p{margin:0}
@media (max-width:920px){.t-compare .cx-tablehead{grid-template-columns:1fr}}
.t-compare .cmpwrap{margin-top:clamp(40px,5vw,56px);border-radius:28px;box-shadow:0 24px 60px -40px rgba(25,18,41,.35),0 0 0 1px rgba(25,18,41,.06)}
.t-compare section.white .cmpwrap{background:#fff}
.t-compare .cmp{font-size:16px}
.t-compare .cmp th,.t-compare .cmp td{padding:20px clamp(16px,2vw,28px)}
.t-compare .cmp thead th{font-size:13px;padding-block:22px;top:0;position:static}
.t-compare .cmp thead th:nth-child(2){color:var(--cx-g4);background:var(--cx-g0)}
.t-compare .cmp thead th.kh{background:linear-gradient(160deg,var(--au1),var(--au3));color:#fff}
.t-compare .cmp tbody th{width:24%}
.t-compare .cmp td{width:38%;color:var(--cx-g4)}
.t-compare .cmp td.kh{background:var(--cx-kt);color:var(--fg)}
.t-compare .cmp tbody tr:hover>*{background-color:#F8F7FA}
.t-compare .cmp tbody tr:hover>td.kh{background-color:#F4F3F7}
/* yes / no marks */
.t-compare .ck,.t-compare .dx{display:inline-block;vertical-align:-5px;width:22px;height:22px;border-radius:50%;margin-right:10px;position:relative;flex:none}
.t-compare .ck{background:var(--cx-okt)}
.t-compare .ck::after{content:"";position:absolute;left:7.5px;top:4.5px;width:5px;height:9px;border:solid var(--cx-ok);border-width:0 2.4px 2.4px 0;transform:rotate(45deg)}
.t-compare .dx{background:var(--cx-g1)}
.t-compare .dx::after{content:"";position:absolute;left:6px;right:6px;top:10px;height:2.4px;border-radius:2px;background:var(--cx-g3)}
.t-compare .cmp td .mk{display:flex;align-items:flex-start}
.t-compare .cmp td .mk>span:last-child{min-width:0}
.t-compare .cx-what{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px clamp(32px,6vw,96px);margin-top:clamp(40px,5vw,56px)}
.t-compare .cx-what .prose p{margin:0}
@media (max-width:920px){.t-compare .cx-what{grid-template-columns:1fr}}
@media (max-width:760px){
  .t-compare .cmpwrap{border-radius:22px}
  .t-compare .cmp tr{padding:18px 18px 14px}
  .t-compare .cmp tbody th{width:auto;padding:0}
  .t-compare .cmp td{width:auto}
  .t-compare .cmp tbody tr:hover>*{background-color:transparent}
  .t-compare .cmp td{padding:10px 12px;margin-top:8px;border-radius:12px}
  .t-compare .cmp td:not(.kh){background:var(--cx-g0)}
  .t-compare .cmp td.kh,.t-compare .cmp tbody tr:hover>td.kh{background:var(--cx-kt)}
  .t-compare .cmp td::before{margin:0 0 4px}
}

/* ---------- where each wins: grey card vs aubergine card ---------- */
.t-compare .cx-two .card:not(.dark){background:var(--cx-g0);box-shadow:0 0 0 1px var(--cx-g1)}
.t-compare .cx-two .card:not(.dark) .tag{color:var(--cx-g4)}
.t-compare .cx-two .card:not(.dark) .ticks li::before{background:var(--cx-g3)}
.t-compare .cx-two .card.dark .ticks li::before{background:var(--lilac)}
.t-compare .cx-note{margin-top:clamp(32px,4vw,48px);max-width:860px}

/* ---------- which to pick: two-sided decision split ---------- */
.t-compare .cx-pick{display:grid;grid-template-columns:1fr 1fr;margin-top:clamp(40px,5vw,56px);border-radius:28px;overflow:hidden;box-shadow:0 30px 70px -44px rgba(25,18,41,.45),0 0 0 1px rgba(25,18,41,.05)}
.t-compare .cx-opt{display:flex;flex-direction:column;gap:12px;padding:clamp(28px,3.4vw,48px);min-width:0}
.t-compare .cx-opt p{margin:0;font-size:16.5px;line-height:1.6;text-wrap:pretty}
.t-compare .cx-opt h3{font:600 clamp(24px,2.4vw,32px)/1.15 var(--display);letter-spacing:-.02em;margin:0;text-wrap:pretty}
.t-compare .cx-opt .tag{font:600 12px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase}
.t-compare .cx-opt .who{font:600 13px/1 var(--sans);letter-spacing:.02em;display:flex;align-items:center;gap:8px;margin-bottom:6px}
.t-compare .cx-opt .who::before{content:"";width:10px;height:10px;border-radius:50%}
.t-compare .cx-opt .price{font:600 clamp(32px,3vw,48px)/1 var(--display);letter-spacing:-.03em;margin-top:8px}
.t-compare .cx-opt .ticks{margin:8px 0 0}
.t-compare .cx-opt>.btn,.t-compare .cx-opt>.tlink{align-self:flex-start;margin-top:auto}
.t-compare .cx-opt>.ticks{margin-bottom:12px}
.t-compare .cx-opt.them{background:var(--cx-g0);color:var(--cx-g4);border-right:1px solid var(--cx-g1)}
.t-compare .cx-opt.them h3,.t-compare .cx-opt.them .price{color:#7E7398}
.t-compare .cx-opt.them .tag{color:var(--cx-g4)}
.t-compare .cx-opt.them .who{color:var(--cx-g3)}
.t-compare .cx-opt.them .who::before{background:var(--cx-g3)}
.t-compare .cx-opt.them .ticks li::before{background:var(--cx-g3)}
.t-compare .cx-opt.us{color:#fff;background:radial-gradient(70% 60% at 100% 0%,rgba(157,123,255,.18),transparent 60%),linear-gradient(160deg,var(--au1),var(--au3))}
.t-compare .cx-opt.us p{color:rgba(255,255,255,.78)}
.t-compare .cx-opt.us .tag{color:var(--lilac)}
.t-compare .cx-opt.us .who{color:var(--lilac)}
.t-compare .cx-opt.us .who::before{background:var(--cx-ok)}
.t-compare .cx-opt.us .ticks li::before{background:var(--lilac)}
.t-compare .cx-opt.them .lone{font:600 clamp(20px,1.8vw,22px)/1.4 var(--display);letter-spacing:-.015em;color:#7E7398;max-width:30ch}
@media (max-width:860px){.t-compare .cx-pick{grid-template-columns:1fr}.t-compare .cx-opt.them{border-right:0;border-bottom:1px solid var(--cx-g1)}}

@media (prefers-reduced-motion:reduce){.t-compare a.card{transition:none}}
.t-compare .cx-row .mk{display:flex;align-items:flex-start}
.t-compare .cx-row>:has(.mk)::before{display:none}
.t-compare .nw{white-space:nowrap}
.t-compare a.card .tlink{align-self:flex-start}
.t-compare .cx-opt.them .lone{font-size:clamp(22px,2.4vw,32px);line-height:1.2;letter-spacing:-.02em;max-width:22ch}
