
/* modal */
.Quiz[hidden] {
  display: none;
}
.Quiz {
  position: fixed;
  z-index: 10;
  inset: 0;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}
.QuizBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .48);
  animation: slate-show .3s ease both;
}
.QuizPanel {
  position: relative;
  width: min(47.5rem, 100%);
  height: auto;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  border-radius: 1.5rem;
  background: rgb(255, 255, 255);
  box-shadow: 0 1rem 3.75rem rgba(0, 0, 0, .1);
  animation: birch-go .35s cubic-bezier(.2, .75, .2, 1) both;
}
.QuizClose {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  right: 1.75rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgb(115, 115, 115);
  font-size: 1.9375rem;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s ease, background-color .2s ease;
}
.QuizClose:focus-visible {
  opacity: 1;
}
.QuizClose:hover {
  background: rgb(245, 245, 245);
}
.QuizStage {
  min-height: 100%;
}
@media (max-width: 56.25em) {
  .Quiz {
    align-items: center;
    padding: 1rem;
  }
  .QuizPanel {
    flex: 0 0 auto;
    width: min(100%, 31.25rem);
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border-radius: 1.125rem;
  }
  .QuizClose {
    top: 0.875rem;
    right: 0.875rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.625rem;
  }
}
@media (max-width: 23.125em) {
  .Quiz {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

/* steps */
.Question {
  display: flex;
  flex-direction: column;
  padding: 3.375rem 3.25rem 3.125rem;
}
.QuestionCount {
  margin: 0;
  color: rgb(115, 115, 115);
  font-size: 1.25rem;
  font-weight: 500;
}
.QuestionTitle {
  margin: 1.875rem 0 0;
  font-size: 2.625rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}
.Answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.125rem;
  margin-top: 2.375rem;
}
.Answer {
  width: 100%;
  min-height: 4.5rem;
  padding: 1.125rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.875rem;
  background: rgb(245, 245, 245);
  color: rgb(32, 30, 30);
  text-align: left;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.Answer:hover {
  background: rgb(252, 230, 229);
  transform: translateY(-0.125rem);
}
.Answer:active, .Answer.IsPicked {
  border-color: rgb(237, 82, 87);
  background: rgb(255, 242, 241);
  transform: none;
}
.QuestionHint {
  margin: auto 0 0;
  padding-top: 1.875rem;
  color: rgb(115, 115, 115);
  font-size: 1rem;
}
.Result {
  padding: 3.75rem 3.25rem;
}
.ResultTitle {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.02em;
}
.ResultText {
  margin: 1.625rem 0 0;
  font-size: 1.4375rem;
  line-height: 1.3;
}
.LeadForm {
  margin-top: 2.5rem;
}
.ResultLabel {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 1rem;
  font-weight: 500;
}
.ResultInput {
  display: block;
  width: 100%;
  height: 3.625rem;
  padding: 0 1.125rem;
  border: 1px solid rgb(199, 199, 199);
  border-radius: 0.75rem;
  background: rgb(255, 255, 255);
  color: rgb(32, 30, 30);
  font-size: 1.125rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ResultInput::placeholder {
  color: rgb(115, 115, 115);
  opacity: 1;
}
.ResultInput:focus {
  outline: none;
  border-color: rgb(237, 82, 87);
  box-shadow: 0 0 0 3px rgba(237, 82, 87, .12);
}
.ResultSubmit {
  width: 22.5rem;
  max-width: 100%;
  height: 3.375rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
}
.ResultSubmit:disabled {
  background: rgb(184, 184, 184);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.ResultHelp {
  margin: 0.75rem 0 0;
  color: rgb(115, 115, 115);
  font-size: 0.9375rem;
}
.ResultHelp[hidden] {
  display: none;
}
.QuizStage > .IsEntering {
  animation: lumen-go .3s cubic-bezier(.2, .7, .15, 1) both;
}
.QuizStage > .IsLeaving {
  animation: zinc-go .18s ease-in both;
}
@media (max-height: 56.25em) and (min-width: 56.3125em) {
  .Question {
    padding: 3.625rem 4rem 3rem;
  }
  .QuestionTitle {
    margin-top: 1.5625rem;
    font-size: 2.5rem;
  }
  .Answers {
    position: static;
    gap: 0.875rem 1.5rem;
    margin-top: 2.1875rem;
  }
  .Answer {
    min-height: 4.5rem;
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
  }
  .QuestionHint {
    margin-top: 2rem;
    padding: 0;
    font-size: 1rem;
  }
  .Result {
    padding-top: 4.375rem;
  }
  .ResultTitle {
    font-size: 2.5rem;
  }
  .ResultText {
    margin-top: 1.75rem;
    font-size: 1.4375rem;
  }
  .LeadForm {
    margin-top: 2.5rem;
  }
  .ResultLabel {
    font-size: 1rem;
  }
  .ResultInput {
    height: 3.75rem;
    font-size: 1.125rem;
  }
  .ResultSubmit {
    height: 3.375rem;
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }
  .ResultHelp {
    font-size: 1rem;
  }
}
@media (max-width: 56.25em) {
  .Question {
    min-height: 0;
    padding: 3.5rem 1.5rem 1.75rem;
  }
  .QuestionCount {
    font-size: 0.9375rem;
  }
  .QuestionTitle {
    margin-top: 1.25rem;
    font-size: 1.625rem;
    line-height: 1.17;
    letter-spacing: -.02em;
  }
  .Answers {
    position: static;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .Answer {
    min-height: 3.5rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
    font-size: 1.0625rem;
  }
  .QuestionHint {
    padding-top: 1.25rem;
    font-size: 0.875rem;
  }
  .Result {
    min-height: 0;
    padding: 3.5rem 1.5rem 2rem;
  }
  .ResultTitle {
    font-size: 1.8125rem;
    line-height: 1.17;
  }
  .ResultText {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.24;
  }
  .LeadForm {
    margin-top: 2rem;
  }
  .ResultLabel {
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
  }
  .ResultInput {
    height: 3.375rem;
    padding: 0 0.8125rem;
    border-radius: 0.5rem;
    font-size: 1.0625rem;
  }
  .ResultSubmit {
    width: 100%;
    height: 3.25rem;
    margin-top: 1.25rem;
    font-size: 1rem;
  }
  .ResultHelp {
    margin-top: 0.75rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 23.125em) {
  .Question {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .Result {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
@keyframes slate-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes birch-go { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes lumen-go { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes zinc-go { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px); } }
