.ebb-builder {
  --ebb-ink: #27323f;
  --ebb-deep: #19212a;
  --ebb-yellow: #f2c900;
  --ebb-yellow-soft: #fff8d9;
  --ebb-paper: #ffffff;
  --ebb-mist: #f3f5f6;
  --ebb-line: #dfe4e7;
  --ebb-muted: #66717d;
  --ebb-green: #137a55;
  --ebb-green-soft: #eaf7f1;
  --ebb-red: #a3382d;
  --ebb-red-soft: #fff0ee;
  max-width: 1200px;
  margin: 40px auto;
  color: var(--ebb-ink);
  font: inherit;
}

.ebb-builder *,
.ebb-builder *::before,
.ebb-builder *::after { box-sizing: border-box; }

.ebb-builder__intro {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px 24px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 201, 0, .24), transparent 30%),
    linear-gradient(135deg, #17202a 0%, #303b47 100%);
}

.ebb-builder__intro h2,
.ebb-result-heading h3,
.ebb-quote-result h3 {
  margin: 8px 0 12px;
  color: inherit;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ebb-builder__intro p {
  max-width: 1000px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.6;
}

.ebb-eyebrow {
  display: inline-block;
  color: var(--ebb-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ebb-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(22px, 5vw, 56px);
  border-right: 1px solid var(--ebb-line);
  border-left: 1px solid var(--ebb-line);
  background: var(--ebb-paper);
}

.ebb-progress__track {
  height: 8px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eaec;
}

.ebb-progress__track span {
  display: block;
  width: 14.28%;
  height: 100%;
  border-radius: inherit;
  background: var(--ebb-yellow);
  transition: width .25s ease;
}

.ebb-progress p { margin: 0; color: var(--ebb-muted); white-space: nowrap; }

.ebb-form {
  min-height: 510px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--ebb-line);
  border-radius: 0 0 24px 24px;
  background: var(--ebb-paper);
  box-shadow: 0 22px 55px rgba(23, 32, 42, .08);
}

.ebb-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.ebb-step[hidden] { display: none !important; }
.ebb-step legend {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ebb-deep);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.18;
}
.ebb-step legend:focus { outline: none; }
.ebb-step > legend + .ebb-choice-grid { margin-top: 28px; }

