:root {
  color-scheme: light;
  --bg: #fffaf6;
  --bg-alt: #fffdf9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --ink: #3b2b28;
  --text: #3b2b28;
  --muted: rgba(119, 97, 92, 0.72);
  --muted-strong: #77615c;
  --line: rgba(94, 67, 60, 0.16);
  --line-strong: rgba(94, 67, 60, 0.28);
  --primary: #c97773;
  --primary-strong: #b78943;
  --primary-dark: #a85f5c;
  --primary-light: #efc9c4;
  --secondary: #b78943;
  --accent: #8f9d82;
  --success: #4f8f63;
  --error: #b84e4a;
  --neutral-dark: #211714;
  --radius: 16px;
  --shadow-soft: 0 16px 44px rgba(70, 42, 35, 0.08);
  --shadow-card: 0 28px 82px rgba(70, 42, 35, 0.13);
  --shadow-lift: 0 22px 58px rgba(70, 42, 35, 0.16);
  --shadow-cta: 0 18px 42px rgba(168, 95, 92, 0.26);
  --focus-ring: 0 0 0 3px rgba(201, 119, 115, 0.18);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --motion-fast: 160ms;
  --motion-base: 260ms;
  --motion-slow: 620ms;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(94, 67, 60, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(94, 67, 60, 0.028) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2 {
  margin: 0;
}

button,
input {
  font: inherit;
}

:where(a, button, input):focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.quiz-app {
  min-height: 100svh;
  width: 100%;
  display: grid;
  justify-items: center;
  isolation: isolate;
}

.quiz-panel {
  width: min(100%, 1076px);
  min-height: 100svh;
  position: relative;
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(255, 250, 246, 0.94)),
    var(--bg-alt);
}

.quiz-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(239, 201, 196, 0.18) 42% 54%, transparent 54%),
    linear-gradient(180deg, rgba(183, 137, 67, 0.06), transparent 44%);
  opacity: 0.72;
}

.progress-wrap,
form {
  position: relative;
  z-index: 1;
}

.progress-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 20;
  display: grid;
  grid-template-columns: 34px minmax(0, 448px) 34px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quiz-panel[data-current-step="0"] .progress-wrap {
  display: none;
}

.top-back {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.top-back:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  transform: translateX(-2px);
}

.progress-track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(201, 119, 115, 0.18);
}

.progress-track i {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
  transition: width 520ms var(--ease-standard);
}

.progress-track i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 250, 246, 0.58), transparent);
  transform: translateX(-100%);
  animation: progressSheen 1800ms var(--ease-standard) infinite;
}

#progress-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

form {
  min-height: inherit;
  display: grid;
}

.quiz-step {
  display: none;
  min-height: 100svh;
  padding: 92px 20px 42px;
}

.quiz-step.is-active {
  display: grid;
  animation: stepIn 460ms var(--ease-standard) both;
}

.quiz-step.is-active :is(.question-head, .step-content, .result-layout) {
  animation: contentRise 520ms var(--ease-standard) both;
}

.quiz-step.is-active .option-grid label,
.quiz-step.is-active .lesson-grid article,
.quiz-step.is-active .plan-days article,
.quiz-step.is-active .loading-list span {
  animation: cardIn 520ms var(--ease-standard) both;
}

.quiz-step.is-active .option-grid label:nth-child(2),
.quiz-step.is-active .lesson-grid article:nth-child(2),
.quiz-step.is-active .plan-days article:nth-child(2),
.quiz-step.is-active .loading-list span:nth-child(2) {
  animation-delay: 55ms;
}

.quiz-step.is-active .option-grid label:nth-child(3),
.quiz-step.is-active .lesson-grid article:nth-child(3),
.quiz-step.is-active .plan-days article:nth-child(3),
.quiz-step.is-active .loading-list span:nth-child(3) {
  animation-delay: 110ms;
}

.quiz-step.is-active .option-grid label:nth-child(4),
.quiz-step.is-active .loading-list span:nth-child(4) {
  animation-delay: 165ms;
}

.step-content,
.question-head,
.lead-step .step-content,
.interstitial-step .step-content {
  width: min(100%, 560px);
  margin: 0 auto;
}

.intro-step {
  align-items: start;
  justify-items: center;
  padding-top: 54px;
  text-align: center;
}

