/* Whann Garcia · Health + Medicare Coverage Checkup
   Consumer-facing wizard #4. Extends sibling design system with:
     - Path branching (Under 65 / Medicare)
     - Warm green accent for U65 (health/growth)
     - Warm gold accent for Medicare (Retirement Joe family)
     - CMS-mandated notice styling
*/

:root {
  --bg:            #FAF8F3;
  --bg-2:          #F3EFE3;
  --surface:       #FFFFFF;
  --surface-2:     #FBF9F2;

  --teal:          #01696F;
  --teal-2:        #024A4F;
  --teal-3:        #158188;
  --teal-tint:     #E6F1F2;
  --teal-tint-2:   #CDE4E5;

  --gold:          #D19900;
  --gold-2:        #B48200;
  --gold-tint:     #FBEFC8;
  --gold-tint-2:   #F4E1A0;

  /* Path accents */
  --green:         #327D48;   /* U65 accent */
  --green-2:       #235836;
  --green-tint:    #E4F0E5;
  --green-tint-2:  #CDE1D0;

  --ink:           #28251D;
  --ink-2:         #4C4A42;
  --ink-3:         #7A7974;
  --line:          #E7E1D0;
  --line-2:        #D3CBB4;
  --danger:        #B42318;
  --good:          #157F3A;
  --warn:          #B45309;

  --shadow-sm:     0 1px 2px rgba(1,105,111,0.05);
  --shadow-md:     0 6px 20px rgba(40,37,29,0.08);
  --shadow-lg:     0 18px 40px rgba(40,37,29,0.12);
  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     22px;
  --radius-xl:     28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Path-aware accent: overridden by .wiz-path-* class */
  --accent:        var(--teal);
  --accent-2:      var(--teal-2);
  --accent-3:      var(--teal-3);
  --accent-tint:   var(--teal-tint);
  --accent-tint-2: var(--teal-tint-2);
}

.wiz-path-u65 {
  --accent:        var(--green);
  --accent-2:      var(--green-2);
  --accent-3:      #4A9860;
  --accent-tint:   var(--green-tint);
  --accent-tint-2: var(--green-tint-2);
}
.wiz-path-medicare {
  --accent:        var(--gold-2);
  --accent-2:      #8F6800;
  --accent-3:      var(--gold);
  --accent-tint:   var(--gold-tint);
  --accent-tint-2: var(--gold-tint-2);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

/* Shell — iframe-friendly */
.wiz-shell {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Top bar */
.wiz-top { padding: 18px 20px 8px; background: transparent; }
.wiz-top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.wiz-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--teal);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 10px 8px 4px;
  border-radius: 10px;
  transition: background 120ms;
}
.wiz-back:hover, .wiz-back:focus-visible {
  background: var(--teal-tint);
  outline: none;
}
.wiz-back[hidden] { display: none; }
.wiz-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
}
.wiz-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-tint);
  color: var(--teal);
}
.wiz-wordmark {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--teal-2);
}
.wiz-dot { color: var(--gold); margin: 0 2px; }
.wiz-about {
  justify-self: end;
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 120ms, background 120ms;
}
.wiz-about:hover, .wiz-about:focus-visible {
  color: var(--teal);
  background: var(--teal-tint);
  outline: none;
}

/* Progress bar */
.wiz-progress {
  max-width: 640px;
  margin: 14px auto 0;
  padding: 0 20px;
}
.wiz-progress-bar {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.wiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
  border-radius: 3px;
  width: 0%;
  transition: width 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.wiz-progress-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Screen */
.screen { padding: 24px 20px 40px; flex: 1; }

/* ============ WELCOME ============ */
.welcome {
  max-width: 660px;
  margin: 12px auto 0;
  text-align: center;
  padding: 20px 4px 24px;
}
.welcome-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.welcome-h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.welcome-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 560px;
}

/* Path selection cards */
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 14px auto 18px;
  max-width: 620px;
  text-align: left;
}
.path-card {
  padding: 24px 22px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  transition: transform 120ms, border-color 140ms, box-shadow 160ms, background 160ms;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}
