:root {
  --background: #f4f6f3;
  --surface: #ffffff;
  --surface-muted: #e6e6e6;
  --ink: #1c2b22;
  --body-ink: #273129;
  --muted: #67716b;
  --green: #228653;
  --green-dark: #17623d;
  --green-soft: #dfece4;
  --line: #d7ddd8;
  --yellow: #ffd83d;
  --danger: #d8453f;
  --shadow: 0 10px 32px rgba(26, 58, 40, 0.08);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--body-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.progress-track {
  position: sticky;
  z-index: 40;
  top: 0;
  width: calc(100% - 32px);
  height: 6px;
  margin: 63px 16px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
}

.progress-fill {
  width: 9%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 12px;
  left: 50%;
  display: flex;
  width: 144px;
  height: 52px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
}

.media-placeholder {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 100%;
  place-items: center;
  border: 1.5px dashed #9ba89f;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(225, 232, 227, 0.82)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(34, 134, 83, 0.04) 12px 24px);
  color: #6b7770;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-placeholder::after {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  animation: placeholderSweep 3.6s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
}

.media-placeholder--logo {
  width: 105px;
  height: 42px;
  border-radius: 7px;
  font-size: 9px;
}

.site-logo {
  display: block;
  width: 128px;
  height: 48px;
  object-fit: contain;
}

.quiz-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 58, 40, 0.1);
}

#app {
  width: 100%;
  min-height: 290px;
  outline: none;
}

.stage {
  width: min(100% - 32px, 448px);
  margin: 28px auto 0;
  text-align: center;
}

.stage--offer {
  width: min(100% - 28px, 620px);
  padding-bottom: 18px;
}

.scene {
  animation: sceneEnter 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: 50% 30%;
}

.scene.is-leaving {
  animation: sceneLeave 250ms cubic-bezier(0.4, 0, 1, 1) both;
  pointer-events: none;
}

.stage h1,
.stage h2,
.stage h3,
.stage p {
  margin-top: 0;
}

.stage h1,
.stage h2 {
  color: var(--ink);
  font-size: clamp(23px, 4.8vw, 26px);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.025em;
}

.stage h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.lead {
  max-width: 440px;
  margin: 0 auto 20px;
  color: #334038;
  font-size: 16px;
  line-height: 1.5;
}

.intro-copy {
  margin-bottom: 22px;
}

.intro-media {
  margin: 0 auto 22px;
}

.video-placeholder {
  height: 252px;
  margin: 12px auto 20px;
}

.quiz-video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 12px auto 20px;
  padding: 1px;
  overflow: hidden;
  border: 1px dotted rgba(0, 0, 0, 0.32);
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.quiz-video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: #0a0d0b;
  cursor: pointer;
  object-fit: cover;
}

.quiz-video-shell video::-webkit-media-controls,
.quiz-video-shell video::-webkit-media-controls-enclosure {
  display: none !important;
}

.video-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  color: var(--green);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.video-toggle-icon {
  display: grid;
  width: 30px;
  height: 36px;
  margin-left: 4px;
  place-items: center;
}

.video-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.quiz-video-shell.is-playing .video-toggle,
.quiz-video-shell.is-playing .video-toggle:focus-visible {
  opacity: 0;
  pointer-events: none;
}

.quiz-video-shell:not(.is-playing):hover .video-toggle,
.video-toggle:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  background: white;
  opacity: 1;
  outline: none;
}

.video-placeholder .play-ring {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 2px solid rgba(34, 134, 83, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--green);
  font-size: 22px;
  letter-spacing: 0;
}

.question-title {
  margin-bottom: 24px;
  text-align: left;
}

.choice-list {
  display: grid;
  gap: 8px;
}

.choice {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 60px;
  padding: 8px 52px 8px 76px;
  animation: choiceEnter 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  border: 1px solid #dedede;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17, 24, 20, 0.05);
  color: #171b18;
  cursor: pointer;
  place-items: center;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.choice:nth-child(2) { animation-delay: 55ms; }
.choice:nth-child(3) { animation-delay: 110ms; }
.choice:nth-child(4) { animation-delay: 165ms; }

.choice:hover,
.choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 134, 83, 0.55);
  background: #fefefe;
  box-shadow: 0 7px 20px rgba(26, 58, 40, 0.11);
  outline: none;
}

