/* Ecommerce enabler (CMOS) ad landing page (/cmos-interest-form). Scoped under .cm-page. */

.cm-page {
  --cm-orange: #ffa527;
  --cm-orange-deep: #dd5902;
  --cm-brown: #593636;
  --cm-espresso: #2f1208;
  --cm-rust: #7c350d;
  --cm-muted: #4a5759;
  --cm-cream: #fff7eb;
  --cm-peach: #ffefd8;
  --cm-sand: #f1e4d4;
  --cm-yellow: #ffe4a8;
  --cm-line: #dddddd;
  --cm-font: "Poppins", ui-sans-serif, system-ui, sans-serif;

  font-family: var(--cm-font);
  color: var(--cm-brown);
  background: #fff;
  line-height: 1.5;
  overflow-x: clip;
}

/* old site styles set a tall line-height on spans / divs */
.cm-page span,
.cm-page div,
.cm-page a,
.cm-page label,
.cm-page li {
  line-height: inherit;
}

.cm-page .cm-strip,
.cm-page .cm-eyebrow-pill {
  line-height: 1.4;
}

.cm-page *,
.cm-page *::before,
.cm-page *::after {
  box-sizing: border-box;
}

/* old site styles add underlines / margins / centring to headings */
.cm-page h1::after,
.cm-page h2::after,
.cm-page h3::after {
  content: none;
}

.cm-page h1,
.cm-page h2,
.cm-page h3,
.cm-page p,
.cm-page ul,
.cm-page ol,
.cm-page fieldset,
.cm-page legend {
  margin: 0;
  font-family: var(--cm-font);
  text-align: left;
  color: inherit;
}

.cm-page a:hover,
.cm-page a:focus {
  text-decoration: none;
}

.cm-page .cm-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.cm-page .cm-self-start {
  align-self: flex-start;
}

.cm-page .cm-center {
  display: flex;
  justify-content: center;
}

.cm-page .cm-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cm-page .cm-stack--28 {
  gap: 28px;
}

.cm-page .cm-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cm-rust);
}

.cm-page .cm-h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.cm-page .cm-h2--dark {
  color: var(--cm-espresso);
}

.cm-page .cm-accent {
  color: var(--cm-orange-deep);
}

.cm-page .cm-icon-tile {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cm-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons (design-system Button) ---------- */

.cm-page .cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: var(--cm-font);
  letter-spacing: -0.05em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 150ms,
    color 150ms,
    border-color 150ms;
}

.cm-page .cm-btn--md {
  height: 40px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
}

.cm-page .cm-btn--lg {
  height: 48px;
  padding: 0 40px;
  font-size: 18px;
  font-weight: 500;
}

.cm-page .cm-btn--block {
  width: 100%;
}

.cm-page .cm-btn--primary {
  background: var(--cm-orange);
  color: var(--cm-espresso);
}

.cm-page .cm-btn--primary:hover,
.cm-page .cm-btn--primary:focus-visible {
  background: rgba(255, 165, 39, 0.9);
  color: var(--cm-espresso);
}

.cm-page .cm-btn--outline {
  background: transparent;
  color: var(--cm-orange);
  border-color: var(--cm-orange);
}

.cm-page .cm-btn--outline:hover,
.cm-page .cm-btn--outline:focus-visible {
  background: #f5f5f5;
  color: var(--cm-orange);
}

.cm-page .cm-btn--white {
  background: #fff;
  color: var(--cm-espresso);
}

.cm-page .cm-btn--white:hover,
.cm-page .cm-btn--white:focus-visible {
  background: var(--cm-cream);
  color: var(--cm-espresso);
}

.cm-page .cm-btn--dark-outline {
  background: transparent;
  color: var(--cm-espresso);
  border-color: var(--cm-espresso);
  padding: 0 24px;
  font-size: 17px;
}

.cm-page .cm-btn--dark-outline:hover,
.cm-page .cm-btn--dark-outline:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  color: var(--cm-espresso);
}

.cm-page .cm-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* ---------- Promo strip + header ---------- */

.cm-page .cm-strip {
  background: var(--cm-brown);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
}

.cm-page .cm-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.cm-page .cm-header__row {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cm-page .cm-header__logo img {
  height: 34px;
  width: auto;
  display: block;
}

.cm-page .cm-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cm-brown);
}

.cm-page .cm-wa-link:hover {
  color: var(--cm-orange-deep);
}

/* ---------- Hero ---------- */

.cm-page .cm-hero {
  background: linear-gradient(180deg, var(--cm-peach) 0%, var(--cm-cream) 100%);
  padding: 48px 0 56px;
}

