:root {
  --page-bg: #fffdf9;
  --text-main: #1d1f24;
  --text-soft: #6b7480;
  --line: #eee9e1;
  --card-border: #e2d9cb;
  --card-bg: #fffdfa;
  --selected: #e3ad66;
  --selected-dark: #d49441;
  --gold-soft: rgba(227, 173, 102, 0.24);
  --shadow: 0 18px 42px rgba(48, 37, 18, 0.08);
}

.site-footer {
  width: 100%;
  padding: 16px 16px 20px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-bottom: 6px;
}

.site-footer a {
  color: #4b5563;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #111827;
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 184, 94, 0.1), transparent 35%),
    var(--page-bg);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.quiz-screen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 253, 249, 0.96) 100%),
    radial-gradient(circle at 50% 7%, rgba(214, 165, 68, 0.12), transparent 27%);
  position: relative;
}

.quiz-card {
  width: 100%;
  max-width: 568px;
  padding: 36px 8px 48px;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
  animation: stepIn 260ms ease both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-button {
  width: 38px;
  height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 56px;
  left: max(22px, calc(50% - 360px));
  z-index: 8;
  cursor: pointer;
  border: 1px solid #e5e1da;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.88);
  box-shadow: 0 8px 22px rgba(29, 31, 36, 0.06);
}

.back-button span {
  margin-top: -2px;
  font-size: 32px;
  line-height: 1;
}

.back-button.is-visible {
  display: flex;
}

.quiz-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.compact-header {
  padding-top: 16px;
}

.brand-logo {
  width: clamp(160px, 15vw, 190px);
  height: auto;
  max-width: 48vw;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(124, 82, 11, 0.15));
}

.intro-step .brand-logo {
  width: clamp(190px, 18vw, 230px);
  max-width: 58vw;
}

.progress,
.top-progress {
  width: 100%;
  height: 5px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
  box-shadow: inset 0 1px 1px rgba(116, 87, 43, 0.06);
}

.top-progress {
  margin: 0 0 44px;
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--selected), #f3cf95);
  transition: width 280ms ease;
}

.question-block {
  margin-top: 42px;
  text-align: center;
}

.question-block h1,
.intro-copy h1,
.build-step h1,
.result-step h1,
.final-copy h1 {
  margin: 0;
  color: var(--text-main);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.question-block p,
.final-copy p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 400;
}

.intro-step {
  max-width: 760px;
  text-align: center;
  padding-top: 48px;
}

.intro-copy {
  max-width: 680px;
  margin: 30px auto 0;
}

.intro-copy h1 {
  font-size: 28px;
}

.intro-copy span,
.proof-title h1,
.chart-step .proof-title h1,
.final-copy h1 {
  color: var(--selected);
}

.loading-line {
  width: min(560px, 100%);
  height: 10px;
  margin: 32px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: #f2e8dc;
}

.loading-line-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e9b36e, #f5d4a4);
  animation: introLoad 5000ms cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes introLoad {
  to {
    width: 100%;
  }
}

.loading-caption {
  margin: 10px 0 28px;
  color: var(--text-soft);
  font-size: 16px;
}

.intro-proof {
  width: min(420px, 94%);
  display: block;
  margin: 0 auto 34px;
}

.age-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 31px;
}

