:root {
  --ink: #14152d;
  --muted: #686a7d;
  --line: #e6e7ef;
  --surface: #ffffff;
  --soft: #f5f5fa;
  --violet: #7458f4;
  --violet-dark: #5a3ee7;
  --pink: #e85b9a;
  --orange: #ff8a4c;
  --shadow: 0 28px 80px rgba(36, 25, 94, 0.12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfbfe;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

.start-page {
  background: #fdfdfe;
}

.start-shell {
  width: min(100% - 32px, 680px);
  margin: 0 auto;
  padding: 34px 0 48px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(80, 54, 195, 0.22);
}

.brand strong {
  color: var(--violet);
  font-weight: 600;
}

.brand--start {
  margin-bottom: 27px;
}

.start-card {
  padding: clamp(30px, 6vw, 52px);
  border: 1px solid #f0f0f5;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(36, 25, 94, 0.07);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.start-card h1 {
  max-width: 540px;
  margin: 17px auto 13px;
  font-size: clamp(32px, 5vw, 43px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.start-subtitle {
  max-width: 540px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0 auto 30px;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 13px;
  border-radius: 14px;
  background: #fafafd;
}

.feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--violet);
  background: #efedff;
  font-weight: 600;
}

.feature-item strong,
.feature-item small {
  display: block;
}

.feature-item strong {
  margin-bottom: 3px;
  font-weight: 500;
}

.feature-item small {
  color: var(--muted);
  font-size: 13px;
}

.gender-label {
  margin: 0 0 13px;
  font-weight: 500;
}

.gender-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.primary-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(115deg, var(--violet-dark), var(--violet));
  box-shadow: 0 10px 22px rgba(103, 77, 234, 0.18);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(103, 77, 234, 0.3);
}

.primary-button:focus-visible,
.answer-button:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(116, 88, 244, 0.32);
  outline-offset: 3px;
}

