/* Form controls only. The two glass plates, backdrop and connecting recess
   continue to use the existing BAXS contact composition. */
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form {
  --bx-form-ink: #352746;
  --bx-form-muted: #766b87;
  --bx-form-line: #d9cfe8;
  --bx-form-accent: #7552ba;
}

html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-form-heading {
  margin-bottom: 26px;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-form-heading h3 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 600;
  color: var(--bx-form-ink);
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-form-heading > p {
  max-width: 43ch;
  font-size: 13px;
  color: var(--bx-form-muted);
}

html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 18px;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: #574665;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--bx-form-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  color: var(--bx-form-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: inset 0 1px 2px #442b7004, 0 1px 0 #ffffffa6;
  transition: border-color 160ms ease, background-color 160ms ease,
    box-shadow 160ms ease, outline-color 160ms ease;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input::placeholder {
  color: #9b8da9;
  font-size: inherit;
  opacity: 1;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input:focus {
  border-color: #a084ce;
  background: #fff;
  outline-color: #b995f440;
  box-shadow: 0 0 0 4px #bea7e519;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input[aria-invalid="true"] {
  border-color: #c37186;
  background: #fff7f9;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields [data-error-for] {
  color: #a03f60;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input:-webkit-autofill {
  -webkit-text-fill-color: var(--bx-form-ink);
  box-shadow: inset 0 0 0 100px #fbf9fe;
  caret-color: var(--bx-form-ink);
}

html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interests {
  margin: 24px 0 0;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interests legend {
  margin-bottom: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  color: #574665;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 9px;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest {
  min-width: 0;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest span {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  min-height: 44px;
  padding: 10px 12px;
  gap: 9px;
  border: 1px solid #dfd5ea;
  border-radius: 9px;
  background: #ffffff5c;
  color: #6e5b80;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 #ffffffa6;
  transition: color 160ms ease, border-color 160ms ease,
    background-color 160ms ease, box-shadow 160ms ease;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest span::before {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #bcb0ce;
  border-radius: 5px;
  background: #ffffffd9;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest span::after {
  content: "";
  position: absolute;
  left: 18px;
  top: calc(50% - 5px);
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 120ms ease;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest input:checked + span {
  padding: 10px 12px;
  border-color: #b69bdb;
  background: #efe7fb;
  color: #634095;
  box-shadow: inset 0 1px 0 #fff9, 0 2px 6px #76519a08;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest input:checked + span::before {
  border-color: var(--bx-form-accent);
  background: var(--bx-form-accent);
  box-shadow: none;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest input:checked + span::after {
  opacity: 1;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest input:focus-visible + span {
  outline: 2px solid #a588d9;
  outline-offset: 3px;
}

html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-action-row {
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding-top: 23px;
  border-top-color: #ddd2e999;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-bottom {
  min-width: 0;
  gap: 2px;
  font-size: 11px;
  line-height: 1.6;
  color: #8a789a;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-bottom > span {
  align-items: flex-start;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-bottom > span svg {
  flex: none;
  margin-top: 3px;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-bottom a {
  color: #8165a3;
  min-height: 26px;
  text-underline-offset: 3px;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-submit {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 20px;
  gap: 14px;
  border: 1px solid #a183cc;
  border-radius: 10px;
  background: linear-gradient(115deg, #8260bd, #986ac9);
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #ffffff35, 0 5px 12px #70419617;
  filter: none;
  transform: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-submit:focus-visible {
  outline: 2px solid #8d6dc2;
  outline-offset: 4px;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-submit:active {
  box-shadow: inset 0 1px 4px #48207626;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-status {
  padding: 12px 14px;
  margin-top: 20px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-status.is-error {
  background: #fcf1f4;
  border-color: #e1b6c6;
  color: #934567;
}
html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-status.is-success {
  background: #f0f7f5;
  border-color: #b7d8ce;
  color: #426c60;
}

@media (hover: hover) {
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input:hover:not(:focus):not([aria-invalid="true"]) {
    border-color: #bda8d7;
    background: #ffffffd9;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest:hover span {
    border-color: #bfa8db;
    background: #f5eefc;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest:hover input:checked + span {
    border-color: #ac8fd3;
    background: #e9dff7;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-submit:hover {
    background: linear-gradient(115deg, #7551b1, #8a5cbd);
    filter: none;
    transform: none;
    box-shadow: inset 0 1px 0 #ffffff35, 0 7px 16px #70419622;
  }
}
@media (max-width: 560px) {
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input {
    font-size: 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-action-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
    padding-top: 21px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-submit {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-bottom a {
    min-height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form :is(input, .bx-lead-interest span, .v8-lead-submit),
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest span::before,
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest span::after {
    transition: none;
  }
}

/* Keep both glass plates on one footer baseline. The shared footer size also
   holds when translated labels or validation messages make the form taller. */
@media (min-width: 901px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-lead {
    padding-block: 56px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-composite {
    --bx-contact-footer-height: 64px;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 6px;
    max-width: 1180px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-lead .bx-contact-composite > :is(.bx-contact-art-card, .v8-lead-form) {
    padding: 30px 44px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-lead .bx-contact-composite > .v8-lead-form {
    display: flex;
    flex-direction: column;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-art-copy {
    min-height: 342px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-art-copy > img {
    width: 66px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-kicker {
    margin-top: 22px;
    margin-bottom: 10px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-art-copy :is(h1, h2) {
    margin-bottom: 14px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-art-copy > p:not(.bx-contact-kicker) {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-art-meta {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex: 0 0 var(--bx-contact-footer-height);
    height: var(--bx-contact-footer-height);
    padding-top: 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-form-heading {
    margin-bottom: 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-form-heading h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-form-heading > p {
    max-width: none;
    line-height: 1.6;
    text-wrap: pretty;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields {
    gap: 12px 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-fields input {
    height: 42px;
    min-height: 42px;
    margin-top: 5px;
    padding-inline: 12px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interests {
    margin-top: 16px;
    margin-bottom: 20px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interests legend {
    margin-bottom: 8px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest-options {
    gap: 8px 10px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest span {
    min-height: 44px;
    padding-block: 8px;
    line-height: 1.5;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest input:checked + span {
    padding-block: 8px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-status {
    margin-top: 0;
    margin-bottom: 20px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-action-row {
    box-sizing: border-box;
    flex: 0 0 var(--bx-contact-footer-height);
    height: var(--bx-contact-footer-height);
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .v8-lead-submit {
    min-height: 42px;
    padding: 9px 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-contact-channels {
    margin-top: 16px;
  }
}

@media (min-width: 1101px) {
  html[data-site="baxs"] body:not(.in-demo) #app #brand-inquiry-form .bx-lead-interest-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Five product labels are static; full descriptions appear in the next section. */
html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 12px 24px;
  border-right: 1px solid #c3abec32;
  color: #f5efff;
  cursor: default;
  user-select: none;
}
html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:last-child {
  border-right: 0;
}
html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item .bx-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0;
}
html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item h2 {
  min-width: 0;
  color: #f2ecfa;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}
html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item p {
  color: #b7aacb;
  font-size: 11px;
  line-height: 1.7;
}
@media (max-width: 1100px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item {
    gap: 12px;
    padding-inline: 16px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item .bx-icon {
    width: 24px;
    height: 24px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item p {
    font-size: 10px;
  }
}
@media (max-width: 800px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item,
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:first-child,
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:last-child {
    gap: 12px;
    padding: 17px 13px;
    border-right: 1px solid #c3abec32;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:nth-child(2n) {
    border-right: 0;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:nth-child(-n+4) {
    border-bottom: 1px solid #c3abec25;
  }
}
@media (max-width: 520px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item,
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:first-child,
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item:last-child {
    gap: 10px;
    padding-block: 13px;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links .bx-quick-item .bx-icon {
    width: 24px;
    height: 24px;
  }
}

/* Three hero actions can share one line on desktop and wrap cleanly on phones. */
html[data-site="baxs"] body:not(.in-demo) #app .bx-hero-copy .actions {
  flex-wrap: wrap;
}
html[data-site="baxs"] body:not(.in-demo) #app .bx-hero-copy .bx-about-cta {
  border-color: #b7a8dc;
  color: #f2edff;
  background: #ffffff0a;
}
@media (hover: hover) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-hero-copy .bx-about-cta:hover {
    border-color: #d8ccff;
    color: #fff;
    background: #ffffff18;
  }
}
@media (max-width: 560px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-hero-copy .actions {
    align-items: stretch;
  }
  html[data-site="baxs"] body:not(.in-demo) #app .bx-hero-copy .actions .btn {
    flex: 1 1 auto;
  }
}

/* The homepage product rail now names all five product categories while retaining
   the compact two-column mobile layout. */
@media (min-width: 1101px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) and (min-width: 801px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  html[data-site="baxs"] body:not(.in-demo) #app .bx-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
