html:has(.mp-newsletter-popup[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.mp-newsletter-popup {
  box-sizing: border-box;
  width: min(30rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1.5rem, 6vw, 2.5rem);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #345547;
  border-radius: 1.25rem;
  background: #0d1512;
  color: #f8faf9;
  color-scheme: dark;
  box-shadow: 0 1.25rem 5rem #0007;
  font-family: inherit;
  text-align: start;
}

.mp-newsletter-popup::backdrop {
  background: rgb(0 0 0 / 68%);
}

.mp-newsletter-popup .mp-popup-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #4a5f55;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 400 1.55rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.mp-newsletter-popup .mp-popup-close:hover {
  background: #22352c;
}

.mp-newsletter-popup .mp-popup-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 2.75rem 1.15rem 0;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.25;
}

.mp-newsletter-popup .mp-popup-brand img {
  height: 1.75rem;
  width: 1.75rem;
  object-fit: contain;
}

.mp-newsletter-popup .mp-popup-brand strong {
  color: #00f781;
}

.mp-newsletter-popup h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: clamp(1.7rem, 6.2vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.07;
  text-transform: none;
}

.mp-newsletter-popup #mp-popup-intro {
  margin: .75rem 0 1.4rem;
  color: #c8d7ce;
  font-size: .96rem;
  line-height: 1.55;
}

.mp-newsletter-popup form {
  display: grid;
  gap: .65rem;
  margin: 0;
}

.mp-newsletter-popup form[hidden],
.mp-newsletter-popup [data-popup-turnstile]:empty {
  display: none;
}

.mp-newsletter-popup .mp-popup-label {
  color: inherit;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.3;
}

.mp-newsletter-popup #mp-popup-email,
.mp-newsletter-popup .mp-popup-submit {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: .75rem .85rem;
  border: 1px solid #5a7366;
  border-radius: .55rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.25;
}

.mp-newsletter-popup #mp-popup-email {
  background: #182720;
  color: inherit;
}

.mp-newsletter-popup .mp-popup-submit {
  border-color: transparent;
  background: #00f781;
  color: #05140b;
  font-weight: 750;
  cursor: pointer;
}

.mp-newsletter-popup .mp-popup-submit:not(:disabled):hover {
  background: #56ffa7;
}

.mp-newsletter-popup .mp-popup-submit:disabled {
  cursor: wait;
  opacity: .62;
}

.mp-newsletter-popup .mp-popup-consent {
  margin: .15rem 0 0;
  color: #aebfb5;
  font-size: .78rem;
  line-height: 1.5;
}

.mp-newsletter-popup .mp-popup-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.mp-newsletter-popup .mp-popup-status {
  margin: .75rem 0 0;
  color: #f2dba7;
  font-size: .875rem;
  line-height: 1.5;
}

.mp-newsletter-popup .mp-popup-status:empty {
  margin: 0;
}

.mp-newsletter-popup[data-complete] .mp-popup-status {
  padding: .9rem;
  border-radius: .55rem;
  background: #17372a;
  color: #d5f9e5;
}

.mp-newsletter-popup :focus-visible {
  outline: 2px solid #00f781;
  outline-offset: 3px;
}
