/* Comparison pages (inc/compare.php). Built on the homepage and solutions CSS; the table matches the pricing page. */
.cmp-hero { padding-bottom: 72px; }

.cmp-table { padding-top: 24px; }
.compare { margin-top: 32px; overflow-x: auto; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; }
.compare th:first-child, .compare td:first-child { width: 24%; color: var(--body); font-weight: 500; }
.compare td:not(:first-child) { width: 38%; color: var(--ink); }
.compare thead th { border-bottom: 1px solid var(--rule); }
.compare__name { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.compare tbody tr + tr td { border-top: 1px solid var(--rule-faint); }
.compare .hot { background: rgba(238, 243, 255, .7); }
.cmp-note { margin-top: 16px; }

.cmp-pick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cmp-pick__card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.cmp-pick__card--us { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cmp-pick__card ul { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--body); }
.cmp-pick__card li:not(.tick) { padding-left: 18px; position: relative; }
.cmp-pick__card li:not(.tick)::before { content: '–'; position: absolute; left: 0; color: var(--muted); }

@media (max-width: 800px) { .cmp-pick__grid { grid-template-columns: minmax(0, 1fr); } .cmp-pick__card { padding: 24px; } }

/* Hero: words on the left, the two logos facing off on the right. */
.cmp-hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cmp-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cmp-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.cmp-vs__card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--rule), var(--shadow-sm); text-align: center; }
.cmp-vs__card--us { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cmp-vs__card b { font-size: 17px; color: var(--ink); }
.cmp-vs__card span { font-size: 12px; color: var(--muted); }
.cmp-vs__x { font-family: var(--mono); font-size: 14px; color: var(--muted); text-transform: uppercase; }
.cmp-logo { display: inline-block; flex: none; border-radius: 10px; object-fit: contain; vertical-align: middle; background: #fff; }
.cmp-vs__card .cmp-logo { box-shadow: 0 0 0 1px var(--rule); padding: 6px; border-radius: 14px; }

/* At a glance */
.cmp-glance { padding-top: 0; }
.cmp-glance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cmp-stat { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.cmp-stat__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.cmp-stat__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cmp-stat__row b { font-size: 17px; color: var(--brand); text-align: right; }
.cmp-stat__row--them b { color: var(--ink); font-weight: 500; }
.cmp-stat__who { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); }
.cmp-stat__who .cmp-logo { border-radius: 5px; }

/* Plans, side by side */
.cmp-sub { margin-top: 8px; color: var(--muted); }
.cmp-plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.cmp-plans__col { display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.cmp-plans__col--us { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cmp-plans__who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
.cmp-plan { padding: 14px 0; border-top: 1px solid var(--rule-faint); }
.cmp-plan__top { display: flex; justify-content: space-between; gap: 12px; }
.cmp-plan__top b { color: var(--ink); }
.cmp-plan__top span { color: var(--ink); white-space: nowrap; }
.cmp-plan p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--body); }

/* Tables */
.compare__name { display: inline-flex; align-items: center; gap: 8px; }
.compare__name .cmp-logo { border-radius: 5px; }
.compare tr.group td { padding: 10px 18px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--muted); }
.cmp-cell { display: inline-flex; align-items: flex-start; gap: 8px; }
.cmp-cell i { flex: none; width: 18px; font-style: normal; font-weight: 600; text-align: center; }
.cmp-cell--yes i { color: var(--pos, #0B7A54); }
.cmp-cell--part i { color: var(--brand); }
.cmp-cell--no i, .cmp-cell--ask i { color: var(--faint); }
.cmp-cell--ask span, .cmp-cell--no span { color: var(--muted); }
.cmp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 14px; }
.cmp-legend .cmp-cell { align-items: center; gap: 4px; }

.cmp-pick__t { display: flex; align-items: center; gap: 12px; }
.cmp-pick__t .cmp-logo { border-radius: 7px; }

.cmp-sources { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; padding: 20px 24px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; color: var(--body); }
.cmp-sources b { color: var(--ink); }
.cmp-sources ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 1000px) {
  .cmp-hero__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cmp-glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-plans__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cmp-glance__grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-vs__card { padding: 20px 10px; }
  .cmp-plans__col { padding: 20px; }
}