.ebb-step__help {
  width: 100%;
  max-width: none;
  margin: 16px 0 34px;
  color: var(--ebb-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ebb-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ebb-choice-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ebb-choice-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ebb-choice-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ebb-choice-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ebb-choice {
  position: relative;
  display: flex;
  min-height: 132px;
  gap: 13px;
  align-items: flex-start;
  padding: 22px;
  border: 2px solid var(--ebb-line);
  border-radius: 16px;
  background: var(--ebb-paper);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ebb-choice:hover { transform: translateY(-2px); border-color: #aab2b8; box-shadow: 0 10px 24px rgba(25, 33, 42, .08); }
.ebb-choice:has(input:checked) { border-color: var(--ebb-yellow); background: var(--ebb-yellow-soft); box-shadow: 0 0 0 3px rgba(242, 201, 0, .13); }
.ebb-choice:has(input:focus-visible) { outline: 3px solid rgba(25, 33, 42, .35); outline-offset: 3px; }
.ebb-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ebb-choice__marker {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin-top: 1px;
  border: 2px solid #a4adb4;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
}
.ebb-choice input:checked + .ebb-choice__marker { border-color: var(--ebb-deep); background: var(--ebb-yellow); }
.ebb-choice strong { display: block; margin-bottom: 8px; color: var(--ebb-deep); font-size: 16px !important; font-weight: 800 !important; line-height: 1.34; }
.ebb-choice small { display: block; color: var(--ebb-muted); font-size: 14px !important; font-weight: 400 !important; line-height: 1.5; }

.ebb-conditional {
  margin-top: 22px;
  padding: 22px;
  border-radius: 14px;
  background: var(--ebb-mist);
}
.ebb-conditional[hidden] { display: none !important; }
.ebb-conditional label { display: block; margin-bottom: 9px; color: var(--ebb-deep); font-weight: 800; }
.ebb-conditional input,
.ebb-conditional select,
.ebb-conditional textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #b8c0c6;
  border-radius: 8px;
  background: #fff;
  color: var(--ebb-deep);
  font: inherit;
}
.ebb-conditional small { display: block; margin-top: 8px; color: var(--ebb-muted); line-height: 1.5; }

.ebb-help-card {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-left: 4px solid var(--ebb-yellow);
  border-radius: 10px;
  background: var(--ebb-yellow-soft);
  color: var(--ebb-ink);
}
.ebb-help-card > strong { display: block; margin-bottom: 7px; color: var(--ebb-deep); font-size: 16px; }
.ebb-help-card p { margin: 6px 0; line-height: 1.55; }
.ebb-step > legend + .ebb-help-card { margin-top: 34px; }
.ebb-help-card--warning { margin-top: 34px; }

.ebb-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.ebb-field { min-width: 0; }
.ebb-field--wide { grid-column: 1 / -1; }
.ebb-field label { display: block; margin-bottom: 8px; color: var(--ebb-deep); font-weight: 800; }
.ebb-builder .ebb-field input,
.ebb-builder .ebb-field select,
.ebb-builder .ebb-field textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #b8c0c6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--ebb-deep) !important;
  font: inherit;
  box-shadow: none !important;
  appearance: none;
}
.ebb-builder .ebb-field textarea { resize: vertical; }
.ebb-builder .ebb-field input[type="file"] { padding: 10px; background: var(--ebb-mist) !important; }
.ebb-field small { display: block; margin-top: 7px; color: var(--ebb-muted); font-size: 13px; line-height: 1.5; }
.ebb-subheading { margin: 38px 0 18px; color: var(--ebb-deep); font-size: 20px; line-height: 1.35; }
.ebb-subheading--first { margin-top: 28px; }
.ebb-privacy-note { margin: 18px 0 0; color: var(--ebb-muted); font-size: 13px; line-height: 1.5; }
.ebb-privacy-note a { margin-left: 4px; color: var(--ebb-deep); text-decoration: underline; }
.ebb-marketing-consent {
  display: flex;
  max-width: 760px;
  gap: 11px;
  align-items: flex-start;
  margin-top: 24px;
  color: var(--ebb-ink);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.ebb-builder .ebb-marketing-consent input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 1px 0 0;
  accent-color: var(--ebb-deep);
}
.ebb-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.ebb-usage-entry {
  max-width: 760px;
  padding: 22px;
  border-radius: 14px;
  background: var(--ebb-mist);
}
.ebb-usage-entry label { display: block; margin-bottom: 9px; color: var(--ebb-deep); font-weight: 800; }
.ebb-usage-entry small { display: block; margin-top: 8px; color: var(--ebb-muted); line-height: 1.5; }
.ebb-usage-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(190px, .8fr); gap: 14px; }
.ebb-builder .ebb-usage-entry select {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #b8c0c6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--ebb-deep) !important;
  font: inherit;
  box-shadow: none !important;
}
.ebb-capacity-override { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ebb-line); }
.ebb-number-with-unit { display: flex; align-items: stretch; }
.ebb-builder .ebb-number-with-unit input {
  min-width: 0;
  flex: 1;
  min-height: 50px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #b8c0c6 !important;
  border-right: 0 !important;
  border-radius: 8px 0 0 8px !important;
  background: #fff !important;
  color: var(--ebb-deep) !important;
  font: inherit;
  box-shadow: none !important;
  appearance: textfield;
}
.ebb-number-with-unit span {
  display: grid;
  min-width: 66px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid #b8c0c6;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: var(--ebb-deep);
  font-weight: 800;
}

