[hidden] { display: none !important; }

:root {
  --navy: #403c6e;
  --blue: #f6bf7e;
  --aqua: #26bded;
  --ink: #403c6e;
  --muted: #403c6e;
  --line: #e4f6fe;
  --soft: #ffffff;
  --lime: #26bded;
  --lavender: #9894df;
  --cream: #fff4db;
  --indigo: #1f009c;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --subheading: "ABM Raleway", Raleway, Arial, sans-serif;
  --body: "ABM Varela Round", "Varela Round", Arial, sans-serif;
  --action: "ABM Poppins", Poppins, Arial, sans-serif;
}

@font-face { font-family: "ABM Varela Round"; src: url("../assets/fonts/VarelaRound-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ABM Poppins"; src: url("../assets/fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "ABM Raleway"; src: url("../assets/fonts/Raleway-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--soft); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: var(--body);
}
button, input, select, textarea { font: inherit; }
button { font-family: var(--action); font-weight: 600; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgb(38 189 237 / 32%);
  outline-offset: 2px;
}

.quote-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--light-blue);
}
.sky-orb { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.sky-orb-one { width: 440px; height: 440px; top: -180px; left: -170px; background: rgb(38 189 237 / 18%); }
.sky-orb-two { width: 520px; height: 520px; right: -280px; bottom: -270px; background: rgb(152 148 223 / 20%); }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 18px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; }
.brand-lockup > span { text-align: center; }
.brand-lockup strong, .brand-lockup small { display: block; color: var(--navy); font-family: var(--display); font-size: 18px; font-weight: 400; line-height: .95; letter-spacing: 0.03em; text-transform: uppercase; }
.brand-lockup small { margin-top: 3px; }
.header-help { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; }
.header-help a { color: inherit; text-decoration: none; }
.header-help strong { color: var(--navy); }
.availability-dot {
  width: 9px;
  height: 9px;
  background: var(--aqua);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(38 189 237 / 18%);
}

.quote-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.22fr);
  width: min(1180px, calc(100% - 48px));
  min-height: 680px;
  margin: 8px auto 32px;
  overflow: hidden;
  background: white;
  border: 1px solid rgb(64 60 110 / 7%);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgb(64 60 110 / 15%);
}
.story-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 50px 46px 38px;
  color: white;
  background: var(--navy);
}
.story-panel::after {
  position: absolute;
  right: -55px;
  bottom: 72px;
  width: 180px;
  height: 180px;
  content: '';
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgb(255 255 255 / 2.5%), 0 0 0 54px rgb(255 255 255 / 2%);
}
.story-copy, .team-card, .trust-list { position: relative; z-index: 1; }
.local-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  color: var(--cream);
  background: rgb(246 191 126 / 13%);
  border: 1px solid rgb(246 191 126 / 28%);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.story-copy h1 {
  max-width: 390px;
  margin: 24px 0 18px;
  color: white;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.story-copy p { max-width: 385px; margin: 0; color: #e4f6fe; font-size: 15px; line-height: 1.65; }
.team-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 15px;
  align-items: center;
  margin-top: auto;
  padding: 13px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
.team-card img {
  width: 88px;
  height: 88px;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  background: white;
  border-radius: 50%;
}
.team-card-copy strong, .team-card-copy small { display: block; }
.star-row { display: block; margin-bottom: 7px; color: var(--lime); font-size: 12px; letter-spacing: 0.12em; }
.team-card-copy strong { color: white; font-size: 14px; }
.team-card-copy small { margin-top: 4px; color: #e4f6fe; font-size: 11px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 11px 17px; margin-top: 22px; color: #e4f6fe; font-size: 10px; font-weight: 650; }
.trust-list span { display: flex; align-items: center; gap: 6px; }
.trust-list i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.form-card { padding: 26px 46px 24px; background: white; }
.form-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  color: #7b2330;
  background: #fff3f4;
  border: 1px solid #efc4ca;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.next-button:disabled,
.back-button:disabled {
  cursor: wait;
  opacity: .65;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--line);
  border: 1px dashed var(--lavender);
  border-radius: 10px;
  font-size: 10px;
}
.demo-banner span { padding: 4px 7px; color: white; background: var(--navy); border-radius: 5px; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; }
.form-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.step-kicker { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: 0.17em; }
.form-heading-row h2, .success-state h2 { margin: 5px 0 0; color: var(--navy); font-family: var(--subheading); font-size: 29px; font-weight: 700; letter-spacing: -0.02em; }
.time-note { padding-bottom: 5px; color: var(--navy); font-size: 10px; }
.progress-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 24px 0 28px; }
.progress-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  color: var(--lavender);
  border-top: 3px solid var(--line);
}
.progress-step.active { color: var(--navy); border-color: var(--aqua); }
.progress-step span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--line);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}
.progress-step.active span { color: var(--navy); background: var(--cream); }
.progress-step small { font-size: 9px; font-weight: 750; }

