/* ============================================================
   AI Roadmap Quiz — Component styles
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--fg-primary);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Match fiftyminds.com: League Spartan for display/headings, Inter for body & UI. */
.quiz-shell {
  --font-body: 'Inter', system-ui, sans-serif;
  --font-title: 'Inter', system-ui, sans-serif;
  --fm-black: #313743;            /* slate navy for dark blocks */
}
.quiz-shell input, .quiz-shell select, .quiz-shell textarea, .quiz-shell button {
  font-family: var(--font-body);
}

a { color: inherit; }

/* THEMES — light / dark / cardstack
   Set on the .quiz-shell root via a data-theme attribute. */
.quiz-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
.quiz-shell[data-theme="light"]     { background: #FFFFFF; color: var(--fg-primary); }
.quiz-shell[data-theme="dark"]      { background: var(--fm-black); color: var(--fm-white); }
.quiz-shell[data-theme="cardstack"] { background: var(--fm-neutral-50); color: var(--fg-primary); }

/* HEADER — sticky brand bar */
.qz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--fm-neutral-100);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.quiz-shell[data-theme="dark"] .qz-header {
  background: rgba(49,55,67,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.quiz-shell[data-theme="cardstack"] .qz-header {
  background: rgba(247,248,249,0.9);
  border-bottom: 1px solid var(--fm-neutral-100);
}
.qz-header img { height: 48px; width: auto; display: block; }
.qz-header-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quiz-shell[data-theme="dark"] .qz-header-meta { color: rgba(255,255,255,0.6); }

/* Header CTA button — matches fiftyminds.com teal nav CTA */
.qz-header-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--fm-teal-500);
  color: var(--fm-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--dur-base) var(--ease-out);
}
.qz-header-cta:hover { background: var(--fm-teal-600); }
.qz-header-cta span { transition: transform var(--dur-base) var(--ease-out); }
.qz-header-cta:hover span { transform: translateX(3px); }

/* MAIN STAGE */
.qz-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 48px;
  position: relative;
  min-height: 100vh;
}
.qz-stage-inner {
  width: 100%;
  max-width: 760px;
}

/* PROGRESS */
.qz-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.qz-progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-weight: 600;
}
.quiz-shell[data-theme="dark"] .qz-progress-meta { color: rgba(255,255,255,0.55); }
.qz-progress-meta .step-label { color: var(--fg-accent); }
.qz-progress-bar {
  position: relative;
  height: 3px;
  width: 100%;
  background: var(--fm-neutral-100);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-shell[data-theme="dark"] .qz-progress-bar { background: rgba(255,255,255,0.1); }
.qz-progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--fm-teal-500), var(--fm-teal-light));
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

/* CARDSTACK PROGRESS DOTS */
.qz-progress-dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.qz-progress-dot {
  height: 6px;
  flex: 1;
  background: var(--fm-neutral-100);
  border-radius: 999px;
  transition: background var(--dur-base) var(--ease-out);
}
.qz-progress-dot.active { background: var(--fm-teal-500); }
.qz-progress-dot.done   { background: var(--fm-teal-light); }

/* QUESTION SECTION HEADER (eyebrow) */
.qz-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quiz-shell[data-theme="dark"] .qz-eyebrow { color: var(--fm-teal-light); }
.qz-eyebrow::before {
  display: none;
}

/* QUESTION TEXT */
.qz-question {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.qz-helper {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-tertiary);
  margin: 0 0 28px;
  max-width: 60ch;
}
.quiz-shell[data-theme="dark"] .qz-helper { color: rgba(255,255,255,0.65); }

/* OPTION LIST */
.qz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.qz-option {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 24px;
  background: transparent;
  border: 1px solid var(--fm-neutral-200);
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.4;
  color: var(--fg-primary);
  text-align: left;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  font-weight: 500;
}
.qz-option:hover {
  border-color: var(--fm-teal-500);
  background: rgba(67,169,145,0.04);
}
.qz-option.selected {
  border-color: var(--fm-teal-500);
  background: rgba(67,169,145,0.08);
}
.qz-option:active { transform: scale(0.995); }

