.contact-section {
  padding: 64px 24px 100px;
  background: #f7faff
}

.contact-wrap {
  max-width: 1040px;
  margin: auto;
  color: #17344f
}

.contact-backlink {
  font-size: 14px;
  color: #58718e
}

.contact-intro {
  margin: 28px 0;
  line-height: 1.9
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 32px 0 38px;
  border: 1px solid #d3e0ee;
  background: white
}

.contact-steps li {
  padding: 15px 22px;
  color: #7c90a5;
  border-right: 1px solid #d3e0ee;
  font-size: 14px
}

.contact-steps li:last-child {
  border: 0
}

.contact-steps b {
  font-size: 11px;
  letter-spacing: .1em;
  margin-right: 12px
}

.contact-steps [aria-current] {
  background: #0b346a;
  color: white
}

.contact-phase-heading {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  margin: 0 0 16px;
  color: #0b346a;
  overflow-wrap: anywhere
}

.contact-help {
  font-size: 13px;
  line-height: 1.8;
  color: #60758d;
  margin: 10px 0 0
}

.contact-help a {
  color: #1766c4;
  text-decoration: underline;
  text-underline-offset: 3px
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 30px;
  background: white;
  border: 1px solid #d3e0ee;
  padding: 36px;
  margin: 28px 0
}

.contact-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0
}

.contact-field-wide,
.contact-field-check,
.contact-radio-group {
  grid-column: 1/-1
}

.contact-field>label,
.contact-field>legend {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  display: block;
  margin: 0 0 11px
}

.contact-required,
.contact-optional {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: .06em;
  border-radius: 2px
}

.contact-required {
  color: #b52837;
  background: #fff0f1
}

.contact-optional {
  color: #5f738a;
  background: #eef3f9
}

.contact-field input:not([type=radio]):not([type=checkbox]),
.contact-field select,
.contact-field textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid #b8cada;
  background: #fff;
  border-radius: 2px;
  color: #17344f;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  min-height: 50px
}

.contact-field textarea {
  resize: vertical
}

.contact-field select {
  appearance: auto
}

.contact-field [aria-invalid=true] {
  border-color: #bd3443 !important;
  background: #fffafa !important
}

.contact-field-error {
  font-size: 12px;
  line-height: 1.7;
  color: #b52837;
  margin: 7px 0 0
}

.contact-field-error:empty {
  display: none
}

.contact-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px
}

.contact-radio-label,
.contact-check-label {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  cursor: pointer;
  min-width: 0
}

.contact-radio-label input,
.contact-check-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #146ce0
}

.contact-field-check {
  padding: 20px 0 0;
  border-top: 1px solid #e0e8f0
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important
}

.contact-verification {
  border: 1px solid #d3e0ee;
  background: white;
  padding: 24px 28px;
  margin: 24px 0
}

.contact-verification h3 {
  font-size: 17px;
  margin: 0 0 8px
}

.contact-verification p {
  font-size: 13px;
  color: #60758d;
  margin: 0 0 20px
}

.contact-verification altcha-widget {
  max-width: 100%;
  --altcha-max-width: 360px;
  --altcha-color-border: #c6d6e6;
  --altcha-color-primary: #146ce0
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 30px 0 0
}

.contact-actions .inc-button {
  border: 0;
  cursor: pointer;
  font: inherit;
  min-width: 260px;
  max-width: 100%;
  justify-content: space-between;
  gap: 20px
}

.contact-actions button:disabled {
  cursor: not-allowed;
  opacity: .45
}

.contact-secondary {
  padding: 17px 24px;
  border: 1px solid #a7bdd2;
  background: white;
  color: #17344f;
  font: inherit;
  cursor: pointer
}

.contact-alert,
.contact-service-notice {
  padding: 18px 22px;
  line-height: 1.9;
  font-size: 14px;
  background: #fff4ef;
  border-left: 3px solid #dc7856;
  margin: 24px 0;
  overflow-wrap: anywhere
}

