:root {
  color-scheme: light;
  --ink: rgba(59, 33, 0, 1);
  --muted: #555c63;
  --card-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }


body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: rgba(255, 246, 222, 1);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

body.success-open {
  overflow: hidden;
}

body.single-question-page {
  overflow-y: hidden;
  overscroll-behavior-y: none;
}

.page {
  position: relative;
  min-height: 100vh;
}
.hero {
  position: relative;
  min-height: 39vw;
  margin-bottom: -7vw;
  overflow: hidden;
  background-color: rgba(6, 30, 72, 1);
}
.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 34vw;
  height: 30vw;
  background: url("../img/rbg.png") top right / contain no-repeat;
  content: "";
  pointer-events: none;
}
.back-button {
  position: absolute;
  z-index: 3;
  top: 16vw;
  left: 5.1vw;
  display: grid;
  width: 13vw;
  height: 13vw;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.back-button img {
  display: block;
  pointer-events: none;
  width: 13vw;
  height: 13vw;
  object-fit: contain;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 18vw 5vw 5vw;
  text-align: center;
}
.page-title {
  color: #fff;
  font-size: 5.3vw;
  font-weight: 700;
  text-transform: capitalize;
}
.hero-copy .page-title-s,
.hero-copy .subtitle {
  display: none;
}
.subtitle{
  margin-top: 1.6vw;
  font-size: 3.2vw;
  color: rgba(109, 109, 109, 1);
}
.page-info-s{
  color: rgba(15, 184, 164, 1);
  background-color: rgba(15, 184, 164, .1);
  /*width: 342px;*/
  margin-right: 6.4vw;
  margin-top: 2.4vw;
  margin-bottom: 1.3333vw;
  font-size: 3.2vw;
  padding: 1.8667vw 5.3333vw;
  border-radius: 3.2vw;
  display: flex;
  align-items: center;
}
.page-title-s-green{
  color: rgba(15, 184, 164, 1);
  font-size: 6.4vw;
  text-decoration: underline;
  text-decoration-color: rgba(252, 194, 28, 1);
  text-decoration-thickness: 1.8667vw;
  text-underline-offset: 2.1333vw;
}
.page-info-s-img img{
  width: 6.4vw;
  height: 6.4vw;
  margin-right: 1.6vw;
}
.content{
  position: relative;
  z-index: 1;
  border-radius: 7vw 7vw 0 0;
  background: linear-gradient(to bottom, rgba(255, 246, 222, 1), rgba(255, 246, 222, 1));
  border: 1px solid rgba(255, 246, 222, 1);
  min-height: 135vw;
}

.survey-progress {
  display: flex;
  align-items: center;
  gap: 4vw;
  margin: 4vw 4vw 3.6vw;
}

.survey-progress[hidden] {
  display: none;
}

.survey-progress-label {
  flex: 0 0 auto;
  color: rgba(100, 99, 106, 1);
  font-size: 3.2vw;
  line-height: 1.25;
}

.survey-progress-track {
  flex: 1 1 auto;
  height: 2vw;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(241, 227, 194, 1);
}

.survey-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(254, 171, 6, 1) 0%, rgba(254, 142, 6, 1) 100%);
  transition: width 220ms ease;
}

body.has-survey-actions .content {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}
.intro{
  margin-top: 5.3333vw;
  margin-bottom: 2.6667vw;
  padding: 0 6.4vw;
  color: rgba(82, 82, 82, 1);
  line-height: 4.8vw;
  font-size: 3.4667vw;
}

.question-list {
  padding-bottom: 1.0667vw;
}

.single-question-intro {
  margin: 4vw 4vw 3.6vw;
  padding: 4.8vw;
  border-radius: 5.3333vw;
  background: linear-gradient(90deg, rgba(254, 171, 6, 1) 0%, rgba(254, 142, 6, 1) 100%);
  color: rgba(6, 30, 72, 1);
}

.single-question-intro h2 {
  margin: 0;
  font-size: 4.8vw;
  font-weight: 750;
  line-height: 1.2;
}

