/* Page-local styles — Is GoHighLevel a good CRM? */
.ghl-crm-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: var(--space-3) 0 0;
}
.ghl-crm-tags .tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .02em;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #a7f3d0;
  text-decoration: none;
}
.ghl-crm-tags .tag:hover { background: #d1fae5; color: #115e59; }

.ghl-crm-metrics {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
  max-width: 60rem;
  margin: var(--space-4) auto 0;
}
@media (min-width: 720px) {
  .ghl-crm-metrics { grid-template-columns: repeat(4, 1fr); }
}
.ghl-crm-metric {
  background: var(--paper);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
}
.ghl-crm-metric .n {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy, #0f172a);
  line-height: 1.1;
}
.ghl-crm-metric .l {
  display: block;
  margin-top: .35rem;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.ghl-crm-icons {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 640px) { .ghl-crm-icons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ghl-crm-icons { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.ghl-crm-icon-card {
  background: var(--paper);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.ghl-crm-icon-card img {
  width: 48px; height: 48px;
  margin-bottom: var(--space-2);
}
.ghl-crm-icon-card h3 {
  font-size: var(--fs-md);
  margin: 0 0 .4rem;
}
.ghl-crm-icon-card p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.ghl-crm-quote-grid {
  display: grid;
  gap: var(--space-3);
  max-width: 60rem;
  margin: 0 auto;
}
@media (min-width: 800px) { .ghl-crm-quote-grid { grid-template-columns: 1fr 1fr; } }
.ghl-crm-quote {
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--space-3);
  border-left: 3px solid #0f766e;
}
.ghl-crm-quote.con { border-left-color: #f97316; }
.ghl-crm-quote p { margin: 0 0 .75rem; font-size: var(--fs-sm); }
.ghl-crm-quote .src {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin: 0;
}

.ghl-crm-steps {
  counter-reset: step;
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  gap: var(--space-3);
}
.ghl-crm-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--space-3);
  border: 1px solid var(--line, #e5e7eb);
}
.ghl-crm-step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.25rem; height: 2.25rem;
  border-radius: 999px;
  background: #0f766e; color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: var(--fs-sm);
  flex-shrink: 0;
}
.ghl-crm-step h3 { margin: 0 0 .35rem; font-size: var(--fs-md); }
.ghl-crm-step p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }

.ghl-crm-toc {
  max-width: 52rem;
  margin: 0 auto;
  padding: var(--space-3);
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid var(--line, #e5e7eb);
}
.ghl-crm-toc h2 { margin: 0 0 var(--space-2); font-size: var(--fs-md); }
.ghl-crm-toc ol {
  margin: 0; padding-left: 1.25rem;
  columns: 1;
}
@media (min-width: 720px) { .ghl-crm-toc ol { columns: 2; } }
.ghl-crm-toc li { break-inside: avoid; margin: .35rem 0; font-size: var(--fs-sm); }
.ghl-crm-toc a { text-decoration: none; }
.ghl-crm-toc a:hover { text-decoration: underline; }
