:root {
  --teal-950: #063c36;
  --teal-900: #07544b;
  --teal-800: #0b675c;
  --green: #11a36b;
  --green-dark: #08744b;
  --mint: #e9f7ef;
  --mint-soft: #f6fbf8;
  --yellow: #f6b334;
  --yellow-soft: #fff3cd;
  --ink: #17211f;
  --muted: #63726d;
  --line: #dbe8e2;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(6, 60, 54, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mint-soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

button,
a {
  font: inherit;
}

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

img {
  max-width: 100%;
}

.quiz-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 42vw) 1fr;
  background: var(--white);
}

.visual-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding: clamp(28px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 60, 54, 0.12), rgba(6, 60, 54, 0.9)),
    url("assets/positive-training-home.png") center/cover no-repeat;
}

.visual-copy {
  max-width: 460px;
}

.visual-copy span,
.eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--teal-800);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visual-copy span {
  color: rgba(255, 255, 255, 0.76);
}

.visual-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.visual-copy p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.quiz-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 46px);
}

.quiz-top {
  min-height: 46px;
}

.back-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--teal-800);
  cursor: pointer;
  font-size: 1.55rem;
}

.back-button:hover {
  background: var(--mint);
}

.back-button[hidden] {
  display: block;
  visibility: hidden;
}

.progress-wrap {
  margin-top: 18px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transition: width 240ms ease;
}

.screen {
  display: none;
  width: min(100%, 720px);
  margin: auto 0;
  padding: 34px 0 24px;
}

.screen.is-active {
  display: block;
  animation: fadeUp 240ms ease both;
}

.screen h2 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead,
.screen > p:not(.eyebrow) {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.primary-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 178px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 950;
  text-align: center;
}

.primary-button {
  margin-top: 26px;
  background: var(--yellow);
  color: var(--teal-950);
  box-shadow: 0 12px 26px rgba(246, 179, 52, 0.24);
}

.cta-button {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(17, 163, 107, 0.28);
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.cta-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(17, 163, 107, 0.34);
}

.cta-button.full {
  width: 100%;
}

.cta-bounce {
  animation: ctaBounce 2.2s ease-in-out infinite;
}

.option-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.option-button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(6, 60, 54, 0.05);
}

.option-button::after {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 950;
}

.option-button:hover {
  border-color: var(--green);
  background: #fbfffd;
}

.quiz-proof-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfff8;
  box-shadow: 0 8px 20px rgba(6, 60, 54, 0.05);
}

.quiz-proof-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.quiz-proof-card strong {
  display: block;
  color: var(--teal-950);
  font-size: 0.95rem;
}

.quiz-proof-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.loading-screen {
  text-align: center;
}

.loading-screen h2,
.loading-screen p {
  margin-left: auto;
  margin-right: auto;
}

.loader {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border: 6px solid var(--mint);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.sales-page {
  background: var(--mint-soft);
}

.deal-strip {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 16px;
  background: var(--yellow);
  color: var(--teal-950);
  text-align: center;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(6, 60, 54, 0.1);
}

.hero-section,
.section,
.content-card,
.professional-note,
.final-cta {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.82fr);
  gap: clamp(26px, 5vw, 54px);
  align-items: center;
  padding: clamp(38px, 7vw, 72px) 0 46px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span,
.value-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-900);
  font-size: 0.9rem;
  font-weight: 850;
}

.product-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal-950);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

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

.content-card,
.professional-note {
  margin-bottom: 48px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan-card,
.guarantee-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
}

h2,
h3,
p,
li,
strong {
  overflow-wrap: anywhere;
}

.content-card h2,
.section-head h2,
.offer-card h2,
.final-cta h2 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.simple-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.simple-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.simple-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px #c8f2df;
}

.section {
  padding: 10px 0 48px;
}

.section-head {
  max-width: 650px;
  margin-bottom: 22px;
}

.section-head p {
  margin: 0 0 10px;
}

.section-head p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.receive-grid,
.obedience-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.receive-grid article,
.bonus-grid article,
.obedience-card,
.testimonial-card,
.offer-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(6, 60, 54, 0.07);
}

.receive-grid article:not(.kit-cover),
.bonus-grid article,
.obedience-card,
.testimonial-card {
  padding: 20px;
}

.receive-grid strong,
.obedience-card h3,
.bonus-grid h3 {
  display: block;
  color: var(--teal-950);
  font-size: 1.05rem;
  line-height: 1.15;
}

.receive-grid p,
.bonus-grid p,
.obedience-card p,
.testimonial-card p,
.offer-card p,
.offer-card small,
.professional-note p,
.faq-list p,
.final-cta p,
.guarantee-card p {
  color: var(--muted);
}