.age-option,
.choice-option {
  cursor: pointer;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--card-bg) 100%);
  box-shadow:
    0 14px 32px rgba(42, 33, 18, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.age-option:active,
.choice-option:active,
.primary-button:active {
  transform: scale(0.985);
}

.age-option.is-selected,
.choice-option.is-selected {
  border-color: rgba(200, 148, 46, 0.72);
  box-shadow:
    0 16px 34px rgba(116, 82, 20, 0.11),
    0 0 0 2px var(--gold-soft);
}

.age-option {
  min-height: 169px;
  padding: 10px 14px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.portrait-wrap {
  width: 108px;
  height: 108px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #e7e0d5;
  background: #f1ede6;
  box-shadow:
    0 9px 16px rgba(38, 31, 20, 0.13),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.age-option:nth-child(1) .portrait-wrap img {
  object-position: 50% 21%;
}

.age-option:nth-child(2) .portrait-wrap img {
  object-position: 50% 16%;
}

.age-option:nth-child(3) .portrait-wrap img {
  object-position: 51% 16%;
}

.age-option:nth-child(4) .portrait-wrap img {
  object-position: 50% 12%;
}

.age-label {
  margin-top: 15px;
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.option-list {
  display: grid;
  gap: 14px;
  margin-top: 31px;
}

.choice-option {
  min-height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 10px;
  text-align: left;
  font-size: 19px;
  font-weight: 500;
}

.choice-option span {
  width: 26px;
  flex: 0 0 26px;
  text-align: center;
  font-size: 22px;
}

.choice-option.compact {
  min-height: 55px;
  justify-content: center;
  padding: 0 18px;
  text-align: center;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

.face-map {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 24px 34px rgba(24, 20, 14, 0.24);
}

.face-map img {
  width: 100%;
  display: block;
}

.face-dot {
  width: 45px;
  height: 45px;
  position: absolute;
  border: 1.5px dashed rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 999px transparent;
}

.dot-forehead {
  top: 20%;
  left: 43%;
}

.dot-eye {
  top: 31%;
  left: 50%;
}

.dot-cheek {
  top: 41%;
  left: 35%;
}

.dot-neck {
  top: 62%;
  left: 43%;
  width: 54px;
  height: 54px;
}

.area-options {
  display: grid;
  gap: 13px;
}

.proof-step,
.chart-step,
.build-step,
.result-step,
.video-step {
  max-width: 600px;
  padding-top: 30px;
}

.proof-title {
  margin-top: 0;
}

.comparison {
  width: 100%;
  aspect-ratio: 16 / 7.4;
  position: relative;
  margin-top: 58px;
  overflow: hidden;
  border-radius: 13px;
  box-shadow: 0 16px 38px rgba(47, 37, 22, 0.12);
}

.comparison img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.comparison-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split));
}

.comparison-divider,
.comparison-handle {
  position: absolute;
  left: var(--split);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-divider {
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
}

.comparison-handle {
  top: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #141414;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(25, 27, 31, 0.2);
}

.comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--selected-dark);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.testimonial-card {
  margin-top: 46px;
  padding: 24px 26px;
  border: 1px solid #f0d9bd;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.intro-testimonial {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  min-height: 148px;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.intro-testimonial.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
}

.testimonial-head span {
  color: #efb321;
  letter-spacing: 2px;
  white-space: nowrap;
}

.testimonial-card p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
}

.primary-button {
  width: 100%;
  min-height: 62px;
  margin-top: 36px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8b46e, #f3cc95);
  box-shadow: 0 0 0 7px rgba(235, 183, 112, 0.24);
  color: #111;
  font-size: 20px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.primary-button:hover {
  filter: saturate(1.08);
}

.chart-card {
  margin-top: 62px;
  padding: 24px 26px 28px;
  border: 1px solid #e5ddd3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 13%, rgba(235, 183, 112, 0.18), transparent 20%),
    #fffefd;
  box-shadow: var(--shadow);
}

.chart-card h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 20px;
}

.chart-card svg {
  width: 100%;
  display: block;
  overflow: visible;
}

.axis {
  stroke: #5b5d61;
  stroke-width: 2;
}

.grid-line {
  stroke: #ece8e2;
  stroke-dasharray: 5 8;
}

.gold-area {
  fill: url(#goldGlow);
  opacity: 0;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.gold-line {
  stroke: #f0bd59;
  filter: drop-shadow(0 0 7px rgba(227, 173, 102, 0.58));
}

.purple-line {
  stroke: #8d57ff;
  filter: drop-shadow(0 0 5px rgba(141, 87, 255, 0.42));
}

.point {
  fill: #f2bc5d;
  stroke: #ffffff;
  stroke-width: 3;
  opacity: 0;
}

.chart-card.is-animated .gold-area {
  animation: fadeIn 520ms ease 650ms forwards;
}

.chart-card.is-animated .chart-line {
  animation: drawLine 1300ms cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.chart-card.is-animated .purple-line {
  animation-delay: 260ms;
}

.chart-card.is-animated .point {
  animation: popPoint 320ms ease forwards;
}

.chart-card.is-animated .point-one {
  animation-delay: 160ms;
}

.chart-card.is-animated .point-two {
  animation-delay: 520ms;
}

.chart-card.is-animated .point-three {
  animation-delay: 820ms;
}

.chart-card.is-animated .point-four {
  animation-delay: 1180ms;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes popPoint {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-gold {
  background: #e3a140;
  box-shadow: 0 0 10px rgba(227, 161, 64, 0.55);
}

.legend-purple {
  background: #8d57ff;
  box-shadow: 0 0 10px rgba(141, 87, 255, 0.45);
}

.build-step {
  text-align: center;
}

.spinner {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 5px solid #ece9e4;
  border-top-color: var(--selected-dark);
  border-radius: 50%;
  animation: spin 980ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.build-carousel {
  width: min(420px, 100%);
  aspect-ratio: 1448 / 1086;
  position: relative;
  margin: 12px auto 34px;
  overflow: hidden;
  border-radius: 13px;
  background: #f6f1ed;
  box-shadow: 0 14px 32px rgba(24, 18, 12, 0.16);
}

.build-carousel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.build-carousel.is-changing img {
  opacity: 0;
  transform: translateX(8px) scale(1.01);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 14px;
  right: 16px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.carousel-dots .is-active {
  width: 20px;
  border-radius: 999px;
  background: #ffffff;
}

.analysis-list {
  display: grid;
  gap: 14px;
}

.analysis-item {
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 7px;
  background: rgba(245, 245, 245, 0.95);
  text-align: left;
}

.analysis-item > span {
  font-size: 17px;
}

.analysis-item div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
}

.analysis-item strong {
  font-size: 17px;
  font-weight: 500;
}

.analysis-item i {
  color: var(--selected-dark);
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
}

.analysis-item i::after {
  content: "";
  margin-left: 8px;
  color: #55c96d;
}

.analysis-item.is-done i::after {
  content: "✓";
}

.analysis-item em {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #d2d2d2;
}

.analysis-item em::before {
  content: "";
  width: var(--value, 0%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #e5ad63, #f4c990);
  transition: width 220ms ease;
}

.face-analysis {
  width: min(420px, 100%);
  display: block;
  margin: 34px auto 0;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 12px 28px rgba(28, 22, 16, 0.08);
}

.build-social-proof {
  width: min(560px, 100%);
  margin: 34px auto 0;
  text-align: left;
}

.live-proof-title {
  margin: 0 0 4px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.3;
}

.live-proof-card {
  margin-top: 16px;
  padding: 25px 26px 28px;
  border: 1px solid #f0d9bd;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(45, 35, 22, 0.04);
}

.live-proof-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.live-proof-head div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.live-proof-head strong {
  font-size: 18px;
  line-height: 1.2;
}

.live-proof-head small {
  color: #34c759;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.live-proof-head span {
  color: #efb321;
  letter-spacing: 2px;
  white-space: nowrap;
}

.live-proof-card p {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  font-style: italic;
  line-height: 1.48;
}

.result-step {
  text-align: center;
}

.risk-card,
.warning-card,
.signal-card,
.protocol-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.risk-card {
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid #e4dde3;
  border-left: 4px solid #ff6470;
}

.risk-card p {
  margin: 0 0 20px;
  font-size: 16px;
}

.risk-meter {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: #eceff2;
}

.risk-meter span {
  width: 84%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #55c861, #f1da2b, #ff665d);
}

.risk-meter strong {
  position: absolute;
  right: 5%;
  top: -24px;
  padding: 3px 9px;
  border-radius: 3px;
  background: #ffe5e6;
  color: #ff6470;
  font-size: 13px;
}

.warning-card {
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px solid #f4b34b;
  background: #fffaf2;
}

.warning-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.42;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  text-align: left;
}

.signal-card,
.protocol-card {
  padding: 20px 22px;
}

.signal-card {
  border: 1px solid #ff9aa2;
  background: #fff0f0;
}

.protocol-card {
  border: 1px solid #80d9aa;
  background: #edfff4;
}

.signal-card h2,
.protocol-card h2 {
  margin: 0 0 13px;
  font-size: 17px;
}

.signal-card h2 {
  color: #ff5e72;
}

.protocol-card h2 {
  color: #42c864;
}

.signal-card p,
.protocol-card p {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 15px;
}

.unlock-button {
  margin-top: 38px;
}

.video-step {
  max-width: 620px;
  padding-top: 36px;
}

.final-copy {
  margin-bottom: 55px;
}

.final-copy h1 {
  font-size: 31px;
}

.video-frame {
  position: relative;
  padding: 16px;
  border: 1px solid #e3ded9;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(31, 26, 20, 0.08);
}

.primary-vsl-player {
  touch-action: manipulation;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 720px;
  display: block;
  margin: 0 auto;
  background: #561a8a;
}

.esconder {
  display: none;
}

.primary-pitch-content {
  width: 100%;
}

.checkout-button {
  width: min(100%, 420px);
  min-height: 64px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 26px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 360ms ease,
    transform 360ms ease;
}

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

.checkout-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: checkoutPulse 1.55s ease-in-out infinite;
}

.checkout-button:hover {
  background: #15803d;
  box-shadow: 0 18px 34px rgba(21, 128, 61, 0.34);
}

.checkout-button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.35);
  outline-offset: 4px;
}

@keyframes checkoutPulse {
  0%,
  100% {
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.28);
  }

  50% {
    box-shadow: 0 16px 34px rgba(22, 163, 74, 0.42), 0 0 0 8px rgba(22, 163, 74, 0.12);
  }
}

.scarcity-alert {
  width: min(100%, 520px);
  margin: 18px auto 0;
  padding: 15px 16px 16px;
  border: 2px solid #dc2626;
  border-radius: 8px;
  background: #fff1f2;
  color: #2c1414;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.2);
  animation: scarcityBoxPulse 1.15s ease-in-out infinite;
}

.scarcity-alert__lead,
.scarcity-alert__urgent {
  margin: 0;
}

.scarcity-alert__lead strong {
  color: #b91c1c;
  font-weight: 950;
}

.scarcity-alert__lead s {
  color: #7f1d1d;
}

.scarcity-alert__lead b {
  color: #15803d;
  font-weight: 950;
}

.scarcity-alert__urgent {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #dc2626;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.46);
  animation: scarcityUrgentPulse 0.95s ease-in-out infinite;
}

@keyframes scarcityBoxPulse {
  0%,
  100% {
    border-color: #dc2626;
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.2);
  }

  50% {
    border-color: #ef4444;
    box-shadow: 0 18px 42px rgba(220, 38, 38, 0.34), 0 0 0 6px rgba(220, 38, 38, 0.1);
  }
}

@keyframes scarcityUrgentPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.46);
  }

  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 9px rgba(220, 38, 38, 0.08);
  }
}