.path-card:hover, .path-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.path-card-u65:hover, .path-card-u65:focus-visible {
  border-color: var(--green);
  background: var(--green-tint);
}
.path-card-mc:hover, .path-card-mc:focus-visible {
  border-color: var(--gold);
  background: var(--gold-tint);
}
.path-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
}
.path-card-u65 .path-card-icon {
  background: var(--green-tint); color: var(--green-2);
}
.path-card-mc .path-card-icon {
  background: var(--gold-tint); color: var(--gold-2);
}
.path-card-title {
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.path-card-sub {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}
.path-card-cta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.path-card-u65 .path-card-cta { color: var(--green); }
.path-card-mc  .path-card-cta { color: var(--gold-2); }

.welcome-unsure {
  margin: 8px auto 4px;
  font-size: 15px;
  color: var(--ink-3);
}
.welcome-unsure a, .welcome-unsure button {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--teal-tint-2);
  cursor: pointer;
  background: transparent;
  border-left: none; border-right: none; border-top: none;
  font-family: inherit;
  font-size: inherit;
  padding: 0 2px 1px;
}
.welcome-unsure a:hover, .welcome-unsure button:hover { color: var(--teal-2); }

.welcome-illust {
  margin: 26px auto 0;
  max-width: 460px;
  padding: 22px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.welcome-illust-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center;
}
.welcome-illust-body {
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.welcome-illust-body strong { color: var(--ink); }

/* Not-sure sub-flow */
.unsure-block {
  max-width: 560px;
  margin: 22px auto 0;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.unsure-block h2 {
  font-size: 20px; font-weight: 700; margin: 0 0 16px;
  color: var(--ink);
}
.unsure-block h3 {
  font-size: 15px; font-weight: 600; margin: 20px 0 8px;
  color: var(--ink-2);
}
.unsure-actions {
  margin-top: 20px;
  display: flex; justify-content: space-between; gap: 12px;
}

/* ============ QUESTION CARD ============ */
.q-card {
  max-width: 640px;
  margin: 4px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.q-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.q-title {
  font-size: 26px; line-height: 1.2; font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--ink);
}
.q-explain {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 22px;
}
.q-explain::before {
  content: "Why we ask · ";
  color: var(--accent);
  font-weight: 700; letter-spacing: 0.02em;
}
.q-sub {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.q-sub-title {
  font-size: 18px; font-weight: 700; color: var(--ink);
  margin: 0 0 14px;
}
.q-sub-note {
  font-size: 13.5px; color: var(--ink-3);
  margin: -4px 0 12px;
}

/* Choice buttons */
.choice-list {
  display: flex; flex-direction: column; gap: 10px;
}
.choice {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 62px;
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: border-color 140ms, background 140ms, transform 80ms, box-shadow 140ms;
}
.choice:hover {
  border-color: var(--accent-3);
  background: var(--surface);
}
.choice:active { transform: translateY(1px); }
.choice.selected {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--accent-2);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(1,105,111,0.08);
}
.choice-mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--surface);
  flex-shrink: 0;
  display: grid; place-items: center;
  transition: border-color 140ms, background 140ms;
}
.choice.selected .choice-mark {
  border-color: var(--accent); background: var(--accent); color: white;
}
.choice.selected .choice-mark::after {
  content: "✓"; font-size: 13px; font-weight: 700;
}
.choice-body { flex: 1; }
.choice-label { display: block; }
.choice-desc {
  display: block; font-size: 13px; color: var(--ink-3);
  font-weight: 500; margin-top: 2px;
}
.choice.selected .choice-desc { color: var(--accent-3); }

.choice-multi .choice-mark { border-radius: 6px; }

/* Pair Yes/No */
.pair-group { display: flex; gap: 12px; }
.pair-group .num-btn { flex: 1; }
.num-btn {
  flex: 1 1 60px;
  min-height: 60px;
  padding: 12px 8px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 18px; font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms, background 140ms, color 140ms;
}
.num-btn:hover { border-color: var(--accent-3); }
.num-btn.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  box-shadow: 0 0 0 3px rgba(1,105,111,0.08);
}

