.demo-sales-page {
  color: #252525;
  background: #fff;
}

.demo-sales-page #sp-main-body {
  padding: 78px 0 0;
}

.demo-sales-page #sp-logo-and-main-menu,
.demo-sales-page #sp-logo-and-main-menu.header-sticky {
  position: sticky !important;
  top: 0;
}

.demo-sales-page #sp-main-body > .container,
.demo-sales-page #sp-main-body .container-inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

.demo-sales-page #sp-main-body .row {
  margin: 0;
}

.demo-sales-page #sp-component {
  padding: 0;
}

.demo-sales-page #sp-title {
  display: none;
}

.demo-sales-page #section-schedule-demo {
  display: none;
}

.demo-sales {
  --demo-navy: #073e72;
  --demo-blue: #1769aa;
  --demo-green: #16815b;
  --demo-ink: #172332;
  --demo-muted: #596777;
  --demo-line: #dce4eb;
  --demo-soft: #f3f7fa;
  font-family: "Mulish", sans-serif;
}

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

.demo-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  padding: 86px 0 80px;
  margin-left: calc(50% - 50vw);
  color: #fff;
  background: var(--demo-navy);
}

.demo-hero::after {
  position: absolute;
  right: -110px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.demo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.demo-eyebrow {
  margin: 0 0 14px;
  color: #b9dcf6;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.demo-eyebrow-blue {
  color: var(--demo-blue);
}

.demo-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: "Catamaran", sans-serif;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.demo-hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e7f2fa;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.demo-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.demo-button-primary {
  color: var(--demo-navy);
  background: #fff;
}

.demo-button-primary:hover,
.demo-button-primary:focus {
  color: var(--demo-navy);
  background: #dcecf7;
}

.demo-button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.demo-button-secondary:hover,
.demo-button-secondary:focus {
  border-color: #fff;
  color: var(--demo-navy);
  background: #fff;
}

.demo-reassurance {
  margin: 18px 0 0;
  color: #cfe4f4;
  font-size: 0.94rem;
}

.demo-priorities {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(0, 26, 51, 0.3);
  box-shadow: 0 22px 50px rgba(0, 19, 38, 0.2);
}

.demo-priorities h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.demo-priorities ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-priorities li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #f4f8fb;
  font-weight: 650;
}

.demo-priorities li::before {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  background: url("../../images/icons/checkmarkWhite.svg") center / 24px 24px no-repeat;
  content: "";
}

.demo-form-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  scroll-margin-top: 96px;
  padding: 76px 0 88px;
  background: var(--demo-soft);
}

.demo-form-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.demo-next-steps {
  padding-top: 14px;
}

.demo-next-steps h2 {
  margin: 0 0 10px;
  color: var(--demo-ink);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.demo-next-steps > p {
  margin: 0;
  color: var(--demo-muted);
  line-height: 1.65;
}

.demo-steps {
  display: grid;
  gap: 22px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: demo-step;
}

.demo-steps li {
  position: relative;
  min-height: 42px;
  padding-left: 58px;
  color: var(--demo-muted);
  line-height: 1.45;
  counter-increment: demo-step;
}

.demo-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #b9cbd9;
  border-radius: 50%;
  color: var(--demo-navy);
  background: #fff;
  content: counter(demo-step);
  font-weight: 900;
}

.demo-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--demo-ink);
}

.demo-contact {
  padding-top: 24px;
  border-top: 1px solid var(--demo-line);
  color: var(--demo-muted);
  font-size: 0.96rem;
}

.demo-contact strong {
  display: block;
  margin-bottom: 7px;
  color: var(--demo-ink);
}

.demo-contact a {
  color: var(--demo-navy);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.demo-form-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--demo-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 50, 78, 0.1);
}

.demo-form-card #cf_3 {
  max-width: none;
  margin: 0;
  background: transparent;
}

.demo-form-card #cf_3 .cf-form-wrap {
  padding: 0;
  background: transparent !important;
}

.demo-form-card #cf_3 .cf-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.demo-form-card #cf_3 .cf-control-group {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
}

.demo-form-card #cf_3 .cf-control-group[data-key="8"],
.demo-form-card #cf_3 .cf-control-group[data-key="9"],
.demo-form-card #cf_3 .cf-control-group[data-key="14"],
.demo-form-card #cf_3 .cf-control-group[data-key="15"],
.demo-form-card #cf_3 .cf-control-group[data-key="11"],
.demo-form-card #cf_3 .demo-extra-details,
.demo-form-card #cf_3 .cf-control-group[data-key="2"] {
  grid-column: 1 / -1;
}

.demo-form-card #cf_3 .cf-control-group[data-key="8"] h2 {
  margin: 0;
  color: var(--demo-ink);
  font-size: clamp(1.85rem, 3vw, 2.45rem) !important;
  line-height: 1.08 !important;
}

.demo-form-card #cf_3 .cf-control-group[data-key="9"] p {
  margin: -8px 0 6px;
  color: var(--demo-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.demo-form-card #cf_3 .cf-label {
  margin-bottom: 7px;
  color: var(--demo-ink);
  font-size: 0.96rem;
  font-weight: 750;
}

.demo-form-card #cf_3 .demo-optional {
  color: var(--demo-muted);
  font-weight: 500;
}

.demo-form-card #cf_3 .cf-required-label {
  color: #b42318;
}