.cm-page .cm-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
}

.cm-page .cm-hero__content {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.cm-page .cm-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cm-page .cm-eyebrow-pill {
  align-self: flex-start;
  background: #fff;
  color: var(--cm-rust);
  border: 1px solid #ffd788;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cm-page .cm-hero__title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--cm-brown);
}

.cm-page .cm-hero__text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--cm-muted);
  max-width: 560px;
}

.cm-page .cm-hero__strong {
  font-size: 18px;
  font-weight: 600;
}

.cm-page .cm-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cm-page .cm-chip {
  background: #fff;
  border: 1px solid var(--cm-line);
  border-radius: 9999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
}

.cm-page .cm-hero__plans {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cm-page .cm-hero__from {
  font-size: 14px;
  color: var(--cm-muted);
}

.cm-page .cm-hero__from strong {
  color: var(--cm-brown);
}

.cm-page .cm-plate {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px 0 rgba(147, 147, 147, 0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cm-page .cm-plate__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 20px;
}

.cm-page .cm-plate__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cm-page .cm-plate__item .cm-icon-check {
  flex: 0 0 18px;
  margin-top: 3px;
}

.cm-page .cm-plate__item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cm-page .cm-plate__name {
  font-size: 15px;
  font-weight: 600;
}

.cm-page .cm-plate__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--cm-muted);
}

/* ---------- Form card ---------- */

.cm-page .cm-form-card {
  flex: 1 1 400px;
  max-width: 520px;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-top: 6px solid var(--cm-orange);
  padding: 28px;
  scroll-margin-top: 16px;
}

.cm-page .cm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cm-page .cm-form__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cm-page .cm-form__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.cm-page .cm-form__sub {
  font-size: 14px;
  color: var(--cm-muted);
}

.cm-page .cm-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.cm-page .cm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  border: 0;
  padding: 0;
}

.cm-page .cm-field__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cm-brown);
  margin: 0;
}

.cm-page .cm-field__input {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  background: #fff;
  font-family: var(--cm-font);
  font-size: 14px;
  color: var(--cm-brown);
  outline: none;
  box-shadow: none;
}

.cm-page .cm-field__input::placeholder {
  color: #9ca3af;
}

.cm-page .cm-field__input:focus {
  border-color: var(--cm-orange);
}

.cm-page .cm-field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23593636' stroke-opacity='.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  text-overflow: ellipsis;
}

.cm-page .cm-field__phone {
  display: flex;
  gap: 8px;
}

.cm-page .cm-field__code {
  flex: 0 0 124px;
  width: 124px;
}

.cm-page .cm-field--error .cm-field__input,
.cm-page .cm-field--error .cm-pick {
  border-color: #d92d20;
}

.cm-page .cm-field__error {
  font-size: 12px;
  color: #b42318;
}

/* "Where do you sell today?" multi-select dropdown */
.cm-page .cm-multi {
  position: relative;
}

.cm-page .cm-multi__toggle {
  display: block;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.cm-page .cm-multi__value:empty::before {
  content: attr(data-placeholder);
  color: #9ca3af;
}

.cm-page .cm-multi__panel {
  position: absolute;
  z-index: 40;
  top: 44px;
  left: 0;
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 6px;
}

.cm-page .cm-multi__panel[hidden] {
  display: none;
}

.cm-page .cm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 8px;
  margin: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--cm-brown);
  cursor: pointer;
}

.cm-page .cm-check:hover {
  background: var(--cm-cream);
}

.cm-page .cm-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--cm-orange);
}

/* "Which plans interest you?" checkbox cards */
.cm-page .cm-plans-pick legend {
  margin-bottom: 8px;
  border: 0;
  width: auto;
}

.cm-page .cm-plans-pick legend span {
  font-weight: 400;
  color: var(--cm-muted);
}

.cm-page .cm-plans-pick__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cm-page .cm-pick {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 56px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--cm-line);
  border-radius: 10px;
  background: #fff;
  font-weight: 400;
  cursor: pointer;
}

.cm-page .cm-pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cm-page .cm-pick:has(input:checked) {
  background: var(--cm-cream);
  border-color: var(--cm-orange);
  box-shadow: inset 0 0 0 1px var(--cm-orange);
}

.cm-page .cm-pick:has(input:focus-visible) {
  outline: 2px solid var(--cm-orange-deep);
  outline-offset: 2px;
}

.cm-page .cm-pick__box {
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid #9ca3af;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-page .cm-pick__box svg {
  visibility: hidden;
}

.cm-page .cm-pick input:checked + .cm-pick__box {
  background: var(--cm-orange);
  border-color: var(--cm-orange);
}