.intro-step .step-content {
  width: min(100%, 454px);
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  max-width: 448px;
  margin: 0 auto;
  font-family: "Inter Variable", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

h1 span {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(143, 157, 130, 0.58);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

h2 {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  text-align: center;
}

.intro-media {
  position: relative;
  width: min(100%, 370px);
  margin: 22px auto 0;
  aspect-ratio: 1.56 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--primary-light);
  box-shadow: 0 26px 70px rgba(70, 42, 35, 0.14);
  transform: translateZ(0);
}

.intro-media::after,
.proof-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 58%, rgba(33, 23, 20, 0.08)),
    linear-gradient(90deg, rgba(255, 250, 246, 0.18), transparent 32%, rgba(255, 250, 246, 0.12));
}

.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.012);
  animation: imageBreath 8200ms var(--ease-standard) infinite alternate;
}

.media-note {
  display: none;
}

.lead {
  max-width: 46ch;
  margin: 18px auto 0;
  color: var(--muted-strong);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.hero-bullets {
  width: min(100%, 340px);
  margin: 20px auto 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.hero-bullets span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  transform-origin: left center;
}

.hero-bullets span::before {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fffaf6;
  background: var(--success);
  content: "\2713";
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(79, 143, 99, 0.22);
}

.microcopy {
  width: min(100%, 440px);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.kicker,
.question-head span,
.result-card span,
.lesson-grid span,
.timeline-card span,
.plan-days span {
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.question-head {
  align-self: auto;
  text-align: center;
}

.question-head h2 {
  margin-top: 10px;
}

.question-head p {
  max-width: 42ch;
  margin: 12px auto 0;
  color: var(--muted-strong);
  font-weight: 600;
  line-height: 1.45;
}

.option-grid {
  width: min(100%, 560px);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-grid:not(.age-grid) {
  width: min(100%, 448px);
  counter-reset: answer;
  grid-template-columns: 1fr;
}

.option-grid label {
  position: relative;
  cursor: pointer;
}

.age-grid label {
  position: relative;
  min-height: 60px;
  border: 1px solid rgba(255, 250, 246, 0.5);
  border-radius: var(--radius);
  padding: 13px 50px 13px 17px;
  display: flex;
  align-items: center;
  color: #fffaf6;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #bf6865);
  box-shadow: 0 12px 26px rgba(168, 95, 92, 0.2);
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.age-grid label::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 250, 246, 0.28) 47%, transparent 62%);
  transform: translateX(-110%);
  transition: transform var(--motion-slow) var(--ease-standard);
}

.age-grid label::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 250, 246, 0.58);
  border-radius: 999px;
  display: grid;
  place-items: center;
  content: "\203A";
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) ease;
}

.age-grid label:hover,
.age-grid label:has(input:checked) {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 16px 34px rgba(168, 95, 92, 0.28);
  transform: translateY(-2px);
}

.age-grid label:hover::before,
.age-grid label:has(input:checked)::before {
  transform: translateX(110%);
}

.age-grid label:hover::after,
.age-grid label:has(input:checked)::after {
  background: rgba(255, 250, 246, 0.14);
  transform: translate(3px, -50%);
}

.option-grid:not(.age-grid) label {
  isolation: isolate;
  min-height: 98px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 58px 18px 86px;
  display: flex;
  align-items: center;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease;
}

.option-grid:not(.age-grid) label::before {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: rgba(239, 201, 196, 0.34);
  content: counter(answer, decimal-leading-zero);
  counter-increment: answer;
  font-weight: 900;
  transform: translateY(-50%);
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard);
}

.option-grid:not(.age-grid) label::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fffaf6;
  content: "";
  font-size: 0.82rem;
  font-weight: 900;
  transform: translateY(-50%);
  transition: transform var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.checkbox-grid:not(.age-grid) label::after {
  border-radius: 7px;
}

.option-grid:not(.age-grid) label:hover,
.option-grid:not(.age-grid) label:has(input:checked) {
  border-color: rgba(201, 119, 115, 0.46);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 250, 246, 0.88));
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.option-grid:not(.age-grid) label:hover::before {
  transform: translateY(-50%) scale(1.04);
}

.option-grid:not(.age-grid) label:hover::after {
  transform: translateY(-50%) scale(1.08);
}

.option-grid:not(.age-grid) label:has(input:checked)::before {
  color: #fffaf6;
  background: var(--primary);
}

.option-grid:not(.age-grid) label:has(input:checked)::after {
  border-color: var(--primary);
  background: var(--primary);
  content: "\2713";
  transform: translateY(-50%) scale(1.08);
}

.option-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-grid b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.option-grid small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.age-grid {
  width: min(100%, 454px);
  margin-top: 20px;
}

.age-grid b {
  color: #fffaf6;
  font-weight: 800;
}

