:root {
  --white: #ffffff;
  --cyan: #00B2A9;
  --purple: #412D5D;
  --red: #E71618;
  --black: #000000;
  --gray: #F0F0F0;
  --isitext: #222222;
  --isibg: #F7F7F7;
  --darkgray: #626262;
  --footertext: #908E8E;
}

html, body {
  margin: 0;
  padding: 0;
}

.modal-open {
  overflow-y: hidden;
}

* {
  font-family: "Poppins", sans-serif !important;
}

::-webkit-input-placeholder,
:-ms-input-placeholder,
:-moz-placeholder,
::-moz-placeholder {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

p:last-child {
  margin-bottom: 0;
}

.text-red {
  color: var(--red);
}

.text-cyan {
  color: var(--cyan);
}

.text-purple {
  color: var(--purple);
}

.text-white {
  color: var(--white);
}

.text-gradient {
  background: -webkit-linear-gradient(left, var(--cyan) 10%, var(--purple) 50%, var(--red) 99%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

sup {
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding: 24px 0;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 24px;
}
.site-header img {
  max-width: 360px;
}
.site-header .learn-more-btn {
  background: transparent;
  border: 3px solid var(--purple);
  border-radius: 6px;
  color: var(--purple);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  text-decoration: none;
}
.site-header .learn-more-btn:hover, .site-header .learn-more-btn:focus {
  background: var(--purple);
  color: var(--white);
}

.main-headline {
  text-align: center;
  font-size: 48px;
}

.tabs {
  display: flex;
  justify-content: center;
  justify-content: space-evenly;
  z-index: 1;
  margin-bottom: 24px;
}

.tab {
  display: flex;
  align-items: center;
  flex-basis: 33%;
  max-width: 350px;
  padding-bottom: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: left;
  padding: 8px;
  transition: box-shadow 150ms linear;
}
.tab-image {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tab-image img {
  filter: grayscale(1);
  transition: 150ms ease-in-out filter;
}
.tab-content {
  margin-left: 16px;
  color: #787878;
  transition: opacity 150ms ease-in-out;
}
.tab-content small {
  text-transform: uppercase;
  color: var(--darkgray);
  margin-bottom: 4px;
  display: block;
  font-size: 12px;
}
.tab-content .headline {
  margin: 0;
  line-height: 1.2;
  position: relative;
}
.tab-content .headline .popover-trigger {
  color: var(--black);
  border-radius: 100%;
  border: 1px solid var(--black);
  width: 16px;
  height: 16px;
  font-size: 12px;
  line-height: 14px;
  margin-left: 4px;
  display: inline-block;
  font-weight: 400;
  text-align: center;
}
.tab:hover, .tab:focus {
  border-color: var(--gray);
}
.tab:hover img, .tab:focus img {
  filter: none;
}
.tab:hover .tab-content, .tab:focus .tab-content {
  color: #333333;
}
.tab.active .tab-content {
  color: var(--black);
}
.tab.active .tab-image img {
  filter: none;
}
.tab.active .tab-content {
  opacity: 1;
}

.popover-container {
  position: relative;
}

.popover {
  position: absolute;
  z-index: 9999;
  background-color: var(--white);
  color: var(--black);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  width: 300px;
  margin-top: 12px;
  display: block;
  left: -135px;
  opacity: 1;
}
.popover:before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--white) transparent;
  pointer-events: none;
}

.application {
  display: grid;
  grid-template-columns: calc(40% - 16px) calc(60% - 16px);
  padding-top: 32px;
  padding-bottom: 32px;
  gap: 16px;
}

.app-bg {
  background: var(--black);
}

.video-screen {
  grid-row-start: 1;
  grid-row-end: 3;
  display: flex;
  justify-content: center;
}

.video-player {
  width: 312px;
  height: 656px;
}

.question-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 48px;
}

.input-screen {
  grid-column: 2;
  width: 100%;
}

.question-screen, .input-screen {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.speech-button {
  background: linear-gradient(var(--cyan), var(--purple));
  border: none;
  color: var(--white);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 2px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}
.speech-button:hover, .speech-button:focus {
  background: linear-gradient(#00c1b8, #483267);
}
.speech-button:active {
  background: linear-gradient(#009991, #35254c);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.speech-button.listening {
  background: linear-gradient(#A3A3A3, #291F36);
}
.speech-button.listening:hover, .speech-button.listening:focus {
  background: linear-gradient(#ababab, #302540);
}
.speech-button.listening:active {
  background: linear-gradient(#969696, #1d1626);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.popular-headline {
  text-align: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 0;
}

.popular-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.popular-questions button {
  background: var(--gray);
  border: none;
  font-size: 17px;
  line-height: 23px;
  padding: 16px 60px 16px 24px;
  border-radius: 8px;
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: opacity 150ms ease-in-out;
}
.popular-questions button:after {
  content: url("../images/icon-arrow-right-blue-purp.png");
  position: absolute;
  right: 24px;
  top: calc(50% - 10px);
  transition: ease-in-out 150ms all;
}
.popular-questions button:hover, .popular-questions button:focus {
  background: whitesmoke;
}
.popular-questions button:hover:after, .popular-questions button:focus:after {
  transform: translateX(8px);
}
.popular-questions button:active {
  background: #e3e3e3;
}
.popular-questions.has-question button {
  opacity: 0.6;
}
.popular-questions.has-question button.selected {
  opacity: 1;
}

.popular-questions-group .back-button {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  line-height: 1;
  margin: 16px 0;
  color: white;
  cursor: pointer;
}
.popular-questions-group .back-button img {
  margin-right: 8px;
  filter: invert(1);
}
.popular-questions-group .back-button:hover, .popular-questions-group .back-button:focus {
  text-decoration: underline;
}
.popular-questions-group .questions-group {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.popular-questions-group .questions-group button {
  position: relative;
  border-radius: 0;
  background: var(--gray);
  padding: 20px 24px;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  text-transform: uppercase;
  padding-right: 40px;
}
.popular-questions-group .questions-group button:before {
  content: "";
  width: calc(100% - 40px);
  position: absolute;
  bottom: 0%;
  left: 20px;
  border-bottom: 1px solid #E2E2E2;
}
.popular-questions-group .questions-group button:after {
  content: url("../images/icon-chevron-right-blue-purp.png");
  position: absolute;
  right: 24px;
  top: calc(50% - 10px);
  transition: ease-in-out 150ms all;
}
.popular-questions-group .questions-group button:last-child:before {
  content: unset;
}
.popular-questions-group .questions-group button:hover, .popular-questions-group .questions-group button:focus {
  background: whitesmoke;
}
.popular-questions-group .questions-group button:hover:after, .popular-questions-group .questions-group button:focus:after {
  transform: translateX(4px);
}
.popular-questions-group .questions-group button:active {
  background: #e3e3e3;
}
.popular-questions-group .questions-group.questions button {
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  text-transform: unset;
}
.popular-questions-group .questions-group.questions button:after {
  content: url("../images/icon-arrow-right-blue-purp.png");
  width: 14px;
}

.more-questions {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--white);
  background: transparent;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.more-questions:hover, .more-questions:focus, .more-questions:active, .more-questions:visited {
  color: var(--cyan);
}

.custom-input {
  border: 1px solid var(--gray);
  border-radius: 4px;
  display: flex;
  width: 100%;
  overflow: hidden;
  background-color: var(--white);
}
.custom-input input {
  background: transparent;
  border: none;
  flex-grow: 1;
  width: 100%;
  padding: 16px;
  outline: none;
}
.custom-input input:disabled {
  background: var(--gray);
}
.custom-input button {
  background: transparent;
  border: none;
  padding-right: 24px;
  cursor: pointer;
  border-radius: 0;
}
.custom-input button img {
  transition: ease-in-out 150ms all;
}
.custom-input button:hover img, .custom-input button:focus img {
  transform: translateX(8px);
}
.custom-input button:disabled {
  background: var(--gray);
}
.custom-input.focused {
  border: 1px solid var(--cyan);
}
.custom-input.error {
  border: 1px solid var(--red) !important;
}
.custom-input.error button {
  background: var(--red) !important;
}

.app-footer {
  text-align: center;
  padding: 64px 0;
  max-width: 975px;
  margin: 0 auto;
}
.app-footer h2 {
  font-size: 45px;
  line-height: 1.2;
  font-weight: 700;
  max-width: 750px;
  color: var(--purple);
  margin: 0 auto 1.5rem auto;
}
.app-footer p {
  font-size: 20px;
  line-height: 30px;
}
.app-footer a {
  color: var(--red);
  text-decoration: none;
}
.app-footer a:hover, .app-footer a:focus, .app-footer a:active {
  color: var(--red);
  text-decoration: underline;
}

.isi {
  background-color: var(--isibg);
  color: var(--isitext);
  padding: 48px 0;
}
.isi .container {
  padding-left: 48px;
  padding-right: 48px;
}
.isi h2 {
  font-size: 25px;
  line-height: 38px;
  margin-top: 0;
}
.isi h3 {
  margin-bottom: 0;
}
.isi h3, .isi p, .isi li {
  font-size: 21px;
  line-height: 30px;
}
.isi p {
  margin-top: 0;
}
.isi ul {
  padding-left: 0;
  margin-left: 16px;
}

.site-footer {
  padding: 48px 0;
  margin: 0;
  color: var(--footertext);
}
.site-footer a {
  color: var(--footertext);
}
.site-footer .footer-branding {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  max-width: 480px;
  margin-bottom: 24px;
}
.site-footer .footer-info p {
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 0;
}
.site-footer .footer-links {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.site-footer .footer-links a {
  font-size: 14px;
}

.loadingContainer {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  width: 100px;
}
.loadingContainer span {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  float: left;
  margin: 0 3px;
  background: var(--white);
}
.loadingContainer .ball1 {
  z-index: 1;
  animation: bounce 2s infinite ease-in-out;
}
.loadingContainer .ball2 {
  animation: bounce 2s infinite ease-in-out;
  animation-delay: 250ms;
}
.loadingContainer .ball3 {
  animation: bounce 2s infinite ease-in-out;
  animation-delay: 500ms;
}
.loadingContainer .ball4 {
  animation: bounce 2s infinite ease-in-out;
  animation-delay: 1000ms;
}

.npi-dialog {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: white;
  display: flex;
  text-align: center;
  justify-content: center;
  align-content: center;
  padding-top: calc(50vh - 200px);
}
.npi-dialog .container {
  max-width: 650px;
  max-height: 420px;
}
.npi-dialog .custom-input {
  max-width: 400px;
  margin: 0 auto;
}
.npi-dialog .custom-input input:disabled {
  background: var(--gray);
}
.npi-dialog .custom-input button {
  background: var(--purple);
}
.npi-dialog .custom-input button:disabled {
  background: var(--gray);
}
.npi-dialog .custom-input button:disabled:hover, .npi-dialog .custom-input button:disabled:focus {
  cursor: not-allowed;
}
.npi-dialog .custom-input button:disabled:hover img, .npi-dialog .custom-input button:disabled:focus img {
  transform: none;
}
.npi-dialog .custom-input.focused {
  border: 1px solid var(--purple);
}
.npi-dialog h2 {
  font-size: 37px;
  line-height: 47px;
}
.npi-dialog p {
  font-size: 17px;
  line-height: 20px;
}
.npi-dialog p, .npi-dialog h2 {
  color: var(--purple);
}
.npi-dialog .npi-results {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.npi-dialog .close-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  background: transparent;
  border: none;
  transition: 150ms ease-in-out filter;
  cursor: pointer;
}
.npi-dialog .close-btn:hover {
  filter: brightness(0.5);
}

@keyframes bounce {
  0%, 15% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -15px);
  }
  85%, 100% {
    transform: translate(0, 0);
  }
}
[x-cloak] {
  display: none !important;
}

.video {
  position: relative;
}
.video video {
  max-width: 100%;
}

.wistia_responsive_padding::before, .video::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: inset 0 -25px 40px black, inset -40px 0 40px black, inset 40px 0 40px black;
}

@media screen and (max-width: 1100px) {
  .site-header img {
    max-width: 300px;
  }
  .site-footer .footer-branding {
    justify-content: center;
  }
  .site-footer .footer-branding img {
    max-width: 145px;
  }
}
@media screen and (max-width: 1024px) {
  .main-headline {
    font-size: 36px;
  }
  .speech-button {
    font-size: 20px;
  }
  .speech-button img {
    max-width: 24px;
  }
  .question-screen, .input-screen {
    max-width: 450px;
  }
  .popular-headline {
    font-size: 18px;
  }
  .popular-questions button {
    font-size: 14px;
  }
  .popular-questions-group .questions-group button {
    font-size: 14px;
  }
  .more-questions {
    font-size: 16px;
  }
  .app-footer {
    padding: 36px 0;
  }
  .app-footer h2 {
    font-size: 34px;
  }
  .app-footer p {
    font-size: 16px;
    padding-left: 36px;
    padding-right: 36px;
  }
  .isi {
    padding: 36px 0;
  }
  .isi h2 {
    font-size: 20px;
    line-height: 30px;
  }
  .isi h3, .isi p, .isi li {
    font-size: 16px;
    line-height: 19px;
  }
}
@media screen and (max-width: 900px) {
  .question-screen, .input-screen {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 767px) {
  .site-header .learn-more-btn {
    font-size: 14px;
    padding: 12px;
  }
  .main-headline {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 32px;
  }
  .tabs-container {
    min-height: 64px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 16px;
  }
  .tabs {
    border: none;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
  }
  .tabs.opened {
    position: absolute;
    background: white;
    width: 100%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
  }
  .tabs.opened .tab {
    display: flex;
    background: var(--white);
    border-radius: 0;
  }
  .tabs.opened .tab::after {
    content: unset;
  }
  .tabs.opened .tab:first-child {
    border-radius: 8px 8px 0 0;
  }
  .tabs.opened .tab:last-child {
    border-radius: 0 0 8px 8px;
  }
  .tabs.opened .tab:not(:last-child) {
    border-bottom: 0;
  }
  .tab {
    position: relative;
    display: none;
    flex-basis: 100%;
    border: 1px solid var(--gray);
    border-radius: 8px;
    max-width: 600px;
    padding-right: 32px;
    width: 100%;
  }
  .tab-image {
    height: 45px;
    width: 45px;
  }
  .tab-content small {
    font-size: 10px;
  }
  .tab-content br {
    display: none;
  }
  .tab-content .headline:after {
    content: unset;
  }
  .tab.active {
    display: flex;
    box-shadow: none;
  }
  .tab.active:hover, .tab.active:focus {
    border-color: var(--gray);
  }
  .tab:after {
    content: url("../images/icon-chevron-down.png");
    position: absolute;
    right: 16px;
    top: calc(50% - 8px);
    width: 10px;
    height: 16px;
  }
  .popover-container {
    display: none;
  }
  .video-screen {
    display: unset;
    grid-row-end: 2;
  }
  .video-player {
    width: 100%;
    height: unset;
  }
  .input-screen {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  .custom-input input {
    font-size: 12px;
    padding: 12px;
  }
  .custom-input button {
    padding: 12px;
  }
  .custom-input button img {
    scale: 0.8;
  }
  .loadingContainer {
    width: 30px;
    margin-left: 4px;
  }
  .loadingContainer span {
    height: 4px;
    width: 4px;
    margin: 0 1px;
  }
  @keyframes bounce {
    0%, 15% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(0, -8px);
    }
    85%, 100% {
      transform: translate(0, 0);
    }
  }
  .popular-headline {
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
  }
  .popular-questions {
    gap: 8px;
  }
  .popular-questions button {
    font-size: 11px;
    line-height: 1.2;
    padding: 12px 32px 12px 12px;
  }
  .popular-questions button:after {
    transform: scale(0.6);
    right: 8px;
  }
  .popular-questions button:hover:after, .popular-questions button:focus:after {
    transform: translateX(4px) scale(0.6);
  }
  .popular-questions-group .back-button {
    font-size: 10px;
    line-height: 1;
  }
  .popular-questions-group .back-button img {
    width: 6px;
  }
  .popular-questions-group .questions-group button {
    font-size: 10px;
    line-height: 12px;
    padding: 12px 16px;
    padding-right: 24px;
  }
  .popular-questions-group .questions-group button:before {
    width: calc(100% - 24px);
    left: 12px;
  }
  .popular-questions-group .questions-group button:after {
    transform: scale(0.6);
    right: 12px;
  }
  .popular-questions-group .questions-group button:hover:after, .popular-questions-group .questions-group button:focus:after {
    transform: translateX(4px) scale(0.6);
  }
  .popular-questions-group .questions-group.questions button {
    font-size: 10px;
    line-height: 13px;
  }
  .more-questions {
    font-size: 11px;
    line-height: 1.2;
    margin: 0;
  }
  .app-footer {
    padding-top: 0;
    padding-bottom: 32px;
  }
  .app-footer h2 {
    font-size: 20px;
    line-height: 1.2;
  }
  .app-footer p {
    font-size: 13px;
    line-height: 1.5;
    padding-left: 0;
    padding-right: 0;
  }
  .isi {
    padding: 32px 0;
  }
  .isi .container {
    padding: 0 16px;
  }
  .isi h2 {
    font-size: 17px;
    line-height: 26px;
  }
  .isi h3, .isi p, .isi li {
    font-size: 13px;
    line-height: 16px;
  }
  .site-footer .footer-info {
    padding-left: 32px;
    padding-right: 32px;
  }
  .site-footer .footer-info p {
    font-size: 10px;
    line-height: 12px;
  }
  .site-footer .footer-links a {
    font-size: 10px;
  }
  .site-footer .prc-code {
    font-size: 8px;
  }
}
@media screen and (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
  }
  .site-header .learn-more-btn {
    display: none;
  }
  .speech-button {
    font-size: 13px;
    gap: 12px;
    padding: 12px;
    min-height: 40px;
  }
  .speech-button img {
    max-width: 12px;
  }
}
@media screen and (max-width: 400px) {
  .site-footer .footer-branding img {
    max-width: 120px;
  }
}
