:root {
  --navy: #223050;
  --cream: #F8F2E9;
  --plum: #7A4B7E;
  --orange: #E2792E;
  --font-head: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  min-height: 100%;
}

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  text-align: center;
  border-top: 1px solid rgba(34, 48, 80, 0.12);
}
.site-footer p {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(34, 48, 80, 0.65);
}
.site-footer a {
  color: var(--navy);
  font-weight: 600;
}
.site-footer .fineprint {
  margin: 0;
}

.quiz-shell {
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 32px 24px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(34, 48, 80, 0.12);
  z-index: 10;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--plum);
  transition: width 0.3s ease;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.35s ease;
}
.screen[hidden] {
  display: none;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--orange);
  margin: 0;
}

.headline, .q-text {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  font-size: 38px;
  color: var(--navy);
}

.subhead {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(34, 48, 80, 0.75);
  margin: 0;
}

.landing-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
}

/* Full-bleed hero: breaks out of quiz-shell's centered 640px column so the
   landing photo reads as a wide marketing hero, not a cramped mobile card. */
.hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: -32px;
  aspect-ratio: 1408 / 768;
  background-image: url('hero-after.jpg');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248,242,233,0.85) 0%, rgba(248,242,233,0.55) 28%, rgba(248,242,233,0) 52%);
  pointer-events: none;
}
.hero-headline {
  position: absolute;
  top: 6%;
  left: 5%;
  max-width: 38%;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 2.6vw, 30px);
  line-height: 1.18;
  color: var(--navy);
  margin: 0;
}
.hero-badge {
  position: absolute;
  left: 4%;
  top: 22%;
  width: 34%;
  max-width: 260px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(34,48,80,0.25);
}
.hero-foot {
  position: absolute;
  right: 4%;
  bottom: 6%;
  max-width: 44%;
  text-align: right;
}
.hero-foot-card {
  display: inline-block;
  background: rgba(248,242,233,0.92);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(34,48,80,0.15);
}
.hero-foot-card p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(14px, 1.9vw, 22px);
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 14px;
}
.hero-foot-card .btn {
  width: auto;
  padding: 14px 26px;
  font-size: clamp(13px, 1.6vw, 16px);
}

.hero-mobile-block {
  display: none;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 24px 8px;
  text-align: center;
}
.hero-mobile-block h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 10px;
}
.hero-mobile-block .emphasis-line {
  text-align: center;
  margin: 0 0 18px;
}
.hero-mobile-block .btn { width: 100%; }

@media (max-width: 600px) {
  .hero { aspect-ratio: 1408 / 900; background-position: center 15%; margin-top: -32px; }
  .hero-headline { display: none; }
  .hero-badge { left: 50%; top: auto; bottom: 4%; transform: translateX(-50%); width: 44%; }
  .hero-foot { display: none; }
  .hero-mobile-block { display: block; }
}

.landing-divider {
  height: 1px;
  background: rgba(34, 48, 80, 0.12);
  margin: 4px 0;
}

.emphasis-line {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.cost-list {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(34, 48, 80, 0.85);
}

.q-count {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.q-option {
  text-align: left;
  border: 1px solid rgba(34, 48, 80, 0.12);
  background: #fff;
  color: var(--navy);
  padding: 16px 18px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 48, 80, 0.08);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.q-option:hover {
  border-color: var(--plum);
  box-shadow: 0 4px 12px rgba(34, 48, 80, 0.12);
}
.q-option:active {
  transform: scale(0.99);
}

.btn {
  display: inline-block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}
.btn-primary {
  background: var(--plum);
  color: var(--cream);
}
.btn-cta {
  background: var(--orange);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  text-decoration: underline;
  font-weight: 500;
  padding-top: 4px;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.email-form input {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(34, 48, 80, 0.15);
  font-family: var(--font-body);
  font-size: 16px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(34, 48, 80, 0.08);
}

.fineprint {
  font-size: 13px;
  color: rgba(34, 48, 80, 0.55);
  margin: 0;
}

.result-body {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(34, 48, 80, 0.85);
  margin: 0 0 8px;
}

@media (max-width: 480px) {
  .headline, .q-text { font-size: 30px; }
}
