/* Public comparison pages (views/landing/compare.php, compare-index.php), on top of
   landing-story.css and feature-story.css: the short answer, the side-by-side table with
   marks, a worked price example, where each is stronger, and the sources. */
.cmp-section{padding-top:clamp(28px,4vw,48px);padding-bottom:clamp(28px,4vw,48px)}
.cmp-section .cx-head{margin-bottom:clamp(18px,2.5vw,28px)}
.cmp-crumb{color:inherit;text-decoration:none}
.cmp-crumb:hover{text-decoration:underline}
.cmp-checked{margin:14px 0 0;font-size:.92rem;line-height:1.55;color:var(--cx-muted)}
.cmp-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.cmp-verdict{padding:clamp(20px,3vw,30px);border-radius:var(--cx-radius);background:var(--cx-cream);border:1px solid #f5e2a8}
.cmp-verdict h2{margin:0 0 8px;font-family:var(--cx-display);font-size:1.3rem;color:var(--cx-strong)}
.cmp-verdict p{margin:0;font-size:1.05rem;line-height:1.65;color:var(--cx-ink);max-width:58rem}

.cmp-scroll{overflow-x:auto;border-radius:var(--cx-radius);border:1px solid var(--cx-line);background:#fff}
.cmp-table{width:100%;min-width:640px;border-collapse:collapse;font-size:.95rem;line-height:1.5}
.cmp-table th,.cmp-table td{padding:14px 16px;text-align:left;vertical-align:top;border-top:1px solid #eef2f5}
.cmp-table thead th{border-top:0;background:#f6fafb;font-size:.82rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--cx-muted)}
.cmp-table thead th.cmp-us{color:var(--cx-teal-dark)}
.cmp-table tbody th{width:22%;font-weight:750;color:var(--cx-strong)}
.cmp-table td{width:39%;color:var(--cx-ink)}
.cmp-table td.cmp-us{background:#f3fafc}
.cmp-mark{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:8px;border-radius:50%;font-size:.8rem;font-weight:900;vertical-align:-2px}
.cmp-mark-yes{background:var(--cx-mint);color:#087a64}
.cmp-mark-no{background:#f1f3f5;color:#6b7785}
.cmp-mark-partial{background:#fff7e0;color:#7a5300}
.cmp-mark-add-on{background:#fdecec;color:#a33a3a}
.cmp-source{margin-left:4px;font-size:.78rem;font-weight:700;color:var(--cx-teal-dark);white-space:nowrap}
.cmp-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:12px 0 0;font-size:.85rem;color:var(--cx-muted)}
.cmp-key .cmp-mark{margin-right:2px}

.cmp-price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cmp-price-card{padding:20px;border-radius:var(--cx-radius);border:1px solid var(--cx-line);background:#fff}
.cmp-price-us{background:#f3fafc;border-color:#cfe7f0}
.cmp-price-card h3{margin:0 0 6px;font-size:1.05rem;color:var(--cx-strong)}
.cmp-price-card p{margin:0;line-height:1.6;color:var(--cx-ink)}
.cmp-note{margin:12px 0 0;font-size:.88rem;line-height:1.55;color:var(--cx-muted)}

.cmp-strengths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cmp-strength{padding:22px;border-radius:var(--cx-radius);border:1px solid var(--cx-line);background:#fff}
.cmp-strength-us{background:#f3fafc;border-color:#cfe7f0}
.cmp-strength h3{margin:0 0 10px;font-size:1.15rem;color:var(--cx-strong)}
.cmp-strength ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.cmp-strength li{display:flex;gap:10px;line-height:1.5;color:var(--cx-ink)}
.cmp-strength li::before{content:"";flex:0 0 7px;height:7px;margin-top:9px;border-radius:50%;background:var(--cx-teal)}
.cmp-best{margin:14px 0 0;padding-top:12px;border-top:1px solid #eef2f5;line-height:1.55;color:var(--cx-ink)}

.cmp-foot{padding-top:clamp(36px,5vw,56px)}
.cmp-more{margin:0 0 22px;line-height:1.9;color:var(--cx-muted)}
.cmp-more a,.cmp-sources a,.cmp-disclaimer a{color:var(--cx-teal-dark)}
.cmp-sources-title{margin:0 0 8px;font-size:1rem;color:var(--cx-strong)}
.cmp-sources{margin:0;padding-left:18px;font-size:.88rem;line-height:1.7;color:var(--cx-muted);overflow-wrap:anywhere}
.cmp-disclaimer{margin:16px 0 0;font-size:.85rem;line-height:1.6;color:var(--cx-muted);max-width:60rem}

.cmp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.cmp-card{display:flex;flex-direction:column;padding:20px;border-radius:var(--cx-radius);border:1px solid var(--cx-line);background:#fff;text-decoration:none;color:var(--cx-ink);transition:border-color .18s ease,box-shadow .18s ease}
.cmp-card:hover,.cmp-card:focus-visible{border-color:var(--cx-teal);box-shadow:var(--cx-shadow-sm)}
.cmp-card h2{margin:0 0 6px;font-size:1.15rem;color:var(--cx-strong)}
.cmp-card p{margin:0 0 12px;font-size:.93rem;line-height:1.55;color:var(--cx-muted)}
.cmp-card .cmp-card-price{font-size:.88rem;font-weight:700;color:var(--cx-ink)}
.cmp-card .cmp-card-link{margin-top:auto;padding-top:10px;font-weight:800;color:var(--cx-teal-dark)}

@media (max-width:760px){
  .cmp-price,.cmp-strengths{grid-template-columns:1fr}
  /* Phones: each row stacks, the feature, then AppyShift's and the competitor's answers, labeled. */
  .cmp-scroll{overflow:visible}
  .cmp-table{min-width:0;font-size:.92rem}
  .cmp-table thead{display:none}
  .cmp-table,.cmp-table tbody,.cmp-table tr,.cmp-table th,.cmp-table td{display:block;width:auto}
  .cmp-table tbody tr{padding:14px 14px 12px;border-top:1px solid #eef2f5}
  .cmp-table tbody tr:first-child{border-top:0}
  .cmp-table tbody th{width:auto;padding:0 0 8px;border:0}
  .cmp-table td,.cmp-table td.cmp-us{width:auto}
  .cmp-table td{padding:8px 10px;border:0;border-radius:10px}
  .cmp-table td + td{margin-top:6px}
  .cmp-table td::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--cx-muted)}
  .cmp-table td.cmp-us::before{color:var(--cx-teal-dark)}
}
