.peach-byg {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  height: 100%;
  height: 100dvh;
  font-family: Montserrat, Lato, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.peach-byg[hidden] {
  display: none !important;
}

.peach-byg__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 36, 32, 0.48);
  backdrop-filter: blur(2px);
}

.peach-byg__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: none;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #fffdfb;
  color: #303030;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(80, 40, 20, 0.22);
  padding: 26px 24px 20px;
  border: 1px solid #f2e3e3;
}

.peach-byg__dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.peach-byg__dialog:focus {
  outline: none;
}

.peach-byg__close {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 44px;
  height: 44px;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #73757c !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer;
  padding: 0 !important;
  box-shadow: none !important;
}

.peach-byg__close:hover,
.peach-byg__close:focus-visible {
  color: #303030 !important;
  background: #fcf9f9 !important;
}

.peach-byg__eyebrow {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #f38646;
  text-align: center;
}

.peach-byg__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px auto 14px;
  text-align: center;
}

.peach-byg__logo img {
  display: block;
  margin: 0 auto;
  max-height: 96px;
  max-width: 280px;
  width: auto;
  height: auto;
}

.peach-byg__title {
  margin: 0 0 8px;
  font-family: Montserrat, sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
  color: #303030;
  text-align: center;
}

.peach-byg__lede {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #424242;
  text-align: center;
}

.peach-byg__form {
  display: grid;
  gap: 12px;
}

.peach-byg__field {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #303030;
}

.peach-byg__field abbr {
  color: #39b54a;
  text-decoration: none;
}

.peach-byg__field input,
.peach-byg__field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e2d4d0;
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  color: #303030;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  box-sizing: border-box;
}

.peach-byg__field input:focus,
.peach-byg__field select:focus {
  outline: none;
  border-color: #f38646;
  box-shadow: 0 0 0 3px rgba(243, 134, 70, 0.18);
}

.peach-byg__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.peach-byg__error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff1f1;
  border: 1px solid #f0b3b3;
  color: #8f2323;
  font-size: 0.88rem;
}

.peach-byg__error[hidden] {
  display: none !important;
}

.peach-byg__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 4px 0 0;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #f38646 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box;
}

.peach-byg__submit:hover,
.peach-byg__submit:focus-visible {
  background: #e27536 !important;
  color: #fff !important;
}

.peach-byg__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.peach-byg__dismiss {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: #73757c !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none !important;
}

.peach-byg__dismiss:hover,
.peach-byg__dismiss:focus-visible {
  color: #303030 !important;
  background: transparent !important;
}

.peach-byg__trust {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: #73757c;
}

html.peach-byg-lock,
body.peach-byg-lock {
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .peach-byg {
    align-items: center;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .peach-byg__dialog {
    width: 100%;
    max-width: 420px;
    max-height: min(86dvh, var(--peach-byg-vvh, 86dvh));
    overflow: hidden;
    border-radius: 16px;
    padding: 20px 18px 16px;
    box-shadow: 0 24px 60px rgba(80, 40, 20, 0.22);
    margin-bottom: 8vh;
  }

  .peach-byg__logo {
    margin: 2px auto 10px;
  }

  .peach-byg__logo img {
    max-height: 72px;
    max-width: min(220px, 70vw);
  }

  .peach-byg__eyebrow {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .peach-byg__title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .peach-byg__lede {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .peach-byg__form {
    gap: 8px;
  }

  .peach-byg__field {
    gap: 4px;
  }

  .peach-byg__field input {
    min-height: 44px;
    font-size: 16px;
  }

  .peach-byg__submit {
    min-height: 48px;
    margin-top: 2px;
  }

  .peach-byg__dismiss {
    min-height: 44px;
    margin-top: 4px;
  }

  .peach-byg__trust {
    margin-top: 8px;
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) and (max-height: 740px) {
  .peach-byg__lede {
    display: none;
  }

  .peach-byg__logo img {
    max-height: 64px;
  }
}

.peach-byg--short {
  align-items: flex-start !important;
  padding-top: 8px !important;
}

.peach-byg--short .peach-byg__dialog {
  border-radius: 16px;
  max-height: var(--peach-byg-vvh, 100dvh);
  margin-bottom: 0;
}

.peach-byg--short .peach-byg__lede,
.peach-byg--short .peach-byg__trust {
  display: none;
}

.peach-byg--short .peach-byg__logo {
  margin-bottom: 6px;
}

.peach-byg--short .peach-byg__logo img {
  max-height: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .peach-byg__backdrop,
  .peach-byg__dialog {
    transition: none;
  }
}