.single-question-intro p {
  margin: 2.6667vw 0 0;
  font-size: 3.4667vw;
  line-height: 1.3;
}

.first-question-hint {
  margin: 3.5vw 4vw 0;
  color: rgba(100, 99, 106, 1);
  font-size: 3.7333vw;
  line-height: 1.35;
  text-align: center;
}

.question-card {
  border: 0;
  border-radius: 6.4vw;
  background: #fff;
  box-shadow: var(--card-shadow);
  width: 93.6vw;
  margin: 0 auto 3.2vw;
  padding: 5.3333vw 4.2667vw 4vw;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.question-heading {
  padding: 0 1.0667vw;
}

.question-card:active {
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}
.question-no,
.question-has {
  --status-core: #cfcfcf;
  --status-ring: #eeeeee;
  position: relative;
  flex: 0 0 3.7333vw;
  width: 3.7333vw;
  height: 3.7333vw;
  border: 0;
  border-radius: 50%;
  background: var(--status-ring);
}

.question-has {
  background: rgba(22, 163, 74, 1);
}

.question-no::before,
.question-has::before {
  content: "";
  position: absolute;
  inset: .8vw;
  border-radius: 50%;
  background: var(--status-core);
  animation: question-dot-breathe 2.4s ease-in-out infinite;
}

.question-no::after,
.question-has::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--status-core);
  border-radius: 50%;
  pointer-events: none;
  animation: question-dot-ripple 2.4s ease-out infinite;
}

.question-has::before {
  inset: auto;
  width: .8vw;
  height: 1.6vw;
  left: 50%;
  top: 44%;
  border: solid #fff;
  border-width: 0 .45vw .45vw 0;
  border-radius: 0;
  background: transparent;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: none;
}

.question-has::after {
  display: none;
}

@keyframes question-dot-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.88); }
}

@keyframes question-dot-ripple {
  0% { transform: scale(1); opacity: 0; }
  15% { opacity: 0.3; }
  75%, 100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .question-no::before,
  .question-has::before,
  .question-no::after,
  .question-has::after {
    animation: none;
  }

  .question-no::after,
  .question-has::after {
    opacity: 0;
  }
}
.question-text {
  display: block;
  color: rgba(6, 30, 72, 1);
  font-size: 4vw;
  font-weight: 700;
  line-height: 1.35;
}

.question-number {
  display: inline-flex;
  min-width: 10.4vw;
  min-height: 6.4vw;
  margin-right: 2.6667vw;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: 3.7333vw;
  font-weight: 750;
  color: rgba(6, 30, 72, 1);
  background: linear-gradient(90deg, rgba(254, 171, 6, 1) 0%, rgba(254, 142, 6, 1) 100%);
  padding: 1.0667vw 2.6667vw;
  border-radius: 999px;
}

.question-number.is-answered {
  color: #fff;
  background: rgba(22, 179, 100, 1);
}

.question-arrow {
  display: none;
}

.question-card .answer-list {
  display: grid;
  gap: 2.6667vw;
  margin-top: 4vw;
}

.question-card .answer-option {
  display: flex;
  min-height: 11.2vw;
  align-items: center;
  gap: 2.6667vw;
  padding: 3.4667vw 4vw;
  border: 0;
  border-radius: 5.3333vw;
  background: rgba(246, 246, 246, 1);
  color: rgba(55, 55, 55, 1);
  font-size: 3.7333vw;
  line-height: 1.25;
  text-align: left;
}

.question-card .answer-option:active {
  transform: scale(0.99);
}

.question-card .answer-option.is-selected {
  background: rgba(255, 241, 210, 1);
  color: rgba(6, 30, 72, 1);
  font-weight: 700;
  border: 2px solid rgba(254, 153, 7, 1);
}

.answer-radio {
  flex: 0 0 5.3333vw;
  width: 5.3333vw;
  height: 5.3333vw;
  border: 0.5333vw solid rgba(202, 195, 178, 1);
  border-radius: 50%;
  background: transparent;
}

.question-card .answer-option.is-selected .answer-radio {
  border-color: rgba(254, 153, 7, 1);
  box-shadow: inset 0 0 0 1.3333vw rgba(254, 153, 7, 1);
  background: #fff;
}