.choice:active,
.choice.is-selected {
  transform: scale(0.985);
  background: #edf4ef;
}

.choice:first-child {
  background: var(--surface-muted);
}

.choice-icon {
  position: absolute;
  left: 10px;
  display: grid;
  width: 52px;
  min-height: 44px;
  place-items: center;
  font-size: 37px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.08));
}

.choice-label {
  line-height: 1.3;
}

.choice-arrow {
  position: absolute;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #eef0ef;
  color: #121714;
  font-size: 27px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.choice:hover .choice-arrow {
  transform: translateX(2px);
  background: #dce9e0;
}

.primary-button,
.offer-button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(34, 134, 83, 0.22);
  color: white;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  width: 100%;
  padding: 14px 20px;
}

.primary-button:hover,
.primary-button:focus-visible,
.offer-button:hover,
.offer-button:focus-visible {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 12px 24px rgba(34, 134, 83, 0.28);
  outline: none;
}

.primary-button--pulse,
.offer-button {
  animation: softPulse 2.35s ease-in-out infinite;
}

.transition-media {
  margin: 2px auto 20px;
}

.loading-stage {
  width: min(100% - 32px, 560px);
  margin-top: 34px;
}

.loading-title {
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: clamp(27px, 4.8vw, 31px) !important;
  line-height: 1.35 !important;
}

.loading-panel {
  width: 100%;
}

.loading-meta {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
  color: #5b6573;
  font-size: 18px;
  line-height: 1.25;
}

.loading-meta strong {
  font-weight: 700;
}

.loading-track {
  overflow: hidden;
  width: 100%;
  height: 18px;
  border-radius: 999px;
  background: #daf1df;
  box-shadow: inset 0 1px 2px rgba(25, 74, 44, 0.06);
}

.loading-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #35d659;
  box-shadow: 0 0 18px rgba(53, 214, 89, 0.22);
  transition: width 55ms linear;
}

.loading-status {
  display: flex;
  max-width: 520px;
  margin: 32px auto 0;
  animation: statusEnter 520ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(25px, 4.6vw, 31px);
  line-height: 1.35;
}

.stage .loading-status {
  margin-top: 44px;
}

.loading-status > span:first-child {
  display: inline-block;
  animation: loadingIconFloat 1.4s ease-in-out infinite;
  transform-origin: 50% 70%;
}

.approval-card {
  padding: 26px 22px;
  border: 1px solid #dce4de;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.approval-badge {
  display: inline-grid;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  animation: badgePop 700ms 150ms cubic-bezier(0.16, 1, 0.3, 1) both;
  place-items: center;
  border-radius: 50%;
  background: #dfeee4;
  color: var(--green);
  font-size: 38px;
}

.approval-copy {
  margin-bottom: 22px;
}

.offer-hero {
  margin-bottom: 24px;
}