/* Ranked-select — priorities up to 3 */
.ranked-list { display: flex; flex-direction: column; gap: 10px; }
.ranked-choice {
  position: relative;
}
.ranked-badge {
  position: absolute;
  top: 12px; right: 14px;
  min-width: 28px; height: 28px; padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700; font-size: 12.5px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.02);
}
.ranked-hint {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 10px;
}

/* Dropdown */
.q-select {
  width: 100%;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301696F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
}
.q-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(1,105,111,0.14);
}

/* Card actions */
.q-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-top: 26px;
}
.q-actions-right { display: flex; gap: 10px; }

/* Buttons */
.wiz-btn {
  font-family: inherit; font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: 14px; border: none;
  cursor: pointer;
  transition: transform 100ms, background 140ms, color 140ms, box-shadow 140ms;
  letter-spacing: 0.01em;
  min-height: 52px; line-height: 1.2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.wiz-btn:active { transform: translateY(1px); }
.wiz-btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 4px 12px rgba(1,105,111,0.20);
}
.wiz-btn-primary:hover, .wiz-btn-primary:focus-visible {
  background: var(--accent-2);
  box-shadow: 0 6px 18px rgba(1,105,111,0.28);
  outline: none;
}
.wiz-btn-primary:disabled {
  background: var(--line-2); color: var(--ink-3);
  cursor: not-allowed; box-shadow: none;
}
.wiz-btn-ghost {
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--line-2);
}
.wiz-btn-ghost:hover, .wiz-btn-ghost:focus-visible {
  background: var(--bg-2); color: var(--ink); outline: none;
}
.wiz-btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.wiz-btn-outline:hover, .wiz-btn-outline:focus-visible {
  background: var(--accent-tint); outline: none;
}
.wiz-btn-lg {
  font-size: 18px; padding: 18px 28px; min-height: 60px;
  border-radius: 16px;
}
.wiz-btn-block { width: 100%; }
.wiz-btn-text {
  background: transparent; color: var(--accent); border: none;
  padding: 8px 12px; min-height: 40px; font-weight: 600;
}
.wiz-btn-text:hover { background: var(--accent-tint); }