.survey-actions {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 2.4vw 3.2vw calc(4vw + env(safe-area-inset-bottom));
  background: rgba(255, 246, 222, 1);
}

.survey-actions[hidden] {
  display: none;
}

.submit-hint {
  margin: 0 0 1.6vw;
  color: rgba(100, 99, 106, 1);
  font-size: 3.2vw;
  line-height: 1.3;
  text-align: center;
}

.submit-hint[hidden] {
  display: none;
}

.submit-button {
  display: block;
  width: 100%;
  min-height: 13.8667vw;
  padding: 3.4667vw 6.4vw;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 123, 255, 1) 0%, rgba(59, 123, 255, 1) 100%);
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: 3.7333vw;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: opacity 180ms ease, box-shadow 180ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

#survey-next,
#survey-submit {
  max-width: 562px;
  margin: 0 auto;
}

.submit-button[hidden] {
  display: none;
}

.submit-button:not(:disabled) {
  background: linear-gradient(90deg,rgba(59, 123, 255, 1) 0%, rgba(31, 107, 255, 1) 100%);
  box-shadow: 0 8px 18px rgba(8, 101, 248, 0.28);
}

#survey-submit:not(:disabled) {
  background: linear-gradient(90deg, rgba(254, 171, 6, 1) 0%, rgba(254, 142, 6, 1) 100%);
  color: rgba(6, 30, 72, 1);
  box-shadow: none;
}

.submit-button:not(:disabled):active {
  box-shadow: 0 4px 10px rgba(74, 145, 229, 0.18);
  transform: scale(0.985);
}

.submit-button:disabled {
  opacity: 0.52;
  box-shadow: none;
  cursor: not-allowed;
}

#survey-submit:disabled {
  background: rgba(241, 227, 194, 1);
  color: rgba(184, 164, 124, 1);
  opacity: 1;
}

.submit-result {
  width: 93.6vw;
  margin: 0 auto;
  padding: 4.8vw;
  border: 1px solid rgba(8, 101, 248, 0.14);
  border-radius: 4.2667vw;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(32, 75, 122, 0.08);
}

.submit-result[hidden] {
  display: none;
}

.submit-result-title {
  margin-bottom: 2.6667vw;
  color: #0865f8;
  font-size: 4vw;
  font-weight: 700;
}

.submit-result-json {
  margin: 0;
  overflow-x: auto;
  color: #202936;
  font: 12px/1.55 Consolas, Monaco, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.answer-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 320ms;
}

.answer-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.answer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 29, 40, 0.53);
  opacity: 0;
  transition: opacity 280ms ease;
}

.answer-modal.is-open .answer-backdrop {
  opacity: 1;
}

.answer-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.answer-close {
  position: absolute;
  z-index: 2;
  right: 4.2667vw;
  top: -10.1333vw;
  display: grid;
  width: 6.4vw;
  height: 6.4vw;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  transform: scale(0.72) rotate(-25deg);
  transition: opacity 220ms ease 80ms, transform 280ms ease 80ms;
  -webkit-tap-highlight-color: transparent;
}

.answer-close img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.answer-modal.is-open .answer-close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.answer-sheet {
  position: relative;
  min-height: min(55vh, 610px);
  max-height: calc(100vh - 100px);
  padding: 28px 20px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -8px 28px rgba(20, 29, 40, 0.12);
  transform: translateY(102%);
  transition: transform 320ms cubic-bezier(0.22, 0.78, 0.25, 1);
}

.answer-modal.is-open .answer-sheet {
  transform: translateY(0);
}

.answer-title {
  margin: 0 0 5.8667vw;
  color: #050505;
  font-size: 4vw;
  font-weight: 750;
  line-height: 1.35;
}

.answer-list {
  display: grid;
  gap: 4.2667vw;
}

.answer-option {
  position: relative;
  width: 100%;
  padding: 4vw 13.8667vw;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(243, 245, 249, 1);
  color: #080808;
  font: inherit;
  font-size: 3.7333vw;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease,
  border-color 180ms ease, transform 140ms ease;
  -webkit-tap-highlight-color: transparent;
}

