/* ── 4. LAYOUT ────────────────────────────────────────────── */
.cg-container {
  max-width: var(--cg-max-w);
  margin: 0 auto;
  padding: 0 var(--cg-gutter);
}

.cg-container--narrow {
  max-width: var(--cg-max-narrow);
  margin: 0 auto;
  padding: 0 var(--cg-gutter);
}

.cg-header__toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }

.cg-header__toggle.is-active span:nth-child(2) { opacity: 0; }

.cg-header__toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.cg-hero--hub .cg-container { position: relative; z-index: 1; }

/* ── 13. STATS BAR ────────────────────────────────────────── */
/* Template outputs: .cg-container.cg-stats-bar > .cg-stats-bar__inner > .cg-stats-bar__item */
.cg-stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  margin-bottom: 60px;
}

.cg-toc__list li a:hover,
.cg-toc__list li a.active,
.cg-toc__list li.is-active a {
  color: var(--cg-green);
  border-left-color: var(--cg-green);
}

.cg-toc__list li.is-active a {
  font-weight: 600;
}

.cg-toc__list li.is-active::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--cg-green);
  border-radius: 1px;
}

/* ── 28. LEAD FORM ────────────────────────────────────────── */
.cg-form {
  background: var(--cg-white);
  border: 1px solid rgba(228, 231, 236, 0.5);
  border-radius: var(--cg-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--cg-shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}

.cg-form__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--cg-dark);
  margin-bottom: 6px;
  text-align: center;
}

.cg-form__sub {
  font-size: 15px;
  color: var(--cg-dark-50);
  margin-bottom: 1.5rem;
  text-align: center;
}

.cg-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cg-form__field--full {
  grid-column: 1 / -1;
}

.cg-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cg-dark);
  margin-bottom: 6px;
}

.cg-form__input,
.cg-form__select,
.cg-form__textarea {
  width: 100%;
  padding: .7rem 1rem;
  font-size: 15px;
  border: 1px solid var(--cg-gray-200);
  border-radius: var(--cg-radius-sm);
  color: var(--cg-dark);
  background: var(--cg-white);
  transition: border-color .15s, box-shadow .15s;
}

.cg-form__input:focus,
.cg-form__select:focus,
.cg-form__textarea:focus {
  outline: none;
  border-color: var(--cg-green);
  box-shadow: 0 0 0 3px rgba(0, 197, 70, .12);
}

.cg-form__textarea {
  min-height: 100px;
  resize: vertical;
}

.cg-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.cg-form__submit {
  grid-column: 1 / -1;
  margin-top: .5rem;
}

.cg-form__success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.cg-form__success.is-visible {
  display: block;
}

.cg-form__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cg-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.cg-form__success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--cg-green);
  fill: none;
  stroke-width: 2.5;
}

.cg-form__success-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--cg-dark);
  margin-bottom: 6px;
}

.cg-form__success-text {
  font-size: 15px;
  color: var(--cg-dark-50);
}

/* ── 32. STICKY MOBILE CTA — rebuilt 2026-04-16 as .cg-fab-cta ──
   Old Block A + Block B removed because they collided. The new
   button uses an isolated class so it can't conflict with anything
   historical. Hidden on desktop, hidden on the home-2026 layout
   (which has its own hero CTAs), shown on every other page on
   mobile. */
.cg-fab-cta { display: none; }

@media (max-width: 780px) {
  .cg-fab-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    padding: 16px 24px;
    background: var(--cg-green);
    color: var(--cg-white);
    text-decoration: none;
    font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    border-radius: 100px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12),
                inset 0 1px 0 rgba(255, 255, 255, .2);
    transition: transform .3s cubic-bezier(.22,.61,.36,1),
                opacity .3s cubic-bezier(.22,.61,.36,1),
                box-shadow .2s, background .2s;
    -webkit-tap-highlight-color: transparent;
  }

/* Only apply hover lift on devices with a real pointer — iOS Safari
     treats the first tap as :hover which causes a double-tap-to-click bug. */
  @media (hover: hover) {
    .cg-fab-cta:hover {
      transform: translateY(-2px);
      background: var(--cg-green-dark);
      box-shadow: 0 4px 10px rgba(0, 0, 0, .15),
                  inset 0 1px 0 rgba(255, 255, 255, .25);
    }

.cg-fab-cta:focus-visible {
    background: var(--cg-green-dark);
  }

.cg-fab-cta:active { background: var(--cg-green-dark); }

.cg-hero .cg-container,
.cg-hero > .cg-container { position: relative; z-index: 1; }

.cg-content-toc ul li a:hover,
.cg-content-toc ul li a.active,
.cg-content-toc ul li.is-active a {
  color: var(--cg-green);
  border-left-color: var(--cg-green);
}

.cg-content-toc ul li.is-active a {
  font-weight: 600;
}

/* --- FORM SUCCESS: templates use .cg-form-success (not .cg-form__success) --- */
.cg-form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.cg-form-success.is-visible {
  display: block;
}

.cg-form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cg-green-light);
  color: var(--cg-green);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* --- FORM ELEMENTS: templates use bare label/input/select/textarea inside .cg-form --- */
.cg-form .cg-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cg-dark);
  margin-bottom: 6px;
}

.cg-form .cg-form__field input,
.cg-form .cg-form__field select,
.cg-form .cg-form__field textarea {
  width: 100%;
  padding: .7rem 1rem;
  font-size: 15px;
  border: 1px solid var(--cg-gray-200);
  border-radius: var(--cg-radius-sm);
  color: var(--cg-dark);
  background: var(--cg-white);
  transition: border-color .15s, box-shadow .15s;
}