.demo-form-card #cf_3 input[type="text"],
.demo-form-card #cf_3 input[type="email"],
.demo-form-card #cf_3 input[type="tel"],
.demo-form-card #cf_3 select,
.demo-form-card #cf_3 textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #aebdca;
  border-radius: 7px;
  color: var(--demo-ink);
  background: #fff;
  font-size: 1rem;
}

.demo-form-card #cf_3 textarea {
  min-height: 138px;
  resize: vertical;
  line-height: 1.5;
}

.demo-form-card #cf_3 input:focus,
.demo-form-card #cf_3 select:focus,
.demo-form-card #cf_3 textarea:focus,
.demo-form-card #cf_3 button:focus,
.demo-button:focus {
  outline: 3px solid rgba(23, 105, 170, 0.3);
  outline-offset: 2px;
  border-color: var(--demo-blue);
}

.demo-form-card #cf_3 .demo-extra-details {
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: 10px;
  background: #f9fbfc;
}

.demo-form-card #cf_3 .demo-extra-details summary {
  position: relative;
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 52px 14px 18px;
  color: var(--demo-ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.demo-form-card #cf_3 .demo-extra-details summary::-webkit-details-marker {
  display: none;
}

.demo-form-card #cf_3 .demo-extra-details summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--demo-navy);
  border-bottom: 2px solid var(--demo-navy);
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.demo-form-card #cf_3 .demo-extra-details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.demo-form-card #cf_3 .demo-extra-details summary:hover {
  background: #f3f7fa;
}

.demo-form-card #cf_3 .demo-extra-details summary:focus-visible {
  outline: 3px solid rgba(23, 105, 170, 0.3);
  outline-offset: -3px;
}

.demo-form-card #cf_3 .demo-extra-details summary small {
  margin-top: 2px;
  color: var(--demo-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.demo-form-card #cf_3 .demo-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  padding: 22px 18px 18px;
  border-top: 1px solid var(--demo-line);
}

.demo-form-card #cf_3 .demo-extra-grid > .cf-control-group {
  min-width: 0;
  padding: 0 !important;
  box-sizing: border-box;
}

.demo-form-card #cf_3 .demo-extra-grid .cf-control-input,
.demo-form-card #cf_3 .demo-extra-grid .cf-select {
  width: 100%;
  min-width: 0;
}

.demo-form-card #cf_3 .demo-extra-grid select {
  box-sizing: border-box;
}

.demo-form-card #cf_3 .demo-extra-grid .cf-control-group[data-key="11"] {
  grid-column: 1 / -1;
}

.demo-form-card #cf_3 .cf-control-group[data-key="11"] > .cf-control-label {
  margin-top: 6px;
}

.demo-form-card #cf_3 .cf-control-group[data-key="11"] .cf-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-form-card #cf_3 .cf-checkbox-group {
  position: relative;
  display: flex;
  min-height: 50px;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--demo-line);
  border-radius: 7px;
  background: #f9fbfc;
}

.demo-form-card #cf_3 .cf-checkbox-group:focus-within {
  border-color: var(--demo-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.15);
}

.demo-form-card #cf_3 input[type="checkbox"] {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 0;
  accent-color: var(--demo-navy);
}

.demo-form-card #cf_3 .cf-checkbox-group .cf-label {
  margin: 0;
  cursor: pointer;
  font-size: 0.93rem;
}

.demo-form-card #cf_3 .cf-control-group[data-key="2"] {
  margin-top: 4px;
}

.demo-form-card #cf_3 .cf-control-group[data-key="2"] .cf-text-left {
  text-align: left;
}

.demo-form-card #cf_3 .cf-btn {
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border: 2px solid var(--demo-navy);
  border-radius: 7px;
  color: #fff;
  background: var(--demo-navy);
  font-size: 1rem;
  font-weight: 850;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.demo-form-card #cf_3 .cf-btn:hover {
  border-color: #052f57;
  background: #052f57;
}

.demo-form-note {
  margin: 14px 0 0;
  color: var(--demo-muted);
  font-size: 0.87rem;
  line-height: 1.5;
  text-align: center;
}

.demo-form-card #cf_3 .cf-response:not(:empty) {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #a4d8c2;
  border-radius: 7px;
  color: #075c3e;
  background: #edf9f4;
}

@media (max-width: 900px) {
  .demo-hero {
    padding: 68px 0;
  }

  .demo-hero-grid,
  .demo-form-grid {
    grid-template-columns: 1fr;
  }

  .demo-hero-grid {
    gap: 38px;
  }

  .demo-form-grid {
    gap: 34px;
  }

  .demo-next-steps {
    order: 2;
    padding-top: 0;
  }

  .demo-form-card {
    order: 1;
  }

  .demo-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-steps li {
    padding: 54px 12px 0 0;
  }
}

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

  .demo-hero {
    padding: 54px 0;
  }

  .demo-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .demo-hero-actions {
    display: grid;
  }

  .demo-priorities,
  .demo-form-card {
    padding: 24px 20px;
  }

  .demo-form-section {
    padding: 54px 0 64px;
  }

  .demo-steps,
  .demo-form-card #cf_3 .cf-fields,
  .demo-form-card #cf_3 .demo-extra-grid,
  .demo-form-card #cf_3 .cf-control-group[data-key="11"] .cf-list {
    grid-template-columns: 1fr;
  }

  .demo-steps li {
    min-height: 42px;
    padding: 0 0 0 55px;
  }

  .demo-form-card #cf_3 .cf-control-group {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-button,
  .demo-form-card #cf_3 .cf-btn {
    transition: none;
  }
}