.skip-link {
  margin: 42px auto 0;
  border: 0;
  padding: 0;
  display: inline-flex;
  color: var(--primary-dark);
  background: transparent;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(168, 95, 92, 0.28);
  text-underline-offset: 5px;
  transition: color var(--motion-fast) ease, text-decoration-color var(--motion-fast) ease;
}

.skip-link:hover {
  color: var(--secondary);
  text-decoration-color: rgba(183, 137, 67, 0.52);
}

.interstitial-step,
.lead-step,
.result-step,
.quiz-step:not(.intro-step):not(.result-step):not(.lead-step):not(.interstitial-step) {
  align-content: start;
  justify-items: center;
  text-align: center;
}

.step-content.narrow {
  width: min(100%, 620px);
}

.proof-card,
.timeline-card,
.loading-list,
.lesson-grid article,
.plan-days article,
.result-card {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.proof-card,
.timeline-card,
.loading-list {
  width: min(100%, 520px);
  margin: 24px auto 0;
  border: 1px solid var(--line);
  padding: 20px;
  text-align: left;
}

.proof-media {
  position: relative;
  width: min(100%, 314px);
  margin: 24px auto 0;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--primary-light);
  box-shadow: var(--shadow-card);
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.video-card {
  position: relative;
  width: min(100%, 380px);
  margin: 24px auto 0;
  aspect-ratio: 1.28 / 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(201, 119, 115, 0.42), transparent 8rem),
    linear-gradient(135deg, var(--neutral-dark), #3b2b28);
  box-shadow: 0 24px 60px rgba(33, 23, 20, 0.22);
}

.video-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(255, 250, 246, 0.05) 1px, transparent 1px) 0 0 / 18px 18px;
  opacity: 0.6;
}

.play-dot {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fffaf6;
  background: var(--primary);
  box-shadow: 0 0 0 10px rgba(201, 119, 115, 0.2);
  font-size: 1.35rem;
  text-indent: 4px;
  animation: playPulse 2200ms var(--ease-standard) infinite;
}

.proof-card strong {
  display: block;
  color: var(--ink);
  font-weight: 850;
}

.proof-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted-strong);
  font-weight: 600;
  line-height: 1.45;
}

.lesson-grid {
  width: min(100%, 680px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lesson-grid article {
  border: 1px solid var(--line);
  padding: 18px;
  text-align: left;
  transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.lesson-grid article:hover,
.plan-days article:hover {
  border-color: rgba(201, 119, 115, 0.36);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.lesson-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 850;
}

.lesson-grid p {
  margin-top: 7px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.timeline-card {
  display: grid;
  gap: 10px;
}

.timeline-card div {
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  background: rgba(239, 201, 196, 0.28);
  transition: background var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard);
}

.timeline-card div:hover {
  background: rgba(239, 201, 196, 0.42);
  transform: translateX(2px);
}

.timeline-card strong {
  color: var(--ink);
  line-height: 1.25;
}

.field-grid {
  width: min(100%, 520px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}

.lead-fields .field-span {
  grid-column: 1 / -1;
}

.field-grid label {
  display: grid;
  gap: 7px;
}

.field-grid span {
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--ink);
  background: var(--surface-solid);
  box-shadow: 0 10px 28px rgba(70, 42, 35, 0.04);
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring), 0 14px 36px rgba(70, 42, 35, 0.08);
  transform: translateY(-1px);
}

.privacy-note {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.button {
  position: relative;
  min-height: 56px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 850;
  overflow: hidden;
  text-align: center;
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.button::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 250, 246, 0.26) 48%, transparent 62%);
  transform: translateX(-115%);
  transition: transform var(--motion-slow) var(--ease-standard);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(115%);
}

.button:active,
.age-grid label:active,
.option-grid:not(.age-grid) label:active {
  transform: translateY(0) scale(0.99);
}

.button.primary {
  color: #fffaf6;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-cta);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 22px 52px rgba(168, 95, 92, 0.3);
}

.button.secondary,
.button.ghost {
  color: var(--secondary);
  border: 1px solid rgba(183, 137, 67, 0.42);
  background: rgba(255, 253, 249, 0.76);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: rgba(183, 137, 67, 0.68);
  box-shadow: var(--shadow-soft);
}

.quiz-controls,
.result-actions {
  width: min(100%, 560px);
  margin: 28px auto 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.quiz-controls .ghost {
  display: none;
}

.quiz-controls .primary,
.interstitial-step .button.primary {
  width: min(100%, 448px);
}

.interstitial-step .button.primary {
  margin-top: 24px;
}

.quiz-controls {
  align-self: end;
  padding-bottom: 38px;
}

.result-step {
  align-content: start;
}

.result-layout {
  width: min(100%, 720px);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.result-step h2 {
  margin-top: 10px;
}

.result-step p:not(.kicker) {
  max-width: 54ch;
  margin: 16px auto 0;
  color: var(--muted-strong);
  font-weight: 600;
  line-height: 1.55;
}

.result-card {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 22px;
  color: #fffaf6;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 30px 78px rgba(168, 95, 92, 0.22);
  overflow: hidden;
  text-align: left;
}

.result-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 250, 246, 0.18) 52%, transparent 64%),
    linear-gradient(180deg, rgba(255, 250, 246, 0.12), transparent 42%);
  opacity: 0.8;
}