.form-step { min-height: 310px; }
.animate-in { animation: rise-in 340ms ease both; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, label > span, .service-fieldset > p { color: var(--navy); font-size: 11px; }
legend, label > span { display: block; margin-bottom: 8px; font-weight: 750; }
label > span b { color: var(--blue); }
label > span em { color: var(--lavender); font-style: normal; font-weight: 500; }
.segmented-field { margin-bottom: 21px; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; background: var(--line); border-radius: 12px; }
.segmented-control button {
  min-height: 42px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  transition: 160ms ease;
}
.segmented-control button.selected { color: var(--navy); background: white; box-shadow: 0 4px 13px rgb(64 60 110 / 10%); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 17px; }
input, select, textarea {
  width: 100%;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
input, select { height: 47px; padding: 0 13px; }
textarea { padding: 12px 13px; resize: vertical; }
input::placeholder, textarea::placeholder, select:invalid { color: var(--lavender); }
input:focus, select:focus, textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgb(152 148 223 / 22%); }
.input-shell { position: relative; }
.input-shell input { padding-left: 42px; }
.input-shell i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: white;
  background: var(--blue);
  border-radius: 7px 7px 7px 2px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  transform: translateY(-50%);
}

.service-fieldset > p { margin: -3px 0 13px; color: var(--navy); font-size: 10px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 67px;
  padding: 11px 12px;
  text-align: left;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: 150ms ease;
}
.service-option:hover, .service-option.selected { border-color: var(--aqua); background: var(--cream); }
.custom-check {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--navy);
  background: white;
  border: 1.5px solid var(--lavender);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}
.service-option.selected .custom-check { background: var(--lime); border-color: var(--lime); }
.service-option strong, .service-option small { display: block; }
.service-option strong { font-size: 11px; }
.service-option small { margin-top: 3px; color: var(--navy); font-size: 9px; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; }
.consent-row input { width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--aqua); }
.consent-row span { margin: 0; color: var(--navy); font-size: 9px; font-weight: 500; line-height: 1.45; }

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  margin-top: 7px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.privacy-note { color: var(--navy); font-size: 9px; }
.back-button, .next-button { border: 0; cursor: pointer; font-weight: 800; }
.back-button { padding: 12px 4px; color: var(--navy); background: transparent; font-size: 11px; }
.next-button {
  min-width: 148px;
  min-height: 45px;
  padding: 0 19px;
  color: #403c6e;
  background: #f6bf7e;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgb(246 191 126 / 24%);
  font-size: 11px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.next-button:hover { transform: translateY(-1px); box-shadow: 0 13px 25px rgb(246 191 126 / 32%); }
.next-button span { margin-left: 8px; font-size: 14px; }
.integration-note { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 10px 12px; background: var(--line); border-radius: 10px; }
.integration-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--cream);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}
.integration-note strong, .integration-note small { display: block; }
.integration-note strong { color: var(--navy); font-size: 9px; }
.integration-note small { margin-top: 2px; color: var(--navy); font-size: 8px; }

