/* ============================================================
   Comparison pages — /compare/ and /compare/{slug}/
   Matches AGEYE design system (Outfit / DM Sans, --pink accent).
   ============================================================ */

.cmp-main { --cmp-max: 980px; }

/* ── Hero ── */
.cmp-hero {
  padding: 140px 24px 48px;
  text-align: center;
  background: var(--gray-50, #f7f7f8);
  border-bottom: 1px solid var(--gray-200, #e6e6ea);
}
.cmp-hero-inner { max-width: var(--cmp-max); margin: 0 auto; }
.cmp-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pink, #e6006e); margin: 0 0 16px;
}
.cmp-hero h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08;
  color: var(--black, #111); margin: 0 0 18px;
}
.cmp-intro {
  font-family: 'DM Sans', sans-serif; font-size: clamp(1rem, 2.2vw, 1.14rem);
  line-height: 1.65; color: var(--gray-600, #555);
  max-width: 780px; margin: 0 auto;
}

/* ── Body ── */
.cmp-body { max-width: var(--cmp-max); margin: 0 auto; padding: 48px 24px 24px; }

/* Comparison table (scrolls horizontally on small screens) */
.cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200, #e6e6ea);
  border-radius: 14px;
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
}
.cmp-table thead th {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: left;
  color: var(--black, #111);
  background: var(--gray-50, #f7f7f8);
  padding: 16px 18px;
  border-bottom: 2px solid var(--pink, #e6006e);
}
.cmp-table thead th:first-child { width: 20%; color: var(--gray-600, #666); }
.cmp-table tbody th {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  color: var(--black, #111);
  padding: 14px 18px;
  vertical-align: top;
  background: #fff;
}
.cmp-table tbody td {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gray-600, #555);
  padding: 14px 18px;
  vertical-align: top;
}
.cmp-table tbody tr:nth-child(odd) th,
.cmp-table tbody tr:nth-child(odd) td { background: #fcfcfd; }
.cmp-table tbody tr + tr th,
.cmp-table tbody tr + tr td { border-top: 1px solid var(--gray-200, #eee); }

/* Which is right — two cards */
.cmp-choose {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.cmp-choose-card {
  background: #fff;
  border: 1px solid var(--gray-200, #e6e6ea);
  border-radius: 14px;
  padding: 24px;
}
.cmp-choose-card h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: var(--pink, #e6006e); margin: 0 0 10px;
}
.cmp-choose-card p {
  font-family: 'DM Sans', sans-serif; font-size: 0.96rem; line-height: 1.6;
  color: var(--gray-600, #555); margin: 0;
}

/* Bottom line callout */
.cmp-bottomline {
  background: var(--gray-50, #f7f7f8);
  border-left: 4px solid var(--pink, #e6006e);
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin-bottom: 48px;
}
.cmp-bottomline h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem;
  color: var(--black, #111); margin: 0 0 10px;
}
.cmp-bottomline p {
  font-family: 'DM Sans', sans-serif; font-size: 1rem; line-height: 1.65;
  color: var(--gray-700, #444); margin: 0;
}

/* FAQ + more */
.cmp-faq { margin-bottom: 48px; }
.cmp-faq h2, .cmp-more h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--black, #111); margin: 0 0 20px;
}
.cmp-faq-item { margin-bottom: 20px; }
.cmp-faq-item h3 {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.05rem;
  color: var(--black, #111); margin: 0 0 6px;
}
.cmp-faq-item p {
  font-family: 'DM Sans', sans-serif; font-size: 0.96rem; line-height: 1.6;
  color: var(--gray-600, #555); margin: 0;
}
.cmp-more { margin-bottom: 24px; }
.cmp-more-links { display: flex; flex-wrap: wrap; gap: 12px; }
.cmp-more-links a {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; color: var(--black, #111);
  padding: 10px 18px; border: 1px solid var(--gray-200, #e6e6ea);
  border-radius: 999px; transition: all var(--t, 0.2s) ease;
}
.cmp-more-links a:hover { border-color: var(--pink, #e6006e); color: var(--pink, #e6006e); }

/* CTA */
.cmp-cta {
  max-width: var(--cmp-max); margin: 24px auto 96px; padding: 40px 24px;
  text-align: center; background: var(--gray-50, #f7f7f8);
  border: 1px solid var(--gray-200, #e6e6ea); border-radius: 18px;
}
.cmp-cta h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--black, #111); margin: 0 0 12px;
}
.cmp-cta p {
  font-family: 'DM Sans', sans-serif; color: var(--gray-600, #555);
  max-width: 640px; margin: 0 auto 24px; line-height: 1.6;
}
.cmp-cta-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cmp-cta-links a {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; padding: 12px 24px; border-radius: 999px;
  transition: all var(--t, 0.2s) ease;
}
.cmp-cta-links a.primary { background: var(--pink, #e6006e); color: #fff; }
.cmp-cta-links a.primary:hover { filter: brightness(1.08); }
.cmp-cta-links a.secondary { border: 1px solid var(--gray-300, #d2d2d8); color: var(--black, #111); }
.cmp-cta-links a.secondary:hover { border-color: var(--pink, #e6006e); color: var(--pink, #e6006e); }

/* ── Hub ── */
.cmp-hub-body { max-width: var(--cmp-max); margin: 0 auto; padding: 56px 24px 96px; }
.cmp-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.cmp-hub-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200, #e6e6ea);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  transition: box-shadow var(--t, 0.2s) ease, transform var(--t, 0.2s) ease, border-color var(--t, 0.2s) ease;
}
.cmp-hub-card:hover {
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.08);
  transform: translateY(-3px);
  border-color: var(--pink, #e6006e);
}
.cmp-hub-card h2 {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.25rem;
  color: var(--black, #111); margin: 0 0 12px;
}
.cmp-hub-card p {
  font-family: 'DM Sans', sans-serif; font-size: 0.94rem; line-height: 1.6;
  color: var(--gray-600, #555); margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.cmp-hub-cta {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--pink, #e6006e);
}

@media (max-width: 640px) {
  .cmp-hero { padding-top: 110px; }
}
