.cmk-growth-section,
.cmk-funnel-page,
.cmk-lead-thank-you {
  --growth-navy: #071536;
  --growth-blue: #2367f5;
  --growth-green: #13a955;
  --growth-line: #dbe5f6;
  color: var(--growth-navy);
  background: #f7faff;
}

.cmk-growth-section {
  padding: 78px 24px;
  overflow: hidden;
}

.cmk-growth-section .cmk-shell,
.cmk-funnel-page .cmk-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.cmk-growth-section h2,
.cmk-funnel-page h1 {
  margin: 16px 0 22px;
  color: var(--growth-navy);
  font-size: clamp(42px, 4.7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.cmk-growth-section h2 b {
  color: var(--growth-blue);
}

.cmk-growth-section p,
.cmk-funnel-page p {
  color: #52617c;
  font-size: 18px;
  line-height: 1.65;
}

.cmk-agency-grid,
.cmk-system-head,
.cmk-funnel-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}

.cmk-agency-logo {
  width: auto;
  height: 74px;
  object-fit: contain;
}

.cmk-agency-copy > span,
.cmk-system-head > div > span,
.cmk-featured-head > div > span,
.cmk-funnel-copy > span {
  display: inline-flex;
  color: var(--growth-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cmk-growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cmk-growth-actions a,
.cmk-featured-head aside a,
.cmk-featured-footer a,
.cmk-funnel-step > button,
.cmk-funnel-buttons button,
.cmk-lead-thank-you a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--growth-blue);
  border-radius: 8px;
  color: #fff;
  background: var(--growth-blue);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cmk-growth-actions a:hover,
.cmk-featured-footer a:hover,
.cmk-funnel-step > button:hover,
.cmk-funnel-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(35, 103, 245, .2);
}

.cmk-growth-actions .is-secondary {
  color: var(--growth-blue);
  background: #fff;
}

.cmk-growth-actions svg,
.cmk-featured-footer svg,
.cmk-funnel-form button svg {
  width: 18px;
  height: 18px;
}

.cmk-agency-stats,
.cmk-system-stats,
.cmk-featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.cmk-agency-stats article,
.cmk-system-stats article,
.cmk-featured-metrics article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
}

.cmk-agency-stats strong,
.cmk-system-stats strong,
.cmk-featured-metrics strong {
  display: block;
  color: var(--growth-blue);
  font-size: 24px;
  line-height: 1.15;
}

.cmk-agency-stats span,
.cmk-system-stats span,
.cmk-featured-metrics span {
  display: block;
  margin-top: 5px;
  color: #64708a;
  font-size: 12px;
}

.cmk-agency-media,
.cmk-featured-video,
.cmk-funnel-copy {
  min-width: 0;
}

.cmk-agency-media .cmk-engine-media-card,
.cmk-featured-video .cmk-engine-media-card,
.cmk-funnel-copy .cmk-engine-media-card {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(7, 21, 54, .12);
}

.cmk-agency-media .cmk-engine-media-card img,
.cmk-agency-media .cmk-engine-media-card video,
.cmk-featured-video .cmk-engine-media-card img,
.cmk-featured-video .cmk-engine-media-card video,
.cmk-funnel-copy .cmk-engine-media-card img,
.cmk-funnel-copy .cmk-engine-media-card video,
.cmk-agency-media iframe,
.cmk-featured-video iframe,
.cmk-funnel-copy iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmk-agency-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
}

.cmk-agency-features article {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.cmk-agency-features article + article {
  border-left: 1px solid var(--growth-line);
}

.cmk-agency-features img,
.cmk-system-cards img,
.cmk-featured-metrics img,
.cmk-funnel-benefits img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.cmk-agency-features strong,
.cmk-agency-features span {
  display: block;
}

.cmk-agency-features span {
  margin-top: 5px;
  color: #64708a;
  font-size: 12px;
}

.cmk-growth-brands {
  margin-top: 42px;
  text-align: center;
}

.cmk-growth-brands > span {
  color: #64708a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cmk-growth-brands > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 18px;
}

.cmk-growth-brands img {
  width: auto;
  height: 34px;
  max-width: 150px;
  object-fit: contain;
}

.cmk-system-head {
  align-items: start;
}

.cmk-system-dashboard {
  position: relative;
  min-height: 430px;
}

.cmk-system-dashboard > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(7, 21, 54, .1);
}

.cmk-turning-gear {
  position: absolute;
  width: 110px;
  height: 110px;
  object-fit: contain;
  animation: cmkGearTurn 12s linear infinite;
  filter: drop-shadow(0 12px 16px rgba(7, 21, 54, .16));
}

.cmk-turning-gear.is-one {
  top: -42px;
  right: 30px;
}

.cmk-turning-gear.is-two {
  right: -24px;
  bottom: -32px;
  width: 84px;
  height: 84px;
  animation-direction: reverse;
}

@keyframes cmkGearTurn {
  to { transform: rotate(360deg); }
}

.cmk-system-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.cmk-system-cards article,
.cmk-funnel-benefits article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 21, 54, .05);
}

.cmk-system-cards h3,
.cmk-funnel-benefits h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.cmk-system-cards p,
.cmk-funnel-benefits p {
  margin: 0;
  font-size: 15px;
}

.cmk-system-stats {
  margin-top: 24px;
}

.cmk-system-footer {
  margin: 22px 0 0;
  text-align: center;
  font-weight: 800;
}

.cmk-featured-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr) minmax(220px, .55fr);
  gap: 28px;
  align-items: stretch;
}

.cmk-featured-head h2 {
  font-size: clamp(38px, 4vw, 64px);
}

