/* ==========================================================================
   Nearwork — comparison pages (compare.html + /compare/nearwork-vs-*.html)
   Loaded AFTER service-page.css. All rules scoped to body.cmp-page so nothing
   here can affect the rest of the site.
   ========================================================================== */

.cmp-page { --cmp-w: 1120px; --cmp-prose: 720px; }

/* ── screen-reader text (gives the icon cells real, indexable words) ── */
.cmp-page .cx-sr {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.cmp-page .cmp-hero,
.cmp-page .vs-hero {
  padding:150px 28px 76px; text-align:center;
  background:linear-gradient(180deg, var(--bg-cream) 0%, var(--bg) 62%, var(--bg) 100%);
  border-bottom:1px solid var(--border);
}
.cmp-page .cmp-hero-inner,
.cmp-page .vs-hero-inner { max-width:880px; margin:0 auto; }

.cmp-page .cmp-hero .eyebrow,
.cmp-page .vs-hero .eyebrow { margin-bottom:24px; }

.cmp-page .cmp-hero h1,
.cmp-page .vs-hero h1 {
  font-size:clamp(36px, 4.4vw, 62px); line-height:1.04; letter-spacing:-.045em;
  max-width:18ch; margin:0 auto 20px; text-wrap:balance;
}
.cmp-page .vs-hero h1 { max-width:24ch; font-size:clamp(32px, 3.6vw, 50px); line-height:1.08; letter-spacing:-.04em; }
.cmp-page .cmp-hero h1 .cmp-accent,
.cmp-page .vs-hero h1 .vs-accent { color:var(--teal-dk); }

.cmp-page .cmp-hero p.hero-copy,
.cmp-page .vs-hero p.hero-copy {
  max-width:58ch; margin:0 auto; font-size:17.5px; line-height:1.7;
  color:var(--fg-2); text-wrap:pretty;
}
.cmp-page .cmp-hero .hero-actions { justify-content:center; margin-top:34px; }

.cmp-page .cmp-hero-chips {
  list-style:none; margin:22px auto 0; padding:0; max-width:660px;
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
}
.cmp-page .cmp-hero-chips li {
  font-size:13.5px; font-weight:500; letter-spacing:-.01em; color:var(--teal-dk);
  background:rgba(22,160,133,.08); border:1px solid rgba(22,160,133,.22);
  border-radius:999px; padding:6px 14px;
}
@media (max-width:760px) { .cmp-page .cmp-hero-chips li { font-size:12.5px; padding:5px 12px; } }


.cmp-page .cmp-hero-note {
  max-width:60ch; margin:26px auto 0; font-size:13px; line-height:1.65;
  color:var(--fg-3); text-wrap:pretty;
}

/* breadcrumbs */
.cmp-page .vs-crumbs {
  font-size:12.5px; color:var(--fg-3); margin-bottom:20px; text-align:center;
}
.cmp-page .vs-crumbs a { color:var(--fg-3); text-decoration:none; border-bottom:1px solid transparent; }
.cmp-page .vs-crumbs a:hover { color:var(--teal-dk); border-bottom-color:var(--teal-mid); }

/* verdict panel */
.cmp-page .vs-verdict {
  position:relative; max-width:820px; margin:44px auto 0; text-align:left;
  background:var(--white); border:1px solid var(--border);
  border-radius:20px; padding:30px 34px 32px;
  box-shadow:0 28px 64px -40px rgba(0,0,0,.22);
}
.cmp-page .vs-verdict::before {
  content:''; position:absolute; left:0; top:22px; bottom:22px; width:4px;
  border-radius:0 4px 4px 0; background:var(--teal);
}
.cmp-page .vs-verdict-tag {
  display:inline-block; font-size:10px; font-weight:800; letter-spacing:.09em;
  text-transform:uppercase; color:var(--teal-dk); background:var(--teal-lt);
  border-radius:999px; padding:5px 12px; margin-bottom:14px;
}
.cmp-page .vs-verdict p {
  font-size:16.5px; color:var(--fg-2); line-height:1.72; margin:0; text-wrap:pretty;
}
.cmp-page .vs-verdict p b { color:var(--fg); font-weight:700; }

/* ── SECTION HEADS ────────────────────────────────────────────────────── */
.cmp-page .section-head { max-width:var(--cmp-prose); margin:0 auto 44px; text-align:center; }
.cmp-page .section-head h2 { font-size:clamp(28px, 3vw, 42px); letter-spacing:-.035em; text-wrap:balance; }
.cmp-page .section-head .section-lede { font-size:16.5px; line-height:1.72; color:var(--fg-2); text-wrap:pretty; }
.cmp-page .section-head .eyebrow { margin-bottom:16px; }

/* ── COMPARISON MATRIX (shared by every table on every compare page) ──── */
.cmp-page .cx {
  position:relative; max-width:var(--cmp-w); margin:0 auto;
  border:1px solid var(--border); border-radius:20px; background:var(--white);
  box-shadow:0 28px 64px -44px rgba(0,0,0,.22);
}
.cmp-page .cx-wide { max-width:var(--max-w); }
.cmp-page .cx-scroll { overflow-x:auto; border-radius:20px; scrollbar-width:thin; }
.cmp-page .cx-scroll::-webkit-scrollbar { height:9px; }
.cmp-page .cx-scroll::-webkit-scrollbar-thumb { background:var(--border-d); border-radius:999px; }
.cmp-page .cx-scroll table.cmp-table tbody tr:last-child td { padding-bottom:28px; }
.cmp-page .cx-hint {
  max-width:var(--max-w); margin:12px auto 0; font-size:12px; color:var(--fg-3);
  text-align:right; display:none;
}

.cmp-page table.cmp-table,
.cmp-page table.sc { width:100%; border-collapse:collapse; font-size:14.5px; }
.cmp-page table.cmp-table { min-width:940px; }
.cmp-page table.sc { min-width:0; }

.cmp-page table.cmp-table th,
.cmp-page table.cmp-table td,
.cmp-page table.sc th,
.cmp-page table.sc td {
  padding:17px 22px; text-align:left; border-bottom:1px solid var(--border);
  vertical-align:middle;
}
.cmp-page table.cmp-table thead th,
.cmp-page table.sc thead th {
  background:var(--bg-cream); font-size:11px; font-weight:800; letter-spacing:.07em;
  text-transform:uppercase; color:var(--fg-3); padding-top:15px; padding-bottom:15px;
  vertical-align:bottom; white-space:nowrap;
}
.cmp-page table.cmp-table tbody tr:last-child td,
.cmp-page table.sc tbody tr:last-child td { border-bottom:none; }
.cmp-page table.cmp-table tbody tr:hover td,
.cmp-page table.sc tbody tr:hover td { background:rgba(245,242,236,.5); }

/* row label column */
.cmp-page table.cmp-table td.cmp-row-label,
.cmp-page table.sc td.sc-feat {
  font-weight:700; color:var(--fg); font-size:14.5px; letter-spacing:-.01em;
}
.cmp-page table.sc td.sc-feat span {
  display:block; font-weight:500; font-size:12px; color:var(--fg-3);
  margin-top:3px; letter-spacing:0; line-height:1.45;
}
/* sticky label column on the wide table so rows stay readable while scrolling */
.cmp-page table.cmp-table thead th:first-child,
.cmp-page table.cmp-table td.cmp-row-label {
  position:sticky; left:0; z-index:2; background:var(--white);
  box-shadow:1px 0 0 var(--border);
}
.cmp-page table.cmp-table thead th:first-child { background:var(--bg-cream); z-index:3; }
.cmp-page table.cmp-table tbody tr:hover td.cmp-row-label { background:#faf8f4; }

/* the Nearwork column — one consistent treatment everywhere */
.cmp-page .cx th.cmp-us,
.cmp-page .cx td.cmp-us,
.cmp-page .cx th.sc-us,
.cmp-page .cx td.sc-us {
  background:var(--teal-lt);
  box-shadow:inset 1px 0 0 var(--teal-mid), inset -1px 0 0 var(--teal-mid);
}
.cmp-page .cx tbody tr:hover td.cmp-us,
.cmp-page .cx tbody tr:hover td.sc-us { background:#daf0ea; }
.cmp-page .cx thead th.cmp-us,
.cmp-page .cx thead th.sc-us {
  color:var(--teal-dk); font-size:14px; letter-spacing:-.01em; text-transform:none;
  font-weight:800; box-shadow:inset 1px 1px 0 var(--teal-mid), inset -1px 0 0 var(--teal-mid);
}
/* 3-column scorecards centre their verdict columns; the wide provider table stays left */
.cmp-page table.sc th.sc-us,
.cmp-page table.sc td.sc-us,
.cmp-page table.sc td.sc-them,
.cmp-page table.sc thead th.cmp-us,
.cmp-page table.sc tbody td.cmp-us,
.cmp-page table.sc thead th:last-child,
.cmp-page table.sc tbody td:last-child { text-align:center; width:24%; }
.cmp-page table.cmp-table thead th.cmp-us,
.cmp-page table.cmp-table td.cmp-us { text-align:left; width:auto; }

.cmp-page .cmp-us-badge,
.cmp-page .sc-usbadge {
  display:inline-block; font-size:9.5px; font-weight:800; letter-spacing:.09em;
  text-transform:uppercase; color:var(--white); background:var(--teal);
  border-radius:999px; padding:3px 9px; margin-bottom:7px;
}

/* icon chips — replace the emoji glyphs */
.cmp-page .cx-ico {
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%; flex-shrink:0;
}
.cmp-page .cx-ico svg { width:14px; height:14px; }
.cmp-page .cx-yes { background:var(--teal); color:var(--white); }
.cmp-page .cx-no  { background:#EFEFEC; color:var(--fg-4); }
.cmp-page .cx-part { background:var(--bg-warm); color:var(--fg-2); }

/* inline icon + word, e.g. "Yes" cells */
.cmp-page .cx-inline {
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; color:var(--fg); font-size:14px;
}
.cmp-page .cx-inline svg { width:15px; height:15px; flex-shrink:0; color:var(--teal); }
.cmp-page .cmp-us .cx-inline { color:var(--teal-dk); }

/* muted "Rarely / Some / Almost none" cells — kept as words, styled as chips */
.cmp-page .cmp-no {
  display:inline-block; font-size:12.5px; font-weight:600; color:var(--fg-3);
  background:var(--bg); border:1px solid var(--border); border-radius:999px;
  padding:4px 11px; white-space:nowrap;
}
.cmp-page .sc-cell-note {
  display:block; font-size:11px; color:var(--fg-3); font-weight:500; margin-top:5px;
}

/* price cells */
.cmp-page .cmp-price {
  display:block; font-weight:800; font-size:17px; letter-spacing:-.02em; color:var(--fg);
  font-variant-numeric:tabular-nums;
}
.cmp-page .cmp-us .cmp-price { color:var(--teal-dk); }
.cmp-page .cmp-src { display:block; margin-top:5px; font-size:11px; color:var(--fg-3); font-weight:500; line-height:1.4; }
.cmp-page .cmp-src a { color:var(--fg-3); text-decoration:underline; }

/* ── PUNCH STRIP ──────────────────────────────────────────────────────── */
.cmp-page .sc-punch {
  max-width:var(--cmp-w); margin:24px auto 0; padding:26px 34px;
  background:var(--fg); color:rgba(255,255,255,.82); border-radius:18px;
  font-size:16.5px; line-height:1.65; text-align:center; text-wrap:pretty;
}
.cmp-page .sc-punch b { color:var(--teal-mid); font-weight:700; }

/* ── FOOTNOTE / CAVEAT STRIP ──────────────────────────────────────────── */
.cmp-page .cmp-hidden-strip {
  max-width:var(--cmp-w); margin:28px auto 0; padding:24px 28px;
  background:var(--bg-cream); border:1px solid var(--border); border-radius:16px;
  font-size:14px; color:var(--fg-2); line-height:1.72; text-wrap:pretty;
}
.cmp-page .cmp-hidden-strip strong { color:var(--fg); font-weight:700; }

/* ── FLAT VS PERCENTAGE (compare.html) ────────────────────────────────── */
.cmp-page .cmp-math {
  max-width:var(--cmp-w); margin:0 auto; display:grid;
  grid-template-columns:1.05fr .95fr; align-items:stretch;
  border:1px solid var(--border); border-radius:20px; overflow:hidden;
  background:var(--white); box-shadow:0 28px 64px -44px rgba(0,0,0,.2);
}
.cmp-page .cmp-math-copy { padding:44px 46px; display:flex; flex-direction:column; justify-content:center; }
.cmp-page .cmp-math-copy .eyebrow { margin-bottom:16px; align-self:flex-start; }
.cmp-page .cmp-math-copy h2 { font-size:clamp(24px,2.3vw,32px); line-height:1.15; margin-bottom:14px; letter-spacing:-.03em; }
.cmp-page .cmp-math-copy p { color:var(--fg-2); font-size:15.5px; line-height:1.75; text-wrap:pretty; }

.cmp-page .cmp-math-visual {
  background:var(--fg); color:var(--white); padding:44px 42px;
  display:flex; flex-direction:column; justify-content:center; gap:26px;
}
.cmp-page .cmp-math-row {
  display:grid; grid-template-columns:1fr auto; align-items:baseline; gap:10px 16px;
}
.cmp-page .cmp-math-row span:first-child { font-size:13px; color:rgba(255,255,255,.6); line-height:1.4; }
.cmp-page .cmp-math-row span:last-child {
  font-size:24px; font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums;
}
/* proportional bar under each figure — makes the gap visible, not just stated */
.cmp-page .cmp-math-row::after {
  content:''; grid-column:1 / -1; height:7px; border-radius:999px;
  background:rgba(255,255,255,.14); width:100%;
  background-image:linear-gradient(90deg, var(--bar-color) 0 var(--bar), rgba(255,255,255,.1) var(--bar) 100%);
}
.cmp-page .cmp-math-row.us { --bar:11%; --bar-color:var(--teal-mid); }
.cmp-page .cmp-math-row.us span:last-child { color:var(--teal-mid); }
.cmp-page .cmp-math-row.them span:last-child { color:var(--gold-mid); }
.cmp-page .cmp-math-row.them:nth-of-type(2) { --bar:57%; --bar-color:var(--gold-mid); }
.cmp-page .cmp-math-row.them:nth-of-type(3) { --bar:100%; --bar-color:var(--gold-mid); }
.cmp-page .cmp-math-save {
  font-size:13.5px; color:rgba(255,255,255,.66); line-height:1.6;
  padding-top:22px; border-top:1px solid rgba(255,255,255,.14); text-wrap:pretty;
}
.cmp-page .cmp-math-save b { color:var(--white); font-weight:700; }

/* ── RENT VS OWN CARDS ────────────────────────────────────────────────── */
.cmp-page .cmp-explainer {
  padding:92px 32px; background:var(--bg-cream);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.cmp-page .cmp-explainer-inner { max-width:var(--cmp-w); margin:0 auto; }
.cmp-page .cmp-explainer h2 { text-align:center; margin-bottom:14px; }
.cmp-page .cmp-explainer .section-lede { text-align:center; margin:0 auto 44px; max-width:var(--cmp-prose); }

.cmp-page .cmp-rent-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.cmp-page .cmp-rent-card {
  background:var(--white); border:1px solid var(--border); border-radius:18px;
  padding:30px 30px; display:flex; flex-direction:column; gap:16px;
}
.cmp-page .cmp-rent-card h3 { font-size:17px; line-height:1.3; letter-spacing:-.02em; margin:0; text-wrap:balance; }
.cmp-page .cmp-rent-card p { font-size:14.5px; color:var(--fg-2); line-height:1.72; margin:0; text-wrap:pretty; }
.cmp-page .cmp-rent-card ul {
  list-style:none; padding:20px 0 0; margin:auto 0 0;
  border-top:1px solid var(--border); display:flex; flex-direction:column; gap:12px;
}
.cmp-page .cmp-rent-card li {
  display:grid; grid-template-columns:88px 1fr; gap:14px; align-items:baseline;
  font-size:13.5px; color:var(--fg-2); line-height:1.55;
}
.cmp-page .cmp-rent-card li b {
  color:var(--fg); font-weight:700; font-size:12px; letter-spacing:.03em;
  text-transform:uppercase; white-space:nowrap;
}

/* ── HEAD-TO-HEAD CARD GRID ───────────────────────────────────────────── */
.cmp-page .vs-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
  max-width:var(--cmp-w); margin:0 auto;
}
.cmp-page .vs-card {
  display:flex; flex-direction:column; gap:10px; background:var(--white);
  border:1px solid var(--border); border-radius:16px; padding:26px 26px 24px;
  text-decoration:none; transition:border-color 160ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.cmp-page .vs-card:hover {
  border-color:var(--teal); transform:translateY(-3px);
  box-shadow:0 22px 46px -30px rgba(0,0,0,.26);
}
.cmp-page .vs-card-name { font-size:17px; font-weight:800; color:var(--fg); letter-spacing:-.025em; }
.cmp-page .vs-card-desc { font-size:13.5px; color:var(--fg-2); line-height:1.6; flex:1; text-wrap:pretty; }
.cmp-page .vs-card-cta {
  display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700;
  color:var(--teal-dk); margin-top:6px; transition:gap 150ms var(--ease);
}
.cmp-page .vs-card:hover .vs-card-cta { gap:10px; }

/* ── HONEST-TAKE COLUMNS (vs pages) ───────────────────────────────────── */
.cmp-page .vs-cols {
  display:grid; grid-template-columns:1fr 1fr; gap:22px;
  max-width:var(--cmp-w); margin:0 auto; align-items:start;
}
.cmp-page .vs-col {
  border:1px solid var(--border); border-radius:18px; padding:32px 32px;
  background:var(--white);
}
.cmp-page .vs-col.win {
  border-color:var(--teal-mid);
  background:linear-gradient(180deg, var(--teal-lt) 0%, var(--white) 58%);
  box-shadow:0 24px 56px -42px rgba(22,160,133,.5);
}
.cmp-page .vs-col h3 {
  font-size:17px; margin:0 0 20px; padding-bottom:16px; letter-spacing:-.025em;
  border-bottom:1px solid var(--border); text-wrap:balance;
}
.cmp-page .vs-col.win h3 { border-bottom-color:var(--teal-mid); color:var(--teal-dk); }
.cmp-page .vs-col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.cmp-page .vs-col li { font-size:14.5px; color:var(--fg-2); line-height:1.6; display:flex; gap:12px; text-wrap:pretty; }
.cmp-page .vs-col li svg { flex-shrink:0; margin-top:3px; }

/* ── PRICING SIDE BY SIDE (vs pages) ─────────────────────────────────── */
.cmp-page .vs-price {
  max-width:var(--cmp-w); margin:0 auto; display:grid; grid-template-columns:1fr 1fr;
  border:1px solid var(--border); border-radius:20px; overflow:hidden;
  background:var(--white); box-shadow:0 28px 64px -44px rgba(0,0,0,.2);
}
.cmp-page .vs-price > div { padding:38px 38px; display:flex; flex-direction:column; gap:8px; }
.cmp-page .vs-price .vp-us { background:var(--teal-lt); box-shadow:inset -1px 0 0 var(--teal-mid); }
.cmp-page .vs-price h4 {
  font-size:11px; text-transform:uppercase; letter-spacing:.09em; color:var(--fg-3);
  margin:0 0 6px; font-weight:800;
}
.cmp-page .vs-price .vp-us h4 { color:var(--teal-dk); }
.cmp-page .vs-price .vp-num {
  font-size:clamp(26px,2.6vw,34px); font-weight:800; letter-spacing:-.035em;
  color:var(--fg); line-height:1.1; margin-bottom:6px; font-variant-numeric:tabular-nums;
}
.cmp-page .vs-price .vp-us .vp-num { color:var(--teal-dk); }
.cmp-page .vs-price p { font-size:14.5px; color:var(--fg-2); line-height:1.72; margin:0; text-wrap:pretty; }

/* ── BOTTOM LINE ──────────────────────────────────────────────────────── */
.cmp-page .vs-final { max-width:760px; margin:0 auto; text-align:center; }
.cmp-page .vs-final h2 { margin-bottom:16px; }
.cmp-page .vs-final p { color:var(--fg-2); font-size:16.5px; line-height:1.75; margin:0 auto 30px; max-width:62ch; text-wrap:pretty; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.cmp-page .cmp-faq,
.cmp-page .vs-faq { max-width:800px; margin:0 auto; }
.cmp-page .cmp-faq { padding:92px 32px; }
.cmp-page .cmp-faq h2,
.cmp-page .vs-faq h2 { text-align:center; margin-bottom:12px; }
.cmp-page .cmp-faq-item,
.cmp-page .vs-faq-item { border-top:1px solid var(--border); padding:26px 0; }
.cmp-page .cmp-faq-item:first-of-type,
.cmp-page .vs-faq-item:first-of-type { border-top:none; padding-top:34px; }
.cmp-page .cmp-faq-item h3,
.cmp-page .vs-faq-item h3 { font-size:17px; line-height:1.4; margin-bottom:10px; letter-spacing:-.02em; text-wrap:balance; }
.cmp-page .cmp-faq-item p,
.cmp-page .vs-faq-item p { font-size:15px; color:var(--fg-2); line-height:1.75; text-wrap:pretty; }

/* centred eyebrows in prose sections */
.cmp-page .cmp-explainer-inner > .eyebrow,
.cmp-page .vs-final > .eyebrow { display:flex; width:fit-content; margin:0 auto 18px; }

/* ── CTA ROWS ─────────────────────────────────────────────────────────── */
.cmp-page .cmp-cta-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.cmp-page .cmp-cta-row .btn,
.cmp-page .hero-actions .btn { flex:none; white-space:nowrap; }
.cmp-page .cmp-chip-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; max-width:820px; margin:0 auto; }

/* ── FOOTER: fix the mid-width collapse (scoped to these pages) ───────── */
@media (max-width:1100px) {
  .cmp-page .footer-grid { grid-template-columns:1.6fr 1fr 1fr; gap:40px 32px; }
}
@media (max-width:720px) {
  .cmp-page .footer-grid { grid-template-columns:1fr 1fr; gap:34px 24px; padding:0 22px; }
  .cmp-page .footer-grid > div:first-child { grid-column:1 / -1; }
  .cmp-page .footer-brand-desc { max-width:none; }
  .cmp-page .trust-badges { padding:0 22px 24px; gap:16px; }
  .cmp-page .trust-badge { border-right:none; padding-right:0; }
  .cmp-page .footer-bottom { padding:24px 22px; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width:980px) {
  .cmp-page .cmp-math { grid-template-columns:1fr; }
  .cmp-page .cmp-rent-grid,
  .cmp-page .vs-cols,
  .cmp-page .vs-price { grid-template-columns:1fr; }
  .cmp-page .vs-price .vp-us { box-shadow:inset 0 -1px 0 var(--teal-mid); }
  .cmp-page .vs-grid { grid-template-columns:1fr 1fr; }
  .cmp-page .cx-hint { display:block; }
}
@media (max-width:760px) {
  .cmp-page .cmp-hero,
  .cmp-page .vs-hero { padding:120px 22px 56px; }
  .cmp-page .cmp-hero h1,
  .cmp-page .vs-hero h1 { font-size:clamp(30px,8vw,40px); max-width:none; letter-spacing:-.035em; }
  .cmp-page .cmp-hero p.hero-copy,
  .cmp-page .vs-hero p.hero-copy { font-size:16px; }
  .cmp-page .vs-verdict { padding:24px 22px 26px; border-radius:16px; }
  .cmp-page .vs-verdict p { font-size:15.5px; }
  .cmp-page .vs-grid { grid-template-columns:1fr; }
  .cmp-page .cmp-math-copy,
  .cmp-page .cmp-math-visual { padding:32px 24px; }
  .cmp-page .cmp-explainer { padding:64px 22px; }
  .cmp-page .cmp-faq { padding:64px 22px; }
  .cmp-page .cmp-rent-card,
  .cmp-page .vs-col { padding:24px 22px; }
  .cmp-page .cmp-rent-card li { grid-template-columns:1fr; gap:3px; }
  .cmp-page .vs-price > div { padding:28px 24px; }
  .cmp-page .sc-punch { padding:22px 24px; font-size:15.5px; border-radius:14px; }
  .cmp-page .cmp-hidden-strip { padding:20px 22px; font-size:13.5px; }
  /* keep the 3-column scorecard readable without a scrollbar */
  .cmp-page table.sc { font-size:13.5px; }
  .cmp-page table.sc th,
  .cmp-page table.sc td { padding:13px 12px; }
  .cmp-page table.sc td.sc-feat { font-size:13.5px; }
  .cmp-page table.sc th.sc-us,
  .cmp-page table.sc td.sc-us,
  .cmp-page table.sc td.sc-them { width:22%; }
  .cmp-page table.cmp-table th,
  .cmp-page table.cmp-table td { padding:14px 16px; }
}


/* ── SCORECARD — refined presentation ─────────────────────────────────── */
.cmp-page table.sc { font-size:15px; }
.cmp-page table.sc thead th {
  background:transparent; border-bottom:1px solid var(--border-d);
  padding-top:26px; padding-bottom:18px; vertical-align:bottom;
}
.cmp-page .cx table.sc thead th.sc-us,
.cmp-page .cx table.sc thead th.cmp-us {
  background:linear-gradient(180deg,#EBF8F4 0%,var(--teal-lt) 100%);
  border-radius:14px 14px 0 0; font-size:16px;
  box-shadow:inset 1px 0 0 var(--teal-mid), inset -1px 0 0 var(--teal-mid), inset 0 1px 0 var(--teal-mid);
}
.cmp-page table.sc th,
.cmp-page table.sc td { padding-top:15px; padding-bottom:15px; }
.cmp-page table.sc td.sc-feat,
.cmp-page table.sc td.cmp-row-label { display:flex; align-items:center; gap:14px; }
.cmp-page .sc-lead {
  display:inline-flex; align-items:center; justify-content:center; flex:none;
  width:36px; height:36px; border-radius:11px; background:var(--bg-cream);
  border:1px solid var(--border); color:var(--teal-dk);
  transition:background 150ms cubic-bezier(.16,1,.3,1), border-color 150ms cubic-bezier(.16,1,.3,1);
}
.cmp-page .sc-lead svg { width:18px; height:18px; }
.cmp-page table.sc tbody tr:hover .sc-lead { background:var(--white); border-color:var(--teal-mid); }
.cmp-page .sc-feat-txt { display:block; min-width:0; }
.cmp-page table.sc .cx-ico { width:30px; height:30px; }
.cmp-page table.sc .cx-yes { box-shadow:0 3px 10px -2px rgba(22,160,133,.45); }
.cmp-page table.sc .cx-ico svg { width:15px; height:15px; }
.cmp-page table.sc tbody tr:last-child td.sc-us,
.cmp-page table.sc tbody tr:last-child td.cmp-us {
  border-radius:0 0 14px 14px;
  box-shadow:inset 1px 0 0 var(--teal-mid), inset -1px 0 0 var(--teal-mid), inset 0 -1px 0 var(--teal-mid);
}
@media (max-width:760px) {
  .cmp-page table.sc td.sc-feat,
  .cmp-page table.sc td.cmp-row-label { gap:10px; }
  .cmp-page .sc-lead { width:30px; height:30px; border-radius:9px; }
  .cmp-page .sc-lead svg { width:15px; height:15px; }
}


/* ── WORST-CASE FLAGS on the wide pricing table ───────────────────────── */
.cmp-page table.cmp-table td.cmp-warn { background:rgba(240,180,20,.10); }
.cmp-page table.cmp-table td.cmp-bad  { background:rgba(214,69,58,.08); }
.cmp-page table.cmp-table tbody tr:hover td.cmp-warn { background:rgba(240,180,20,.16); }
.cmp-page table.cmp-table tbody tr:hover td.cmp-bad  { background:rgba(214,69,58,.13); }
.cmp-page table.cmp-table td.cmp-warn .cmp-price { color:#9A6B05; }
.cmp-page table.cmp-table td.cmp-bad .cmp-price  { color:#B23A2E; }
.cmp-page table.cmp-table td.cmp-bad,
.cmp-page table.cmp-table td.cmp-warn { font-weight:600; }

.cmp-page .cmp-legend {
  max-width:var(--max-w); margin:14px auto 0; display:flex; flex-wrap:wrap;
  gap:8px 20px; align-items:center; font-size:12px; color:var(--fg-3);
}
.cmp-page .cmp-legend span { display:inline-flex; align-items:center; gap:7px; }
.cmp-page .cmp-legend i { width:11px; height:11px; border-radius:3px; flex:none; }
.cmp-page .cmp-key-warn { background:rgba(240,180,20,.45); }
.cmp-page .cmp-key-bad  { background:rgba(214,69,58,.35); }
.cmp-page .cmp-legend .cx-hint-inline { margin-left:auto; display:none; }

/* ── rent-vs-own rate footnote ────────────────────────────────────────── */
.cmp-page .cmp-rent-rates {
  margin:18px 0 0; padding-top:14px; border-top:1px solid var(--border);
  font-size:12.5px; line-height:1.6; color:var(--fg-3); text-wrap:pretty;
}
.cmp-page .cmp-rent-rates b {
  display:block; font-size:10.5px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; color:var(--fg-4); margin-bottom:5px;
}
@media (max-width:900px) { .cmp-page .cmp-legend .cx-hint-inline { display:inline; margin-left:0; } }


/* ── FAQ ACCORDION ────────────────────────────────────────────────────── */
.cmp-page details.cmp-faq-item,
.cmp-page details.vs-faq-item { padding:0; }
.cmp-page details.cmp-faq-item > summary,
.cmp-page details.vs-faq-item > summary {
  display:flex; align-items:flex-start; justify-content:space-between; gap:20px;
  cursor:pointer; list-style:none; padding:22px 0;
  transition:color 150ms cubic-bezier(.16,1,.3,1);
}
.cmp-page details summary::-webkit-details-marker { display:none; }
.cmp-page details.cmp-faq-item > summary h3,
.cmp-page details.vs-faq-item > summary h3 { margin:0; }
.cmp-page details.cmp-faq-item > summary:hover h3,
.cmp-page details.vs-faq-item > summary:hover h3 { color:var(--teal-dk); }
.cmp-page .faq-chev {
  display:inline-flex; align-items:center; justify-content:center; flex:none;
  width:30px; height:30px; margin-top:-2px; border-radius:50%;
  background:var(--bg-cream); border:1px solid var(--border); color:var(--fg-2);
  transition:transform 250ms cubic-bezier(.16,1,.3,1), background 150ms, border-color 150ms;
}
.cmp-page .faq-chev svg { width:15px; height:15px; }
.cmp-page details > summary:hover .faq-chev { background:var(--teal-lt); border-color:var(--teal-mid); color:var(--teal-dk); }
.cmp-page details[open] > summary .faq-chev { transform:rotate(180deg); background:var(--teal-lt); border-color:var(--teal-mid); color:var(--teal-dk); }
.cmp-page details.cmp-faq-item > p,
.cmp-page details.vs-faq-item > p { margin:0; padding:0 54px 24px 0; }
.cmp-page details.cmp-faq-item > summary:focus-visible,
.cmp-page details.vs-faq-item > summary:focus-visible { outline:2px solid var(--teal); outline-offset:4px; border-radius:6px; }


/* ── COMPETITOR LOGO MARKS ────────────────────────────────────────────── */
.cmp-page .vs-card .vs-card-name { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.cmp-page .vs-logo {
  display:inline-flex; align-items:center; justify-content:center; flex:none;
  width:26px; height:26px; margin-left:12px; border-radius:7px; overflow:hidden; vertical-align:middle;
  background:var(--white); border:1px solid var(--border);
  font-size:11px; font-weight:800; color:var(--fg-3); letter-spacing:-.02em;
}
.cmp-page .vs-logo img { width:18px; height:18px; object-fit:contain; display:block; }
.cmp-page .vs-card:hover .vs-logo { border-color:var(--teal-mid); }


/* ── VS PAGE: logo marks, flagged competitor cells ────────────────────── */
.cmp-page .vs-hero .eyebrow { display:inline-flex; align-items:center; gap:10px; }
.cmp-page .vs-logo-xs { width:22px; height:22px; margin-left:8px; border-radius:6px; }
.cmp-page .vs-logo-xs img { width:15px; height:15px; }
.cmp-page table.sc thead th .vs-logo-xs { margin-left:8px; vertical-align:middle; }
.cmp-page .vs-price h4 { display:flex; align-items:center; }

.cmp-page table.sc td.sc-them.sc-bad { background:rgba(214,69,58,.07); }
.cmp-page table.sc td.sc-them.sc-warn { background:rgba(240,180,20,.09); }
.cmp-page table.sc tbody tr:hover td.sc-them.sc-bad { background:rgba(214,69,58,.12); }
.cmp-page table.sc tbody tr:hover td.sc-them.sc-warn { background:rgba(240,180,20,.15); }
.cmp-page table.sc td.sc-bad .cx-no { background:rgba(214,69,58,.14); color:#B23A2E; }
.cmp-page table.sc td.sc-warn .cx-part { background:rgba(240,180,20,.18); color:#8A6206; }

.cmp-page .vs-price .vp-num.vp-bad { color:#B23A2E; }
.cmp-page .vs-price .vp-num.vp-warn { color:#9A6B05; }

.cmp-page .vs-hero p.cmp-hero-note { margin-top:18px; }
