.moon-lead-form-wrap {
  color: var(--ink, #111411);
}

.moon-form-message {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 2px solid currentColor;
  border-radius: .75rem;
}

.moon-form-message strong { display: block; font-size: 1.1rem; }
.moon-form-message p { margin: .25rem 0 0; }
.moon-form-message:focus-visible { outline: 3px solid #596d00; outline-offset: 3px; }
.moon-form-message--success { color: #244500; background: #efffcf; }
.moon-form-message--error { color: #7b1717; background: #fff0f0; }

.moon-lead-form {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--ink, #111411);
  border-radius: 1.25rem;
  box-shadow: .8rem .8rem 0 var(--ink, #111411);
}

.moon-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.moon-field { display: grid; gap: .45rem; align-content: start; }
.moon-field--full { grid-column: 1 / -1; }
.moon-field label { font-size: .83rem; font-weight: 780; }
.moon-field label span { color: #5b605a; font-size: .72rem; font-weight: 550; }
.moon-field small { color: #4d544c; font-size: .72rem; line-height: 1.5; }

.moon-field input,
.moon-field select,
.moon-field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem .85rem;
  color: #111411;
  font: inherit;
  line-height: 1.4;
  background: #f8f8f4;
  border: 1px solid #72786f;
  border-radius: .5rem;
}

.moon-field textarea { min-height: 10rem; resize: vertical; }
.moon-field input::placeholder { color: #6a7068; opacity: 1; }
.moon-field input:hover,
.moon-field select:hover,
.moon-field textarea:hover { border-color: #111411; }
.moon-field input:focus-visible,
.moon-field select:focus-visible,
.moon-field textarea:focus-visible,
.moon-form-consent input:focus-visible,
.moon-form-submit:focus-visible { outline: 3px solid #596d00; outline-offset: 3px; }

.moon-form-consent {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: .75rem;
  align-items: start;
  font-size: .78rem;
  line-height: 1.6;
  cursor: pointer;
}

.moon-form-consent input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: #111411; }
.moon-form-consent a { font-weight: 750; text-decoration: underline; text-underline-offset: .18em; }
.moon-form-submit-row { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; }
.moon-form-submit-row p { max-width: 24rem; margin: 0; color: #515750; font-size: .72rem; line-height: 1.55; }
.moon-form-submit { display: inline-flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 3.5rem; padding: .75rem .8rem .75rem 1.25rem; color: #fff; font-family: inherit; font-size: .86rem; font-weight: 800; line-height: 1; background: #111411; border: 2px solid #111411; border-radius: 999px; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.moon-form-submit > span:last-child { display: grid; width: 2rem; height: 2rem; place-items: center; color: #111411; background: #dfff43; border-radius: 50%; }
.moon-form-submit:hover { transform: translateY(-.15rem); box-shadow: 0 .5rem 1rem rgb(17 20 17 / 20%); }
.moon-form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.moon-lead-form .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 700px) {
  .moon-lead-grid { grid-template-columns: 1fr; }
  .moon-field--full { grid-column: auto; }
  .moon-form-submit-row { grid-template-columns: 1fr; }
  .moon-form-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .moon-form-submit { transition: none; }
}

@media (forced-colors: active) {
  .moon-lead-form,
  .moon-field input,
  .moon-field select,
  .moon-field textarea,
  .moon-form-submit { border: 2px solid CanvasText; box-shadow: none; }
}
