:root {
  --navy: #1F1B2E;
  --navy-2: #2A2440;
  --ink: #1E1A2A;
  --accent: #A8A4E6;
  --accent-dark: #6B66C4;
  --cream: #FAF7F1;
  --warm-cream: #F4EFE5;
  --grey-text: #555050;
  --bg: #FAF7F1;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.01em;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn:hover { background: #F5F1EA; }
.btn-large { padding: 16px 36px; font-size: 18px; }
.btn-full { width: 100%; }
.btn-spaced { margin-top: 32px; }

/* Landing */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(168, 164, 230, 0.08), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  padding: 40px 24px;
  color: #F5F1EA;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 32px;
  color: rgba(245, 241, 234, 0.85);
}

.outcomes-preview {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  text-align: center;
}
.outcomes-preview h2 { font-size: 32px; margin-bottom: 16px; }
.section-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--grey-text);
  font-size: 16px;
  line-height: 1.6;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
@media (max-width: 860px) {
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}
.outcome-tile {
  background: #fff;
  border: 1px solid rgba(107, 102, 196, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31, 27, 46, 0.04);
}
.outcome-tile .tile-img {
  height: 160px;
  background: linear-gradient(135deg, #E3E1F7, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.outcome-tile .tile-img svg { width: 56px; height: 56px; }
.outcome-tile .tile-body { padding: 20px; }
.outcome-tile h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.outcome-tile p { font-size: 14px; line-height: 1.55; color: var(--grey-text); margin: 0; }

.cta-band {
  background: var(--navy);
  color: #F5F1EA;
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { color: #F5F1EA; }
.cta-band .cta-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-band h2 {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
}
.cta-band p { max-width: 620px; margin: 20px auto 0; color: rgba(245, 241, 234, 0.85); line-height: 1.6; }
.cta-fine { font-size: 14px; }

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 32px;
  font-size: 13px;
  color: var(--grey-text);
}

/* Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 46, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.modal-backdrop.active { display: flex; }
.modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(31, 27, 46, 0.25);
}
.modal-title { text-align: center; font-size: 15px; color: var(--grey-text); margin-bottom: 20px; }
.modal-row { display: flex; gap: 12px; margin-bottom: 12px; }
.modal input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2ddf3;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 12px;
  font-family: inherit;
}
.modal-row input { margin-bottom: 0; }
.modal input:focus { outline: none; border-color: var(--accent-dark); }

/* Screens */
.screen { display: none; }
.screen.active { display: block; }

.quiz-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}
.btn-back {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 28px;
  opacity: 0.75;
}
.btn-back:hover { opacity: 1; }
.progress { margin-bottom: 20px; }
#progress-label {
  font-size: 13px;
  color: var(--grey-text);
  display: block;
  margin-bottom: 8px;
}
.progress-bar {
  height: 6px;
  background: var(--warm-cream);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent-dark);
  width: 0%;
  transition: width 0.25s ease;
}
#question-text {
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.3;
  margin-bottom: 32px;
}
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-btn {
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 20px 22px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.option-btn:hover { background: var(--accent-dark); color: #fff; }
.option-btn:active { transform: scale(0.99); }

/* Results */
.results-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  text-align: center;
}
#results-heading { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.35; margin-bottom: 32px; }
.outcome-card {
  background: #fff;
  border: 1px solid rgba(107, 102, 196, 0.15);
  border-radius: 12px;
  padding: 32px;
  text-align: left;
  box-shadow: 0 2px 14px rgba(31, 27, 46, 0.05);
}
.outcome-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.outcome-icon { color: var(--accent-dark); flex-shrink: 0; }
.outcome-icon svg { width: 36px; height: 36px; display: block; }
#outcome-name { font-size: 24px; color: var(--ink); }
#outcome-copy { font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0; }

.outcome-steps { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(107, 102, 196, 0.15); }
.outcome-steps h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-dark); margin-bottom: 12px; }
.outcome-steps ol { margin: 0; padding-left: 20px; }
.outcome-steps li { font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.outcome-steps li:last-child { margin-bottom: 0; }

.cta-band a.btn { margin-top: 8px; }
