/* Shared demo dialog. Standalone so the homepage and website-builder page match. */
.wb-demo {
  position: fixed;
  inset: 0;
  z-index: 59;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #1e1e41;
  font-family: Nunito, Arial, sans-serif;
}
.wb-demo.hidden,
.wb-demo [hidden] {
  display: none;
}
.wb-demo *,
.wb-demo *::before,
.wb-demo *::after {
  box-sizing: border-box;
}
.wb-demo__overlay {
  position: absolute;
  inset: 0;
  background: #30253f91;
  backdrop-filter: blur(8px);
}
.wb-demo__panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  width: 100%;
  max-width: 990px;
  min-height: 580px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 10px 32px;
  background: #fff;
  box-shadow: 0 22px 90px #14102d50;
  outline: none;
}
.wb-demo svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wb-demo button {
  cursor: pointer;
  font-family: 'Uni Neue', Arial, sans-serif;
}
.wb-demo button:focus-visible {
  outline: 3px solid #9f70e1;
  outline-offset: 4px;
}
.wb-demo button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.wb-demo__close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid #e8e3ee;
  border-radius: 50%;
  background: #fff;
  color: #797282;
}
.wb-demo__close:hover {
  background: #f5f0fb;
  color: #1e1e41;
}
.wb-demo__close svg {
  width: 18px;
  height: 18px;
}
.wb-demo__art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #25213f;
  padding: 36px 30px;
  color: #fff;
}
.wb-demo__logo {
  display: block;
  width: 78px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.wb-demo__art-title {
  font:
    800 37px/1.05 'Uni Neue',
    Arial,
    sans-serif;
  margin: 35px 0 0;
  position: relative;
  z-index: 2;
  letter-spacing: -0.5px;
}
.wb-demo__art-title span {
  color: #cbadf8;
}
.wb-demo__preview {
  position: relative;
  margin-top: 38px;
  transform: rotate(-6deg);
  z-index: 2;
}
.wb-demo__browser {
  width: 95%;
  border: 3px solid #19182f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: -9px 9px 0 #11112955;
  background: #19182f;
  transform: translateZ(0);
  isolation: isolate;
}
.wb-demo__browserbar {
  display: flex;
  gap: 4px;
  height: 25px;
  align-items: center;
  padding: 0 9px;
  background: #fffaf1;
  position: relative;
  color: #1e1e41;
  box-shadow: 0 1px 0 #19182f;
  z-index: 1;
}
.wb-demo__browserbar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff7d81;
}
.wb-demo__browserbar span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font:
    700 9px 'Uni Neue',
    Arial,
    sans-serif;
}
.wb-demo__preview img,
.wb-demo__preview picture {
  display: block;
  width: 100%;
  height: auto;
}
.wb-demo__phone {
  width: 26%;
  position: absolute;
  right: -12px;
  top: 64px;
  border: 3px solid #19182f;
  border-radius: 13px;
  overflow: hidden;
  transform: rotate(11deg) translateZ(0);
  background: #fff;
  box-shadow: -5px 7px 0 #11112933;
}
.wb-demo__phone > i {
  display: block;
  width: 32%;
  height: 3px;
  background: #1e1e41;
  border-radius: 4px;
  margin: 5px auto;
}
.wb-demo__hours {
  position: absolute;
  bottom: 31px;
  left: 31px;
  background: #ffd672;
  width: 81px;
  height: 81px;
  border-radius: 50%;
  color: #1e1e41;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font:
    800 32px 'Uni Neue',
    Arial,
    sans-serif;
  transform: rotate(-9deg);
  z-index: 3;
}
.wb-demo__hours > span {
  font-size: 19px;
}
.wb-demo__hours svg {
  position: absolute;
  width: 17px;
  right: 10px;
  top: 9px;
  opacity: 0.6;
}
.wb-demo__circle {
  position: absolute;
  z-index: -1;
  width: 400px;
  height: 400px;
  background: #a788cb;
  border-radius: 50%;
  right: -180px;
  bottom: -150px;
}
.wb-demo__diamond {
  position: absolute;
  z-index: -1;
  width: 48px;
  height: 48px;
  background: #91e997;
  right: -17px;
  top: 27px;
  transform: rotate(45deg);
}
.wb-demo__content {
  min-width: 0;
  padding: 62px 42px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wb-demo__title {
  margin: 0;
  max-width: 390px;
  font:
    800 34px/1.1 'Uni Neue',
    Arial,
    sans-serif;
  letter-spacing: -0.6px;
  overflow-wrap: break-word;
}
.wb-demo__description {
  font:
    400 14px/1.75 Nunito,
    Arial,
    sans-serif;
  color: #6a6374;
  margin: 20px 0 28px;
}
.wb-demo__email-field {
  height: 56px;
  border: 1px solid #d9d2e4;
  border-radius: 7px;
  background: #fdfcfe;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.wb-demo__email-field:focus-within {
  border-color: #9873c7;
  box-shadow: 0 0 0 3px #cbadf82b;
}
.wb-demo__email-field svg {
  width: 20px;
  height: 20px;
  color: #9b90a7;
  flex-shrink: 0;
}
.wb-demo__email-field input {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  font:
    400 15px/1.5 Nunito,
    Arial,
    sans-serif;
  color: #1e1e41;
}
.wb-demo__email-field input::placeholder {
  color: #84798f;
  opacity: 1;
}
.wb-demo__submit {
  position: relative;
  margin-top: 16px;
  border: 0;
  border-radius: 6px 14px;
  background: #ffd672;
  color: #1e1e41;
  min-height: 54px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 800;
  box-shadow: 0 4px 0 #efc85f55;
}
.wb-demo__submit > svg {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.wb-demo__submit:hover:not(:disabled) {
  background: #ffdf8d;
}
.wb-demo__submit[aria-busy='true'] > svg {
  visibility: hidden;
}
.wb-demo__cancel {
  display: block;
  background: transparent;
  border: 0;
  font-size: 14px;
  line-height: 1.5;
  margin: 18px auto 0;
  color: #756c82;
  padding: 5px 12px;
  font-weight: 700;
}
.wb-demo__cancel:hover:not(:disabled) {
  text-decoration: underline;
}
.wb-demo__success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d7f2cd;
  margin-bottom: 24px;
  color: #335632;
}
.wb-demo__success-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}
.wb-demo__error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  margin-bottom: 18px;
  border: 1px solid #efc0c3;
  border-radius: 8px;
  background: #fff2f2;
  color: #842f40;
  font-size: 13px;
  line-height: 1.6;
}
.wb-demo__error > span {
  flex: 1;
}
.wb-demo__error-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.wb-demo__error-dismiss {
  background: none;
  border: 0;
  color: inherit;
  padding: 2px;
  flex-shrink: 0;
}
.wb-demo__error-dismiss svg {
  width: 20px;
  height: 20px;
}
.wb-demo__email-error {
  color: #842f40;
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0 0;
}
@media (max-width: 1000px) {
  .wb-demo__content {
    padding: 55px 30px 26px;
  }
  .wb-demo__art {
    padding: 32px 24px;
  }
  .wb-demo__art-title {
    font-size: 32px;
  }
  .wb-demo__title {
    font-size: 30px;
  }
}
@media (min-width: 701px) and (max-height: 640px) {
  .wb-demo__panel {
    min-height: 0;
  }
}
@media (max-width: 700px) {
  .wb-demo {
    padding: 12px;
  }
  .wb-demo__panel {
    display: block;
    max-width: 440px;
    min-height: 0;
    max-height: calc(100dvh - 24px);
    border-radius: 8px 24px;
  }
  .wb-demo__art {
    height: 155px;
    padding: 22px;
  }
  .wb-demo__logo {
    width: 62px;
  }
  .wb-demo__art-title {
    font-size: 22px;
    max-width: 47%;
    margin-top: 15px;
  }
  .wb-demo__preview {
    position: absolute;
    right: 16px;
    top: 33px;
    width: 140px;
    margin: 0;
  }
  .wb-demo__phone {
    top: 38px;
    right: -2px;
    border-width: 2px;
    border-radius: 7px;
  }
  .wb-demo__phone > i {
    height: 2px;
    margin: 3px auto;
  }
  .wb-demo__browser {
    border-width: 2px;
    border-radius: 7px;
  }
  .wb-demo__browserbar {
    height: 14px;
    padding: 0 5px;
    gap: 2px;
  }
  .wb-demo__browserbar i {
    width: 3px;
    height: 3px;
  }
  .wb-demo__browserbar span {
    font-size: 5px;
  }
  .wb-demo__circle {
    width: 240px;
    height: 240px;
    right: -95px;
    bottom: -135px;
  }
  .wb-demo__hours {
    width: 40px;
    height: 40px;
    font-size: 19px;
    bottom: 9px;
    left: auto;
    right: 109px;
  }
  .wb-demo__hours > span {
    font-size: 12px;
  }
  .wb-demo__hours svg {
    display: none;
  }
  .wb-demo__close {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    padding: 6px;
  }
  .wb-demo__content {
    padding: 26px 23px 22px;
  }
  .wb-demo__title {
    font-size: 27px;
  }
  .wb-demo__description {
    font-size: 13px;
    line-height: 1.75;
    margin: 15px 0 21px;
  }
  .wb-demo__email-field {
    height: 52px;
    padding: 0 12px;
  }
  .wb-demo__email-field input {
    font-size: 16px;
  }
  .wb-demo__submit {
    min-height: 50px;
    font-size: 18px;
    padding: 10px 15px;
  }
  .wb-demo__cancel {
    margin-top: 14px;
  }
}