.success-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 570px; padding: 30px; text-align: center; }
.success-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 23px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 24px 24px 24px 8px;
  box-shadow: 0 14px 30px rgb(246 191 126 / 24%);
  font-size: 28px;
  font-weight: 900;
}
.success-state > p { max-width: 460px; margin: 15px auto 24px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.success-next { display: grid; width: min(100%, 390px); gap: 8px; padding: 18px 20px; text-align: left; background: var(--soft); border-radius: 14px; }
.success-next strong { margin-bottom: 3px; color: var(--navy); font-size: 11px; }
.success-next span { color: var(--navy); font-size: 10px; }
.reset-button { margin-top: 22px; }
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 4px 24px;
  color: var(--navy);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.brand-name { font-family: var(--display); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; width: min(720px, calc(100% - 32px)); }
  .site-header, .site-footer { width: min(720px, calc(100% - 32px)); }
  .story-panel { min-height: auto; padding: 38px; }
  .story-copy h1 { max-width: 590px; font-size: 46px; }
  .story-copy p { max-width: 590px; }
  .team-card { width: min(390px, 100%); margin-top: 28px; }
}
@media (max-width: 600px) {
  .site-header { padding-top: 18px; }
  .header-help { display: none; }
  .quote-layout { width: calc(100% - 20px); margin-top: 2px; border-radius: 20px; }
  .story-panel { padding: 30px 24px; }
  .story-copy h1 { margin-top: 19px; font-size: 38px; }
  .story-copy p { font-size: 13px; }
  .team-card { grid-template-columns: 70px 1fr; }
  .team-card img { width: 70px; height: 70px; }
  .trust-list { display: grid; }
  .form-card { padding: 21px 20px 20px; }
  .demo-banner { align-items: flex-start; flex-direction: column; }
  .time-note, .progress-step small { display: none; }
  .field-pair, .service-grid { grid-template-columns: 1fr; }
  .form-step { min-height: 0; }
  .form-actions { gap: 12px; }
  .privacy-note { max-width: 115px; }
  .site-footer { flex-direction: column; gap: 6px; width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ABM brand guideline audit: only approved palette roles, official type roles,
   readable form copy, and unaltered logo artwork. */
:root {
  --deep-purple: #403c6e;
  --tan-gold: #f6bf7e;
  --bright-blue: #26bded;
  --soft-lavender: #9894df;
  --light-blue: #e4f6fe;
  --cream: #fff4db;
  --deep-indigo: #1f009c;
  --white: #ffffff;
  --navy: var(--deep-purple);
  --blue: var(--tan-gold);
  --aqua: var(--bright-blue);
  --ink: var(--deep-purple);
  --muted: var(--deep-purple);
  --line: var(--light-blue);
  --soft: var(--white);
  --lime: var(--bright-blue);
  --lavender: var(--soft-lavender);
  --indigo: var(--deep-indigo);
}
html,
body { color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline-color: var(--bright-blue); }
.quote-page {
  background: var(--light-blue);
}
.availability-dot { background: var(--bright-blue); box-shadow: 0 0 0 3px rgb(38 189 237 / 18%); }
.quote-layout { border-color: var(--light-blue); box-shadow: 0 32px 90px rgb(64 60 110 / 15%); }
.brand-logo { filter: none; opacity: 1; box-shadow: none; object-fit: contain; }
.local-pill { color: var(--cream); background: rgb(246 191 126 / 13%); border-color: rgb(246 191 126 / 28%); font-size: 11px; }
.story-copy p { color: var(--light-blue); font-size: 16px; }
.star-row { color: var(--bright-blue); }
.team-card-copy small,
.trust-list { color: var(--light-blue); }
.trust-list { font-size: 12px; }
.trust-list i { background: var(--bright-blue); }
.demo-banner { color: var(--deep-purple); background: var(--light-blue); border-color: var(--soft-lavender); font-size: 13px; }
.demo-banner span { font-size: 10px; }
.step-kicker { color: var(--deep-indigo); font-size: 11px; }
.time-note { color: var(--deep-purple); font-size: 12px; }
.progress-step { color: var(--soft-lavender); border-color: var(--light-blue); }
.progress-step.active { color: var(--deep-purple); border-color: var(--bright-blue); }
.progress-step span { color: var(--deep-purple); background: var(--light-blue); font-size: 11px; }
.progress-step.active span { color: var(--deep-purple); background: var(--cream); }
.progress-step small { font-size: 12px; }
legend,
label > span,
.service-fieldset > p { color: var(--deep-purple); font-size: 14px; }
label > span em { color: var(--soft-lavender); }
.segmented-control { background: var(--light-blue); }
.segmented-control button { color: var(--deep-purple); font-size: 14px; }
.segmented-control button.selected { color: var(--deep-purple); background: var(--white); box-shadow: 0 4px 13px rgb(64 60 110 / 10%); }
input,
select,
textarea { color: var(--deep-purple); background: var(--white); border-color: var(--light-blue); font-size: 16px; }
input::placeholder,
textarea::placeholder,
select:invalid { color: var(--soft-lavender); }
input:focus,
select:focus,
textarea:focus { border-color: var(--bright-blue); box-shadow: 0 0 0 4px rgb(152 148 223 / 22%); }
.input-shell i { color: var(--deep-purple); background: var(--tan-gold); }
.service-fieldset > p { color: var(--deep-purple); font-size: 14px; }
.service-option { color: var(--deep-purple); border-color: var(--light-blue); }
.service-option:hover,
.service-option.selected { border-color: var(--bright-blue); background: var(--cream); }
.custom-check { color: var(--deep-purple); background: var(--white); border-color: var(--soft-lavender); }
.service-option.selected .custom-check { background: var(--tan-gold); border-color: var(--tan-gold); }
.service-option strong { font-size: 14px; }
.service-option small { color: var(--deep-purple); font-size: 13px; }
.consent-row input { accent-color: var(--bright-blue); }
.consent-row span,
.privacy-note,
.back-button { color: var(--deep-purple); font-size: 13px; }
.form-actions { border-color: var(--light-blue); }
.next-button { color: var(--deep-purple); background: var(--tan-gold); box-shadow: 0 10px 22px rgb(246 191 126 / 24%); font-size: 13px; }
.next-button:hover { box-shadow: 0 13px 25px rgb(246 191 126 / 32%); }
.integration-note { background: var(--light-blue); }
.integration-icon { color: var(--deep-purple); background: var(--cream); }
.integration-note strong { color: var(--deep-purple); font-size: 12px; }
.integration-note small { color: var(--deep-purple); font-size: 11px; }
.success-mark { color: var(--deep-purple); background: var(--tan-gold); box-shadow: 0 14px 30px rgb(246 191 126 / 24%); }
.success-state > p { color: var(--deep-purple); font-size: 16px; }
.success-next { background: var(--light-blue); }
.success-next strong { color: var(--deep-purple); font-size: 13px; }
.success-next span { color: var(--deep-purple); font-size: 12px; }
.site-footer { color: var(--deep-purple); font-size: 11px; }
.site-footer .admin-login-link { color: var(--deep-purple); font-weight: 800; }

@media (max-width: 600px) {
  .story-copy p { font-size: 16px; }
}

/* Keep Netlify's hosting badge inside the footer instead of over the form. */
.site-footer #nl-badge-frame {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block !important;
  margin: 12px 0 0 auto !important;
  transform: none !important;
}

@media (max-width: 600px) {
  .site-footer #nl-badge-frame { margin-right: auto !important; }
}
