:root {
  --cmg-primary: #197176;
  --cmg-radius: 12px;
}

.cmg-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cmg-form {
    grid-template-columns: 1fr 1fr;
  }
}
.cmg-row {
  display: flex;
  flex-direction: column;
}
.cmg-row--full {
  grid-column: 1 / -1;
}
.cmg-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.cmg-help,
.cmg-error {
  font-size: 0.825rem;
  margin-top: 0.25rem;
}
.cmg-error {
  color: #b00020;
}
.cmg-form input,
.cmg-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d8d8d8;
  border-radius: var(--cmg-radius);
  background: #fff;
  outline: none;
}
.cmg-form input:focus,
.cmg-form select:focus {
  border-color: var(--cmg-primary);
  box-shadow: 0 0 0 3px rgba(25, 113, 118, 0.15);
}
.cmg-btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: var(--cmg-radius);
  background: var(--cmg-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.cmg-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.cmg-btn:active {
  transform: translateY(0);
}

/* Consent Checkbox */
.cmg-form label[for="cmg-consent"] {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
}
.cmg-form input[type="checkbox"] {
  width: auto !important;
  height: 18px;
  width: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  accent-color: var(--cmg-primary);
}
.cmg-form input[type="checkbox"]:focus {
  outline: 2px solid var(--cmg-primary);
  outline-offset: 2px;
}

.cmg-small {
  font-size: 0.8rem;
  color: #555;
}

/* Modal */
.cmg-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.cmg-modal[aria-hidden="true"] {
  display: none;
}
.cmg-modal-inner {
  background: #fff;
  padding: 2rem;
  border-radius: var(--cmg-radius);
  width: min(640px, 92vw);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cmg-progress {
  height: 12px;
  border-radius: 999px;
  background: #eee;
  overflow: hidden;
  margin: 0.75rem 0 1rem;
}
.cmg-bar {
  height: 100%;
  width: 0;
  background: var(--cmg-primary);
  transition: width 0.1s linear;
}
.cmg-rotator {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.25rem 0 0;
  color: #333;
}
.cmg-rotator li {
  display: none;
}
.cmg-rotator li.on {
  display: list-item;
}
.cmg-hidden {
  display: none !important;
}
.cmg-micro {
  font-size: 0.75rem;
  color: #666;
  margin-top: 1rem;
}
.cmg-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
html.cmg-locked,
body.cmg-locked {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE FUNNEL  [cmg_funnel]
═══════════════════════════════════════════════════════════════ */

/* ── Section utility ─────────────────────────────────────────── */
.cmg-homepage {
  width: 100%;
}
.cmg-section-label {
  text-align: center;
  color: var(--cmg-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}
.cmg-section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 2.5rem;
  line-height: 1.2;
}

/* ── Hero ────────────────────────────────────────────────────── */
.cmg-hero {
  background: linear-gradient(
    135deg,
    var(--cmg-primary) 0%,
    #0f172a 100%
  ) !important;
  color: #fff !important;
  padding: 2.25rem 1.5rem !important;
}
.cmg-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}
.cmg-hero-text {
}
.cmg-hero-kicker {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 20px !important;
  margin-bottom: 1rem !important;
}
.cmg-hero-headline {
  font-size: clamp(1.9rem, 4.5vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 1rem !important;
  color: #fff !important;
}
.cmg-hero-sub {
  font-size: 1.125rem !important;
  opacity: 0.88;
  line-height: 1.65 !important;
  margin: 0 0 1.75rem !important;
  color: #fff !important;
}
.cmg-hero-bullets {
  list-style: none !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}
.cmg-hero-bullets li {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.9375rem !important;
  color: #fff !important;
  opacity: 0.92;
}
.cmg-hero-bullets .check {
  width: 20px !important;
  height: 20px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
}
/* ── ZIP lookup card (hero right column) ─────────────────────── */
.cmg-zip-card {
  background: #fff;
  border-radius: 14px;
  border-top: 4px solid var(--cmg-primary, #1d4ed8);
  padding: 0.9rem 0.9rem 0.9rem 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 340px;
  max-width: 100%;
}
.cmg-zip-card-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.25rem !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
}
.cmg-zip-card-sub {
  font-size: 0.82rem !important;
  color: #6b7280 !important;
  margin: 0 0 1.1rem !important;
  line-height: 1.5 !important;
}
.cmg-zip-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.cmg-zip-input {
  width: 6.5ch !important;
  box-sizing: content-box !important;
  font-size: 4.5rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  letter-spacing: 0.06em !important;
  padding: 0 0.15rem !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 8px !important;
  outline: none !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  color: #1e293b !important;
  line-height: 1 !important;
}
.cmg-zip-input::placeholder {
  letter-spacing: 0.02em;
  color: #94a3b8;
  font-weight: 400;
  font-size: 1.1rem;
}
.cmg-zip-input:focus {
  border-color: var(--cmg-primary, #1d4ed8);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.cmg-zip-btn {
  width: 100% !important;
  background: var(--cmg-primary, #1d4ed8) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0.8rem 1rem !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition:
    background 0.2s,
    transform 0.1s;
  letter-spacing: 0.02em !important;
}
.cmg-zip-btn:hover {
  background: #1e40af !important;
  transform: translateY(-1px);
}
.cmg-zip-call {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0.7rem 0 0;
}
.cmg-zip-call a {
  color: var(--cmg-primary, #1d4ed8);
  font-weight: 600;
  text-decoration: none;
}
.cmg-zip-micro {
  font-size: 0.65rem;
  color: #9ca3af;
  margin: 0.25rem 0 0;
}

/* ── Trust bar ───────────────────────────────────────────────── */
.cmg-trust-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.1rem 1.5rem;
}
.cmg-trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0 2rem;
}
.cmg-trust-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #374151;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.cmg-trust-icon {
  font-size: 0.8rem;
  color: #16a34a;
}

/* ── How it Works ────────────────────────────────────────────── */
.cmg-how-it-works {
  padding: 5rem 1.5rem;
  background: #fff;
}
.cmg-steps {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.cmg-steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(16.66% + 26px);
  right: calc(16.66% + 26px);
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}
.cmg-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.cmg-step-num {
  width: 52px;
  height: 52px;
  background: var(--cmg-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 7px #e2e8f0;
}
.cmg-step h3 {
  font-size: 1.05rem;
  color: #1e293b;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.cmg-step p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* ── 2026 Callout ────────────────────────────────────────────── */
.cmg-callout-2026 {
  background: var(--cmg-primary);
  padding: 2.25rem 1.5rem;
}
.cmg-callout-2026-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.cmg-callout-2026 h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}
.cmg-callout-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cmg-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 0.28rem 0.8rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.cmg-callout-cta-link {
  color: #fff;
  font-size: 0.875rem;
  text-decoration: underline;
  opacity: 0.85;
  white-space: nowrap;
  font-weight: 600;
}
.cmg-callout-cta-link:hover {
  opacity: 1;
}

/* ── Plan Spotlight ──────────────────────────────────────────── */
.cmg-plan-spotlight {
  padding: 5rem 1.5rem;
  background: #f8fafc;
}
.cmg-plan-cards {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.cmg-plan-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  border: 2px solid #e2e8f0;
  position: relative;
}
.cmg-plan-card.popular {
  border-color: var(--cmg-primary);
}
.cmg-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cmg-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.cmg-plan-card h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin: 0 0 0.25rem;
  font-weight: 800;
}
.cmg-plan-card .price-note {
  color: #6b7280;
  font-size: 0.82rem;
  margin: 0 0 1.25rem;
}
.cmg-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}
.cmg-feature .on {
  color: #16a34a;
  flex-shrink: 0;
  font-weight: 700;
  min-width: 14px;
}
.cmg-feature .off {
  color: #d1d5db;
  flex-shrink: 0;
  min-width: 14px;
}
.cmg-plan-btn {
  display: block;
  text-align: center;
  margin-top: 1.4rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.cmg-plan-btn.primary {
  background: var(--cmg-primary);
  color: #fff;
}
.cmg-plan-btn.primary:hover {
  filter: brightness(1.1);
}
.cmg-plan-btn.outline {
  border: 2px solid var(--cmg-primary);
  color: var(--cmg-primary);
}
.cmg-plan-btn.outline:hover {
  background: var(--cmg-primary);
  color: #fff;
}
.cmg-plan-compare-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
}
.cmg-plan-compare-link:hover {
  color: var(--cmg-primary);
  text-decoration: underline;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.cmg-final-cta {
  background: #0f172a;
  padding: 5rem 1.5rem;
  text-align: center;
}
.cmg-final-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}
.cmg-final-cta p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin: 0 0 2.25rem;
}
.cmg-cta-bigbtn {
  display: inline-block;
  padding: 1rem 2.75rem;
  background: var(--cmg-primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition:
    filter 0.15s,
    transform 0.1s;
}
.cmg-cta-bigbtn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.cmg-cta-sub {
  color: #475569;
  font-size: 0.8rem;
  margin-top: 0.9rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 820px) {
  .cmg-hero-inner {
    grid-template-columns: 1fr;
  }
  .cmg-steps {
    grid-template-columns: 1fr;
  }
  .cmg-steps::before {
    display: none;
  }
  .cmg-plan-cards {
    grid-template-columns: 1fr;
  }
  .cmg-callout-2026-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cmg-hero {
    padding: 3rem 1.25rem;
  }
  .cmg-how-it-works,
  .cmg-plan-spotlight,
  .cmg-final-cta {
    padding: 3.5rem 1.25rem;
  }
}