.decision-notifications {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 40px));
  pointer-events: none;
}

.decision-notification {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid #6fbf86;
  border-radius: 8px;
  background: #c9f7d8;
  color: #064e3b;
  box-shadow: 0 12px 30px rgba(10, 65, 31, 0.2);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.decision-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.decision-notification__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #064e3b;
  border-radius: 50%;
  color: #064e3b;
  font-size: 0;
  line-height: 0;
}

.decision-notification__icon::before {
  content: "";
  width: 8px;
  height: 15px;
  border: solid #064e3b;
  border-width: 0 3px 3px 0;
  transform: translateY(-2px) rotate(45deg);
}

.decision-notification__content,
.decision-notification__title,
.decision-notification__text {
  display: block;
  min-width: 0;
}

.decision-notification__title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.decision-notification__text {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .back-button {
    top: 48px;
    left: 18px;
  }

  .quiz-card {
    max-width: 430px;
    padding: 24px 21px 36px;
  }

  .brand-logo {
    width: min(46vw, 172px);
    height: auto;
    max-width: 190px;
  }

  .intro-step .brand-logo {
    width: min(58vw, 206px);
  }

  .progress {
    margin-top: 20px;
  }

  .question-block {
    margin-top: 36px;
  }

  .question-block h1,
  .build-step h1,
  .result-step h1 {
    font-size: clamp(25px, 6.4vw, 30px);
  }

  .question-block p,
  .final-copy p {
    font-size: clamp(15px, 4.2vw, 17px);
  }

  .intro-copy h1,
  .final-copy h1 {
    font-size: clamp(25px, 7vw, 31px);
  }

  .age-grid {
    gap: 16px;
    margin-top: 30px;
  }

  .age-option {
    min-height: 154px;
    padding: 10px 10px 14px;
    border-radius: 15px;
  }

  .portrait-wrap {
    width: 96px;
    height: 96px;
  }

  .age-label {
    margin-top: 14px;
    font-size: 20px;
  }

  .choice-option {
    min-height: 72px;
    padding: 0 24px;
    font-size: 18px;
  }

  .area-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .face-map {
    width: min(270px, 100%);
    margin: 0 auto;
  }

  .comparison {
    margin-top: 44px;
  }

  .testimonial-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .live-proof-card {
    padding: 22px 24px 24px;
  }

  .live-proof-head {
    gap: 10px;
  }

  .live-proof-head span {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .live-proof-card p {
    font-size: 16px;
  }

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

  .checkout-button {
    width: 100%;
    min-height: 62px;
    padding: 17px 20px;
    font-size: 18px;
  }

  .scarcity-alert {
    font-size: 15px;
  }

  .scarcity-alert__urgent {
    font-size: 15px;
  }

  .decision-notifications {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .decision-notification {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 13px;
  }

  .decision-notification__icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 374px) {
  .quiz-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .age-grid {
    gap: 12px;
  }

  .age-option {
    min-height: 144px;
  }

  .portrait-wrap {
    width: 88px;
    height: 88px;
  }

  .age-label {
    font-size: 18px;
  }

  .choice-option {
    padding: 0 18px;
    gap: 14px;
    font-size: 17px;
  }

  .primary-button {
    min-height: 58px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-button.is-visible,
  .scarcity-alert,
  .scarcity-alert__urgent,
  .decision-notification {
    animation: none;
    transition: none;
  }
}
