/* ═══════════════════════════════════════════════════════════════════
   Lime Row — Comparison Pages shared styles
   Namespace: cp-* (comparison page components)
   Depends on: industry-pages.css (nav, footer, ip-*, ip-cta-band)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.cp-hero { padding: 6rem 0 4.5rem; }
.cp-hero-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lr-olive, #6b7561);
  margin-bottom: 0.75rem;
}
.cp-hero-h1 {
  margin: 0 0 1.25rem;
  font-family: var(--lr-font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--lr-text);
  max-width: 24ch;
}
.cp-hero-sub {
  max-width: 56ch;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 1.5vw, 1.175rem);
  line-height: 1.65;
  color: var(--lr-text-muted);
}
.cp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ── Core difference block ── */
.cp-difference {
  border-left: 3px solid var(--lr-forest, #1d3c2c);
  padding: 1.75rem 2rem;
  background: var(--lr-forest-light, #e4ede7);
  border-radius: 0 14px 14px 0;
  max-width: 56ch;
  margin-top: 2.5rem;
}
.cp-difference-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lr-forest, #1d3c2c);
  margin-bottom: 0.625rem;
}
.cp-difference p {
  font-size: 1.0625rem;
  color: var(--lr-text);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

/* ── Two-column framing ── */
.cp-frame-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.cp-frame-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.cp-frame-card-header {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cp-frame-card-header-neutral {
  background: #f3f4f6;
  color: #6b7280;
}
.cp-frame-card-header-forest {
  background: var(--lr-forest, #1d3c2c);
  color: #fff;
}
.cp-frame-card-body {
  padding: 1.25rem 1.5rem;
  background: var(--lr-surface-1);
  font-size: 0.9375rem;
  color: var(--lr-text-muted);
  line-height: 1.6;
}
.cp-frame-card-body strong { color: var(--lr-text); }

/* ── Comparison table ── */
.cp-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
}
.cp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 36rem;
}
.cp-table th,
.cp-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cp-table thead th {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lr-text);
  background: var(--lr-stone, #f0ece2);
  border-bottom: 1px solid var(--lr-stone-border, #d2cab8);
}
.cp-table thead th:first-child { width: 40%; }
.cp-table td:first-child {
  color: var(--lr-text-muted);
  font-weight: 500;
}
.cp-table td.cp-td-lr {
  color: var(--lr-forest, #1d3c2c);
  font-weight: 600;
}
.cp-table td.cp-td-neutral { color: var(--lr-text-muted); }
.cp-table tbody tr:last-child td { border-bottom: none; }
.cp-table tr:nth-child(even) td { background: rgba(0,0,0,0.015); }

/* ── Prose sections (competitor fair / Lime Row difference) ── */
.cp-prose { max-width: 62ch; }
.cp-prose p {
  font-size: 1.0625rem;
  color: var(--lr-text-muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}
.cp-prose p:last-child { margin-bottom: 0; }

.cp-point-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 60ch;
}
.cp-point-list li {
  font-size: 1rem;
  color: var(--lr-text-muted);
  line-height: 1.65;
  padding-left: 1.625rem;
  position: relative;
}
.cp-point-list li strong { color: var(--lr-text); }
.cp-point-list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lr-lime, #65a30d);
  font-weight: 700;
}
.cp-point-list--arrow li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lr-text-muted);
}
.cp-point-list--dash li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--lr-text-muted);
}

/* ── Best-fit cards ── */
.cp-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.cp-fit-card {
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 1.75rem;
  background: var(--lr-surface-1);
}
.cp-fit-card--lr {
  border-color: rgba(29,60,44,0.15);
  background: var(--lr-forest-light, #e4ede7);
}
.cp-fit-card h3 {
  font-family: var(--lr-font-display);
  font-size: 1.0625rem;
  margin: 0 0 1rem;
  color: var(--lr-text);
}
.cp-fit-card--lr h3 { color: var(--lr-forest, #1d3c2c); }
.cp-fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cp-fit-list li {
  font-size: 0.9375rem;
  color: var(--lr-text-muted);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.cp-fit-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--lr-text-muted);
}
.cp-fit-card--lr .cp-fit-list li::before {
  content: "✓";
  color: var(--lr-forest, #1d3c2c);
  font-weight: 700;
}

/* ── FAQ ── */
.cp-faq { max-width: 48rem; }
.cp-faq-list {
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.cp-faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.cp-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--lr-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}
.cp-faq-trigger:hover { color: var(--lr-lime); }
.cp-faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--lr-transition);
  color: var(--lr-text-muted);
}
.cp-faq-trigger[aria-expanded="true"] .cp-faq-icon { transform: rotate(45deg); }
.cp-faq-answer { padding: 0 0 1.25rem; }
.cp-faq-answer p {
  font-size: 0.9375rem;
  color: var(--lr-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 65ch;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cp-frame-grid,
  .cp-fit-grid { grid-template-columns: 1fr; }
  .cp-hero { padding: 4rem 0 3.5rem; }
}