.offer-eyebrow {
  display: inline-block;
  margin-bottom: 9px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dcecdf;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-title {
  margin-bottom: 12px;
  font-size: clamp(26px, 6vw, 36px) !important;
}

.offer-subtitle {
  margin-bottom: 18px;
  font-weight: 700;
}

.offer-button {
  width: 100%;
  padding: 16px 18px;
  background: #ef4c42;
  box-shadow: 0 9px 20px rgba(216, 69, 63, 0.22);
  font-size: 17px;
  text-decoration: none;
}

.offer-button:hover,
.offer-button:focus-visible {
  background: #c93832;
  box-shadow: 0 12px 25px rgba(216, 69, 63, 0.27);
}

.offer-media {
  margin: 18px auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: normal;
}

.offer-section {
  margin: 16px 0;
  padding: 26px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 26px rgba(26, 58, 40, 0.06);
  text-align: left;
}

.offer-section h2,
.offer-section h3 {
  margin-bottom: 18px;
  text-align: center;
}

.feature-list,
.bonus-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.feature-list li,
.bonus-list li {
  padding: 13px 14px;
  border: 1px solid #e1e6e2;
  border-radius: 10px;
  background: #fafcfa;
}

.bonus-note {
  color: #8c3e20;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.price-card {
  border: 2px solid var(--green);
  background: #f9fffb;
  text-align: center;
}

.price-card .price-kicker {
  margin-bottom: 5px;
  color: var(--muted);
}

.price-card .price {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.secure-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.secure-details {
  display: grid;
  margin-top: 24px;
  gap: 6px;
}

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

.testimonial {
  overflow: hidden;
  border: 1px solid #e0e6e1;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.testimonial .media-placeholder,
.testimonial-image {
  height: 126px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.testimonial-image {
  display: block;
  width: 100%;
  border-bottom: 1px solid #e0e6e1;
  object-fit: cover;
}

.testimonial-copy {
  padding: 12px 8px;
  font-size: 12px;
}

.testimonial-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.guarantee {
  text-align: center;
}

.guarantee-icon {
  margin-bottom: 10px;
  font-size: 44px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border: 1px solid #dfe5e0;
  border-radius: 10px;
  background: white;
}

.faq-question {
  display: flex;
  width: 100%;
  padding: 15px 16px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
  text-align: left;
}

.faq-question span:last-child {
  color: var(--green);
  font-size: 22px;
  transition: transform 180ms ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding: 0 16px;
  color: #4e5a53;
  transition: padding 280ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 16px;
}

.faq-item.is-open .faq-question span:last-child {
  transform: rotate(45deg);
}

.final-call {
  margin: 26px 0 10px;
  padding: 28px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.final-call h2 {
  color: white;
}

.site-footer {
  display: flex;
  min-height: 64px;
  margin: 14px auto 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #69736d;
  font-size: 13px;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
  outline: none;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  max-width: 330px;
  padding: 13px 16px;
  transform: translateY(24px);
  border-radius: 9px;
  background: #132219;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

@keyframes sceneEnter {
  from { transform: translateY(18px) scale(0.992); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes sceneLeave {
  from { transform: translateY(0) scale(1); opacity: 1; }
  to { transform: translateY(-14px) scale(0.992); opacity: 0; }
}

@keyframes choiceEnter {
  from { transform: translateX(-14px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes placeholderSweep {
  0%, 60% { transform: translateX(-100%); }
  82%, 100% { transform: translateX(100%); }
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

@keyframes badgePop {
  from { transform: scale(0.35) rotate(-10deg); opacity: 0; }
  70% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

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

@keyframes loadingIconFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

@media (max-width: 600px) {
  .progress-track {
    margin-top: 62px;
  }

  .stage {
    margin-top: 25px;
  }

  .stage h1,
  .stage h2 {
    font-size: 22px;
  }

  .question-title {
    text-align: center;
  }

  .loading-stage {
    margin-top: 31px;
  }

  .loading-title {
    margin-bottom: 27px;
    font-size: 25px !important;
  }

  .loading-meta {
    font-size: 16px;
  }

  .loading-track {
    height: 17px;
  }

  .stage .loading-status {
    margin-top: 30px;
    font-size: 24px;
  }

  .choice {
    min-height: 64px;
    padding-left: 66px;
    font-size: 15px;
  }

  .choice-icon {
    left: 6px;
    width: 48px;
    font-size: 34px;
  }

  .offer-section {
    padding: 22px 16px;
  }

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

  .testimonial {
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: stretch;
  }

  .testimonial .media-placeholder,
  .testimonial-image {
    height: 100%;
    min-height: 112px;
    border-width: 0 1px 0 0;
  }

  .testimonial-image {
    border-right: 1px solid #e0e6e1;
    border-bottom: 0;
  }

  .testimonial-copy {
    display: grid;
    padding: 14px;
    align-content: center;
    text-align: left;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 0 18px 16px;
  }
}

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