/*!
 * Footer headline sweep adapted from SweepHover, a DesignPass.dev component
 * by Ernest Liu (ernestliu.com). https://designpass.dev/components/sweep-hover
 * MIT licensed. Keep this notice in copies and adaptations.
 */
@property --dp-sweep-reveal {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

@media (min-width: 1021px) {
  .navbar #m-resources {
    position: static;
  }

  .navbar #m-resources > .mega.right {
    left: 50%;
    right: auto;
    max-width: calc(100vw - 32px);
    transform: translate(-50%, 6px);
  }

  .navbar #m-resources.open > .mega.right {
    transform: translate(-50%, 0);
  }
}

.footer .footer-lead {
  padding: 36px 0 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer .footer-lead-card {
  --dp-sweep-reveal: 0%;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-align: center;
}

.footer .footer-lead-head {
  margin-bottom: 34px;
}

.footer .footer-lead-head h2 {
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.footer .footer-lead-title {
  display: grid;
  justify-items: center;
}

.footer .footer-lead-title__base,
.footer .footer-lead-title__wash {
  grid-area: 1 / 1;
  line-height: inherit;
}

.footer .footer-lead-title__wash {
  background: linear-gradient(90deg, #0e7a5a 0%, #43cca0 38%, #83e9c4 68%, #e3fff3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 max(0%, calc(var(--dp-sweep-reveal) - 18%)), transparent var(--dp-sweep-reveal));
  mask-image: linear-gradient(90deg, #000 0%, #000 max(0%, calc(var(--dp-sweep-reveal) - 18%)), transparent var(--dp-sweep-reveal));
  transition: --dp-sweep-reveal .7s cubic-bezier(.22, 1, .36, 1);
}

.footer .footer-lead-card:is(:hover, :focus-within) {
  --dp-sweep-reveal: 118%;
}

.footer .footer-lead-head p {
  display: none;
}

.footer .footer-lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
}

.footer .footer-lead-field {
  min-width: 0;
  margin: 0;
}

.footer .footer-lead-field--wide,
.footer .footer-lead-submit {
  grid-column: 1 / -1;
}

.footer .footer-lead-field label {
  display: block;
  margin: 0 0 7px;
  color: #1b221d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.footer .footer-lead-field input,
.footer .footer-lead-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d9e2d6;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: #1b221d;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.footer .footer-lead-field input {
  min-height: 50px;
}

.footer .footer-lead-field textarea {
  min-height: 112px;
  resize: vertical;
}

.footer .footer-lead-field input:focus,
.footer .footer-lead-field textarea:focus {
  border-color: #0e7a5a;
  box-shadow: 0 0 0 3px rgba(14, 122, 90, 0.13);
}

.footer .footer-lead-field .err {
  display: none;
  margin: 6px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.footer .footer-lead-field.bad input,
.footer .footer-lead-field.bad textarea {
  border-color: #b42318;
}

.footer .footer-lead-field.bad .err {
  display: block;
}

.footer .footer-lead-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: #034737;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  transition: background 180ms ease, transform 180ms ease;
}

.footer .footer-lead-submit:hover {
  background: #0e7a5a;
}

.footer .footer-lead-submit:active {
  transform: scale(0.99);
}

.footer .footer-lead-submit:focus-visible {
  outline: 3px solid #9dceb7;
  outline-offset: 3px;
}

.footer .footer-lead-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.footer .footer-lead-success {
  display: none;
  padding: 38px 12px;
  text-align: center;
}

.footer .footer-lead-success strong {
  display: block;
  color: #1b221d;
  font-size: 22px;
  line-height: 1.25;
}

.footer .footer-lead-success p {
  margin: 8px 0 0;
  color: #72836d;
  font-size: 16px;
}

.footer .footer-lead-shell {
  display: block;
}

.footer .footer-lead-action {
  display: flex;
  justify-content: center;
}

.footer .footer-lead-prompt {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #034737;
  cursor: pointer;
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, .55);
  transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.22, .8, .24, 1);
}

.footer .footer-lead-prompt:hover {
  background: #0e9f75;
  color: #fff;
  transform: translateY(3px) scale(1.06);
}

.footer .footer-lead-card:is(:hover, :focus-within) .footer-lead-prompt {
  background: #0e9f75;
  color: #fff;
  transform: translateY(3px) scale(1.06);
}

.footer .footer-lead-prompt:focus-visible {
  outline: 3px solid #9dceb7;
  outline-offset: 5px;
}

.footer .footer-lead-prompt svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .footer .footer-lead {
    padding: 20px 0 52px;
  }

  .footer .footer-lead-card {
    padding: 0 16px;
  }

  .footer .footer-lead-head {
    margin-bottom: 26px;
  }

  .footer .footer-lead-head h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .footer .footer-lead-prompt {
    width: 62px;
    height: 62px;
  }

  .footer .footer-lead-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer .footer-lead-field,
  .footer .footer-lead-field--wide,
  .footer .footer-lead-submit {
    grid-column: 1;
  }

}

@media (prefers-reduced-motion: reduce) {
  .footer .footer-lead-title__wash,
  .footer .footer-lead-prompt,
  .footer .footer-lead-field input,
  .footer .footer-lead-field textarea,
  .footer .footer-lead-submit {
    transition: none;
  }
}

/* Top-of-page illustrations should sit directly on the hero surface. */
.hero-illustration-plain {
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-illustration-plain img {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
