/* Comparison and "best tools" articles (Oct 2026 GEO pass).
   Loaded after style.css on compare.html, the best-of guides, the
   Enso Connect alternatives pages and the FR upsell software guide. */

.cmp-answer {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 20px;
}

.cmp-note {
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0 32px;
  background: var(--surface);
}
.article-body .cmp-note p { font-size: 14.5px; margin: 0; }

.cmp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  margin: 20px 0 32px;
}
.cmp-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.cmp-table caption {
  text-align: left;
  padding: 14px 18px 0;
  font-size: 13px;
  color: var(--text-3);
}
.cmp-table th,
.cmp-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.cmp-table thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
}
.cmp-table tbody th { font-weight: 700; color: var(--text); }
.cmp-table td { color: var(--text-2); }
.cmp-table tr:last-child th,
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .cmp-us th,
.cmp-table .cmp-us td { background: color-mix(in srgb, var(--green) 7%, transparent); }

.cmp-facts {
  list-style: none;
  padding: 16px 20px;
  margin: 12px 0 24px;
  display: grid;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cmp-facts li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.cmp-facts strong { color: var(--text); }

.article-body ul.cmp-list { padding-left: 20px; margin: 0 0 16px; }
.article-body ul.cmp-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 8px;
}

.cmp-sources {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-3);
  padding-left: 20px;
  margin: 0;
}
.cmp-sources li { margin-bottom: 8px; overflow-wrap: anywhere; }
.article-body .cmp-sources a { color: var(--text-2); }

.cmp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
