/* Comparison pages (/vs/…) — generated by learnfloo-v2/scripts/build-compare-pages.ts */

.cmp-hero { text-align: left; }
.cmp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cmp-hero > .container > p {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.cmp-back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.cmp-back:hover { color: var(--text); }
.cmp-verified { font-size: 0.8rem !important; margin-top: 12px; }
.cmp-anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cmp-anchors a {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
}
.cmp-anchors a:hover { border-color: var(--primary); color: var(--primary); }

.cmp-main { max-width: 960px; padding-top: 48px; padding-bottom: 32px; }
.cmp-section { padding: 32px 0; scroll-margin-top: 90px; }
.cmp-section .section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.cmp-p { line-height: 1.75; margin-bottom: 14px; color: #1f2937; }
.cmp-callout {
  border-left: 4px solid var(--primary);
  background: var(--primary-bg);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
  margin-top: 8px;
}

.cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 24px;
  background: var(--bg);
}
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; }
.cmp-table thead th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: var(--bg-alt);
  padding: 12px 16px;
  font-weight: 600;
}
.cmp-table thead th.cmp-us { color: var(--primary); }
.cmp-table tbody th, .cmp-table tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}
.cmp-table tbody th { font-weight: 600; width: 28%; }
.cmp-table tbody td { width: 36%; }
.cmp-table tbody td > span:last-child { display: inline; }
.cmp-table td .cmp-icon { float: left; margin-right: 8px; }
.cmp-icon { display: inline-block; width: 16px; height: 16px; margin-top: 2px; color: var(--green); flex-shrink: 0; }
.cmp-dash { color: #9ca3af; text-align: center; line-height: 16px; }
.cmp-win { background: #ecfdf5; font-weight: 500; }
.cmp-table-hub tbody th { width: 18%; white-space: nowrap; }
.cmp-table-hub tbody th a:hover { color: var(--primary); }
.cmp-table-hub td.cmp-muted { width: 22%; color: var(--text-secondary); white-space: nowrap; }
.cmp-table-hub td:last-child { width: auto; }

.cmp-article { margin-top: 40px; }
.cmp-article h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.cmp-verdict {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cmp-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.cmp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.cmp-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.cmp-card-us { border-color: rgba(37, 99, 235, 0.35); background: #f8fafc; }
.cmp-card-us h3 { color: var(--primary); }
.cmp-tiers { list-style: none; }
.cmp-tiers li { padding: 12px 0; border-top: 1px solid var(--border); }
.cmp-tiers li:first-child { border-top: none; padding-top: 0; }
.cmp-tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.cmp-tier-head b { font-variant-numeric: tabular-nums; }
.cmp-tiers p { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }
.cmp-note { font-size: 0.8rem; color: var(--text-secondary); margin-top: 12px; }

.cmp-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.cmp-list li { display: flex; gap: 10px; line-height: 1.55; }
.cmp-list .cmp-icon { color: var(--primary); }
.cmp-list-muted .cmp-icon { color: var(--text-secondary); }

.cmp-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.cmp-steps li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; font-size: 0.95rem; }
.cmp-steps li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.cmp-section .faq-grid { margin-top: 24px; }
.cmp-section .faq-item strong { display: block; margin-bottom: 8px; }
.cmp-section .faq-item p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

.cta-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.cmp-sources { max-width: 960px; padding-top: 48px; padding-bottom: 48px; font-size: 0.85rem; color: var(--text-secondary); }
.cmp-sources h2 { font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.cmp-sources ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.cmp-sources a { text-decoration: underline; text-underline-offset: 3px; }
.cmp-sources a:hover { color: var(--text); }

.cmp-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cmp-hub-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cmp-hub-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.cmp-hub-card .section-badge { align-self: flex-start; margin-bottom: 4px; }
.cmp-hub-card strong { font-size: 1.25rem; font-weight: 700; }
.cmp-hub-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.55; }
.cmp-hub-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 8px; }

@media (max-width: 768px) {
  .cmp-pricing, .cmp-hub-grid, .cmp-section .faq-grid { grid-template-columns: 1fr; }
  .cmp-main { padding-top: 24px; }
}
.cmp-hero > .container > p { margin-left: 0; margin-right: auto; }
