{
  "label": "CTA strip – Get my quote (built-in step form)",
  "host_template_types": ["PAGE", "BLOG_POST", "BLOG_LIST"],
  "is_available_for_new_content": true,
  "global": false,
  "smart_type": "NOT_SMART",
  "fields": [
    {
      "name": "unique_name",
      "label": "Unique name",
      "type": "text",
      "default": "popup-step-form-v2",
      "required": true,
      "validation_regex": "^[A-Za-z0-9_-]+$"
    },
  {
  "name": "heading_line1",
  "label": "Heading line 1",
  "type": "text",
  "default": "Pricing that makes sense for SMEs"
},
{
  "name": "heading_line2",
  "label": "Heading line 2",
  "type": "text",
  "default": "from only £87/week"
},
    {
      "name": "button_label",
      "label": "Button label",
      "type": "text",
      "required": true,
      "default": "Get my quote"
    },
    {
      "name": "hs_region",
      "label": "HubSpot region",
      "type": "text",
      "default": "eu1"
    },
    {
      "name": "hs_portal_id",
      "label": "HubSpot portal ID",
      "type": "text",
      "default": "144391926"
    },
    {
      "name": "hs_form_id",
      "label": "HubSpot form ID",
      "type": "text",
      "default": "d05cd743-5709-44cd-9b3a-0f87a69f8be3"
    },
    {
      "name": "show_cta",
      "label": "Show CTA under price",
      "type": "boolean",
      "default": false
    },
    {
      "name": "cta",
      "label": "CTA (optional)",
      "type": "cta",
      "visibility": {
        "controlling_field": "show_cta",
        "controlling_value": true
      }
    }
  ]
} 
/* ===== PATCH: hard scope + resets so page CSS can't break the modal ===== */
#ll-modal- *, #ll-modal- *::before, #ll-modal- *::after {
  box-sizing: border-box;
}

/* Center dialog + constrain width */
#ll-modal- .ll-modal__dialog {
  max-width: 760px;
  width: calc(100% - 32px);
  margin: 6vh auto;
  padding: 24px;
}

/* Progress header */
#ll-modal- .form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 16px 0;
}
#ll-modal- .form-progress .progress-step {
  display: inline-block;
  font-size: 16px;
  line-height: 1.2;
  padding: 6px 0;
}

/* Step 1: revenue grid */
#ll-modal- .custom-step-form .revenue-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 4px auto 0;
}
#ll-modal- .custom-step-form .option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  aspect-ratio: 1 / 1;
  border: 2px solid #EBEFF2;
  border-radius: 12px;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;            /* prevent vertical text */
  word-break: keep-all;
}

/* Step headings */
#ll-modal- .custom-step-form h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0F1A28;
  margin: 0 0 14px 0;
}

/* Step containers: show/hide correctly */
#ll-modal- .custom-step-form .step { display: none; }
#ll-modal- .custom-step-form .step.active { display: block; }

/* Step 2: form layout (stacked, clean) */
#ll-modal- .custom-step-form form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 560px;
  margin: 16px auto 0;
  background: #fff;
  border: 2px solid #EBEFF2;
  border-radius: 12px;
  padding: 20px;
}
#ll-modal- .custom-step-form input[type="text"],
#ll-modal- .custom-step-form input[type="email"],
#ll-modal- .custom-step-form input[type="tel"] {
  width: 100%;
  height: 44px;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
#ll-modal- .consent-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: #0F1A28;
}
#ll-modal- .consent-label input[type="checkbox"] {
  margin-top: 3px;
  transform: none;
}
#ll-modal- button[type="submit"] {
  justify-self: start;
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: #F05E56;
  color: #fff;
  border: 1px solid #F05E56;
  font-weight: 700;
}

/* Step 3: price block */
#ll-modal- #finalAmount- {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}
#ll-modal- .subs { margin: 0 0 12px 0; }

/* Progress bar container spacing */
#ll-modal- .progress-container { margin: 12px 0 16px; }

/* Mobile adjustments */
@media (max-width: 640px) {
  #ll-modal- .custom-step-form .revenue-options {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  #ll-modal- .ll-modal__dialog { margin: 4vh auto; }
}