.cg-form .cg-form__field input:focus,
.cg-form .cg-form__field select:focus,
.cg-form .cg-form__field textarea:focus {
  outline: none;
  border-color: var(--cg-green);
  box-shadow: 0 0 0 3px rgba(0, 197, 70, .12);
}

.cg-form .cg-form__field textarea {
  min-height: 100px;
  resize: vertical;
}

.cg-toc__list li.is-active::before,
  .cg-content-toc ul li.is-active::before { display: none; }

.cg-toc__list li.is-active a,
  .cg-toc__list li a.active,
  .cg-content-toc ul li.is-active a,
  .cg-content-toc ul li a.active {
    background: var(--cg-green-light);
    color: var(--cg-green);
    border-left: none;
  }

/* Form */
  .cg-form__grid {
    grid-template-columns: 1fr;
  }

.cg-form {
    padding: 1.5rem;
  }

/* ── 35. PRINT ────────────────────────────────────────────── */
@media print {
  .cg-header,
  .cg-footer,
  .cg-sticky-cta,
  .cg-mid-cta,
  .cg-final-cta,
  .cg-form,
  .cg-hero__actions,
  .cg-hero__ctas,
  .cg-hero-spoke__ctas,
  .cg-grid-toggle-wrap {
    display: none !important;
  }

/* --- Industry Data / Economics: wider title container --- */
.cg-section .cg-container--narrow .cg-section__head {
  max-width: 100%;
}

/* ── SPLIT LEAD FORM V2 ─────────────────────────────────────── */

.cg-form-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cg-form-v2__info {
  padding-right: 24px;
}

.cg-form-v2__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cg-green);
  margin-bottom: 16px;
}

.cg-form-v2__heading {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--cg-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cg-form-v2__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--cg-dark-70);
  margin-bottom: 28px;
}

.cg-form-v2__guarantees {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cg-form-v2__guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cg-dark);
}

.cg-form-v2__guarantee-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cg-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cg-form-v2__guarantee-icon svg {
  width: 13px;
  height: 13px;
  stroke: var(--cg-green);
  stroke-width: 2.5;
  fill: none;
}

.cg-form-v2__card {
  background: var(--cg-white);
  border: 1px solid rgba(228, 231, 236, .5);
  border-radius: var(--cg-radius-xl);
  padding: 36px 32px;
  box-shadow: var(--cg-shadow-lg);
}

.cg-form-v2__card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--cg-dark);
  margin-bottom: 6px;
  text-align: center;
}

.cg-form-v2__card-sub {
  font-size: 14px;
  color: var(--cg-dark-50);
  text-align: center;
  margin-bottom: 24px;
}

.cg-form-v2__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cg-form-v2__field--full {
  grid-column: 1 / -1;
}

.cg-form-v2__input,
.cg-form-v2__select,
.cg-form-v2__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--cg-gray-200);
  border-radius: var(--cg-radius-sm);
  color: var(--cg-dark);
  background: var(--cg-white);
  transition: border-color .15s, box-shadow .15s;
}

.cg-form-v2__input::placeholder,
.cg-form-v2__textarea::placeholder {
  color: var(--cg-dark-50);
}

.cg-form-v2__input:focus,
.cg-form-v2__select:focus,
.cg-form-v2__textarea:focus {
  outline: none;
  border-color: var(--cg-green);
  box-shadow: 0 0 0 3px rgba(0, 197, 70, .12);
}

.cg-form-v2__textarea {
  min-height: 100px;
  resize: vertical;
}

.cg-form-v2__submit {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .cg-form-v2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

.cg-form-v2__info {
    padding-right: 0;
    text-align: center;
  }

.cg-form-v2__guarantees {
    align-items: center;
  }

.cg-form-v2__card {
    padding: 28px 22px;
  }

.cg-form-v2__fields {
    grid-template-columns: 1fr;
  }

/* Lead form — uses existing .cg-form but wrap section gets split layout */
#lead-form .cg-form-v2__grid,
#lead-form .cg-form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

#lead-form .cg-form-v2__grid,
  #lead-form .cg-form-split { grid-template-columns: 1fr; }

.cg-final-cta-dark .cg-container { position: relative; z-index: 1; }

.cg-lead-form-v2__card .cg-form {
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  max-width: none;
}

/* When the mobile drawer is open, hide the sticky FAB so it doesn't
     cover the bottom of the menu. */
  .cg-mobile-drawer.is-open ~ .cg-fab-cta,
  body:has(.cg-mobile-drawer.is-open) .cg-fab-cta {
    display: none !important;
  }

/* Sticky mobile CTA stays green-on-white regardless of h26 color inheritance */
body.home-2026 a.cg-fab-cta,
a.cg-fab-cta { color: var(--cg-white) !important; }

/* Sticky-fab visibility states controlled by JS (initFabCta).
   - .is-hidden: hasn't scrolled past hero CTA yet (default)
   - .is-over-form: lead-form visible, get out of the way
*/
a.cg-fab-cta.is-hidden,
a.cg-fab-cta.is-over-form {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

body.home-2026 .h26-discovery__cat.is-active { background: var(--h26-green); color: #fff; }

/* Homepage uses the shared cg_render_lead_form_v2() layout. The full
   gradient backdrop + radial ambient highlights are defined further
   down in this file under "HOMEPAGE LEAD FORM V2" where they match
   the spoke/hub version exactly. We only set container width here;
   the earlier `background: var(--h26-bg-tint)` override was removed
   because it won the specificity war against the gradient. */
body.home-2026 #lead-form .cg-container {
  max-width: 1200px;
}

body.home-2026 .h26-discovery__cat.is-active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
 * LEAD FORM — Service-chip multi-select + datalist + helper label
 * Used by both cg_render_lead_form_v2 and homepage split form.
 * ═══════════════════════════════════════════════════════ */
.cg-form__field-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,18,22,.62);
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cg-form__field-label span {
  font-family: 'Geist', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(15,18,22,.42);
}

.cg-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cg-form__chip {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.cg-form__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cg-form__chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f6f7f4;
  border: 1.5px solid rgba(15,18,22,.16);
  border-radius: 999px;
  font-family: 'Geist', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(15,18,22,.78);
  letter-spacing: -.005em;
  transition: all .15s ease;
  white-space: nowrap;
}

.cg-form__chip span::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(15,18,22,.2);
  border-radius: 4px;
  background: #fff;
  display: inline-block;
  transition: all .15s ease;
  flex-shrink: 0;
}