/* ============ RESULT PAGE ============ */
.result {
  max-width: 720px;
  margin: 8px auto 0;
  display: flex; flex-direction: column; gap: 20px;
}
.result-hero {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.result-hero::before {
  content: ""; position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.result-hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.85; margin-bottom: 10px;
}
.result-hero-title {
  font-size: 24px; font-weight: 600; margin: 0 0 18px;
  line-height: 1.25; letter-spacing: -0.01em;
}
.result-hero-headline {
  font-size: 32px; font-weight: 800; margin: 0 0 14px;
  letter-spacing: -0.02em; line-height: 1.1;
  color: white;
}
.result-hero-rationale {
  font-size: 16px; line-height: 1.55;
  opacity: 0.94; margin: 0; max-width: 560px;
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
}
.result-card-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.result-card-title {
  font-size: 22px; font-weight: 700; margin: 0 0 18px;
  color: var(--ink); letter-spacing: -0.01em;
}

.cov-list { display: flex; flex-direction: column; gap: 14px; }
.cov-item {
  display: grid; grid-template-columns: 26px 1fr;
  gap: 12px; padding: 14px 16px;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.cov-item.cov-featured {
  background: var(--accent-tint);
  border-color: var(--accent-tint-2);
}
.cov-icon {
  color: var(--accent);
  padding-top: 2px;
}
.cov-name {
  font-size: 14px; font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 4px;
}
.cov-value {
  font-size: 17px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}
.cov-why {
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
}

/* Subsidy / LIS chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 6px 6px 0;
  text-transform: uppercase;
}
.chip-subsidy { background: var(--accent-tint); color: var(--accent-2); }
.chip-lis     { background: var(--gold-tint);  color: var(--gold-2); }
.chip-sep     { background: var(--teal-tint);  color: var(--teal-2); }
.chip-nudge   { background: #FFEBEB;           color: #9A2A1F; }

/* Cost range */
.cost-range {
  text-align: center;
  padding: 26px 20px 20px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}
.cost-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  margin-bottom: 6px;
}
.cost-big {
  font-size: 32px; font-weight: 800; color: var(--accent);
  letter-spacing: -0.02em; margin: 4px 0 6px; line-height: 1.1;
}
.cost-unit {
  font-size: 15px; color: var(--ink-2); margin-bottom: 6px;
}
.cost-secondary {
  font-size: 15px; color: var(--ink-2);
  padding: 12px 14px; margin-top: 10px;
  background: var(--bg-2);
  border-radius: 10px;
  text-align: left;
}
.cost-secondary strong { color: var(--ink); }
.cost-disclaimer {
  font-size: 12.5px; line-height: 1.5;
  color: var(--ink-3);
  text-align: left;
  padding: 14px 16px;
  background: var(--bg-2);
  border-radius: 10px;
  margin-top: 12px;
}

/* Watch-out / questions list */
.watch-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.watch-item {
  display: grid; grid-template-columns: 26px 1fr;
  gap: 12px; padding: 14px 16px;
  background: var(--surface-2); border-radius: 12px;
  border-left: 3px solid var(--gold);
  font-size: 15px; line-height: 1.5;
  color: var(--ink);
}
.watch-item .watch-icon { color: var(--gold-2); padding-top: 2px; }
.watch-item strong { color: var(--ink); font-weight: 700; }

.qlist { list-style: none; padding: 0; margin: 0;
         display: flex; flex-direction: column; gap: 10px; }
.qlist li {
  display: grid; grid-template-columns: 26px 1fr;
  gap: 12px; padding: 12px 14px;
  background: var(--surface-2); border-radius: 10px;
  border-left: 3px solid var(--accent);
  font-size: 14.5px; line-height: 1.5; color: var(--ink);
}
.qlist li .qmark {
  color: var(--accent);
  font-size: 15px; font-weight: 700;
  padding-top: 2px;
}

/* CTA block */
.cta-block {
  background: linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  gap: 12px; align-items: stretch;
}
.cta-primary { font-size: 18px; padding: 20px 24px; min-height: 64px; }
.cta-tertiary-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-top: 8px;
}
.cta-tertiary-row .wiz-btn-text { color: var(--ink-3); }
.cta-tertiary-row .wiz-btn-text:hover {
  color: var(--accent); background: var(--accent-tint);
}

/* Result disclaimer */
.result-disclaimer {
  font-size: 12.5px; line-height: 1.55;
  color: var(--ink-3);
  padding: 14px 16px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

/* CMS mandated notice */
.wiz-cms-notice {
  font-size: 12.5px !important;
  line-height: 1.55;
  color: var(--ink-3) !important;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding: 8px 12px !important;
  background: var(--gold-tint);
  border-radius: 6px;
  margin: 12px 0 4px !important;
}
.wiz-cms-notice-block {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  background: var(--gold-tint);
  border-radius: 8px;
  margin: 8px 0 16px;
}
.wiz-cms-footer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-3);
  font-style: italic;
  padding: 10px 14px;
  border: 1px dashed var(--gold-tint-2);
  border-radius: 8px;
  background: transparent;
  margin-top: 8px;
}

/* App-level footer */
.wiz-footer {
  margin-top: auto;
  padding: 20px 22px 24px;
  color: var(--ink-3);
  text-align: center;
}
.wiz-footer-line {
  font-size: 12px; line-height: 1.5;
  max-width: 640px; margin: 0 auto;
}
.wiz-footer-line .cms-line {
  display: block;
  margin-top: 6px;
  font-style: italic;
  color: var(--ink-3);
}

/* ============ MODAL ============ */
.wiz-modal {
  position: fixed; inset: 0;
  z-index: 100; display: grid; place-items: center;
  padding: 20px;
}
.wiz-modal[hidden] { display: none; }
.wiz-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(40,37,29,0.45);
  backdrop-filter: blur(2px);
}
.wiz-modal-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 480px; width: 100%;
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.wiz-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: none; background: transparent;
  color: var(--ink-3);
  font-size: 22px; line-height: 1;
  cursor: pointer; border-radius: 8px;
}
.wiz-modal-close:hover { background: var(--bg-2); color: var(--ink); }
.wiz-modal-title {
  font-size: 22px; font-weight: 700; margin: 0 0 12px;
  color: var(--ink); letter-spacing: -0.01em;
}
.wiz-modal p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 12px;
}
.wiz-muted { color: var(--ink-3) !important; font-size: 14px !important; }

