@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bb-blue: #0069ba;
  --bb-blue-dark: #004d8a;
  --bb-blue-soft: #eaf5ff;
  --bb-ink: #13233a;
  --bb-text: #4c5a6d;
  --bb-muted: #718096;
  --bb-line: #dce5ee;
  --bb-bg: #f7fafc;
  --bb-white: #ffffff;
  --bb-success: #16855b;
  --bb-error: #c62828;
  --bb-shadow: 0 22px 55px rgba(15, 45, 74, 0.12);
  --bb-radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bb-bg);
  color: var(--bb-text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--bb-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

.demo-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.demo-header {
  background: linear-gradient(110deg, #003d70 0%, #0069ba 65%, #087dcc 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 255px;
  height: auto;
}

.back-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}

.back-link:hover {
  color: #fff;
}

.demo-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 28px;
  background:
    radial-gradient(circle at 5% 5%, rgba(0, 105, 186, 0.13), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(64, 169, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: start;
  gap: 68px;
}

.demo-copy {
  max-width: 610px;
  padding-top: 34px;
}

.eyebrow,
.form-kicker {
  color: var(--bb-blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.demo-copy h1 {
  margin: 9px 0 8px;
  color: var(--bb-ink);
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 10px;
  color: var(--bb-ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.hero-description {
  margin: 0;
  max-width: 590px;
  color: var(--bb-text);
  font-size: 16px;
  line-height: 1.72;
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 22px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 12px;
  align-items: start;
}

.benefit-check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--bb-blue-soft);
  color: var(--bb-blue);
  font-size: 15px;
  font-weight: 700;
}

.benefit-item strong,
.benefit-item span {
  display: block;
}

.benefit-item strong {
  margin-bottom: 1px;
  color: var(--bb-ink);
  font-size: 15px;
  font-weight: 600;
}

.benefit-item div > span {
  color: var(--bb-muted);
  font-size: 13px;
  line-height: 1.55;
}

.demo-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 2px;
  color: #5c697a;
  font-size: 12px;
  font-weight: 500;
}

.demo-trust-row span::before {
  content: "•";
  margin-right: 7px;
  color: var(--bb-success);
}

.demo-card {
  position: relative;
  padding: 20px 23px 18px;
  border: 1px solid rgba(20, 72, 112, 0.11);
  border-radius: var(--bb-radius);
  background: var(--bb-white);
  box-shadow: var(--bb-shadow);
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--bb-radius) 0 0 var(--bb-radius);
  background: linear-gradient(180deg, var(--bb-blue), #47a7e9);
}

.form-intro {
  margin-bottom: 10px;
}

.form-intro p {
  margin: 3px 0 0;
  color: var(--bb-muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  position: relative;
  margin-bottom: 8px;
}

.form-group label,
.captcha-field label {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 13px;
  display: block;
  max-width: calc(100% - 26px);
  margin: 0;
  color: #667487;
  font-size: 12.5px;
  line-height: 1.1;
  font-weight: 650;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group label > span:not(.optional),
.captcha-field label > span {
  color: var(--bb-error);
}

.optional {
  margin-left: 5px;
  color: #8b97a7;
  font-size: 11px;
  font-weight: 500;
}

.message-form input[type="text"],
.message-form input[type="tel"],
.message-form input[type="email"],
.message-form select,
.message-form textarea {
  width: 100%;
  border: 1px solid #cfd9e4;
  border-radius: 9px;
  background: #fff;
  color: var(--bb-ink);
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.message-form input[type="text"],
.message-form input[type="tel"],
.message-form input[type="email"],
.message-form select {
  height: 50px;
  padding: 20px 13px 5px;
  font-size: 14px;
}

.message-form textarea {
  min-height: 66px;
  padding: 22px 13px 7px;
  font-size: 14px;
  resize: vertical;
}

.message-form select {
  appearance: none;
  padding: 0 40px 0 13px;
  background-image:
    linear-gradient(45deg, transparent 50%, #68788c 50%),
    linear-gradient(135deg, #68788c 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 23px,
    calc(100% - 14px) 23px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Compact dropdowns: the first option acts as the field label until a value is selected. */
.select-field {
  position: relative;
}

.select-floating-label {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 13px;
  display: none;
  max-width: calc(100% - 52px);
  margin: 0;
  color: #667487;
  font-size: 12.5px;
  line-height: 1.1;
  font-weight: 650;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-field.has-value .select-floating-label {
  display: block;
}

.message-form .select-field.has-value select {
  padding: 20px 40px 5px 13px;
  color: var(--bb-ink);
  font-size: 14px;
  font-weight: 400;
}

.message-form select:required:invalid {
  color: #667487;
  font-size: 12.5px;
  font-weight: 650;
}

.message-form select:required:valid {
  color: var(--bb-ink);
  font-size: 14px;
  font-weight: 400;
}

.message-form select option {
  color: var(--bb-ink);
  font-size: 14px;
  font-weight: 400;
}

.message-form select option[value=""] {
  color: #667487;
  font-size: 12.5px;
  font-weight: 650;
}

.select-only-group {
  margin-bottom: 8px;
}

.message-form input::placeholder,
.message-form textarea::placeholder {
  color: #98a4b3;
  font-size: 12px;
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
  border-color: var(--bb-blue);
  box-shadow: 0 0 0 3px rgba(0, 105, 186, 0.1);
}

.message-form .field-error {
  border-color: var(--bb-error);
  background: #fffafa;
}

.input-error {
  display: block;
  min-height: 0;
  margin-top: 3px;
  color: var(--bb-error);
  font-size: 10.5px;
  line-height: 1.35;
}

.input-error:empty {
  display: none;
}

.optional-notes {
  margin-bottom: 6px;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 10px;
  align-items: end;
  margin-top: 1px;
}

.verification-row .form-group {
  margin-bottom: 0;
}

.captcha-box {
  height: 50px;
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfd9e4;
  border-radius: 9px;
  background: #f8fafc;
}

.captcha-image {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.captcha-refresh-button {
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 0;
  border-left: 1px solid #dbe3ea;
  background: #fff;
  cursor: pointer;
}

.captcha-refresh-button img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.captcha-refresh-button:hover {
  background: var(--bb-blue-soft);
}

.consent-row {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 9px;
  align-items: start;
  margin: 9px 0 9px;
  color: #657387;
  font-size: 11.5px;
  line-height: 1.55;
  cursor: pointer;
}

.consent-row input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--bb-blue);
}

.consent-row a {
  font-size: inherit;
  font-weight: 600;
}

.button-area {
  margin-top: 2px;
}

.btn-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(110deg, var(--bb-blue-dark), var(--bb-blue));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 105, 186, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(0, 105, 186, 0.25);
}

.btn-submit:active {
  transform: translateY(0);
}


#response {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.demo-bottom-strip {
  border-top: 1px solid #e6edf4;
  border-bottom: 1px solid #e6edf4;
  background: #fff;
}

.strip-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #566578;
  font-size: 12px;
  font-weight: 500;
}

.strip-inner span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--bb-success);
  font-weight: 700;
}

.demo-footer {
  background: #0d2941;
  color: #dbe7f1;
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner > div {
  display: grid;
  gap: 3px;
}

.footer-inner strong {
  color: #fff;
  font-size: 15px;
}

.footer-inner span {
  color: #aebfce;
  font-size: 11.5px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner nav a {
  color: #dbe7f1;
  font-size: 11.5px;
}


@media (min-width: 1001px) {
  .demo-copy h1,
  .hero-lead {
    white-space: nowrap;
  }
}

@media (max-width: 1000px) {
  .demo-hero {
    padding-top: 24px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .demo-copy {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 0;
  }

  .demo-card {
    width: min(650px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .demo-shell {
    width: min(100% - 28px, 1180px);
  }

  .demo-header-inner {
    min-height: 60px;
  }

  .brand img {
    width: 210px;
  }

  .back-link {
    display: none;
  }

  .demo-hero {
    padding: 22px 0 24px;
  }

  .demo-copy h1 {
    font-size: clamp(27px, 7.8vw, 33px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .benefit-list {
    margin: 20px 0 17px;
  }

  .demo-trust-row {
    gap: 5px 12px;
  }

  .demo-card {
    padding: 18px 16px 17px;
    border-radius: 14px;
  }

  .form-grid.two-col,
  .verification-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .verification-row {
    gap: 8px;
  }

  .captcha-box {
    width: 190px;
  }

  .footer-inner {
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-inner {
    justify-content: flex-start;
    padding: 13px 0;
  }
}

@media (max-width: 430px) {
  .demo-shell {
    width: min(100% - 22px, 1180px);
  }

  .demo-copy h1 {
    font-size: 26px;
  }

  .benefit-item {
    grid-template-columns: 27px 1fr;
    gap: 9px;
  }

  .benefit-check {
    width: 26px;
    height: 26px;
  }

  .demo-trust-row {
    display: grid;
    gap: 3px;
  }

  .demo-card {
    padding: 17px 14px 16px;
  }

  .message-form input[type="text"],
  .message-form input[type="tel"],
  .message-form input[type="email"],
  .message-form select {
    height: 49px;
  }

  .btn-submit {
    min-height: 48px;
  }
}

/* Form behavior/support styles */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

#response.success-msg {
  color: #16723a;
  font-weight: 600;
}

#response.error-msg {
  color: var(--bb-error);
  font-weight: 500;
}

/* International mobile number control: flag/country picker + full E.164-style number. */
.phone-form-group {
  --iti-hover-color: #eef6fc;
  --iti-border-color: #cfd9e4;
  --iti-country-selector-bg: #ffffff;
  --iti-icon-color: #68788c;
  --iti-flag-width: 20px;
}

.phone-form-group .iti {
  display: block;
  width: 100%;
}

.phone-form-group .iti input#mobile {
  width: 100%;
  padding-top: 20px;
  padding-right: 13px;
  padding-bottom: 5px;
  font-family: inherit;
  font-size: 14px;
  color: var(--bb-ink);
}

/* Keep the floating label visually aligned with the other form labels,
   but start it after the flag selector so the two never overlap. */
.phone-form-group > label {
  left: 62px;
  max-width: calc(100% - 76px);
}

.phone-form-group .iti__country-container {
  z-index: 4;
}

.phone-form-group .iti__selected-country {
  border-radius: 9px 0 0 9px;
}

.phone-form-group .iti__country-selector {
  z-index: 60;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(24, 53, 82, 0.16);
  font-family: inherit;
}

.phone-form-group .iti__search-input {
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #e1e7ee;
  border-radius: 0;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--bb-ink);
  outline: none;
}

.phone-form-group .iti__country-list {
  font-family: inherit;
}

.phone-form-group .iti__country {
  min-height: 39px;
  font-size: 13.5px;
}

.phone-form-group .iti__dial-code {
  color: #667487;
  font-weight: 600;
}

.phone-form-group:focus-within .iti input#mobile {
  border-color: var(--bb-blue);
  box-shadow: 0 0 0 3px rgba(21, 116, 184, 0.11);
}

.phone-form-group .iti input#mobile.field-error {
  border-color: var(--bb-error);
  box-shadow: 0 0 0 3px rgba(197, 50, 50, 0.08);
}

@media (max-width: 430px) {
  .phone-form-group .iti input#mobile {
    height: 49px;
    font-size: 16px;
  }

  .phone-form-group > label {
    left: 60px;
    max-width: calc(100% - 74px);
  }
}


/* Country selector can be appended to <body> so it is not clipped by the hero's overflow. */
.iti__country-selector {
  z-index: 10000 !important;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(24, 53, 82, 0.16);
  font-family: inherit;
}

.iti__search-input {
  min-height: 42px;
  font-family: inherit;
  font-size: 14px;
}

.iti__country {
  min-height: 39px;
  font-size: 13.5px;
}

.iti__dial-code {
  color: #667487;
  font-weight: 600;
}