.ebb-step[data-ebb-step="purchase"] > .ebb-choice-grid { margin-top: 0 !important; }

.ebb-step__actions,
.ebb-plan__actions,
.ebb-quote-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: flex-end;
  margin-top: 34px;
}

.ebb-builder .ebb-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  appearance: none;
  opacity: 1;
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
}
.ebb-builder .ebb-button:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(25, 33, 42, .15); }
.ebb-builder .ebb-button:focus-visible { outline: 3px solid rgba(242, 201, 0, .55); outline-offset: 3px; }
.ebb-builder .ebb-button:disabled { border-color: #dfe3e6 !important; background: #e8ebed !important; color: #66717d !important; cursor: wait; transform: none; box-shadow: none; }
.ebb-builder .ebb-button--primary { border-color: var(--ebb-deep) !important; background: var(--ebb-deep) !important; color: #fff !important; }
.ebb-builder .ebb-button--primary:hover { border-color: var(--ebb-yellow) !important; background: var(--ebb-yellow) !important; color: var(--ebb-deep) !important; }
.ebb-builder .ebb-button--secondary { border-color: var(--ebb-deep) !important; background: #fff !important; color: var(--ebb-deep) !important; }
.ebb-builder .ebb-button--secondary:hover { background: var(--ebb-mist) !important; }
.ebb-builder .ebb-button.is-success { border-color: var(--ebb-green) !important; background: var(--ebb-green) !important; color: #fff !important; }

.ebb-step-error,
.ebb-form-error {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 4px solid var(--ebb-red);
  border-radius: 6px;
  background: var(--ebb-red-soft);
  color: var(--ebb-red);
  font-weight: 700;
}
.ebb-builder input.is-invalid,
.ebb-builder select.is-invalid,
.ebb-builder textarea.is-invalid {
  border-color: var(--ebb-red) !important;
  background: #fff7f6 !important;
  box-shadow: 0 0 0 3px rgba(180, 54, 45, .12) !important;
}
.ebb-builder .ebb-choice-grid.is-invalid {
  padding: 8px;
  border-radius: 18px;
  outline: 3px solid rgba(180, 54, 45, .32);
  outline-offset: 2px;
}

.ebb-loading {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ebb-deep);
  font-size: 17px;
  font-weight: 700;
}
.ebb-loading[hidden] { display: none !important; }
.ebb-spinner { width: 26px; height: 26px; border: 3px solid var(--ebb-line); border-top-color: var(--ebb-yellow); border-radius: 50%; animation: ebb-spin .8s linear infinite; }
@keyframes ebb-spin { to { transform: rotate(360deg); } }

.ebb-results { scroll-margin-top: 30px; }
.ebb-result-heading {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 24px 24px 0 0;
  background: var(--ebb-deep);
  color: #fff;
  text-align: center;
}
.ebb-result-heading h3 { font-size: clamp(28px, 4vw, 42px); }
.ebb-result-heading p { margin: 0; color: rgba(255,255,255,.78); }

.ebb-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.ebb-plan {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--ebb-line);
  border-radius: 20px;
  background: var(--ebb-paper);
  box-shadow: 0 16px 40px rgba(25, 33, 42, .07);
}
.ebb-plan--best { border: 2px solid var(--ebb-yellow); }
.ebb-plan__badge {
  align-self: flex-start;
  margin: -43px 0 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ebb-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ebb-plan--best .ebb-plan__badge { background: var(--ebb-yellow); color: var(--ebb-deep); }
.ebb-plan__top { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.ebb-plan__top > div { min-width: 0; }
.ebb-plan__top img { width: 112px; height: 112px; flex: 0 0 112px; object-fit: contain; border-radius: 12px; background: #fff; }
.ebb-plan__brand { color: var(--ebb-muted); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ebb-plan h4 { margin: 5px 0 8px; color: var(--ebb-deep); font-size: clamp(22px, 2.6vw, 29px); line-height: 1.15; }
.ebb-plan h5 { margin: 0 0 12px; color: var(--ebb-deep); font-size: 17px; }
.ebb-plan p { line-height: 1.55; }
.ebb-plan__capacity { margin: 0; color: var(--ebb-green); font-weight: 800; }
.ebb-plan__value { margin: 5px 0 0 !important; color: var(--ebb-muted); font-size: 13px; }
.ebb-plan__configuration { margin: 18px 0; padding: 15px 17px; border-radius: 11px; background: var(--ebb-mist); }
.ebb-plan__configuration p { margin: 4px 0 0; color: var(--ebb-muted); font-size: 14px; }

.ebb-components { margin-top: 6px; }
.ebb-components ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ebb-line); }
.ebb-components li { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--ebb-line); font-size: 14px; }
.ebb-components li > span:first-child { min-width: 0; }
.ebb-components li > span:last-child { white-space: nowrap; font-weight: 700; }
.ebb-components a { color: var(--ebb-ink); text-decoration: underline; text-decoration-color: #aeb6bc; text-underline-offset: 2px; }
.ebb-components .is-unavailable { color: var(--ebb-red); }

.ebb-plan__total { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; margin-top: 18px; padding-top: 18px; border-top: 3px solid var(--ebb-deep); }
.ebb-plan__total span { font-weight: 800; }
.ebb-plan__total small { display: block; margin-top: 2px; color: var(--ebb-muted); font-weight: 400; }
.ebb-plan__total strong { color: var(--ebb-deep); font-size: 28px; white-space: nowrap; }
.ebb-plan__actions { margin-top: auto; padding-top: 22px; justify-content: flex-start; }
.ebb-plan__actions .ebb-button { flex: 1 1 210px; }
.ebb-plan__source { margin: 15px 0 0 !important; color: var(--ebb-muted); font-size: 12px; text-align: center; }

.ebb-notice { margin: 20px 0; padding: 16px 18px; border-radius: 10px; background: var(--ebb-mist); line-height: 1.55; }
.ebb-notice ul { margin: 8px 0 0 20px; }
.ebb-notice--advice { border-left: 4px solid var(--ebb-yellow); background: var(--ebb-yellow-soft); }
.ebb-notice--warning { border-left: 4px solid var(--ebb-red); background: var(--ebb-red-soft); color: var(--ebb-red); }
.ebb-notice--backup { border-left: 4px solid var(--ebb-green); background: var(--ebb-green-soft); }
.ebb-notice--backup p { margin: 7px 0 0; }

.ebb-result-footer { margin-top: 24px; padding: 22px; border-radius: 14px; background: var(--ebb-mist); text-align: center; }
.ebb-result-footer p { max-width: 900px; margin: 0 auto 12px; color: var(--ebb-muted); line-height: 1.55; }
.ebb-result-footer .ebb-button { margin-top: 4px; }
.ebb-link-button { padding: 3px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ebb-deep); font: inherit; font-weight: 800; cursor: pointer; }

.ebb-savings-card {
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid #e2d58b;
  border-left: 5px solid var(--ebb-yellow);
  border-radius: 16px;
  background: linear-gradient(135deg, #fffdf0, #fff8d9);
}
.ebb-savings-card h3 { margin: 7px 0 8px; color: var(--ebb-deep); font-size: clamp(23px, 3vw, 31px); line-height: 1.15; }
.ebb-savings-card p { max-width: 820px; margin: 0 0 18px; color: var(--ebb-muted); line-height: 1.55; }
.ebb-savings-modal[hidden] { display: none !important; }
.ebb-savings-modal { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 24px; }
.ebb-savings-modal__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 29, .72); backdrop-filter: blur(3px); }
.ebb-savings-modal__dialog { position: relative; z-index: 1; width: min(720px, 100%); max-height: min(840px, calc(100vh - 48px)); overflow: auto; padding: clamp(26px, 5vw, 46px); border: 1px solid var(--ebb-line); border-radius: 22px; background: var(--ebb-paper); box-shadow: 0 24px 90px rgba(0, 0, 0, .3); }
.ebb-savings-modal__close { position: absolute; top: 14px; right: 16px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--ebb-line); border-radius: 50%; background: #fff; color: var(--ebb-deep); font-size: 28px; line-height: 1; cursor: pointer; }
.ebb-savings-modal__dialog h3 { margin: 8px 42px 10px 0; color: var(--ebb-deep); font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.ebb-savings-modal__intro { margin: 0 0 26px; color: var(--ebb-muted); line-height: 1.55; }
.ebb-savings-modal__fields { margin-bottom: 20px; }
.ebb-savings-modal__dialog > .ebb-button { width: 100%; }
.ebb-savings-output { margin-top: 22px; padding: 20px 22px; border-radius: 14px; background: var(--ebb-green-soft); }
.ebb-savings-output strong { display: block; margin: 4px 0 7px; color: #063a2c; font-size: clamp(29px, 5vw, 48px); line-height: 1.05; }
.ebb-savings-output p { margin: 0; color: #2a5e50; line-height: 1.5; }
.ebb-savings-axle { margin-top: 22px; padding: 20px 22px; border-radius: 14px; background: var(--ebb-deep); color: #fff; }
.ebb-savings-axle .ebb-eyebrow { color: var(--ebb-yellow); }
.ebb-savings-axle h4 { margin: 7px 0 7px; color: #fff; font-size: 23px; }
.ebb-savings-axle p { margin: 0 0 12px; color: rgba(255,255,255,.8); line-height: 1.5; }
.ebb-savings-axle a { color: var(--ebb-yellow); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ebb-savings-disclaimer { margin: 18px 0 0; color: var(--ebb-muted); font-size: 12px; line-height: 1.5; }
body.ebb-modal-open { overflow: hidden; }

.ebb-quote-result {
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid var(--ebb-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 201, 0, .16), transparent 28%),
    var(--ebb-paper);
  box-shadow: 0 20px 55px rgba(25, 33, 42, .08);
  text-align: center;
}
.ebb-quote-result .ebb-eyebrow { color: #8b7200; }
.ebb-quote-result h3 { color: var(--ebb-deep); }
.ebb-quote-result__icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--ebb-yellow); color: var(--ebb-deep); font-size: 28px; font-weight: 900; }
.ebb-quote-result > p { max-width: 760px; margin: 12px auto; color: var(--ebb-muted); line-height: 1.6; }
.ebb-quote-result__target { padding: 12px 16px; border-radius: 10px; background: var(--ebb-yellow-soft); color: var(--ebb-deep) !important; font-weight: 800; }
.ebb-quote-result > ul { max-width: 800px; margin: 24px auto 0; padding: 0; list-style: none; text-align: left; }
.ebb-quote-result > ul li { position: relative; margin: 10px 0; padding: 0 0 0 28px; line-height: 1.5; }
.ebb-quote-result > ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ebb-green); font-weight: 900; }
.ebb-quote-result__actions { justify-content: center; }

.ebb-expansion-success {
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--ebb-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 201, 0, .16), transparent 28%),
    var(--ebb-paper);
  box-shadow: 0 20px 55px rgba(25, 33, 42, .08);
  text-align: center;
}
.ebb-result-enquiry {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--ebb-line);
  border-radius: 24px;
  background: var(--ebb-paper);
  box-shadow: 0 20px 55px rgba(25, 33, 42, .08);
}
.ebb-result-enquiry[hidden] { display: none !important; }
.ebb-result-enquiry .ebb-eyebrow { color: #8b7200; }
.ebb-result-enquiry__heading h3 {
  margin: 9px 0 16px;
  color: var(--ebb-deep);
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.12;
}
.ebb-result-enquiry__heading > p { width: 100%; margin: 0 0 34px; color: var(--ebb-muted); line-height: 1.6; }
.ebb-result-enquiry > .ebb-field-grid { margin-top: 0; }
.ebb-expansion-success .ebb-eyebrow { color: #8b7200; }
.ebb-expansion-success h3 { margin: 8px 0 12px; color: var(--ebb-deep); font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.ebb-expansion-success > p { max-width: 760px; margin: 12px auto; color: var(--ebb-muted); line-height: 1.6; }
.ebb-enquiry-summary { max-width: 760px; margin: 24px auto; padding: 18px 20px; border-radius: 12px; background: var(--ebb-mist); text-align: left; }
.ebb-enquiry-summary > strong { display: block; margin-bottom: 8px; color: var(--ebb-deep); }
.ebb-enquiry-summary ul { margin: 0; padding-left: 20px; }
.ebb-enquiry-summary li { margin: 6px 0; line-height: 1.45; }

@media (max-width: 900px) {
  .ebb-choice-grid,
  .ebb-choice-grid--four,
  .ebb-choice-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ebb-plan-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 600px) {
  .ebb-builder { margin: 22px 0; }
  .ebb-builder__intro { border-radius: 18px 18px 0 0; }
  .ebb-progress { padding: 15px 18px; }
  .ebb-form { min-height: 0; padding: 26px 18px; border-radius: 0 0 18px 18px; }
  .ebb-choice-grid,
  .ebb-choice-grid--two,
	  .ebb-choice-grid--three,
	  .ebb-choice-grid--four,
  .ebb-choice-grid--five { grid-template-columns: 1fr; gap: 11px; }
	.ebb-field-grid { grid-template-columns: 1fr; }
	.ebb-field--wide { grid-column: auto; }
	.ebb-usage-fields { grid-template-columns: 1fr; }
  .ebb-choice { min-height: 0; padding: 18px; }
  .ebb-step__actions { flex-direction: column-reverse; align-items: stretch; }
  .ebb-step__actions .ebb-button,
  .ebb-plan__actions .ebb-button,
  .ebb-quote-result__actions .ebb-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 13px 18px;
    line-height: 1.25;
  }
  .ebb-result-heading { border-radius: 18px 18px 0 0; }
  .ebb-result-heading { padding: 34px 20px 30px; }
  .ebb-result-heading h3 { margin: 4px 0 10px; font-size: clamp(27px, 7.5vw, 36px); line-height: 1.1; }
  .ebb-result-heading p { font-size: 15px; line-height: 1.5; }
  .ebb-plan { padding: 24px 18px; border-radius: 16px; }
  .ebb-plan__top img { width: 82px; height: 82px; flex-basis: 82px; }
  .ebb-components li { align-items: stretch; flex-direction: column; gap: 4px; }
  .ebb-components li > span:last-child { align-self: flex-end; }
  .ebb-plan__total { align-items: stretch; flex-direction: column; gap: 8px; }
  .ebb-plan__total strong { font-size: 25px; }
  .ebb-plan__actions { flex-direction: column; }
  .ebb-plan__actions .ebb-button { flex-basis: auto; }
  .ebb-quote-result__actions { flex-direction: column; }
  .ebb-quote-result { padding: 34px 20px; }
}

/* The builder page uses Elementor for its surrounding hero. Keep its two
   calls to action inside the viewport on narrow screens without affecting
   unrelated site-wide buttons. */
@media (max-width: 767px) {
  .esm-hero-section .elementor-inner-section .elementor-column { width: 100% !important; }
  .esm-hero-section .elementor-inner-section .elementor-column + .elementor-column { margin-top: 12px; }
  .esm-hero-section .elementor-button-wrapper { width: 100%; }
  .esm-hero-section .elementor-button {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ebb-builder *, .ebb-builder *::before, .ebb-builder *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}