.cg-form__chip:hover span {
  border-color: rgba(0,197,70,.35);
  color: #059033;
}

.cg-form__chip input:checked + span {
  background: rgba(0,197,70,.08);
  border-color: #00C546;
  color: #059033;
  font-weight: 600;
}

.cg-form__chip input:checked + span::before {
  background: #00C546;
  border-color: #00C546;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.5l2.5 2.5 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.cg-form__chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(0,197,70,.22);
}

/* Radio row — agency / business-owner routing question. Uses the same
   pill aesthetic as the chips above so the form reads as one family. */
.cg-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cg-form__radio {
  position: relative;
  cursor: pointer;
  user-select: none;
  flex: 1 1 220px;
}

.cg-form__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cg-form__radio span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #f6f7f4;
  border: 1.5px solid rgba(15,18,22,.16);
  border-radius: 999px;
  font-family: 'Geist', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(15,18,22,.78);
  letter-spacing: -.005em;
  transition: all .15s ease;
}

.cg-form__radio span::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(15,18,22,.25);
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  transition: all .15s ease;
  flex-shrink: 0;
}

.cg-form__radio:hover span {
  border-color: rgba(0,197,70,.35);
  color: #059033;
}

.cg-form__radio input:checked + span {
  background: rgba(0,197,70,.08);
  border-color: #00C546;
  color: #059033;
  font-weight: 600;
}

.cg-form__radio input:checked + span::before {
  border-color: #00C546;
  background: radial-gradient(circle, #00C546 0 5px, #fff 5px 100%);
}

.cg-form__radio input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(0,197,70,.22);
}

/* Datalist arrow cue */
.cg-form__field--float input[list] {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(15,18,22,.35)' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px;
  padding-right: 38px;
}

@media (max-width: 600px) {
  .cg-form__chip span { font-size: 13px; padding: 9px 14px; }

body.home-2026 #lead-form .cg-container { position: relative; z-index: 1; }

/* Floating-label inputs */
body.home-2026 .cg-form__field--float {
  position: relative;
  margin-bottom: 16px;
}

body.home-2026 .cg-form__field--float label {
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: var(--h26-text-dimmer);
  pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease;
  background: transparent;
  padding: 0 4px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin: 0;
}

body.home-2026 .cg-form__field--float input,
body.home-2026 .cg-form__field--float select,
body.home-2026 .cg-form__field--float textarea {
  width: 100%;
  padding: 22px 18px 12px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--h26-stroke);
  border-radius: 12px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: var(--h26-text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

body.home-2026 .cg-form__field--float input:focus,
body.home-2026 .cg-form__field--float select:focus,
body.home-2026 .cg-form__field--float textarea:focus {
  outline: none;
  border-color: var(--h26-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,197,70,.18);
}

/* Float label up when input has content or focus */
body.home-2026 .cg-form__field--float input:focus + label,
body.home-2026 .cg-form__field--float input:not(:placeholder-shown) + label,
body.home-2026 .cg-form__field--float textarea:focus + label,
body.home-2026 .cg-form__field--float textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--h26-green-deep);
}

/* Selects always show their placeholder option text inside the field, so
   the label has to be floated up by default — otherwise both render on
   top of each other. */
body.home-2026 .cg-form__field--select label {
  top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--h26-text-dim);
}

body.home-2026 .cg-form__field--select select:focus + label {
  color: var(--h26-green-deep);
}

/* Select arrow */
body.home-2026 .cg-form__field--select select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%2300C546' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

body.home-2026 .cg-form__submit { margin-top: 22px; }

body.home-2026 .cg-form__submit .cg-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--h26-green), var(--h26-green-deep));
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 28px -8px rgba(0,197,70,.5);
}

body.home-2026 .cg-form__submit .cg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(0,197,70,.6);
}

body.home-2026 .cg-form__privacy {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  color: var(--h26-text-dimmer);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 16px 0 0;
}

/* Success state */
body.home-2026 .cg-form-success {
  text-align: center;
  padding: 32px 0 8px;
}

body.home-2026 .cg-form-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--h26-green), var(--h26-green-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 12px 28px -8px rgba(0,197,70,.5);
}

body.home-2026 .cg-form-success h3 {
  font-family: 'Geist', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  color: var(--h26-text);
}

body.home-2026 .cg-form-success p {
  font-size: 15px;
  color: var(--h26-text-dim);
  line-height: 1.55;
  margin: 0;
}

