.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Keep the original Mono form appearance for semantic email/phone fields. */
#m4069 input[type="email"],
#m4069 input[type="tel"] {
  width: 100%;
  margin: 0 0 20px;
  padding: 10px;
  border-style: solid;
  border-width: 0;
  border-color: rgb(204, 204, 204);
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.66);
  color: rgb(69, 69, 69);
  font: inherit;
  font-size: 16px;
  line-height: 1.6em;
  text-align: left;
}

.contact-form-status {
  min-height: 24px;
  margin: 10px 0;
  color: #a33a2d;
}

.contact-modal {
  display: none;
}

.contact-modal:target {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 25, 27, 0.65);
  cursor: default;
}

.contact-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 48px 42px 38px;
  border-radius: 4px;
  background: #EBF6F1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.contact-modal__dialog h2 {
  margin: 0 0 18px;
}

.contact-modal__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #25a55f;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
}

.contact-modal--error .contact-modal__dialog {
  background: #fff7f4;
}

.contact-modal--error .contact-modal__icon {
  background: #c94732;
}

.contact-modal--error .contact-modal__button {
  background: #c94732;
}

.contact-modal__dialog p {
  margin: 0 0 26px;
  line-height: 1.65;
}

.contact-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #1c252b;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

.contact-modal__button {
  display: inline-block;
  border: 0;
  cursor: pointer;
  margin: 0 auto;
  text-decoration: none;
}

@media (max-width: 767px) {
  .contact-modal__dialog {
    padding: 42px 24px 30px;
  }
}