.obedience-card {
  overflow: hidden;
}

.obedience-card img {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  aspect-ratio: 1 / 1;
  margin: -20px -20px 16px;
  object-fit: cover;
}

.obedience-card h3 {
  margin: 0 0 8px;
}

.obedience-card p {
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.testimonial-avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--mint);
}

.testimonial-card p {
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.testimonial-card strong {
  color: var(--teal-950);
}

.kit-cover {
  min-height: 280px;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  background: var(--teal-950);
}

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

.bonus-image {
  display: block;
  width: 96px;
  aspect-ratio: 1 / 1;
  flex: 0 0 96px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--teal-950);
}

.bonus-content {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}

.bonus-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.bonus-meta small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.bonus-old-value {
  position: relative;
  color: #d94b4b;
  font-weight: 950;
}

.bonus-old-value::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: rotate(-8deg);
}

.free-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9f7ef;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 950;
}

.bonus-number {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-800);
  font-size: 0.9rem;
  font-weight: 950;
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offer-section {
  margin: 0 0 48px;
  padding: clamp(30px, 6vw, 58px) 16px;
  background: var(--teal-950);
}

.offer-card {
  position: relative;
  overflow: hidden;
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 76px) clamp(24px, 5vw, 40px) clamp(24px, 5vw, 40px);
}

.offer-ribbon {
  position: absolute;
  inset: 0 0 auto;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--green-dark), var(--yellow));
  color: var(--white);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.saving-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e9f7ef;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 950;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 10px 16px;
  margin: 22px 0;
  text-align: center;
}

.price-row .old-price {
  position: relative;
  align-self: center;
  color: #8a9692;
  font-size: 1.18rem;
  font-weight: 950;
}

.price-row .old-price::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 2px;
  background: #d94b4b;
  transform: rotate(-8deg);
}

.price-row strong {
  color: var(--teal-900);
  font-size: clamp(3.6rem, 10vw, 5.8rem);
  line-height: 0.9;
}

.price-row span {
  color: var(--muted);
  font-weight: 850;
}

.offer-card .check-list {
  margin-bottom: 22px;
}

.checkout-button {
  min-height: 58px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(17, 163, 107, 0.3);
  text-transform: uppercase;
}

.checkout-button:hover {
  background: linear-gradient(90deg, var(--green-dark), #ffc43d);
}

.secure-note {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 850;
}

.guarantee-card {
  background: #fbfff8;
}

.professional-note {
  border-left: 5px solid var(--yellow);
}

.professional-note strong {
  color: var(--teal-950);
  font-size: 1.08rem;
}

.professional-note p {
  max-width: 880px;
  margin: 8px 0 0;
}

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

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 18px;
  color: var(--teal-950);
  font-weight: 950;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.final-cta {
  padding: 18px 0 70px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  margin-top: 12px;
  margin-bottom: 22px;
}

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

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

@keyframes ctaBounce {
  0%,
  72%,
  100% {
    transform: translateY(0);
  }
  82% {
    transform: translateY(-5px);
  }
  90% {
    transform: translateY(0);
  }
  95% {
    transform: translateY(-2px);
  }
}

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

@media (max-width: 900px) {
  .quiz-shell {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 28vh;
  }

  .quiz-panel {
    min-height: 72vh;
  }

  .hero-section,
  .plan-card,
  .guarantee-card {
    grid-template-columns: 1fr;
  }

  .receive-grid,
  .bonus-grid,
  .obedience-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit-cover {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .deal-strip {
    font-size: 0.88rem;
  }

  .visual-panel {
    min-height: 22vh;
    padding: 24px;
  }

  .visual-copy p {
    display: none;
  }

  .visual-copy h1 {
    font-size: 2.15rem;
  }

  .quiz-panel {
    padding: 18px;
  }

  .screen h2 {
    font-size: 1.7rem;
  }

  .hero-section,
  .section,
  .content-card,
  .professional-note,
  .final-cta {
    width: min(100% - 26px, 1060px);
  }

  .hero-section {
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-actions,
  .cta-button {
    width: 100%;
  }

  .product-preview {
    aspect-ratio: 1 / 1;
  }

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

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

  .obedience-card {
    padding: 10px;
  }

  .obedience-card img {
    width: calc(100% + 20px);
    margin: -10px -10px 10px;
  }

  .obedience-card h3 {
    margin-bottom: 5px;
    font-size: 0.98rem;
  }

  .obedience-card p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .bonus-content {
    grid-template-columns: 82px 1fr;
    gap: 12px;
  }

  .bonus-image {
    width: 82px;
    flex-basis: 82px;
  }

  .content-card,
  .professional-note {
    margin-bottom: 34px;
  }
}
