/* Static-site additions (not from Oxygen): the /api/lead forms that replace WS Form. */
.dpz-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  font-family: Poppins, sans-serif;
}
.dpz-field { display: flex; flex-direction: column; gap: 6px; }
.dpz-wide, .dpz-turnstile, .dpz-status, .dpz-submit, .dpz-note { grid-column: 1 / -1; }
.dpz-field label { font-size: 15px; font-weight: 600; color: #3b3c38; }
.dpz-field label span { color: #c0392b; }
.dpz-field input, .dpz-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d3e0;
  border-radius: 6px;
  background: #fff;
  color: #3b3c38;
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming on focus */
}
.dpz-field input:focus, .dpz-field textarea:focus { outline: 2px solid #65bec2; outline-offset: 1px; border-color: #65bec2; }
.dpz-field [aria-invalid="true"] { border-color: #c0392b; }
.dpz-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.dpz-status { margin: 0; min-height: 1.4em; font-size: 15px; }
.dpz-status.dpz-error { color: #c0392b; }
.dpz-submit {
  justify-self: start;
  border: 1px solid #fd834c;
  border-radius: 100px;
  background: #fd834c;
  color: #fff;
  padding: 16px 40px;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.dpz-submit:hover { background: #fff; color: #fd834c; }
.dpz-submit[disabled] { opacity: .6; cursor: wait; }
.dpz-note { margin: 0; font-size: 14px; color: #566d8f; }
.dpz-note a { color: inherit; }
.dpz-thanks { max-width: 640px; margin: 0 auto; padding: 24px; border-radius: 8px; background: #eff4fb; text-align: center; font-size: 18px; color: #3b3c38; }
@media (max-width: 640px) {
  .dpz-form { grid-template-columns: 1fr; }
  .dpz-submit { justify-self: stretch; }
}

/* Long URLs/emails in the legal pages (and the Terms H1) overflowed phones on the WP site too. */
.ct-inner-content .ct-headline,
.ct-inner-content .ct-text-block { overflow-wrap: anywhere; }

/* "Home" exists only in the opened mobile menu; on desktop the logo is the home link. */
.oxy-pro-menu:not(.oxy-pro-menu-open) .dpz-menu-home { display: none; }