.answer-option-check {
  position: absolute;
  top: 50%;
  right: 5.3333vw;
  width: 5.3333vw;
  height: 5.3333vw;
  object-fit: contain;
  opacity: 0;
  transform: translateY(-50%) scale(0.55);
  transition: opacity 160ms ease, transform 180ms ease;
}

.answer-option:active {
  transform: scale(0.98);
}

.answer-option.is-selected {
  border-color: rgba(31, 107, 255, 1);
  background-color: white;
  color: rgba(31, 107, 255, 1);
  font-weight: 700;
}


.answer-option.is-selected .answer-option-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.answer-action {
  margin-top: 7.4667vw;
}

.answer-action[hidden] {
  display: none;
}


body.leave-survey-open {
  overflow: hidden;
}

.leave-survey-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  padding: 5.3333vw;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.leave-survey-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.leave-survey-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.52);
}

.leave-survey-card {
  position: relative;
  width: min(87.7vw, 520px);
  padding: 8vw 5.3333vw 6.4vw;
  border-radius: 7.2vw;
  background: rgba(255, 246, 222, 1);
  box-shadow: 0 3.2vw 8vw rgba(0, 0, 0, 0.16);
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.leave-survey-modal.is-open .leave-survey-card {
  transform: translateY(0) scale(1);
}

.leave-survey-title {
  margin: 0;
  color: rgba(6, 30, 72, 1);
  font-size: 5.3333vw;
  font-weight: 800;
  line-height: 1.3;
}

.leave-survey-description {
  margin: 5.8667vw 1.6vw 8vw;
  color: rgba(51, 51, 51, 1);
  font-size: 3.7333vw;
  line-height: 1.45;
}

.leave-survey-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2vw;
}

.leave-survey-button {
  min-width: 0;
  min-height: 13.3333vw;
  padding: 3.2vw 2vw;
  border-radius: 999px;
  color: rgba(6, 30, 72, 1);
  font: inherit;
  font-size: 4vw;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.leave-survey-button:active {
  transform: scale(0.98);
}

.leave-survey-button--leave {
  border: 1.5px solid rgba(6, 30, 72, 1);
  background: transparent;
}

.leave-survey-button--continue {
  border: 0;
  background: linear-gradient(90deg, rgba(254, 171, 6, 1) 0%, rgba(254, 142, 6, 1) 100%);
}

.success-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 5.3333vw;
  place-items: center;
  visibility: hidden;
  background: rgba(20, 20, 20, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}

.success-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.success-card {
  width: min(85.6vw, 114.1333vw);
  aspect-ratio: 1 / 1;
  padding: 51% 7.2% 9%;
  border-radius: 14%;
  background: url("../img/ok.png") center / 100% 100% no-repeat;
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.success-modal.is-open .success-card {
  transform: translateY(0) scale(1);
}

.success-title {
  margin: 0;
  color: #080808;
  font-size: 4.2667vw;
  font-weight: 800;
  line-height: 1.3;
}

.success-description {
  margin: 5.5% 0 7.5%;
  color: #656565;
  font-size: 3.4667vw;
  line-height: 1.35;
}

.success-back-button {
  width: 100%;
  min-height: 12vw;
  max-height: 16vw;
  padding: 3.2vw 4.8vw;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,rgba(6, 30, 72, 1) 0%, rgba(6, 30, 72, 1) 100%);
  box-shadow: 0 8px 18px rgba(6, 30, 72, 0.1);
  color: #fff;
  font: inherit;
  font-size: 3.7333vw;
  font-weight: 750;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.success-back-button:active {
  transform: scale(0.98);
}

@media (min-width: 600px) {
  .answer-panel {
    right: auto;
    left: 50%;
    width: min(100%, 600px);
    transform: translateX(-50%);
  }

  .answer-close {
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer-backdrop,
  .answer-close,
  .answer-sheet,
  .answer-option,
  .success-modal,
  .success-card {
    transition-duration: 0.01ms;
  }
}
