/* The Demo request form and all of its functional markup remain unchanged. */
.demo-request-content .contacthero {
  padding-block: 32px 48px;
}
.demo-request-content .contacthero h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
  text-wrap: balance;
}
.demo-request-content .contacthero > p {
  max-width: 75ch;
}
.demo-request-content .contactlayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.demo-request-content :is(.contactform, .contactaside, .contactcard, .contactfield, .contactmodules) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.demo-request-content :is(.contactform, .contactcard) {
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 16px;
  background: #fff;
}
.demo-request-content :is(.contactform, .contactcard) h2 {
  font-size: clamp(26px, 3vw, 36px);
}
.demo-request-content :is(.formgrid, .appointment-fields, .contactmodulegrid, .contactnext) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.demo-request-content :is(.appointment-intro, .appointment-note) {
  grid-column: 1 / -1;
}
.demo-request-content .contactfield {
  color: #243961;
  line-height: 1.5;
}
.demo-request-content .contactfield :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-color: #b8c7df;
  color: #17284a;
  background: #fff;
}
.demo-request-content .contactmodules legend {
  max-width: 100%;
  color: #243961;
  line-height: 1.5;
}
.demo-request-content .contactmodulegrid label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #243961;
}
.demo-request-content .contactmodulegrid input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  accent-color: #3155ce;
}
.demo-request-content :is(.contactsubmit, .contactpreview) .btn {
  max-width: 100%;
  white-space: normal;
  line-height: 1.5;
}
.demo-request-content .contactsubmit {
  flex-wrap: wrap;
  gap: 12px;
}
.demo-request-content .contactreset {
  min-height: 44px;
  color: #294ab6;
}
.demo-request-content .contactpreview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.demo-request-content .contacterror {
  scroll-margin-top: calc(var(--home-header-height, 80px) + 24px);
}
.demo-request-content .contactnext > article {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 12px;
  background: #fff;
}
.demo-request-content :is(input, select, textarea):focus-visible {
  outline: 3px solid #3155ce;
  outline-offset: 4px;
}
@media (min-width: 700px) {
  .demo-request-content :is(.formgrid, .appointment-fields, .contactmodulegrid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .demo-request-content .contactnext {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .demo-request-content .contactlayout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .demo-request-content :is(.contactform, .contactcard, .contactnext > article) {
    padding: 20px;
  }
}
