/* ============================================================
   shisu — comparison pages (Why Shisu? hub + Shisu vs X)
   Re-skinned to match the pricing page. Builds on shisu-v2.css
   AND shisu-pricing.css (both must load first): it reuses the
   pricing design system — system-sans type, #15161a ink,
   #e8590c accent, white/cream surfaces, #141519 pill CTAs, the
   grouped borderless matrix, the "Only on Shisu" AI band, the
   #ck check sprite, and the FAQ accordion — and only adds the
   compare-specific pieces (hero, pillars, the highlighted Shisu
   column, competitor flags, spotlights, matchups, fairness,
   trust strip, and the multi-rival hub table).
   ============================================================ */
:root{
  --bad:#c0453a;        /* warm red for competitor pain points */
  --bad-soft:#f8eae7;
}

/* ── compare hero (mirrors .price-hero) ──────────────────── */
.cmp-hero{text-align:center;padding:72px 0 52px;
  background:linear-gradient(180deg,#fbf9f5 0%,var(--bg) 60%);}
.cmp-hero .eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-d);margin-bottom:16px;}
.cmp-hero h1{font-family:var(--display);font-size:clamp(36px,5.2vw,62px);line-height:1.05;letter-spacing:-.024em;max-width:15ch;margin:0 auto;}
.cmp-hero h1 .vs{font-style:italic;font-weight:500;color:var(--ink-3);}
.cmp-hero .sub{max-width:640px;margin:22px auto 0;color:var(--ink-2);font-size:19px;line-height:1.55;}
.cmp-hero .sub b{color:var(--ink);font-weight:600;}
.cmp-hero-cta{display:flex;gap:12px;justify-content:center;margin-top:32px;flex-wrap:wrap;}
.cmp-hero .logos{margin-top:30px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.cmp-hero .logos .lg{font-size:13px;font-weight:600;color:var(--ink-3);background:var(--card);
  border:1px solid var(--line);border-radius:100px;padding:7px 15px;}

/* ── hub pillars ─────────────────────────────────────────── */
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
@media(max-width:920px){.pillars{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.pillars{grid-template-columns:1fr;}}
.pillar{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px 22px;
  display:flex;flex-direction:column;}
.pillar .p-ic{width:40px;height:40px;border-radius:11px;background:var(--accent-soft);color:var(--accent-d);display:grid;place-items:center;margin-bottom:16px;}
.pillar .p-ic svg{width:20px;height:20px;}
.pillar h3{font-size:16.5px;font-weight:600;letter-spacing:-.015em;color:var(--ink);}
.pillar p{font-size:13.5px;color:var(--ink-2);line-height:1.55;margin-top:8px;}
.pillar p b{color:var(--ink);font-weight:600;}

/* ── section heading shared by table + matchups ──────────── */
.cmp-sec-head{max-width:680px;margin-bottom:34px;}
.cmp-sec-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.cmp-sec-head .eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-d);margin-bottom:13px;}
.cmp-sec-head h2{font-size:clamp(27px,3.8vw,42px);letter-spacing:-.022em;color:var(--ink);}
.cmp-sec-head p{margin-top:13px;color:var(--ink-2);font-size:16.5px;line-height:1.55;}
.cmp-sec-head p b{color:var(--ink);font-weight:600;}

/* ── comparison matrix (extends .cmp from shisu-pricing.css) ─ */
.cmp-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
/* the pricing matrix base already gives: borderless grouped rows,
   .grp / .grp.ai bands, .ck-i checks, .cx em-dash, tabular nums. */

/* feature column */
.cmp .ft-sub{display:block;font-size:12px;font-weight:500;color:var(--ink-3);margin-top:2px;letter-spacing:0;}

/* column headers: name + sub price */
.cmp thead .cmp-pn{display:block;font-size:16.5px;font-weight:600;letter-spacing:-.015em;color:var(--ink);}
.cmp thead .cmp-pp{display:block;font-size:12.5px;font-weight:500;color:var(--ink-3);margin-top:3px;font-variant-numeric:tabular-nums;}