.result-card > * {
  position: relative;
  z-index: 1;
}

.result-card span {
  color: rgba(255, 250, 246, 0.86);
}

.result-card strong {
  display: block;
  margin-top: 10px;
  color: #fffaf6;
  font-size: 1.04rem;
  line-height: 1.45;
}

.loading-list {
  display: grid;
  gap: 10px;
}

.loading-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  transform-origin: left center;
}

.loading-list span::before {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fffaf6;
  background: var(--success);
  content: "\2713";
  font-size: 0.78rem;
  box-shadow: 0 6px 14px rgba(79, 143, 99, 0.2);
}

.plan-days {
  width: min(100%, 720px);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-days article {
  border: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.plan-days p {
  margin-top: 9px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.has-error .question-head p::after {
  display: block;
  margin-top: 8px;
  color: var(--error);
  content: "Selecione pelo menos uma opção para continuar.";
  font-weight: 800;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressSheen {
  0% {
    transform: translateX(-100%);
  }

  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes imageBreath {
  from {
    transform: scale(1.012);
  }

  to {
    transform: scale(1.045) translateY(-2px);
  }
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow: 0 0 0 10px rgba(201, 119, 115, 0.2);
  }

  50% {
    box-shadow: 0 0 0 16px rgba(201, 119, 115, 0.08);
  }
}

@media (max-width: 760px) {
  .quiz-step {
    padding: 78px 20px 112px;
  }

  .intro-step {
    align-content: start;
    padding-top: 36px;
  }

  .intro-step .step-content {
    width: min(100%, 370px);
  }

  h1 {
    font-size: clamp(1.48rem, 6.2vw, 1.82rem);
  }

  h2 {
    font-size: clamp(1.68rem, 7.6vw, 2.45rem);
  }

  .intro-media {
    width: min(100%, 340px);
    margin-top: 18px;
    aspect-ratio: 1.32 / 1;
  }

  .proof-media {
    width: min(100%, 270px);
    aspect-ratio: 1 / 0.95;
  }

  .proof-card,
  .timeline-card,
  .loading-list,
  .lesson-grid article {
    padding: 16px;
  }

  .video-card {
    width: min(100%, 330px);
    aspect-ratio: 1.28 / 1;
  }

  .hero-bullets {
    width: min(100%, 310px);
    margin-top: 18px;
    gap: 10px;
  }

  .hero-bullets span {
    font-size: 0.86rem;
  }

  .microcopy {
    margin-top: 22px;
    font-size: 0.9rem;
  }

  .option-grid,
  .age-grid,
  .field-grid,
  .plan-days,
  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .age-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .age-grid label {
    min-height: 58px;
    padding: 12px 44px 12px 15px;
  }

  .option-grid:not(.age-grid) label {
    min-height: 94px;
    padding: 16px 54px 16px 76px;
  }

  .option-grid:not(.age-grid) label::before {
    left: 18px;
  }

  .option-grid:not(.age-grid) label::after {
    right: 18px;
  }

  .option-grid b {
    font-size: 0.96rem;
  }

  .option-grid small {
    font-size: 0.78rem;
  }

  .skip-link {
    margin-top: 32px;
    font-size: 0.9rem;
  }

  .question-head {
    align-self: auto;
  }

  .quiz-controls,
  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .quiz-controls {
    grid-template-columns: 1fr;
    position: fixed;
    right: 20px;
    bottom: 18px;
    left: 20px;
    z-index: 50;
    width: auto;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 250, 246, 0.86);
    box-shadow: 0 22px 54px rgba(70, 42, 35, 0.16);
    backdrop-filter: blur(18px);
  }

  .button {
    width: 100%;
    min-height: 58px;
  }

  .field-grid {
    gap: 10px;
  }

  .lead-fields .field-span {
    grid-column: auto;
  }

  .result-card {
    padding: 18px;
  }
}

@media (max-width: 380px) {
  .quiz-step {
    padding-inline: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .intro-media img {
    transform: none !important;
  }
}