.cm-page .cm-pick input:checked + .cm-pick__box svg {
  visibility: visible;
}

.cm-page .cm-pick__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cm-page .cm-pick__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cm-brown);
}

.cm-page .cm-code {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  padding: 1px 7px;
}

.cm-page .cm-code--1 {
  background: var(--cm-peach);
  color: var(--cm-rust);
}
.cm-page .cm-code--2 {
  background: #e8f1fa;
  color: #1e4378;
}
.cm-page .cm-code--3 {
  background: #eeedfd;
  color: #3b3484;
}
.cm-page .cm-code--4 {
  background: #e5f4ee;
  color: #224f42;
}

.cm-page .cm-form__error {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef3f2;
  color: #b42318;
  font-size: 13px;
}

.cm-page .cm-form__error[hidden] {
  display: none;
}

.cm-page .cm-form__note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--cm-muted);
  text-align: center;
}

/* ---------- Sections ---------- */

.cm-page .cm-section {
  padding: 56px 0;
}

.cm-page .cm-section--white {
  background: #fff;
}
.cm-page .cm-section--cream {
  background: var(--cm-cream);
}
.cm-page .cm-section--orange {
  background: var(--cm-orange);
}
.cm-page .cm-section--brown {
  background: var(--cm-brown);
  color: #fff;
}

.cm-page .cm-section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: flex-end;
  justify-content: space-between;
}

/* Why costlier */
.cm-page .cm-why {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
}

.cm-page .cm-why__left {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cm-page .cm-why__familiar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cm-page .cm-pains {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cm-page .cm-pains li {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--cm-sand);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 15px;
}

.cm-page .cm-pains li span {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--cm-yellow);
  color: var(--cm-rust);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-page .cm-why__grid {
  flex: 2 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.cm-page .cm-why-card {
  background: var(--cm-cream);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cm-page .cm-why-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cm-page .cm-why-card h3,
.cm-page .cm-who-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.cm-page .cm-why-card p,
.cm-page .cm-who-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--cm-muted);
}

/* Who we work with */
.cm-page .cm-who {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.cm-page .cm-who-card {
  background: #fff;
  border: 1px solid var(--cm-sand);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cm-page .cm-suggest {
  margin-top: auto;
  align-self: flex-start;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.cm-page .cm-suggest--1 {
  background: var(--cm-peach);
  color: var(--cm-rust);
}
.cm-page .cm-suggest--2 {
  background: #e8f1fa;
  color: #1e4378;
}
.cm-page .cm-suggest--3 {
  background: #eeedfd;
  color: #3b3484;
}

/* Plans */
.cm-page .cm-plans__sub {
  font-size: 17px;
  color: var(--cm-espresso);
}

.cm-page .cm-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.cm-page .cm-plan {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cm-page .cm-plan__head {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cm-page .cm-plan--1 .cm-plan__head {
  background: var(--cm-peach);
  --cm-tone: var(--cm-rust);
}
.cm-page .cm-plan--2 .cm-plan__head {
  background: #e8f1fa;
  --cm-tone: #1e4378;
}
.cm-page .cm-plan--3 .cm-plan__head {
  background: #eeedfd;
  --cm-tone: #3b3484;
}

.cm-page .cm-plan__titles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-page .cm-plan__code {
  align-self: flex-start;
  background: var(--cm-tone);
  color: #fff;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cm-page .cm-plan__titles h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cm-tone);
}

.cm-page .cm-plan__titles p {
  font-size: 14px;
  font-weight: 500;
}

.cm-page .cm-plan__head img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.cm-page .cm-plan__body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.cm-page .cm-plan__body ul {
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--cm-muted);
  list-style: disc;
}

.cm-page .cm-plan__body strong {
  color: var(--cm-brown);
}

.cm-page .cm-plan__price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid #eee;
  padding-top: 14px;
  font-size: 13px;
  color: var(--cm-muted);
}

.cm-page .cm-plan__amount {
  font-size: 30px;
  font-weight: 700;
  color: var(--cm-orange-deep);
  letter-spacing: -0.025em;
}

.cm-page .cm-plan__amount small {
  font-size: 15px;
  font-weight: 500;
}

.cm-page .cm-addon {
  background: var(--cm-cream);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.cm-page .cm-addon img {
  width: 44px;
  height: 44px;
}

.cm-page .cm-addon__text {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cm-page .cm-addon__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cm-page .cm-addon__tag {
  background: #e5f4ee;
  color: #224f42;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cm-page .cm-addon h3 {
  font-size: 20px;
  font-weight: 700;
}

.cm-page .cm-addon p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--cm-muted);
}

.cm-page .cm-plans__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: center;
}

.cm-page .cm-plans__cta p {
  font-size: 16px;
  font-weight: 500;
  color: var(--cm-espresso);
  text-align: center;
}

/* No local company */
.cm-page .cm-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
}

.cm-page .cm-entry__left {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cm-page .cm-entry__left p {
  font-size: 16px;
  line-height: 1.6;
  color: #ede7d8;
}

.cm-page .cm-entry__grid {
  flex: 1 1 480px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.cm-page .cm-entry-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cm-page .cm-entry-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--cm-yellow);
}

.cm-page .cm-entry-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #ede7d8;
}

/* Store to door */
.cm-page .cm-door__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  align-items: flex-end;
}

