:root {
  color-scheme: light;
}

html {
  min-width: 320px;
  background: #fff;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
}

.site-header .nav-wrap {
  justify-content: flex-start;
}

.site-header .brand {
  border: 0;
  pointer-events: none;
  user-select: none;
}

.hero-actions {
  margin-top: 55px;
}

#hello-consult {
  min-width: 270px;
  min-height: 50px;
  padding: 13px 32px;
  border: 0;
  border-radius: 27px;
  color: #17233c;
  background: #ff9c00;
  box-shadow: 0 7px 15px rgb(13 108 166 / 33%);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

#hello-consult:hover {
  background: #f08f00;
  box-shadow: 0 10px 22px rgb(5 64 124 / 38%);
  transform: translateY(-1px);
}

#hello-consult:active {
  transform: translateY(1px) scale(.99);
}

#hello-consult:focus-visible,
.hello-trial-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.hello-trial-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(10 16 35 / 68%);
  backdrop-filter: blur(5px);
}

.hello-trial-modal[hidden] {
  display: none;
}

.hello-trial-dialog {
  position: relative;
  width: min(430px, calc(100vw - 32px));
  padding: 34px 30px 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(0 0 0 / 30%);
  text-align: center;
}

.hello-trial-title {
  margin: 0 0 20px;
  color: #17233c;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.hello-trial-qr {
  display: block;
  width: min(320px, 74vw);
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

.hello-trial-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e7edf5;
  color: #26344d;
  font-size: 27px;
  line-height: 38px;
  cursor: pointer;
}

.hello-trial-close:focus-visible {
  outline-color: #0b72c9;
}

body.hello-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .site-header .nav-wrap {
    padding-inline: 24px;
  }

  .hero-inner {
    padding-top: 120px;
  }

  .hero-actions {
    margin-top: 35px;
  }

  #hello-consult {
    width: min(310px, 86vw);
    min-width: min(310px, 86vw);
  }

  .hello-trial-dialog {
    padding: 30px 18px 22px;
  }

  .hello-trial-title {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hello-consult {
    transition: none;
  }
}