.cg-gac-hero .cg-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
}

/* Responsive */
@media (max-width: 1000px) {
  .cg-gac-hero .cg-container { grid-template-columns: 1fr; gap: 40px; }

/* ══════════════════════════════════════════════════════════════════════
 * BLOG — archive (home.php) + single post (single.php) + sidebar rail
 * Mirrors the preview at /blog-concepts.html.
 * ══════════════════════════════════════════════════════════════════════ */

/* ─── Archive hero ─── */
.cg-blog-hero { padding: 80px 0 56px; background: linear-gradient(180deg, #eefbf2 0%, #fff 70%); text-align: center; }

.cg-blog-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0,197,70,.25); border-radius: 100px;
  background: rgba(0,197,70,.06);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #008f33;
  margin-bottom: 18px;
}

.cg-blog-hero__dot { width: 7px; height: 7px; background: #00C546; border-radius: 999px; box-shadow: 0 0 0 4px rgba(0,197,70,.18); }

.cg-blog-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.04;
  max-width: 900px; margin: 0 auto 18px;
  color: #101828; text-wrap: balance;
}

.cg-blog-hero__title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-weight: 400;
  color: #008f33;
}

.cg-blog-hero__sub { font-size: 18px; line-height: 1.6; color: #4a5a6a; max-width: 620px; margin: 0 auto; }

/* ─── Archive category filter ─── */
.cg-blog-filter {
  padding: 20px 0;
  border-bottom: 1px solid #e8ecf1;
  position: sticky; top: 78px; z-index: 40;
  background: rgba(250, 251, 251, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.cg-blog-filter__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.cg-blog-filter__pill {
  padding: 9px 16px; border-radius: 100px;
  background: #f3f5f8;
  font-size: 13.5px; font-weight: 500;
  color: #4a5a6a;
  text-decoration: none;
  transition: all .15s;
}

.cg-blog-filter__pill:hover { color: #008f33; }

.cg-blog-filter__pill.is-active { background: #101828; color: #fff; }

.cg-blog-filter__search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid #e8ecf1; border-radius: 100px;
  background: #fff; min-width: 240px;
}

.cg-blog-filter__search svg { width: 14px; height: 14px; color: #7a8898; }

.cg-blog-filter__search input { border: 0; outline: 0; font-family: inherit; font-size: 13.5px; background: transparent; color: #101828; width: 100%; }

/* ─── Archive featured hero card ─── */
.cg-blog-featured { padding: 56px 0 32px; }

.cg-blog-featured__card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  background: #fff; border-radius: 24px; padding: 12px;
  box-shadow: 0 8px 18px -6px rgba(15,30,50,.12);
}

.cg-blog-featured__media {
  aspect-ratio: 16/11; overflow: hidden; border-radius: 16px;
  background: linear-gradient(135deg, #15212e, #243445);
  position: relative; display: block;
}

.cg-blog-featured__media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px circle at 80% 20%, rgba(0,197,70,.18), transparent 50%);
  pointer-events: none;
}

.cg-blog-featured__media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.cg-blog-featured__body { padding: 20px 36px 20px 0; }

.cg-blog-featured__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(0,197,70,.10); color: #008f33;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px; text-decoration: none;
}

.cg-blog-featured__title { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; color: #101828; }

.cg-blog-featured__title a { color: inherit; text-decoration: none; transition: color .15s; }

.cg-blog-featured__title a:hover { color: #008f33; }

.cg-blog-featured__excerpt { font-size: 16px; line-height: 1.6; color: #4a5a6a; margin-bottom: 22px; }

.cg-blog-featured__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #7a8898; }

.cg-blog-featured__avatar { width: 32px !important; height: 32px !important; border-radius: 50%; overflow: hidden; flex-shrink: 0; }

.cg-blog-featured__author-name { color: #101828; font-weight: 500; }

.cg-blog-featured__sep { color: #7a8898; }

/* ─── Archive post grid ─── */
.cg-blog-grid { padding: 24px 0 100px; }

.cg-blog-grid__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }

.cg-blog-grid__label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #7a8898;
}

.cg-blog-grid__count { font-size: 13.5px; color: #4a5a6a; }

.cg-blog-grid__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.cg-blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e8ecf1; border-radius: 16px;
  overflow: hidden; transition: all .2s;
}

.cg-blog-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(15,30,50,.12); border-color: rgba(0,197,70,.25); }

.cg-blog-card__media { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #e8ecf1, #f3f5f8); display: block; }

.cg-blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cg-blog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.cg-blog-card__tag {
  display: inline-block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #008f33; margin-bottom: 12px; text-decoration: none;
}

.cg-blog-card__title { font-size: 19px; font-weight: 700; letter-spacing: -.012em; line-height: 1.28; color: #101828; margin-bottom: 10px; }

.cg-blog-card__title a { color: inherit; text-decoration: none; }

.cg-blog-card:hover .cg-blog-card__title a { color: #008f33; }

.cg-blog-card__excerpt {
  font-size: 13.5px; line-height: 1.55; color: #4a5a6a; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.cg-blog-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #7a8898; margin-top: auto; }

.cg-blog-more { text-align: center; margin-top: 48px; }

.cg-blog-more a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; background: #101828; color: #fff !important;
  border-radius: 100px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}

.cg-blog-more a:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(15,30,50,.2); }

.cg-post-toc a.is-active { color: #101828; font-weight: 600; border-left-color: #00C546; background: #eefbf2; }

.cg-blog-filter { top: 70px; }

@media (max-width: 900px) {
  .cg-blog-featured__card { grid-template-columns: 1fr; gap: 0; }

.cg-blog-featured__body { padding: 28px; }

.cg-blog-grid__cards,
  .cg-post-related__grid { grid-template-columns: 1fr; gap: 24px; }

.cg-blog-filter__search { margin-left: 0; min-width: auto; flex: 1; }

/* ══════════════════════════════════════════════════════════════════════
 * LEAD MODAL — rendered in footer, triggered by [data-open-lead-modal]
 * ══════════════════════════════════════════════════════════════════════ */
.cg-lead-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(15, 30, 50, .62);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  opacity: 0; transition: opacity .2s;
}

.cg-lead-modal.is-open { display: flex; opacity: 1; }

.cg-lead-modal[hidden] { display: none !important; }

.cg-lead-modal__card {
  position: relative; width: 100%; max-width: 640px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 22px;
  box-shadow: 0 20px 40px -8px rgba(15,30,50,.18), 0 8px 16px -8px rgba(15,30,50,.10);
  padding: 44px 40px 36px;
  animation: cgLeadModalRise .28s cubic-bezier(.22,.61,.36,1);
}

.cg-lead-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #f3f5f8; color: #4a5a6a;
  display: grid; place-items: center;
  cursor: pointer; transition: all .15s;
}

.cg-lead-modal__close:hover { background: #101828; color: #fff; }

.cg-lead-modal__close svg { width: 16px; height: 16px; }

.cg-lead-modal__label { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #008f33; font-weight: 700; margin-bottom: 12px; }

.cg-lead-modal__title { font-size: 28px; font-weight: 800; letter-spacing: -.018em; line-height: 1.15; color: #101828; margin-bottom: 10px; text-wrap: balance; }

.cg-lead-modal__title em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: #008f33; }

.cg-lead-modal__sub { font-size: 15.5px; line-height: 1.55; color: #4a5a6a; margin: 0 0 22px; }

.cg-lead-modal__bullets { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }

.cg-lead-modal__bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: rgba(15,18,22,.85); }

.cg-lead-modal__check { width: 18px; height: 18px; border-radius: 50%; background: #00C546; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; flex-shrink: 0; margin-top: 1px; box-shadow: 0 0 0 3px rgba(0,197,70,.12); }

.cg-lead-modal__form { display: flex; flex-direction: column; gap: 10px; }

.cg-lead-modal__input,
.cg-lead-modal__select {
  width: 100%; padding: 13px 15px;
  font-family: inherit; font-size: 15.5px;
  border: 1.5px solid #e8ecf1; border-radius: 10px;
  background: #fff; color: #101828;
  transition: border-color .15s;
}

.cg-lead-modal__input::placeholder { color: #7a8898; }

.cg-lead-modal__input:focus,
.cg-lead-modal__select:focus { outline: 0; border-color: #00C546; }

.cg-lead-modal__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cg-lead-modal__radios { display: flex; gap: 8px; margin-top: 4px; }

.cg-lead-modal__radios label { flex: 1; position: relative; cursor: pointer; }

.cg-lead-modal__radios input { position: absolute; opacity: 0; pointer-events: none; }

.cg-lead-modal__radios span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 14px; border: 1.5px solid #e8ecf1; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: #4a5a6a; transition: all .15s; }

.cg-lead-modal__radios input:checked + span { border-color: #00C546; background: rgba(0,197,70,.08); color: #008f33; font-weight: 600; }

/* Field label (above radios / chips) */
.cg-lead-modal__field-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4a5a6a;
  margin-top: 8px;
  margin-bottom: -2px;
}

.cg-lead-modal__field-label span {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #7a8898;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 6px;
}

/* Field-label modifiers — first label has no top gap, gap label has extra
   spacing to visually separate the contact block from the industry block. */
.cg-lead-modal__field-label--first { margin-top: 0; }

.cg-lead-modal__field-label--gap   { margin-top: 22px; }

/* ── LEAD MODAL — 2026-04-26 "Plan A" REDESIGN ────────────────────────
 * Industry-first Step 1, popular chips, slim mobile intro, optional
 * website toggle. Only the additive rules — base modal styles untouched.
 * ───────────────────────────────────────────────────────────────────── */

/* Title swap — show desktop variant ≥720px, mobile variant <720px.
   Both inline by default; CSS hides the wrong one per breakpoint.
   Wrapper .cg-lead-modal__title sets size + weight; spans are content. */
.cg-lead-modal__title--mobile { display: none; }

.cg-lead-modal__title--desktop { display: inline; }

@media (max-width: 720px) {
  .cg-lead-modal__title--desktop { display: none; }

.cg-lead-modal__title--mobile  { display: inline; }

/* Mobile intro — hide bullets + desktop subhead. Action-first feel. */
  .cg-lead-modal__sub--desktop { display: none; }

.cg-lead-modal__bullets      { display: none; }

/* Tighter mobile title — current 28px is good but on cramped phones
     (≤375 wide) it pushes the Step 1 fields off-screen. Slim it. */
  .cg-lead-modal__title { font-size: 22px; line-height: 1.2; margin-bottom: 14px; }

.cg-lead-modal__label { margin-bottom: 6px; }

/* Industry block — search-first layout (2026-04-26 redesign).
 * Hierarchy is communicated visually:
 *   1. Search input (primary)  → standard size, visible affordance
 *   2. "Common industries" chips (secondary) → small, muted background
 *   3. "Other / Not listed" link (fallback) → tiny muted text link
 */
.cg-industry-block { display: flex; flex-direction: column; gap: 4px; }

/* Mini-headings inside the industry block. These are smaller + softer
   than the main field-label so the hierarchy reads as: page label →
   sub-section labels. */
.cg-industry-block__sublabel {
  font: 500 12.5px/1.3 'Inter', system-ui, sans-serif;
  color: #6a7585;
  margin: 2px 0 4px;
  letter-spacing: 0;
  text-transform: none;
}

.cg-industry-block__sublabel--gap {
  margin-top: 14px;
}

/* "Common industries" chip row — secondary visual treatment. Smaller,
   more subdued than the previous "primary affordance" styling so the
   search input above reads as the main path. */
.cg-popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 4px;
}

.cg-popular-chips--small {
  /* hook for any future extra-small variants — currently same as base */
}

.cg-popular-chip {
  appearance: none;
  background: #f4f6f9;
  border: 1px solid transparent;
  color: #4a5566;
  border-radius: 999px;
  padding: 6px 12px;
  font: 500 13px/1 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: all .15s;
  min-height: 30px;
}

.cg-popular-chip:hover {
  background: rgba(0,197,70,.08);
  color: #008f33;
}

.cg-popular-chip.is-active {
  background: rgba(0,197,70,.14);
  border-color: rgba(0,197,70,.35);
  color: #007e2d;
  font-weight: 600;
}

/* "Other / Not listed" — muted text link below chips, visually de-
   emphasized so users perceive search + chips as the primary paths. */
.cg-industry-block__other {
  margin-top: 10px;
  font-size: 13px;
  color: #8a94a4;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cg-industry-block__other-prefix {
  font-weight: 400;
}

.cg-industry-block__other-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: #5a6473;
  text-decoration: underline;
  text-decoration-color: rgba(90,100,115,.35);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .15s;
}

.cg-industry-block__other-link:hover { color: #008f33; text-decoration-color: rgba(0,143,51,.5); }

/* Custom-entry mode — when "Other" is active. Hide the chip row to focus
   the user on the free-text field. The free-text field becomes the
   primary input. */
.cg-industry-block.is-other-mode .cg-popular-chips,
.cg-industry-block.is-other-mode .cg-industry-block__sublabel:nth-of-type(2) {
  /* nth-of-type(2) targets the "Common industries" sublabel. */
  display: none;
}

.cg-industry-block.is-other-mode .cg-industry-block__other-link {
  color: #008f33;
  text-decoration-color: rgba(0,143,51,.5);
  font-weight: 600;
}

.cg-industry-block__custom {
  margin-top: 10px;
}

@media (max-width: 480px) {
  /* On narrow phones, chips stay small but get a slightly bigger tap target. */
  .cg-popular-chip { padding: 8px 12px; font-size: 13px; min-height: 36px; }

/* ── PICKER CARDS — Step 1 of the branched lead form (2026-04-28) ───────
 * Two large tappable cards: Business Owner / Marketing Agency. Click
 * auto-advances to step 2 + sets the hidden is_agency value. Side-by-side
 * on desktop, stacked on mobile.
 * ───────────────────────────────────────────────────────────────────── */
.cg-picker-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 4px;
}

.cg-picker-card {
  appearance: none;
  background: #fff;
  border: 1.5px solid #e8ecf1;
  border-radius: 14px;
  padding: 22px 18px 20px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
  font: inherit;
  color: inherit;
}

.cg-picker-card:hover {
  border-color: rgba(0,197,70,.55);
  background: rgba(0,197,70,.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,40,15,.08);
}

.cg-picker-card.is-active {
  border-color: #00C546;
  background: rgba(0,197,70,.10);
  box-shadow: 0 0 0 3px rgba(0,197,70,.18);
}

.cg-picker-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,197,70,.10);
  color: #008f33;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cg-picker-card__title {
  font: 700 16px/1.2 'Inter', system-ui, sans-serif;
  color: #0a1f12;
}

.cg-picker-card__sub {
  font: 400 13px/1.4 'Inter', system-ui, sans-serif;
  color: #5a6473;
}

.cg-form-step__note--centered { text-align: center; }

/* Mobile: stack vertically — full-width cards. */
@media (max-width: 560px) {
  .cg-picker-cards { grid-template-columns: 1fr; gap: 10px; }

.cg-picker-card { padding: 18px 16px; flex-direction: row; align-items: center; gap: 14px; }

.cg-picker-card__icon { width: 40px; height: 40px; flex-shrink: 0; margin-bottom: 0; }

.cg-picker-card__title { font-size: 15.5px; }

.cg-picker-card__sub { font-size: 12.5px; }

/* Title + sub stacked in the right column on mobile. */
  .cg-picker-card { display: grid; grid-template-columns: 40px 1fr; grid-template-areas: "icon title" "icon sub"; gap: 0 14px; }

.cg-picker-card__icon  { grid-area: icon; align-self: center; }

.cg-picker-card__title { grid-area: title; }

.cg-picker-card__sub   { grid-area: sub; }

/* Quad-radio variant for "How many clients need white-label services?" —
   four equal-width pill options in a 2-column grid that becomes 4-column
   on wider screens (matches the modal's roomier desktop layout). */
.cg-lead-modal__radios--quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

@media (min-width: 560px) {
  .cg-lead-modal__radios--quad { grid-template-columns: repeat(4, 1fr); }

/* Agency-only sub-line under the "Tell us about your agency" header.
   Lives where the industry block would have lived on the retail path. */
.cg-lead-modal__sub-line {
  font: 400 13.5px/1.5 'Inter', system-ui, sans-serif;
  color: #5a6473;
  margin: 4px 0 6px;
}

/* Bottom spacing fix — the form's submit button area felt cramped against
   the modal card edge. Adds breathing room so tapping doesn't feel like
   you're hitting the edge of the screen.
   Step 2 (split Back+Submit nav) gets extra room because there's no
   "30 seconds, no spam" note below it to provide implicit padding,
   so the button sits closer to the card edge by default. */
.cg-form-step .cg-form-nav { margin-top: 18px; }

.cg-form-step__note { margin-top: 12px; padding-bottom: 8px; }

.cg-form-step .cg-form-nav--split {
  margin-top: 22px;
  padding-bottom: 28px;
}

@media (max-width: 720px) {
  /* Mobile gets extra bottom space — the on-screen keyboard pushes the
     viewport, and a too-tight bottom edge feels claustrophobic. Step 2
     gets even more room since the submit is the only thing visible
     above the card edge after the keyboard closes. */
  .cg-form-step .cg-form-nav { padding-bottom: 14px; }

.cg-form-step .cg-form-nav--split { padding-bottom: 40px; }

.cg-lead-modal__card { padding-bottom: 32px; }

/* Clearable text inputs — × button positioned inside the input on the
 * right side. Makes it obvious users can change/clear their selection.
 * Hidden when input is empty (toggled via JS via the [hidden] attribute).
 *
 * The wrapper (.cg-autocomplete OR .cg-input-wrap) needs position:relative
 * so the absolutely-positioned button anchors correctly.
 */
.cg-autocomplete,
.cg-input-wrap {
  position: relative;
}

.cg-input--clearable {
  /* Make room on the right for the × button so text doesn't run under it. */
  padding-right: 40px;
}

.cg-input-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138,148,164,.10);
  border: 0;
  border-radius: 50%;
  color: #6a7585;
  cursor: pointer;
  transition: background .15s, color .15s;
  padding: 0;
  /* Above the dropdown so click always lands on the button, not an option. */
  z-index: 3;
}

.cg-input-clear:hover {
  background: rgba(138,148,164,.22);
  color: #1a2230;
}

.cg-input-clear:focus-visible {
  outline: 2px solid rgba(0,197,70,.35);
  outline-offset: 2px;
}

.cg-input-clear[hidden] { display: none; }

@media (max-width: 480px) {
  /* Bigger tap target on mobile — easier to hit one-handed. */
  .cg-input-clear { width: 36px; height: 36px; right: 8px; }

.cg-input--clearable { padding-right: 48px; }

/* Quiet autocomplete — when used inside [data-cg-autocomplete-mode="quiet"],
   the input doesn't auto-open a giant dropdown. Style it like a regular
   search field rather than a "click to see options" affordance. */
.cg-autocomplete--quiet .cg-autocomplete__input {
  /* match standard inputs — no special "this opens a list" affordance */
}

/* Optional website toggle — a <details> styled to look like a soft inline
   "+ Add website (optional)" link. Used to be a required-looking inline
   field, which created friction at exactly the wrong moment. */
.cg-lead-modal__optional {
  margin-top: 4px;
}

.cg-lead-modal__optional-toggle {
  display: inline-block;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #5a6a7a;
  padding: 8px 0;
  list-style: none;
  outline: none;
  transition: color .15s;
}

.cg-lead-modal__optional-toggle::-webkit-details-marker { display: none; }

.cg-lead-modal__optional-toggle::marker { display: none; }

.cg-lead-modal__optional-toggle:hover { color: #008f33; }

.cg-lead-modal__optional[open] .cg-lead-modal__optional-toggle { color: #008f33; }

.cg-lead-modal__optional-input { margin-top: 6px; }

/* Services-of-interest chips */
.cg-lead-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.cg-lead-modal__chip {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.cg-lead-modal__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cg-lead-modal__chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f6f7f4;
  border: 1.5px solid rgba(15,18,22,.14);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(15,18,22,.78);
  letter-spacing: -.004em;
  transition: all .15s ease;
  white-space: nowrap;
}

.cg-lead-modal__chip span::before {
  content: '';
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(15,18,22,.2);
  border-radius: 4px;
  background: #fff;
  display: inline-block;
  transition: all .15s ease;
  flex-shrink: 0;
}

.cg-lead-modal__chip:hover span { border-color: rgba(0,197,70,.35); color: #008f33; }

.cg-lead-modal__chip input:checked + span {
  background: rgba(0,197,70,.08);
  border-color: #00C546;
  color: #008f33;
  font-weight: 600;
}

.cg-lead-modal__chip input:checked + span::before {
  background: #00C546 url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.5l2.5 2.5 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: #00C546;
}

.cg-lead-modal__chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,197,70,.22); }

.cg-lead-modal__submit {
  margin-top: 10px; padding: 16px 24px;
  background: #00C546; color: #fff !important;
  border: 0; border-radius: 100px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px -4px rgba(0,197,70,.45);
  transition: all .2s;
}

.cg-lead-modal__submit:hover { background: #008f33; transform: translateY(-1px); box-shadow: 0 10px 24px -4px rgba(0,197,70,.55); }

.cg-lead-modal__submit:disabled { opacity: .6; cursor: wait; }

/* ─── Two-step lead form ──────────────────────────────────────────
   Used by sitewide modal AND homepage inline form. Step 1 = qualifier
   fields only; step 2 = deeper qualification. */
.cg-form-progress {
  display: flex; flex-direction: column; gap: 8px;
  margin: 0 0 18px; padding: 0 2px;
}

.cg-form-progress__label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: #4a5a6a; text-transform: uppercase;
}

.cg-form-progress__label b { color: #00C546; font-weight: 700; }

.cg-form-progress__track {
  height: 4px; background: #e8ecf1; border-radius: 999px; overflow: hidden;
}

.cg-form-progress__fill {
  height: 100%; background: linear-gradient(90deg, #00C546, #00a83b);
  border-radius: 999px; transition: width .35s ease;
}

.cg-form-step[hidden] { display: none; }

.cg-form-step { display: flex; flex-direction: column; gap: 12px; }

.cg-form-step__note {
  margin-top: 4px; text-align: center;
  font-size: 12.5px; color: #6a7785;
}

.cg-form-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

.cg-form-nav--split { flex-direction: row; align-items: center; gap: 12px; }

.cg-form-nav--split .cg-form-back { flex: 0 0 auto; }

.cg-form-nav--split .cg-lead-modal__submit,
.cg-form-nav--split .h26-lead__submit { flex: 1 1 auto; margin-top: 0; }

.cg-form-back {
  background: transparent; border: 0; color: #4a5a6a;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  padding: 12px 14px; border-radius: 100px; cursor: pointer;
  transition: color .15s, background .15s;
}

.cg-form-back:hover { color: #0c1116; background: rgba(0,0,0,.04); }

/* ─── Custom autocomplete ──────────────────────────────────────
   Replaces native HTML datalists for a properly mobile-friendly
   experience. Used by the industry field on every form. */
.cg-autocomplete { position: relative; }

.cg-autocomplete__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, .18);
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
}

.cg-autocomplete__dropdown[hidden] { display: none; }

.cg-autocomplete__option {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #1f2937;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color .12s;
  /* Min height so every row is a comfortable tap target on mobile */
  min-height: 44px;
}

.cg-autocomplete__option:hover,
.cg-autocomplete__option.is-active {
  background: rgba(0, 197, 70, .08);
  color: #008f33;
}

.cg-autocomplete__option:focus { outline: none; }

.cg-autocomplete__option[hidden] { display: none; }

/* Mobile: bigger dropdown, fills more of the viewport, larger tap
   targets. The increased z-index + shadow help the list stay above
   nearby form elements when the virtual keyboard is open. */
@media (max-width: 640px) {
  /* Bottom-sheet picker on mobile — pinned to viewport, slides up from
     the bottom with a backdrop. Feels like a native iOS/Android picker
     instead of a tiny inline dropdown fighting the keyboard. */
  .cg-autocomplete.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 10000;
    animation: cgAcFade .18s ease;
  }

.cg-autocomplete.is-open .cg-autocomplete__dropdown {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    margin: 0;
    max-height: 70vh;
    border-radius: 18px 18px 0 0;
    border: 0;
    padding: 10px 10px 24px;
    z-index: 10001;
    box-shadow: 0 -12px 40px -6px rgba(15, 23, 42, .30);
    animation: cgAcSlideUp .22s cubic-bezier(.22,.61,.36,1);
  }

/* Grab-handle at the top of the sheet so users read it as a sheet. */
  .cg-autocomplete.is-open .cg-autocomplete__dropdown::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: #d4d9e0;
    border-radius: 4px;
    margin: 8px auto 12px;
  }

.cg-autocomplete__option {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 16px 18px;
    min-height: 52px;
    line-height: 1.3;
    border-bottom: 1px solid #f1f3f6;
    border-radius: 0;
  }

.cg-autocomplete__option:last-child { border-bottom: 0; }

.cg-lead-modal__success { text-align: center; padding: 16px 0; }

.cg-lead-modal__success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #00C546; color: #fff;
  display: inline-grid; place-items: center;
  font-size: 26px; font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px rgba(0,197,70,.12);
}

.cg-lead-modal__success h3 { font-size: 22px; font-weight: 700; color: #101828; margin: 0 0 8px; }

.cg-lead-modal__success p { font-size: 14px; line-height: 1.55; color: #4a5a6a; margin: 0 auto; max-width: 440px; }

/* "How did you hear about us?" — Other reveal. Hidden until dropdown === 'other' */
.cg-heard-about-other[hidden] { display: none !important; }

@media (max-width: 600px) {
  .cg-lead-modal { padding: 0; }

.cg-lead-modal__card { border-radius: 0; max-height: 100vh; padding: 60px 24px 28px; }

.cg-lead-modal__row2 { grid-template-columns: 1fr; }

.cg-lead-modal__close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: #101828;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    z-index: 10000;
  }

.cg-lead-modal__close svg { width: 20px; height: 20px; stroke-width: 2.2; }

/* Neutralize the active background — accordion handles visual state */
  body.home-2026 .h26-discovery__cat,
  body.home-2026 .h26-discovery__cat.is-active {
    background: transparent !important;
    color: #101828 !important;
    padding-right: 40px;
    position: relative;
  }

/* Lead modal success state — hide the marketing copy so only the
   confirmation message ("Got it, talk soon") shows. Cleaner UX. */
.cg-lead-modal__card.is-success .cg-lead-modal__label,
.cg-lead-modal__card.is-success .cg-lead-modal__title,
.cg-lead-modal__card.is-success .cg-lead-modal__sub,
.cg-lead-modal__card.is-success .cg-lead-modal__bullets {
  display: none !important;
}

.cg-lead-modal__card.is-success .cg-lead-modal__success {
  padding: 60px 0 40px;
}