: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%;
}

.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;
}

.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; }
}