/* DARK option */
.quiz-shell[data-theme="dark"] .qz-option {
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--fm-white);
}
.quiz-shell[data-theme="dark"] .qz-option:hover {
  border-color: var(--fm-teal-light);
  background: rgba(109,202,178,0.08);
}
.quiz-shell[data-theme="dark"] .qz-option.selected {
  border-color: var(--fm-teal-light);
  background: rgba(109,202,178,0.12);
}

/* CARDSTACK option */
.quiz-shell[data-theme="cardstack"] .qz-option {
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.quiz-shell[data-theme="cardstack"] .qz-option:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--fm-teal-300);
}
.quiz-shell[data-theme="cardstack"] .qz-option.selected {
  border-color: var(--fm-teal-500);
  box-shadow: 0 0 0 2px rgba(67,169,145,0.18), var(--shadow-md);
}

/* RADIO MARK */
.qz-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--fm-neutral-300);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: border-color var(--dur-base) var(--ease-out);
}
.qz-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fm-teal-500);
  transform: scale(0);
  transition: transform var(--dur-base) var(--ease-out);
}
.qz-option.selected .qz-radio { border-color: var(--fm-teal-500); }
.qz-option.selected .qz-radio::after { transform: scale(1); }
.quiz-shell[data-theme="dark"] .qz-radio { border-color: rgba(255,255,255,0.3); }
.quiz-shell[data-theme="dark"] .qz-option.selected .qz-radio { border-color: var(--fm-teal-light); }
.quiz-shell[data-theme="dark"] .qz-option.selected .qz-radio::after { background: var(--fm-teal-light); }

/* CHECKBOX MARK (multi-select) */
.qz-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid var(--fm-neutral-300);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: border-color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out);
  color: var(--fm-white);
}
.qz-option.selected .qz-checkbox {
  border-color: var(--fm-teal-500);
  background: var(--fm-teal-500);
}
.quiz-shell[data-theme="dark"] .qz-checkbox { border-color: rgba(255,255,255,0.3); }
.quiz-shell[data-theme="dark"] .qz-option.selected .qz-checkbox {
  border-color: var(--fm-teal-light);
  background: var(--fm-teal-light);
}

/* OTHER — free-text option */
.qz-option-other { cursor: default; }
.qz-option-other:hover { border-color: var(--fm-teal-500); background: rgba(67,169,145,0.04); }
.qz-other-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  color: var(--fg-primary);
  cursor: text;
  min-width: 0;
}
.qz-other-input::placeholder { color: var(--fg-tertiary); font-weight: 400; }
.quiz-shell[data-theme="dark"] .qz-other-input { color: var(--fm-white); }
.quiz-shell[data-theme="dark"] .qz-other-input::placeholder { color: rgba(255,255,255,0.4); }

/* FREE TEXT TEXTAREA */
.qz-textarea {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--fg-primary);
  background: transparent;
  border: 1px solid var(--fm-neutral-200);
  border-radius: 14px;
  padding: 20px 24px;
  width: 100%;
  resize: vertical;
  min-height: 160px;
  transition: border-color var(--dur-base) var(--ease-out);
  margin-bottom: 28px;
}
.qz-textarea:focus {
  outline: none;
  border-color: var(--fm-teal-500);
}
.qz-textarea::placeholder { color: var(--fg-tertiary); font-weight: 400; }
.quiz-shell[data-theme="dark"] .qz-textarea {
  border-color: rgba(255,255,255,0.14);
  color: var(--fm-white);
}
.quiz-shell[data-theme="dark"] .qz-textarea::placeholder { color: rgba(255,255,255,0.4); }

/* NAV */
.qz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.qz-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  letter-spacing: 0.01em;
}
.qz-btn-primary {
  background: var(--fm-black);
  color: var(--fm-white);
}
.qz-btn-primary:hover { background: var(--fm-slate); }
.qz-btn-primary:disabled {
  background: var(--fm-neutral-200);
  color: var(--fm-neutral-500);
  cursor: not-allowed;
}
.qz-btn-primary:active:not(:disabled) { transform: scale(0.98); }

.qz-btn-ghost {
  background: transparent;
  color: var(--fg-secondary);
  border-color: var(--fm-neutral-200);
}
.qz-btn-ghost:hover { border-color: var(--fm-slate); color: var(--fm-black); }
.qz-btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }

.quiz-shell[data-theme="dark"] .qz-btn-primary {
  background: var(--fm-teal-500);
}
.quiz-shell[data-theme="dark"] .qz-btn-primary:hover { background: var(--fm-teal-light); color: var(--fm-black); }
.quiz-shell[data-theme="dark"] .qz-btn-ghost {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.quiz-shell[data-theme="dark"] .qz-btn-ghost:hover {
  border-color: var(--fm-white);
  color: var(--fm-white);
}

.qz-arrow {
  display: inline-block;
  transform: translateY(-1px);
}

/* SPLASH SCREEN */
.qz-splash {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}
.qz-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 560px;
}
.qz-splash-logo {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.qz-splash-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.qz-splash-lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 44ch;
  margin: 0;
}
.qz-splash-cta {
  margin-top: 8px;
  font-size: 16px;
  padding: 18px 40px;
}
@media (max-width: 600px) {
  .qz-splash { padding: 40px 24px; }
  .qz-splash-title { font-size: clamp(30px, 9vw, 44px); }
  .qz-splash-lead { font-size: 16px; }
}

/* THANK YOU SCREEN */
.qz-thankyou {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}
.qz-thankyou-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 560px;
  width: 100%;
}
.qz-thankyou-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
}
.qz-thankyou-lead {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.5;
  color: var(--fg-secondary);
  margin: 0;
}

/* ATTENDEE ROWS */
.qz-attendee-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px 24px;
  align-items: end;
  margin-top: 12px;
}
.qz-attendee-row:first-of-type { margin-top: 4px; }
@media (max-width: 600px) {
  .qz-attendee-row { grid-template-columns: 1fr; gap: 8px; }
}
.qz-attendee-remove {
  width: 32px;
  height: 32px;
  border: 1px solid var(--fm-neutral-300);
  background: transparent;
  color: var(--fg-tertiary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  align-self: center;
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.qz-attendee-remove:hover { border-color: var(--fm-danger); color: var(--fm-danger); }
.qz-attendee-add {
  margin-top: 16px;
  align-self: flex-start;
  font-size: 14px;
  padding: 10px 20px;
}

/* DETAILS / CONTACT FORMS */
.qz-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 56px;
}
.qz-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qz-label {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-accent);
  letter-spacing: 0;
  text-transform: none;
}
.quiz-shell[data-theme="dark"] .qz-label { color: var(--fm-teal-light); }
.qz-input, .qz-select {
  font-family: var(--font-body);
  font-size: 19px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--fm-neutral-300);
  border-radius: 0;
  background: transparent;
  color: var(--fg-primary);
  transition: border-color var(--dur-base) var(--ease-out);
  font-weight: 500;
}
.qz-input:focus, .qz-select:focus {
  outline: none;
  border-bottom-color: var(--fm-teal-500);
  box-shadow: none;
}
.quiz-shell[data-theme="dark"] .qz-input,
.quiz-shell[data-theme="dark"] .qz-select {
  border-bottom-color: rgba(255,255,255,0.22);
  color: var(--fm-white);
  background: transparent;
}
.quiz-shell[data-theme="cardstack"] .qz-input,
.quiz-shell[data-theme="cardstack"] .qz-select {
  background: transparent;
}
.qz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
@media (max-width: 600px) { .qz-row { grid-template-columns: 1fr; } }

/* ============================================================
   ALL STAGES PAGE
   ============================================================ */
.as-page {
  min-height: 100vh;
  background: var(--bg-canvas, #fff);
  color: var(--fg-primary);
  display: flex;
  flex-direction: column;
}
.as-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.as-logo { height: 44px; width: auto; display: block; }
.as-back {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-accent);
  text-decoration: none;
}
.as-back::before { content: "← "; }
.as-back:hover { color: var(--fm-teal-600); }

.as-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 88px 48px 56px;
  text-align: center;
}
.as-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-accent);
  margin-bottom: 22px;
}
.as-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 24px;
  text-wrap: balance;
}
.as-hero-lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-tertiary);
  max-width: 60ch;
  margin: 0 auto;
}

.as-stages {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

/* MAIN ROADMAP VIDEO — top of page */
.as-mainvideo {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: 8px 48px 40px;
  text-align: center;
}
.as-mainvideo-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fm-teal-light);
  margin-bottom: 14px;
}
.as-mainvideo-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fm-white);
  margin: 0 0 24px;
}
@media (max-width: 600px) { .as-mainvideo { padding: 8px 24px 32px; } }