.contact-alert {
  background: #fff0f1;
  border-color: #bd3443;
  color: #922532
}

.contact-alert ul {
  margin: 8px 0 0;
  padding-left: 20px
}

.contact-progress {
  font-size: 13px;
  color: #60758d;
  min-height: 20px;
  margin: 12px 0
}

.contact-retry {
  font: inherit;
  font-size: 13px;
  border: 1px solid #b8cada;
  padding: 8px 14px;
  background: white;
  cursor: pointer
}

.contact-confirm-list {
  margin: 28px 0 0;
  border: 1px solid #d3e0ee;
  background: white;
  display: grid;
  grid-template-columns: 240px 1fr
}

.contact-confirm-list dt,
.contact-confirm-list dd {
  padding: 20px 24px;
  margin: 0;
  border-bottom: 1px solid #e0e8f0;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-width: 0
}

.contact-confirm-list dt {
  font-weight: 600;
  background: #f0f5fb
}

.contact-confirm-list dt:last-of-type,
.contact-confirm-list dd:last-of-type {
  border-bottom: 0
}

.contact-complete-icon {
  font-size: 32px;
  border: 1px solid #a4cebc;
  color: #1b7753;
  background: #eff8f3;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px
}

#contact-complete {
  padding: 42px 36px;
  background: white;
  border: 1px solid #d3e0ee
}

#contact-complete p {
  line-height: 1.8
}

#contact-complete .inc-button {
  margin-top: 24px
}

#contact-complete[hidden],
#contact-confirmation[hidden],
#contact-form[hidden],
.contact-service-notice[hidden],
.contact-alert[hidden],
.contact-retry[hidden] {
  display: none !important
}

.contact-wrap :focus-visible {
  outline: 2px solid #146ce0;
  outline-offset: 4px
}

@media(max-width:640px) {
  .contact-section {
    padding: 36px 18px 64px
  }

  .contact-fields {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 24px
  }

  .contact-field {
    grid-column: 1
  }

  .contact-steps li {
    padding: 12px 10px;
    font-size: 13px
  }

  .contact-steps b {
    display: block;
    margin: 0 0 3px
  }

  .contact-radio-options {
    display: grid;
    gap: 12px
  }

  .contact-verification {
    padding: 22px 18px
  }

  .contact-confirm-list {
    display: block
  }

  .contact-confirm-list dt {
    padding: 14px 18px 8px;
    border-bottom: 0
  }

  .contact-confirm-list dd {
    padding: 10px 18px 20px
  }

  .contact-confirm-list dt:last-of-type {
    border-bottom: 0
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column
  }

  .contact-actions .inc-button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box
  }

  .contact-secondary {
    width: 100%
  }

  #contact-complete {
    padding: 28px 20px
  }

  .contact-alert,
  .contact-service-notice {
    padding: 16px
  }

  .contact-backlink {
    font-size: 13px
  }
}

/* Postal address assistance: shared styling, active only on fields with ZIPSERVER controls. */
.contact-zip-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 12px
}

.contact-zip-tools>button,
.contact-zip-results>button {
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 16px;
  border: 1px solid #1666c5;
  border-radius: 3px;
  background: #eef5ff;
  color: #124c90;
  cursor: pointer;
  max-width: 100%
}

.contact-zip-tools>button:disabled {
  opacity: .55;
  cursor: wait
}

.contact-zip-tools small {
  font-size: 11px;
  color: #60758d
}

.contact-zip-tools a {
  color: #1766c4;
  text-decoration: underline;
  text-underline-offset: 3px
}

.contact-zip-status {
  font-size: 13px;
  line-height: 1.8;
  color: #4b6580;
  margin: 10px 0 0;
  overflow-wrap: anywhere
}

.contact-zip-status:empty {
  display: none
}

.contact-zip-results {
  display: grid;
  gap: 8px;
  margin-top: 12px
}

.contact-zip-results>button {
  text-align: left;
  background: #fff;
  overflow-wrap: anywhere
}

.contact-zip-results[hidden] {
  display: none !important
}