/* highlighted Shisu column — tinted, with a "best value" cap */
.cmp .col-shisu{background:color-mix(in srgb,var(--accent-soft) 28%,#fff);}
.cmp thead .col-shisu{background:var(--accent-soft);border-top:3px solid var(--accent);
  border-top-left-radius:12px;border-top-right-radius:12px;}
.cmp tfoot .col-shisu{border-bottom-left-radius:12px;border-bottom-right-radius:12px;}
.cmp thead .col-shisu .cmp-pn{color:var(--accent-d);}
.cmp thead .col-shisu .cmp-pp{color:var(--accent-d);opacity:.8;}
/* "Best value" badge removed — read as fluff */
.cmp .col-shisu .cmp-cap{display:none;}
.cmp tbody .col-shisu{color:var(--ink);}

/* value tokens inside cells */
.cmp-strong{color:var(--ink);font-weight:700;}
/* Shisu-column values stay ink like the pricing page (orange read too heavy
   on the cream tint); the tint + accent header already mark the column */
.cmp .col-shisu .cmp-strong{color:var(--ink);}
.cmp-sub{display:block;font-size:11.5px;font-weight:500;color:var(--ink-3);margin-top:3px;letter-spacing:0;}
.cmp-flag{display:inline-block;color:var(--bad);background:var(--bad-soft);border-radius:7px;
  padding:3px 9px;font-weight:700;font-size:12.5px;letter-spacing:-.01em;}
/* competitor "doesn't have it" — soft circled minus, clearer than a bare dash */
.x-no{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:50%;
  background:var(--line-2);color:var(--ink-3);margin:0 auto;}
.x-no svg{width:11px;height:11px;}
/* partial / caveated yes */
.cmp-part{color:var(--ink-2);font-weight:600;font-size:13px;}

/* the AI band's red-X column reads as a wall of gaps (set in markup) */
.cmp tr.ai-row td:not(.col-shisu) .x-no{background:var(--bad-soft);color:var(--bad);}

/* tfoot CTAs */
.cmp tfoot td{padding-top:20px;border-bottom:0;}
.cmp tfoot .btn{width:100%;justify-content:center;padding:15px 18px;}
.btn-sm{padding:10px 16px;font-size:13.5px;}

/* ── vs-page table: 3 logical columns (feature · Shisu · rival) ─ */
.cmp-vs{min-width:520px;}
.cmp-vs tbody th{width:46%;}

/* ── hub table: Shisu + many rivals, scrolls; picker on mobile ─ */
.cmp-hub{min-width:980px;}
.cmp-hub tbody th{width:24%;min-width:190px;}
.cmp-hub thead .cmp-pn{font-size:15px;}
.cmp-hub th,.cmp-hub td{padding:13px 14px;}

/* mobile rival picker (reuses .cmp-tabs / .cmp-tab from pricing.css;
   breakpoint matches the picker's own 760px so columns never hide
   without the tabs being available to switch them) */
@media(max-width:760px){
  .cmp-hub{min-width:0;table-layout:fixed;}
  .cmp-hub .col-rival{display:none;}
  .cmp-hub[data-show="toast"]     .col-toast,
  .cmp-hub[data-show="square"]    .col-square,
  .cmp-hub[data-show="clover"]    .col-clover,
  .cmp-hub[data-show="lightspeed"] .col-lightspeed,
  .cmp-hub[data-show="chowbus"]   .col-chowbus,
  .cmp-hub[data-show="menusifu"]  .col-menusifu{display:table-cell;}

  /* same de-cramp as the vs tables: fit feature + Shisu + active rival,
     wrap values, centered, smaller type (overrides pricing .cmp bleed) */
  .cmp-hub .cmp-feat,.cmp-hub tbody th{width:40%;min-width:0;}
  .cmp-hub thead th:not(.cmp-feat){width:30%;}
  .cmp-hub th,.cmp-hub td{padding:11px 8px;}
  .cmp-hub tbody th{font-size:12.5px;line-height:1.3;}
  .cmp-hub .ft-sub{font-size:10.5px;}
  .cmp-hub tbody td{white-space:normal;text-align:center;line-height:1.3;font-size:12.5px;}
  .cmp-hub thead th{text-align:center;}
  .cmp-hub .cmp-feat{text-align:left;}
  .cmp-hub thead .cmp-pn{font-size:14px;}
  .cmp-hub thead .cmp-pp{font-size:11px;}
  .cmp-hub .cmp-strong{font-size:12.5px;}
  .cmp-hub .cmp-part{font-size:12px;}
  .cmp-hub .cmp-flag{font-size:11px;padding:3px 7px;white-space:normal;}
  .cmp-hub .cmp-sub{font-size:10.5px;}

  /* stacked hero/section CTAs: content-sized + centered, not full-width */
  .cmp-hero-cta{flex-direction:column;align-items:center;}
  .cmp-hero-cta .btn{width:auto;align-self:center;}

  /* hub rival picker has 6 tabs — too wide to fit, so make it a contained
     horizontal scroll strip instead of overflowing the whole page */
  .cmp-tabs-hub{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;justify-content:flex-start;}
  .cmp-tabs-hub::-webkit-scrollbar{display:none;}
  .cmp-tabs-hub .cmp-tab{flex:0 0 auto;}
}

/* ── "short version" bullets (vs pages) ──────────────────── */
.shortlist{display:grid;gap:13px;max-width:780px;}
.sl-item{display:flex;gap:13px;align-items:flex-start;font-size:16px;color:var(--ink-2);line-height:1.5;}
.sl-item .ck{flex:none;width:24px;height:24px;border-radius:50%;background:var(--dark);color:#fff;display:grid;place-items:center;margin-top:1px;}
.sl-item .ck svg{width:13px;height:13px;}
.sl-item b{color:var(--ink);font-weight:600;}

/* ── spotlights (vs pages) ───────────────────────────────── */
.spotlights{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
@media(max-width:820px){.spotlights{grid-template-columns:1fr;}}
.spot{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:28px 26px;
  box-shadow:none;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.spot:hover{transform:translateY(-2px);border-color:var(--faint);
  box-shadow:none;}
.spot .s-k{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-d);}
.spot .s-k::before{content:"";width:18px;height:2px;border-radius:2px;background:var(--accent);}
.spot h3{font-size:18.5px;font-weight:600;letter-spacing:-.015em;margin-top:14px;line-height:1.3;color:var(--ink);}
.spot p{font-size:14.5px;color:var(--ink-2);line-height:1.6;margin-top:11px;}
.spot p b{color:var(--ink);font-weight:600;}

/* ── matchup cards (hub) ─────────────────────────────────── */
.matchup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
@media(max-width:860px){.matchup-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){.matchup-grid{grid-template-columns:1fr;}}
.matchup{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);padding:22px;text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.matchup:hover{transform:translateY(-3px);box-shadow:none;border-color:var(--faint);}
.matchup .m-vs{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3);}
.matchup h3{font-size:22px;font-weight:600;letter-spacing:-.02em;margin-top:6px;color:var(--ink);}
.matchup p{font-size:13.5px;color:var(--ink-2);line-height:1.5;margin-top:9px;flex:1;}
.matchup .m-go{margin-top:16px;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--accent-d);}
.matchup .m-go .arr{transition:transform .2s ease;}
.matchup:hover .m-go .arr{transform:translateX(3px);}

/* ── fairness note + sourcing footnote ───────────────────── */
.fairnote{max-width:780px;margin:0 auto;background:var(--soft);border:1px solid var(--line);
  border-radius:var(--r);padding:22px 24px;}
.fairnote .fn-k{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-bottom:8px;}
.fairnote p{font-size:15.5px;color:var(--ink-2);line-height:1.6;}
.fairnote p b{color:var(--ink);font-weight:600;}
.src-note{max-width:820px;margin:24px auto 0;font-size:12px;color:var(--ink-3);line-height:1.5;text-align:center;}

/* ── trust strip (hub) ───────────────────────────────────── */
.trust{background:var(--dark);color:#fbf9f5;border-radius:var(--r);padding:48px 40px;text-align:center;}
.trust .eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#e8a07e;}
.trust h2{font-family:var(--display);font-size:clamp(26px,3.6vw,38px);color:#fff;letter-spacing:-.02em;max-width:20ch;margin:14px auto 0;}
.trust p{max-width:580px;margin:16px auto 0;color:rgba(251,249,245,.66);font-size:16.5px;line-height:1.55;}
.trust .btn-light{background:#fff;color:#141519;border-color:#fff;}
.trust .btn-light:hover{background:#efe9df;border-color:#efe9df;}

@media(max-width:760px){
  .cmp-hero{padding:60px 0 40px;}
  .trust{padding:38px 24px;}

  /* vs table: fit feature + Shisu + rival to the viewport with no overlap.
     These override the pricing-page mobile rules that bleed in via .cmp
     (fixed 58% feature, nowrap right-aligned values, hidden tfoot). */
  .cmp-vs{min-width:0;table-layout:fixed;}
  .cmp-vs .cmp-feat,.cmp-vs tbody th{width:40%;}
  .cmp-vs thead th:not(.cmp-feat){width:30%;}
  .cmp-vs th,.cmp-vs td{padding:11px 8px;}
  .cmp-vs tbody th{font-size:12.5px;line-height:1.3;}
  .cmp-vs .ft-sub{font-size:10.5px;}
  .cmp-vs tbody td{white-space:normal;text-align:center;line-height:1.3;font-size:12.5px;}
  .cmp-vs thead th{text-align:center;}
  .cmp-vs .cmp-feat{text-align:left;}
  .cmp-vs thead .cmp-pn{font-size:14px;}
  .cmp-vs thead .cmp-pp{font-size:11px;}
  .cmp-vs .cmp-strong{font-size:12.5px;}
  .cmp-vs .cmp-part{font-size:12px;}
  .cmp-vs .cmp-flag{font-size:11px;padding:3px 7px;white-space:normal;}
  .cmp-vs .cmp-sub{font-size:10.5px;}
  /* pricing hides tfoot on mobile; the vs CTA must stay AND go full width.
     table-caption lets the footer span the whole table width (a block/flex
     tfoot collapses to content); the empty cells drop, the button fills. */
  .cmp-vs tfoot{display:table-caption;caption-side:bottom;}
  .cmp-vs tfoot tr{display:block;}
  .cmp-vs tfoot td:empty{display:none;}
  .cmp-vs tfoot td.col-shisu{display:block;width:100%;background:none;padding:18px 0 0;}
  .cmp-vs tfoot td.col-shisu .btn{width:100%;padding:15px 18px;font-size:14.5px;}
}

/* "—" not-applicable token (a rival value that's unknown / N/A);
   the empty top-left feature cell always left-aligns */
.cmp .cmp-feat{text-align:left;}
.cmp-no{color:var(--faint);font-size:15px;}