.as-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}
.as-stage-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 860px) {
  .as-stage { gap: 24px; }
}
.as-stage-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg-accent);
  margin-bottom: 12px;
}
.as-stage-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.as-stage-tagline {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  color: var(--fg-secondary);
  margin: 0 0 14px;
  line-height: 1.35;
}
.as-stage-summary {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-tertiary);
  margin: 0 auto 22px;
  max-width: 52ch;
}
.as-stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.as-stage-list li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg-secondary);
  padding-left: 0;
  position: relative;
}
.as-stage-list li::before {
  content: "→  ";
  color: var(--fg-accent);
  font-weight: 700;
}
.as-stage-video { width: 100%; }

.as-stage-pdf {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--dur-base, 200ms) var(--ease-out, ease),
              border-color var(--dur-base, 200ms) var(--ease-out, ease);
}
.as-stage-pdf:hover {
  color: var(--fm-teal-600);
  border-bottom-color: var(--fm-teal-600);
}

.as-foot {
  background: var(--fm-black);
  color: var(--fm-white);
  text-align: center;
  padding: 80px 48px 96px;
}
.as-foot-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--fm-white);
}
.as-foot-sub {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 54ch;
  margin: 0 auto 32px;
}
.as-foot-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.as-foot .qz-btn-ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--fm-white);
}
.as-foot .qz-btn-ghost:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 600px) {
  .as-header { padding: 18px 24px; }
  .as-hero { padding: 56px 24px 40px; }
  .as-stages { padding: 24px 24px 64px; gap: 56px; }
}

/* ALL STAGES — NAVY BACKGROUND THEME (white text) */
.quiz-shell.as-page { background: var(--fm-black); }
.as-page .as-header {
  background: var(--fm-black);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.as-page .as-back { color: var(--fm-teal-light); }
.as-page .as-back:hover { color: var(--fm-white); }
.as-page .as-hero-eyebrow { color: var(--fm-teal-light); }
.as-page .as-hero-title { color: var(--fm-teal-light); }
.as-page .as-hero-lead { color: rgba(255,255,255,0.78); }
.as-page .as-stage-num { color: var(--fm-teal-light); }
.as-page .as-stage-name { color: var(--fm-white); }
.as-page .as-stage-tagline { color: var(--fm-white); }
.as-page .as-stage-summary { color: rgba(255,255,255,0.78); }
.as-page .as-stage-list li { color: rgba(255,255,255,0.9); }
.as-page .as-stage-list li::before { color: var(--fm-teal-light); }
.as-page .as-stage-pdf {
  color: var(--fm-teal-light);
  border-bottom-color: rgba(109,202,178,0.4);
}
.as-page .as-stage-pdf:hover {
  color: var(--fm-teal-light);
  border-bottom-color: var(--fm-teal-light);
}
/* keep a contrast footer band, slightly lighter than the navy page */
.as-page .as-foot { background: #262B35; }
.as-page .as-foot .qz-btn-primary { background: var(--fm-teal-500); color: var(--fm-white); }
.as-page .as-foot .qz-btn-primary:hover { background: var(--fm-teal-600); }

/* ============================================================
   MOBILE PASS (≤600px) — tighter spacing, fit-to-screen
   ============================================================ */
@media (max-width: 600px) {
  /* Stage / question screens */
  .qz-stage { padding: 28px 20px 40px; }
  .qz-progress { margin-bottom: 24px; }
  .qz-question { font-size: clamp(24px, 7vw, 30px); }
  .qz-helper { font-size: 17px; margin-bottom: 22px; }
  .qz-option { padding: 14px 18px; gap: 14px; font-size: 17px; }

  /* Buttons + nav fit two-up on small screens */
  .qz-btn { padding: 15px 22px; font-size: 16px; }
  .qz-nav { gap: 10px; }
  .qz-nav .qz-btn-primary { flex: 1; justify-content: center; }

  /* All Stages */
  .as-stages { gap: 44px; }
  .as-stage-num { font-size: 52px; }
  .as-mainvideo-title { font-size: clamp(22px, 6vw, 28px); }
}

