/* Form-only layout: the other landing sections keep their existing styles. */
#quote .quote-grid {
  max-width: 960px;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
#quote .quote-intro {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  column-gap: 48px;
}
#quote .quote-intro > :not(.direct-contact) {
  grid-column: 1;
}
#quote .quote-intro > p:not(.eyebrow):not(.quote-region) {
  max-width: 500px;
  margin-top: 18px;
}
#quote .direct-contact {
  grid-column: 2;
  grid-row: 1 / span 4;
  max-width: none;
  margin-top: 0;
  padding-top: 24px;
}
#quote .quote-region {
  margin-top: 24px;
}
.quote-wizard {
  container: quoteform / inline-size;
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin-inline: auto;
}
.quote-wizard [hidden] {
  display: none !important;
}
.quote-wizard fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.quote-wizard legend {
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  scroll-margin-top: 115px;
}
.quote-wizard .wizard-intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.quote-wizard .wizard-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 28px;
}
.quote-wizard .wizard-progress li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  padding: 16px 12px;
  border-bottom: 3px solid #d4ceca;
  color: var(--muted);
  min-width: 0;
}
.quote-wizard .wizard-progress li > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  background: #e8e4df;
  color: #514b4e;
}
.quote-wizard .wizard-progress li[aria-current] {
  color: var(--dark);
  border-color: var(--red);
  background: #fff;
  font-weight: 700;
}
.quote-wizard .wizard-progress li[aria-current] > span:first-child {
  color: #fff;
  background: var(--red);
}
.quote-wizard .wizard-progress li.completed > span:first-child {
  color: #fff;
  background: var(--dark);
}
.quote-wizard .product-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quote-wizard .product-choice {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  min-height: 72px;
  background: #fff;
  border: 1px solid #cfc8c3;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}
.quote-wizard .product-choice:has(input:checked) {
  border-color: var(--red);
  background: #fff4f3;
  box-shadow: 0 0 0 1px var(--red);
}
.quote-wizard .product-choice:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.quote-wizard .product-choice input {
  width: 20px;
  height: 20px;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--red);
}
.quote-wizard .product-choice > span:last-child {
  min-width: 0;
}
.quote-wizard .choice-number {
  display: none;
}
.quote-wizard .configured-product {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 650;
  color: var(--dark);
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}
.quote-wizard #product-note:not(:empty) {
  margin-bottom: 24px;
}
.quote-wizard .wizard-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.quote-wizard .field {
  margin-bottom: 26px;
  min-width: 0;
}
.quote-wizard .field label {
  display: block;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 10px;
}
.quote-wizard .field label > b {
  font-weight: 400;
  color: var(--red);
}
.quote-wizard .field label > small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.quote-wizard .field input,
.quote-wizard .field select,
.quote-wizard .field textarea {
  font-size: 18px;
  line-height: 1.5;
  padding: 13px 16px;
}
.quote-wizard .field input,
.quote-wizard .field select {
  height: 56px;
  min-height: 56px;
}
.quote-wizard .field select {
  padding-right: 38px;
}
.quote-wizard .field textarea {
  min-height: 190px;
}
.quote-wizard [readonly] {
  background: #ebe8e1;
  color: #514b4e;
}
.quote-wizard .field input::placeholder,
.quote-wizard .field textarea::placeholder {
  color: var(--muted);
}
.quote-wizard .wizard-help {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}
.quote-wizard .wizard-help:empty {
  display: none;
}
.quote-wizard .field-error {
  font-size: 15px;
  color: #971b18;
  margin-top: 8px;
}
.quote-wizard [aria-invalid='true'] {
  border-color: #971b18;
  box-shadow: 0 0 0 1px #971b18;
}
.quote-wizard .wizard-group {
  border: 1px solid #d8d3cf;
  background: #fff;
  border-radius: 5px;
  padding: 28px;
  margin-top: 24px;
}
.quote-wizard .wizard-group > .field:last-child {
  margin-bottom: 0;
}
.quote-wizard .wizard-section-title {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 24px;
}
.quote-wizard .roll-options {
  padding: 24px;
  margin: 0 0 26px;
  border: 1px solid #cfc8c3;
  border-radius: 4px;
}
.quote-wizard .roll-options summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.5;
}
.quote-wizard .roll-options > .wizard-help {
  margin: 0 0 24px;
}
.quote-wizard .wizard-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}
.quote-wizard .button,
.quote-wizard .wizard-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 15px 24px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 4px;
}
.quote-wizard .wizard-navigation > button {
  min-width: 170px;
}
.quote-wizard .wizard-navigation > .button {
  margin-left: auto;
}
.quote-wizard .wizard-back {
  background: #fff;
  border-color: #b9b0aa;
  color: var(--dark);
}
.quote-wizard .wizard-back:hover {
  border-color: var(--dark);
  background: #eeece6;
}
.quote-wizard .wizard-review-button {
  width: 100%;
  margin-top: 24px;
}
.quote-wizard .wizard-errors {
  border: 1px solid #b3534d;
  background: #fff5f4;
  border-radius: 4px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 16px;
}
.quote-wizard .wizard-errors p {
  font-weight: 600;
}
.quote-wizard .wizard-errors ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.quote-wizard .wizard-errors button {
  background: none;
  color: #8d211c;
  font: inherit;
  border: 0;
  text-align: left;
  min-height: 44px;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quote-wizard .quote-review {
  background: #fff;
  border: 1px solid #d8d3cf;
  padding: 28px;
  border-radius: 5px;
  margin-top: 30px;
  scroll-margin-top: 110px;
}
.quote-wizard .quote-review h3 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.quote-wizard .quote-review > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.quote-wizard .quote-review dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 14px 24px;
  margin: 26px 0;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.quote-wizard .quote-review dt {
  color: var(--muted);
  margin: 0;
}
.quote-wizard .quote-review dd {
  margin: 0;
  white-space: pre-wrap;
}
.quote-wizard .quote-review .text-link {
  border: 0;
  background: none;
  padding: 8px 0;
  min-height: 44px;
  font-size: 16px;
}
.quote-wizard .quote-review .quote-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 14px;
}
.quote-wizard #new-request {
  width: 100%;
  margin-top: 20px;
}
.quote-wizard .consent {
  font-size: 15px;
  line-height: 1.7;
  gap: 12px;
  margin-top: 28px;
}
.quote-wizard .consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
}
.quote-wizard .form-required {
  font-size: 14px;
  margin-bottom: 20px;
}
.quote-wizard .form-notice {
  font-size: 15px;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.quote-wizard .form-notice a {
  white-space: normal;
  overflow-wrap: anywhere;
}
.quote-wizard .privacy-note {
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  justify-content: flex-start;
  margin-top: 20px;
}
.quote-wizard .file-upload {
  padding: 22px;
}
.quote-wizard .file-upload strong {
  font-size: 18px;
}
.quote-wizard .file-upload small,
.quote-wizard #file-selection,
.quote-wizard #form-result {
  font-size: 15px;
}
.quote-wizard .file-upload:has(input:disabled) {
  opacity: 0.65;
  cursor: default;
}
.quote-wizard .file-upload input:disabled {
  cursor: default;
}
.quote-wizard #remove-file {
  min-width: 44px;
  min-height: 44px;
}
@container quoteform (max-width: 680px) {
  .quote-wizard .wizard-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote-wizard .quote-review dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .quote-wizard .quote-review dd {
    margin-bottom: 16px;
  }
}
@container quoteform (max-width: 600px) {
  .quote-wizard .product-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote-wizard .wizard-progress {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .quote-wizard .wizard-progress li {
    padding: 10px 14px;
    border-bottom: 0;
    border-left: 3px solid #d4ceca;
  }
  .quote-wizard .wizard-progress li > span:first-child {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .quote-wizard .wizard-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .quote-wizard .wizard-navigation > button {
    width: 100%;
    min-width: 0;
  }
  .quote-wizard .wizard-group,
  .quote-wizard .quote-review,
  .quote-wizard .roll-options {
    padding: 20px;
  }
}
@media (max-width: 700px) {
  #quote .quote-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  #quote .direct-contact {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
    padding-top: 24px;
  }
  #quote .quote-region {
    grid-row: auto;
  }
  .quote-wizard legend,
  .quote-wizard .wizard-section-title,
  .quote-wizard .quote-review h3 {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quote-wizard * {
    scroll-behavior: auto !important;
  }
}