/* Form */
.wiz-form {
  display: flex; flex-direction: column;
  gap: 14px; margin-top: 4px;
}
.wiz-field { display: flex; flex-direction: column; gap: 6px; }
.wiz-field > span {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.wiz-field input, .wiz-field select {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--surface-2); color: var(--ink);
  transition: border-color 120ms;
}
.wiz-field input:focus, .wiz-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.wiz-form-actions {
  display: flex; justify-content: flex-end;
  gap: 10px; margin-top: 6px;
}

.wiz-success { text-align: center; padding: 12px 0 4px; }
.wiz-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: white;
  font-size: 28px;
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.wiz-success h3 { font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.wiz-success p  { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Toast */
.wiz-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink); color: white;
  padding: 12px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 200;
  animation: toast-in 200ms ease-out;
}
.wiz-toast[hidden] { display: none; }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 620px) {
  .wiz-shell { max-width: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .welcome-h1 { font-size: 30px; }
  .welcome-sub { font-size: 16px; }
  .path-cards { grid-template-columns: 1fr; gap: 12px; }
  .path-card { min-height: 0; padding: 20px 18px; }
  .q-card { padding: 22px 18px 18px; border-radius: 18px; }
  .q-title { font-size: 22px; }
  .screen { padding: 18px 14px 32px; }
  .wiz-top { padding: 14px 14px 4px; }
  .result-hero { padding: 24px 20px; }
  .result-hero-headline { font-size: 26px; }
  .result-hero-title { font-size: 20px; }
  .result-card { padding: 22px 18px 18px; }
  .cov-item, .watch-item { padding: 12px 14px; }
  .cost-big { font-size: 26px; }
  .cta-primary { font-size: 16px; min-height: 58px; }
  .wiz-modal-card { padding: 22px 18px 20px; }
  .q-actions { flex-direction: column-reverse; align-items: stretch; }
  .q-actions .wiz-btn { width: 100%; }
}

/* ============ PRINT ============ */
@media print {
  body { background: white; color: black; font-size: 12pt; }
  .wiz-top, .wiz-footer, .cta-block, .wiz-back, .wiz-about, .wiz-progress { display: none !important; }
  .wiz-modal { display: none !important; }
  .screen { padding: 0; }
  .result { max-width: 100%; gap: 14px; }
  .result-hero {
    background: white !important; color: black !important;
    border: 2px solid #01696F;
    box-shadow: none; padding: 18px;
  }
  .result-hero-eyebrow { color: #01696F; opacity: 1; }
  .result-hero-headline { color: #01696F; font-size: 22pt; }
  .result-hero-title { color: black; }
  .result-hero-rationale { color: #333; opacity: 1; }
  .result-hero::before { display: none; }
  .result-card {
    box-shadow: none; border: 1px solid #ccc;
    page-break-inside: avoid; padding: 16px;
  }
  .cov-item, .watch-item, .qlist li {
    background: white !important; border: 1px solid #ddd;
    color: black !important;
  }
  .cov-item.cov-featured { border: 2px solid #01696F; }
  .cost-big { color: black; font-size: 20pt; }
  .cost-disclaimer, .result-disclaimer, .cost-secondary {
    color: #555; background: white; border: 1px solid #ddd;
  }
  a { color: black; text-decoration: none; }
  .wiz-cms-notice, .wiz-cms-footer {
    background: white !important;
    border-left: 3px solid #D19900;
    color: #333 !important;
  }
  .result::before {
    content: "Whann Garcia · Health & Medicare Coverage Checkup";
    display: block;
    font-weight: 800;
    font-size: 11pt;
    letter-spacing: 0.08em;
    color: #01696F;
    padding-bottom: 8px;
    border-bottom: 2px solid #01696F;
    margin-bottom: 6px;
  }
}