.text-button {
  grid-column: 1 / -1;
  padding: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.today-score {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.today-score span {
  color: #28b47b;
}

.legal-copy {
  max-width: 610px;
  margin: 21px auto 0;
  color: #9293a1;
  font-size: 11px;
  line-height: 1.45;
}

.quiz-page {
  background: #fff;
}

.quiz-app {
  min-height: 100vh;
}

.quiz-header {
  position: sticky;
  z-index: 5;
  top: 0;
  padding: 19px clamp(18px, 7vw, 88px) 15px;
  border-bottom: 1px solid rgba(230, 231, 239, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.quiz-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto 15px;
}

.quiz-header .brand {
  grid-column: 2;
}

.quiz-header .brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.timer {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(25, 20, 65, 0.05);
}

.timer svg {
  width: 19px;
  height: 19px;
  color: var(--violet);
}

.timer--hidden {
  visibility: hidden;
}

.progress-track {
  width: min(100%, 1120px);
  height: 7px;
  margin: auto;
  overflow: hidden;
  border-radius: 999px;
  background: #efeff5;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--orange));
  transition: width 320ms ease;
}

.quiz-content {
  display: flex;
  min-height: calc(100vh - 103px);
  flex-direction: column;
  align-items: center;
  padding: clamp(34px, 6vh, 70px) 20px 30px;
}

.question-wrap {
  width: min(100%, 650px);
  text-align: center;
  animation: enter 260ms ease both;
}

.question-category {
  margin: 0 0 11px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.question-wrap h1 {
  margin: 0 auto 15px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.question-hint {
  margin: 0 auto 29px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.stimulus {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f7f7fc);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: 0.07em;
}

.stimulus--small {
  font-size: clamp(20px, 4vw, 30px);
}

.answers {
  display: grid;
  gap: 11px;
  text-align: left;
}

.answers--grid {
  grid-template-columns: repeat(2, 1fr);
}

.answer-button {
  display: flex;
  min-height: 59px;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  border-radius: 17px;
  color: var(--ink);
  background: #f4f4f8;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.answer-button:hover {
  border-color: rgba(116, 88, 244, 0.25);
  background: #efedff;
  transform: translateY(-1px);
}

.answer-letter {
  display: grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.answer-button.is-selected {
  border-color: var(--violet);
  color: var(--violet-dark);
  background: #eeebff;
}

.answer-button.is-selected .answer-letter {
  color: #fff;
  background: var(--violet);
}

.answer-check {
  width: 22px;
  height: 22px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.final-survey-actions {
  margin-top: 28px;
}

.final-survey-actions .primary-button {
  width: 100%;
}

.final-survey-actions p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.question-wrap--visual {
  width: min(100%, 1080px);
}

.visual-question-layout {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(330px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
  margin-top: 28px;
}

.visual-puzzle {
  padding: clamp(17px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.matrix-svg {
  display: block;
  width: 100%;
  height: auto;
}

.matrix-svg rect,
.matrix-svg circle,
.matrix-svg polygon,
.answer-button--visual svg rect,
.answer-button--visual svg circle,
.answer-button--visual svg polygon {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.matrix-svg .matrix-missing rect {
  stroke: var(--violet);
  stroke-width: 3;
}

.matrix-svg .matrix-missing text {
  fill: var(--violet);
  stroke: none;
  font-size: 46px;
  font-weight: 400;
}

.matrix-svg .corner-triangle,
.answer-button--visual svg .corner-triangle {
  fill: var(--ink);
  stroke: none;
}

.matrix-svg .open-dot,
.answer-button--visual svg .open-dot {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 2;
}

.matrix-svg .filled-block,
.answer-button--visual svg .filled-block {
  fill: var(--ink);
  stroke: none;
}

.matrix-svg .slider-line,
.answer-button--visual svg .slider-line {
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.matrix-svg .slider-dot,
.answer-button--visual svg .slider-dot {
  fill: var(--ink);
  stroke: none;
}

.digit-grid-svg {
  display: block;
  width: 100%;
  height: auto;
}

.digit-grid-cell {
  fill: #f3f3f8;
}

.digit-grid-value {
  fill: var(--ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
}

.number-matrix-value,
.number-matrix-option text {
  fill: var(--ink);
  stroke: none;
  font-family: inherit;
  font-size: 40px;
  font-weight: 600;
}

.number-matrix-option text {
  font-size: 52px;
  font-weight: 400;
}

.answer-button--visual.is-selected .number-matrix-option text {
  fill: var(--violet-dark);
}

.image-matrix-puzzle {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.image-matrix-option {
  display: block;
  width: min(100%, 120px);
  height: auto;
  margin: auto;
  object-fit: contain;
}

.quiz-content--image-matrix {
  padding-top: 24px;
  padding-bottom: 18px;
}

.question-wrap--image-matrix .question-category,
.question-wrap--image-matrix>h1 {
  display: none;
}

.question-wrap--image-matrix .visual-question-layout {
  grid-template-columns: minmax(280px, 420px) minmax(330px, 1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 68px);
  margin-top: 0;
}

.question-wrap--image-matrix .visual-puzzle {
  width: 100%;
  max-width: 420px;
  padding: 14px;
}

.question-wrap--image-matrix .image-matrix-puzzle {
  max-height: 390px;
}

.question-wrap--image-matrix .visual-options>p {
  margin-bottom: 12px;
}

.question-wrap--image-matrix .visual-answers {
  gap: 10px 14px;
}

.question-wrap--image-matrix .answer-button--visual {
  min-height: 92px;
  padding: 8px;
}

.question-wrap--image-matrix .image-matrix-option {
  width: 72px;
  max-height: 72px;
}

.quiz-content--image-matrix .question-footer {
  padding-top: 12px;
}

.equation-svg {
  display: block;
  width: 100%;
  height: auto;
}

.equation-svg .equation-shape {
  fill: var(--ink);
  stroke: none;
}

.equation-sign,
.equation-value,
.equation-question {
  font-family: inherit;
  font-size: 36px;
  font-weight: 500;
  fill: var(--ink);
}

.equation-value {
  font-size: 42px;
  font-weight: 600;
}

.equation-question {
  fill: var(--violet);
  font-size: 48px;
  font-weight: 600;
}

.equation-divider {
  stroke: var(--line);
  stroke-width: 2;
}

.answer-button--visual .equation-option text {
  fill: var(--ink);
  font-family: inherit;
  font-size: 48px;
  font-weight: 400;
}

.answer-button--visual.is-selected .equation-option text {
  fill: var(--violet-dark);
}

.visual-options>p {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 500;
}

.visual-answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.answer-button--visual {
  min-height: 116px;
  justify-content: center;
  padding: 17px;
  border-radius: 999px;
}

.answer-button--visual svg {
  width: 76px;
  height: 76px;
}

.answer-button--visual.is-selected svg rect,
.answer-button--visual.is-selected svg circle,
.answer-button--visual.is-selected svg polygon {
  stroke: var(--violet-dark);
}

.answer-button--visual.is-selected svg .corner-triangle {
  fill: var(--violet-dark);
  stroke: none;
}

.answer-button--visual.is-selected svg .open-dot {
  stroke: var(--violet-dark);
}

.answer-button--visual.is-selected svg .filled-block {
  fill: var(--violet-dark);
  stroke: none;
}

.digit-memory {
  margin-top: 36px;
}

.digit-sequence {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-size: clamp(32px, 6vw, 42px);
  font-weight: 500;
  letter-spacing: 0.24em;
}

.digit-memory p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.digit-memory strong {
  color: var(--ink);
  font-weight: 500;
}

.digit-answers {
  margin-top: 50px;
}

.digit-answers .answer-button {
  padding-left: 22px;
}

.question-footer {
  display: flex;
  width: min(100%, 650px);
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 36px;
}

.counter {
  padding: 11px 23px;
  border-radius: 999px;
  background: #f4f4f8;
  font-size: 14px;
  font-weight: 500;
}

.quiz-content--memory {
  padding-top: 20px;
}

.memory-card {
  display: flex;
  flex: 1;
  width: min(100%, 650px);
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  animation: enter 300ms ease both;
}

.memory-card h1 {
  margin: 0 0 12px;
  font-size: clamp(27px, 4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.memory-card>p {
  color: var(--muted);
  line-height: 1.55;
}

.memory-word {
  width: 100%;
  margin: 27px 0 12px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-size: clamp(34px, 6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.memory-note {
  margin: 0 0 34px;
  font-size: 14px;
}

.memory-card .primary-button {
  width: min(100%, 450px);
  margin-top: auto;
}

.checkpoint-content {
  display: flex;
  min-height: calc(100vh - 103px);
  flex-direction: column;
  align-items: center;
  padding: clamp(38px, 7vh, 74px) 20px 28px;
}

.checkpoint-card {
  width: min(100%, 450px);
  padding: 24px 16px 16px;
  border: 1px solid rgba(116, 88, 244, 0.1);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(54, 38, 126, 0.09);
  text-align: center;
}

.checkpoint-card h1 {
  max-width: 360px;
  margin: 0 auto;
  font-size: clamp(23px, 4vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.checkpoint-card h1 strong {
  color: var(--violet);
  font-weight: 600;
}

.checkpoint-media {
  display: grid;
  min-height: 280px;
  place-items: center;
  margin: 8px 0 14px;
}

.checkpoint-media img,
.checkpoint-fallback {
  display: block;
  width: min(100%, 390px);
  max-height: 280px;
  object-fit: contain;
}

.checkpoint-fallback[hidden] {
  display: none;
}

.checkpoint-note {
  margin: 0;
  padding: 17px 20px;
  border-radius: 15px;
  color: #555668;
  background: #f5f4f9;
  font-size: 14px;
  line-height: 1.5;
}

.checkpoint-button {
  width: min(100%, 450px);
  margin-top: auto;
}

.checkpoint-content--country {
  padding-top: clamp(28px, 5vh, 50px);
}

.checkpoint-card--country h1 {
  max-width: 390px;
  font-size: clamp(21px, 3vw, 26px);
}

.country-checkpoint-media {
  position: relative;
  width: min(100%, 330px);
  height: 285px;
  margin: 4px auto 12px;
  overflow: hidden;
}

.country-checkpoint-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.country-you-label {
  position: absolute;
  left: 50%;
  bottom: 13px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  transform: translateX(-50%);
}

.checkpoint-content--focus {
  padding-top: clamp(28px, 5vh, 50px);
}

.checkpoint-card--focus h1 {
  max-width: 390px;
}

.checkpoint-media--focus {
  min-height: 270px;
  margin: 4px 0 12px;
}

.checkpoint-media--focus img {
  max-width: 300px;
  max-height: 270px;
}

.community-checkpoint {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 34px;
  text-align: center;
  background: #fff;
}

.community-checkpoint .brand {
  margin-bottom: clamp(44px, 8vh, 80px);
}

.community-checkpoint h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.community-checkpoint h1 strong {
  color: var(--violet);
  font-weight: 600;
}

.community-checkpoint>img {
  display: block;
  width: min(100%, 600px);
  max-height: 330px;
  margin: 45px auto 24px;
  object-fit: contain;
}

.community-checkpoint .primary-button {
  width: min(100%, 450px);
  margin-top: auto;
}

.calculating-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 32px;
  background: #f7f8fd;
}

.calculating-main {
  width: min(100%, 470px);
  margin: clamp(48px, 8vh, 76px) auto 40px;
  text-align: center;
}

.calculating-main h1 {
  margin: 0;
  font-size: clamp(24px, 4vw, 29px);
  font-weight: 500;
  line-height: 1.15;
}

.calculating-main>p {
  margin: 18px auto 30px;
  color: #555668;
  font-size: 17px;
  line-height: 1.45;
}

.calculating-rows {
  text-align: left;
}

.calculating-row {
  padding: 0 0 20px;
}

.calculating-row+.calculating-row {
  padding-top: 20px;
  border-top: 1px solid #dfe1ea;
}

.calculating-row-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 18px;
}

.calculating-row-title strong {
  font-weight: 600;
}

.calculating-row-title>span:not(.calculating-check) {
  color: #aaaebb;
}

.calculating-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe2eb;
}

.calculating-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  animation: calculate-half 2s ease forwards;
}

.calculating-fill--full {
  animation-name: calculate-full;
}

.calculating-fill--finish {
  width: 50%;
  animation-name: calculate-finish;
  animation-duration: 1.3s;
}

.calculating-check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
}

.calculating-check svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.analysis-proof {
  width: min(100%, 960px);
  margin-top: auto;
}

.analysis-proof h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.analysis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.analysis-cards article {
  min-width: 0;
  min-height: 138px;
  padding: 16px;
  border: 1px solid #dfe1e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(20, 19, 46, 0.05);
}

.testimonial-header,
.testimonial-person,
.testimonial-person strong {
  display: flex;
  align-items: center;
}

.testimonial-header {
  justify-content: space-between;
  gap: 10px;
}

.testimonial-person {
  min-width: 0;
  gap: 9px;
}

.testimonial-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person>div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.testimonial-person strong {
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.testimonial-person strong svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.testimonial-person small {
  overflow: hidden;
  color: #aaaebb;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimonial-stars {
  display: grid;
  flex: 0 0 81.714px;
  width: 81.714px;
  height: 18.571px;
  place-items: center;
  padding: 0;
  border-radius: 9.286px;
  color: #ffad14;
  background: #f5f5f5;
  font-size: 11px;
  letter-spacing: 1px;
}

.testimonial-card p {
  margin: 14px 0 0;
  color: #292a39;
  font-size: 14px;
  line-height: 1.52;
}

.calculating-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 17, 28, 0.34);
  backdrop-filter: blur(1px);
}

.calculating-modal {
  width: min(100%, 305px);
  padding: 20px 16px 16px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(25, 22, 58, 0.22);
  text-align: center;
  animation: enter 220ms ease both;
}

.calculating-modal-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--violet);
  background: #eeebff;
}

.calculating-modal-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calculating-modal h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.calculating-modal>p {
  margin: 0 4px 18px;
  color: #555668;
  font-size: 16px;
  line-height: 1.48;
}

.calculating-privacy {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  padding: 13px;
  border-radius: 14px;
  color: #555668;
  background: #f5f4f9;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}

.calculating-privacy svg {
  flex: 0 0 auto;
  width: 22px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.8;
}

.calculating-modal .primary-button {
  width: 100%;
}

.calculating-modal--question {
  padding-top: 20px;
}

.calculating-modal--question h2 {
  margin: 4px auto 28px;
  font-size: 18px;
  max-width: 245px;
}

.calculating-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calculating-choice button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #f4f4f8;
  cursor: pointer;
}

.calculating-choice button:hover {
  color: var(--violet-dark);
  background: #eeebff;
}

@keyframes calculate-half {
  to { width: 50%; }
}

@keyframes calculate-full {
  to { width: 100%; }
}

@keyframes calculate-finish {
  from { width: 50%; }
  to { width: 100%; }
}

.email-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 48px;
  background: radial-gradient(circle at 50% 42%, rgba(116, 88, 244, 0.09), transparent 28rem), #f7f8fd;
}

.email-card {
  width: min(100%, 470px);
  margin: clamp(60px, 10vh, 100px) auto 0;
  text-align: center;
}

.email-card h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.email-card>p {
  margin: 18px auto 30px;
  color: #555668;
  font-size: 17px;
  line-height: 1.48;
}

.email-card form {
  display: grid;
  gap: 14px;
}

.email-input {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid #d9dbe4;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(26, 23, 58, 0.04);
}

.email-input:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(116, 88, 244, 0.1);
}

.email-input svg {
  width: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #a7a9b3;
  stroke-width: 1.7;
}

.email-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.email-input input::placeholder {
  color: #aaacb6;
}

.email-card .primary-button {
  width: 100%;
}

.email-card .primary-button:disabled {
  color: #9698a2;
  background: #d8d9df;
  box-shadow: none;
  cursor: not-allowed;
}

.email-error {
  min-height: 18px;
  margin: -6px 12px !important;
  color: #c63b57 !important;
  font-size: 13px !important;
  text-align: left;
}

.email-consent {
  margin-top: 14px !important;
  font-size: 12px !important;
}

.email-stats {
  display: grid;
  width: min(100%, 560px);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 90px;
}

.email-stats div {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.email-stats span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--violet);
  background: #eeebff;
  font-size: 21px;
}

.email-stats span svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
}

.email-stats small {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.email-stats strong {
  font-size: 13px;
  font-weight: 600;
}

.checkout-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #17182d;
  background: #fff;
}

.checkout-header {
  padding: 24px 20px;
  border-bottom: 1px solid #f0f0f5;
  background: rgba(255, 255, 255, 0.96);
}

.checkout-header .brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.checkout-shell,
.checkout-footer {
  width: min(100% - 32px, 940px);
  margin: 0 auto;
}

.checkout-shell {
  padding: 28px 0 58px;
}

.checkout-purchase-note {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 12px;
  color: #5f6071;
  background: #f5f5f8;
  font-size: 13px;
  text-align: center;
}

.checkout-purchase-note strong {
  min-width: 0;
  color: #292a39;
  font-weight: 600;
}

.checkout-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ac48a;
  box-shadow: 0 0 0 5px rgba(42, 196, 138, 0.13);
}

.checkout-offer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #ebe8ff;
  border-radius: 15px;
  background: linear-gradient(110deg, #f7f5ff, #fff8fb);
}

.checkout-offer-bar>div {
  display: grid;
  gap: 4px;
}

.checkout-offer-bar strong {
  color: var(--violet-dark);
  font-size: 15px;
}

.checkout-offer-bar span {
  font-size: 13px;
}

.checkout-offer-bar .primary-button {
  min-height: 46px;
  border-radius: 14px;
  text-decoration: none;
}

.checkout-hero {
  padding: 42px 0 32px;
  text-align: center;
}

.checkout-comparison-image {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  margin: 0 auto 26px;
}

.checkout-hero h1 {
  max-width: 650px;
  margin: 0 auto 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.checkout-hero>p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-main-cta {
  width: min(100%, 450px);
  text-decoration: none;
}

.checkout-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  margin-top: 10px;
}

.checkout-benefits,
.checkout-payment,
.checkout-report-preview {
  border: 1px solid #ececf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(31, 27, 64, 0.07);
}

.checkout-benefits,
.checkout-payment {
  min-height: 515px;
  padding: 26px;
}

.checkout-social-proof {
  margin: -10px -10px 24px;
  padding: 18px;
  border-radius: 16px;
  background: #f7f7f9;
}

.checkout-social-proof img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.checkout-social-proof p {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-social-proof strong {
  font-weight: 600;
}

.checkout-social-proof span {
  color: #494b5c;
}

.checkout-benefits h2,
.checkout-payment h2 {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.checkout-benefit {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.checkout-benefit>span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--violet), var(--pink));
  font-weight: 700;
}

.checkout-benefit strong {
  font-weight: 600;
}

.checkout-benefit p {
  margin: 5px 0 0;
  color: #5e6070;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-payment ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.checkout-payment li {
  position: relative;
  padding-left: 27px;
  font-size: 14px;
  line-height: 1.4;
}

.checkout-payment li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #31bd87;
  content: "✓";
  font-size: 11px;
}

.checkout-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #ececf3;
}

.checkout-price>span {
  font-size: 14px;
}

.checkout-price-values {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.checkout-price-values>div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.checkout-price del {
  color: #aaaabb;
  font-size: 13px;
}

.checkout-price strong {
  font-size: 24px;
}

.checkout-price-values small {
  color: #159447;
  font-size: 12px;
  font-weight: 600;
}

.checkout-renewal {
  margin: 18px 0;
  color: #6d6e7c;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.checkout-payment-methods {
  display: grid;
  gap: 8px;
}

.checkout-method {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.checkout-method--paypal {
  color: #153d77;
  background: #ffc439;
}

.checkout-method--google {
  color: #fff;
  background: #111;
}

.checkout-payment-logo {
  display: block;
  width: auto;
  max-width: 112px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.checkout-payment-logo--paypal {
  height: 27px;
}

.checkout-payment-logo--google {
  height: 26px;
}

.checkout-method--card {
  color: #fff;
  background: linear-gradient(90deg, var(--violet-dark), var(--violet));
}

.checkout-method svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.checkout-payment-status {
  min-height: 34px;
  margin: 10px 0 0;
  color: var(--violet-dark);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.checkout-report-preview {
  margin-top: 24px;
  padding: 24px;
}

.checkout-report-preview h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 17px;
}

.checkout-report-preview h2 svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.checkout-report-preview>p {
  margin: 0;
  color: #555668;
  line-height: 1.55;
}

.checkout-blurred-report {
  position: relative;
  min-height: 105px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f7f9;
}

.checkout-blurred-report>p {
  margin: 0;
  padding: 14px 18px;
  color: #555668;
  filter: blur(3.5px);
  font-size: 15px;
  line-height: 1.45;
}

.checkout-report-unlock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border: 0;
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.checkout-report-unlock svg {
  width: 24px;
  height: 24px;
}

.checkout-report-unlock span {
  max-width: 430px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-report-unlock:hover {
  color: var(--violet);
}

.checkout-report-unlock:focus-visible {
  outline: 3px solid rgba(111, 77, 241, 0.25);
  outline-offset: -3px;
}

.checkout-reviews {
  margin-top: 32px;
}

.checkout-rating-badge {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  margin-bottom: 22px;
}

.checkout-rating-badge>div {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.checkout-rating-badge p {
  margin: 0;
  color: #616161;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.checkout-rating-laurel {
  width: 25px;
  height: 55px;
  margin-top: 4px;
}

.checkout-rating-laurel--right {
  transform: scaleX(-1);
}

.checkout-rating-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
}

.checkout-rating-stars svg {
  width: 20px;
  height: 20px;
}

.checkout-footer {
  display: grid;
  gap: 15px;
  padding: 28px 0 42px;
  border-top: 1px solid #e8e8ef;
  color: #77798a;
}

.checkout-footer p {
  margin: 0;
  color: #2c2d3c;
}

.checkout-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.checkout-footer a {
  color: #999aaa;
  text-decoration: none;
}

.checkout-footer small {
  color: #565767;
}

.checkout-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #e8e8ef;
}

.checkout-card-brands {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.checkout-card-brands img {
  display: block;
  width: 45px;
  height: 30px;
  object-fit: contain;
  border: 1px solid #ececf1;
  border-radius: 6px;
  background: #fff;
}

.checkout-card-brands img:first-child {
  width: 43px;
}

.result-page {
  min-height: 100vh;
  padding: 38px 20px 60px;
  background: radial-gradient(circle at 50% 10%, rgba(116, 88, 244, .16), transparent 35rem), #fbfbfe;
}

.result-shell {
  width: min(100%, 760px);
  margin: auto;
  text-align: center;
}

.result-shell .brand {
  margin-bottom: 30px;
}

.result-card {
  padding: clamp(28px, 6vw, 55px);
  border: 1px solid rgba(116, 88, 244, .1);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.result-card h1 {
  margin: 12px 0 7px;
  font-size: clamp(31px, 6vw, 45px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.result-card>p {
  color: var(--muted);
}

.score-ring {
  display: grid;
  width: 190px;
  height: 190px;
  margin: 32px auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--violet) var(--score-angle), #ececf4 0);
  position: relative;
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #fff;
}

.score-value {
  position: relative;
  z-index: 1;
}

.score-value strong {
  display: block;
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.score-value span {
  color: var(--muted);
  font-size: 13px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 25px 0;
}

.result-stat {
  padding: 17px 10px;
  border-radius: 17px;
  background: var(--soft);
}

.result-stat strong,
.result-stat span {
  display: block;
}

.result-stat strong {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
}

.result-stat span {
  color: var(--muted);
  font-size: 11px;
}

.strengths {
  margin: 26px 0;
  text-align: left;
}

.strengths h2 {
  font-size: 18px;
}

.strength-row {
  display: grid;
  grid-template-columns: 92px 1fr 40px;
  align-items: center;
  gap: 9px;
  margin: 13px 0;
  font-size: 12px;
}

.strength-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #ececf4;
}

.strength-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

.result-actions {
  display: grid;
  gap: 10px;
}

.secondary-button {
  min-height: 50px;
  border-radius: 15px;
  color: var(--violet-dark);
  background: #eeebff;
  font-weight: 600;
  cursor: pointer;
}

.result-disclaimer {
  margin-top: 22px;
  color: #999aa7 !important;
  font-size: 11px;
  line-height: 1.5;
}

.not-found {
  width: min(100% - 40px, 550px);
  margin: 10vh auto;
  text-align: center;
}

.not-found img {
  width: 90px;
  border-radius: 24px;
}

.not-found h1 {
  font-size: clamp(34px, 7vw, 56px);
  letter-spacing: -0.05em;
}

.not-found p {
  color: var(--muted);
}

.not-found .primary-button {
  margin-top: 20px;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 620px) {
  .start-shell {
    width: min(100% - 22px, 780px);
    padding-top: 18px;
  }

  .brand--start {
    margin-bottom: 16px;
  }

  .start-card {
    padding: 28px 20px;
    border-radius: 25px;
  }

  .start-card h1 {
    font-size: 34px;
  }

  .start-subtitle {
    font-size: 16px;
  }

  .gender-actions {
    grid-template-columns: 1fr;
  }

  .text-button {
    grid-column: auto;
  }

  .calculating-main {
    margin-top: 36px;
  }

  .analysis-cards {
    grid-template-columns: 1fr;
  }

  .analysis-cards article {
    min-height: auto;
  }

  .email-card {
    margin-top: 48px;
  }

  .email-stats {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .checkout-shell,
  .checkout-footer {
    width: min(100% - 22px, 940px);
  }

  .checkout-purchase-note>span:last-child {
    display: none;
  }

  .checkout-purchase-note strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout-offer-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-comparison-image {
    max-height: 250px;
    margin-bottom: 20px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-benefits,
  .checkout-payment {
    min-height: auto;
    padding: 21px;
  }

  .checkout-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-price-values {
    justify-items: start;
  }

  .checkout-reviews .analysis-cards {
    grid-template-columns: 1fr;
  }

  .checkout-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-card-brands {
    justify-content: flex-start;
  }

  .quiz-header {
    padding: 12px 14px 11px;
  }

  .quiz-header-row {
    margin-bottom: 11px;
  }

  .quiz-header .brand span {
    display: none;
  }

  .quiz-header .brand img {
    width: 35px;
    height: 35px;
  }

  .timer {
    padding: 7px 10px;
    font-size: 12px;
  }

  .quiz-content {
    min-height: calc(100vh - 81px);
    padding: 28px 16px 22px;
  }

  .checkpoint-content {
    min-height: calc(100vh - 81px);
    padding: 25px 14px 20px;
  }

  .checkpoint-card {
    padding: 21px 13px 13px;
    border-radius: 23px;
  }

  .checkpoint-media {
    min-height: 220px;
  }

  .checkpoint-media img,
  .checkpoint-fallback {
    max-height: 220px;
  }

  .checkpoint-note {
    padding: 14px;
    font-size: 13px;
  }

  .checkpoint-button {
    margin-top: 24px;
  }

  .checkpoint-content--country {
    padding-top: 20px;
  }

  .country-checkpoint-media {
    height: 245px;
  }

  .country-you-label {
    bottom: 12px;
    font-size: 15px;
  }

  .checkpoint-content--focus {
    padding-top: 20px;
  }

  .checkpoint-media--focus {
    min-height: 220px;
  }

  .checkpoint-media--focus img {
    max-height: 220px;
  }

  .quiz-content--memory {
    padding-top: 22px;
  }

  .question-wrap h1 {
    font-size: 24px;
  }

  .memory-card h1 {
    font-size: 25px;
  }

  .stimulus {
    min-height: 80px;
    margin-bottom: 21px;
    padding: 16px;
  }

  .answers {
    gap: 9px;
  }

  .answers--grid {
    grid-template-columns: 1fr;
  }

  .answer-button {
    min-height: 54px;
    padding: 10px 13px;
  }

  .visual-question-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 20px;
  }

  .visual-puzzle {
    width: min(100%, 370px);
    margin: auto;
    padding: 14px;
  }

  .visual-options>p {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .visual-answers {
    gap: 9px;
  }

  .answer-button--visual {
    min-height: 90px;
    padding: 10px;
  }

  .answer-button--visual svg {
    width: 62px;
    height: 62px;
  }

  .digit-memory {
    margin-top: 24px;
  }

  .digit-answers {
    margin-top: 34px;
  }

  .question-footer {
    padding-top: 24px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .result-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .result-stat strong {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