.cm-page .cm-door__head h2 {
  flex: 1 1 380px;
}

.cm-page .cm-door__head p {
  flex: 1 1 380px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cm-muted);
}

.cm-page .cm-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.cm-page .cm-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--cm-line);
  border-radius: 12px;
  padding: 18px;
}

.cm-page .cm-steps li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cm-page .cm-steps__num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--cm-peach);
  color: var(--cm-rust);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-page .cm-steps h3 {
  font-size: 16px;
  font-weight: 600;
}

.cm-page .cm-steps p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--cm-muted);
}

/* Final CTA */
.cm-page .cm-final {
  padding: 48px 0;
}

.cm-page .cm-final__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
}

.cm-page .cm-final__text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cm-page .cm-final__text ol {
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  color: var(--cm-espresso);
  list-style: decimal;
}

.cm-page .cm-final__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.cm-page .cm-footer {
  background: var(--cm-sand);
}

.cm-page .cm-footer__row {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  color: var(--cm-muted);
  letter-spacing: 0.04em;
}

.cm-page .cm-footer__links {
  display: flex;
  gap: 20px;
  letter-spacing: 0;
}

.cm-page .cm-footer__links a {
  color: var(--cm-muted);
  text-decoration: underline;
}

/* Mobile sticky CTA bar */
.cm-page .cm-sticky {
  display: none;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .cm-page {
    padding-bottom: 76px;
  }

  .cm-page .cm-container {
    padding: 0 16px;
  }

  .cm-page .cm-hero {
    padding: 32px 0 40px;
  }

  .cm-page .cm-hero__row {
    gap: 28px;
  }

  .cm-page .cm-hero__content,
  .cm-page .cm-form-card,
  .cm-page .cm-why__left,
  .cm-page .cm-why__grid,
  .cm-page .cm-entry__left,
  .cm-page .cm-entry__grid,
  .cm-page .cm-final__text,
  .cm-page .cm-door__head h2,
  .cm-page .cm-door__head p,
  .cm-page .cm-addon__text {
    flex-basis: 100%;
  }

  .cm-page .cm-form-card {
    max-width: none;
    padding: 22px 18px;
  }

  .cm-page .cm-hero__text {
    font-size: 16px;
  }

  .cm-page .cm-btn--lg {
    padding: 0 28px;
    font-size: 17px;
  }

  .cm-page .cm-section {
    padding: 44px 0;
  }

  .cm-page .cm-wa-link {
    font-size: 0;
    gap: 0;
  }

  .cm-page .cm-wa-link svg {
    width: 22px;
    height: 22px;
  }

  .cm-page .cm-sticky {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
  }

  .cm-page .cm-sticky__wa {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 9999px;
    border: 1px solid var(--cm-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-brown);
  }

  .cm-page .cm-sticky__plans {
    flex: 1 1 0;
    height: 48px;
    border-radius: 9999px;
    border: 1px solid var(--cm-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--cm-brown);
    letter-spacing: -0.03em;
  }

  .cm-page .cm-sticky__go {
    flex: 2 1 0;
    min-width: 0;
    height: 48px;
  }
}

@media (max-width: 340px) {
  .cm-page .cm-plans-pick__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Form success page (/cmos-lead-confirmation) ---------- */

.cm-page .cm-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100vh;
  padding: 40px 24px;
  background: var(--cm-cream);
  color: var(--cm-muted);
  font-size: 16px;
  text-align: center;
}

.cm-page .cm-success p {
  margin: 0;
}

.cm-page .cm-success__img {
  width: 210px;
  height: auto;
  margin-bottom: 8px;
}

.cm-page .cm-success__title {
  margin: 0;
  color: var(--cm-brown);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.cm-page .cm-success__btn {
  margin: 12px 0;
  min-width: 160px;
}

@media (max-width: 639px) {
  .cm-page .cm-success__title {
    font-size: 26px;
  }
}