.cmk-featured-head aside {
  padding: 26px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.cmk-featured-head aside > img {
  width: 108px;
  height: 108px;
  border: 3px solid var(--growth-blue);
  border-radius: 50%;
  object-fit: cover;
}

.cmk-featured-head aside h3 {
  margin: 14px 0 4px;
  font-size: 24px;
}

.cmk-featured-head aside p {
  margin: 5px 0;
  font-size: 14px;
}

.cmk-featured-head aside a {
  margin-top: 18px;
  font-size: 13px;
}

.cmk-featured-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cmk-featured-metrics article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
}

.cmk-featured-metrics img {
  grid-row: span 2;
}

.cmk-featured-roster {
  margin-top: 34px;
}

.cmk-featured-roster > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cmk-featured-roster a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--growth-blue);
  font-weight: 800;
  text-decoration: none;
}

.cmk-featured-roster-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cmk-featured-roster-track article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
}

.cmk-featured-roster-track img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

.cmk-featured-roster-track h4 {
  margin: 12px 0 5px;
  font-size: 18px;
}

.cmk-featured-roster-track p {
  margin: 0;
  font-size: 13px;
}

.cmk-featured-roster-track strong {
  display: block;
  margin-top: 12px;
  color: var(--growth-green);
}

.cmk-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #edf5ff;
  font-weight: 800;
}

.cmk-featured-footer a {
  min-height: 44px;
}

.cmk-funnel-page {
  padding: 80px 24px;
}

.cmk-funnel-grid {
  align-items: start;
}

.cmk-funnel-copy .cmk-engine-media-card {
  margin-top: 34px;
}

.cmk-funnel-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
}

.cmk-funnel-proof img {
  width: auto;
  height: 34px;
  max-width: 140px;
  object-fit: contain;
}

.cmk-funnel-form {
  padding: 34px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(7, 21, 54, .1);
}

.cmk-funnel-form-head {
  margin-bottom: 24px;
  text-align: center;
}

.cmk-funnel-form-head h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.cmk-funnel-form-head p {
  margin: 0;
  font-size: 15px;
}

.cmk-funnel-step {
  display: grid;
  gap: 16px;
}

.cmk-funnel-step[hidden] {
  display: none !important;
}

.cmk-funnel-step label {
  display: grid;
  gap: 7px;
  color: var(--growth-navy);
  font-size: 13px;
  font-weight: 800;
}

.cmk-funnel-step input,
.cmk-funnel-step select,
.cmk-funnel-step textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfdbee;
  border-radius: 6px;
  color: var(--growth-navy);
  background: #fff;
  font: inherit;
}

.cmk-funnel-step textarea {
  resize: vertical;
}

.cmk-funnel-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cmk-funnel-consent {
  grid-template-columns: auto 1fr !important;
  align-items: center;
}

.cmk-funnel-consent input {
  width: 18px;
  min-height: 18px;
}

.cmk-funnel-buttons {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.cmk-funnel-buttons .is-back {
  color: var(--growth-blue);
  background: #fff;
}

.cmk-funnel-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--growth-blue) !important;
  font-size: 13px !important;
  text-align: center;
}

.cmk-funnel-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.cmk-lead-thank-you {
  display: grid;
  min-height: 70vh;
  padding: 80px 24px;
  place-items: center;
}

.cmk-lead-thank-you > div {
  width: min(720px, 100%);
  padding: 60px;
  border: 1px solid var(--growth-line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 55px rgba(7, 21, 54, .1);
}

.cmk-lead-thank-you span {
  color: var(--growth-green);
  font-weight: 800;
  text-transform: uppercase;
}

.cmk-lead-thank-you h1 {
  margin: 16px 0;
  font-size: clamp(36px, 6vw, 62px);
}

body.cmk-theme .cmk-engine-showcase .cmk-engine-mobile-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 1080px) {
  .cmk-agency-grid,
  .cmk-system-head,
  .cmk-funnel-grid {
    grid-template-columns: 1fr;
  }

  .cmk-featured-head {
    grid-template-columns: 1fr 1.25fr;
  }

  .cmk-featured-head aside {
    grid-column: 1 / -1;
  }

  .cmk-system-cards,
  .cmk-funnel-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmk-featured-roster-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cmk-growth-section,
  .cmk-funnel-page {
    padding: 54px 18px;
  }

  .cmk-growth-section h2,
  .cmk-funnel-page h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .cmk-agency-grid,
  .cmk-system-head,
  .cmk-funnel-grid {
    gap: 34px;
  }

  .cmk-agency-logo {
    height: 58px;
  }

  .cmk-agency-stats,
  .cmk-system-stats,
  .cmk-featured-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmk-agency-features {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cmk-agency-features article + article {
    border-top: 1px solid var(--growth-line);
    border-left: 0;
  }

  .cmk-system-dashboard,
  .cmk-system-dashboard > img:first-child {
    min-height: 260px;
  }

  .cmk-system-cards,
  .cmk-funnel-benefits {
    grid-template-columns: 1fr;
  }

  .cmk-system-cards article,
  .cmk-funnel-benefits article {
    padding: 22px;
  }

  .cmk-featured-head {
    grid-template-columns: 1fr;
  }

  .cmk-featured-head aside {
    grid-column: auto;
  }

  .cmk-featured-roster-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .cmk-featured-roster-track article {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .cmk-featured-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cmk-funnel-form {
    padding: 24px 18px;
  }

  .cmk-funnel-two,
  .cmk-funnel-buttons {
    grid-template-columns: 1fr;
  }

  .cmk-lead-thank-you > div {
    padding: 38px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmk-turning-gear {
    animation: none;
  }
}
