*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --text: #092d4f;
  --text-secondary: #4A4A4F;
  --text-muted: #6B6B73;
  --text-faint: #9A9A9F;
  --text-disabled: #BDBDBD;
  --bg: #F5F3EF;
  --surface: #FFFFFF;
  --surface-alt: #F5F4F2;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-shadow: rgba(37,99,235,0.12);
  --border: #E8E6E3;
  --border-light: #F0EFED;
  --warning-bg: #FEF9F0;
  --warning-border: #F5E6D3;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Lora', Georgia, serif;
}

html { font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}
.header--bordered { border-bottom: 1px solid var(--border-light); }
.logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo-mark {
  width: 19px;
  height: 19px;
  color: var(--text);
  flex-shrink: 0;
  vertical-align: -2px;
  margin-right: 5px;
}
.logo .g { color: var(--text); }
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(0,0,0,0.05); }
.nav-hamburger svg { width: 22px; height: 22px; color: var(--text); }
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 16px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  padding: 8px;
  min-width: 180px;
  z-index: 200;
}
.nav-links.open { display: flex; }
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }

/* ===== SCREENS ===== */
.screen { display: none; min-height: 100vh; flex-direction: column; }
.screen.active { display: flex; }

/* ===== WIZARD SCREEN BACKGROUNDS ===== */
#scrFQ1, #scrFQ2,
#scrFP1, #scrFP2, #scrFP3 {
  background-image: url(/static/images/state_background.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#scrFQR .quiz-main,
#scrFPR .quiz-main {
  background-image: url(/static/images/state_background.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
#scrFQ1 .search-field,
#scrFP1 .search-field,
#scrFQ2 .state-chip,
#scrFQ2 .quiz-submit button,
#scrFQ1 .answer-btn,
#scrFQ2 .answer-btn,
#scrFP2 .answer-btn,
#scrFP3 .answer-btn {
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-color: var(--border);
}
#scrFQ2 .state-chip {
  border-color: rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.92);
}
#scrFQ2 .state-chip.on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
#scrFQ2 .state-chip:hover:not(.on) {
  background: #dbe6fd;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(37,99,235,0.1);
}
#scrFQ2 .quiz-submit button {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
#scrFQ2 .quiz-submit button:hover {
  background: #dbe6fd;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
#scrFQR .res-card,
#scrFQR .link-card,
#scrFPR .res-card,
#scrFPR .link-card,
#scrFPR .compare-col {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Wizard screen contrast: stronger borders and shadows against light blue bg */
#scrFQ1 .chip,
#scrFQ2 .chip,
#scrFQR .chip,
#scrFP1 .chip,
#scrFP2 .chip,
#scrFP3 .chip,
#scrFPR .chip {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
#scrFQ1 .chip.current,
#scrFQ2 .chip.current,
#scrFQR .chip.current,
#scrFP1 .chip.current,
#scrFP2 .chip.current,
#scrFP3 .chip.current,
#scrFPR .chip.current {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 1px 4px rgba(37,99,235,0.12);
}
#scrFQ1 .chip.done,
#scrFQ2 .chip.done,
#scrFQR .chip.done,
#scrFP1 .chip.done,
#scrFP2 .chip.done,
#scrFP3 .chip.done,
#scrFPR .chip.done {
  background: rgba(239,246,255,0.9);
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
#scrFQ1 .answer-btn,
#scrFQ2 .answer-btn,
#scrFP1 .answer-btn,
#scrFP2 .answer-btn,
#scrFP3 .answer-btn {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
#scrFQ1 .answer-btn:hover,
#scrFQ2 .answer-btn:hover,
#scrFP1 .answer-btn:hover,
#scrFP2 .answer-btn:hover,
#scrFP3 .answer-btn:hover {
  background: #dbe6fd;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
#scrFQ1 .search-field,
#scrFP1 .search-field {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ===== LANDING ===== */
.landing-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  padding-top: 4px;
  padding-bottom: 16px;
  position: relative;
  z-index: 1;
}
.landing-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}
.landing-content {
  text-align: center;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.illo-mobile { margin-bottom: 12px; width: clamp(110px, 20vh, 165px); height: auto; }
.illo-desktop { display: none; }
.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  box-shadow: 0 2px 16px var(--primary-shadow), 0 1px 3px rgba(0,0,0,0.04);
}
.landing-content h1 {
  font-family: var(--sans);
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text);
}
.landing-content h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.landing-desc {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--sans);
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.16); }
.landing-trust { margin-top: 20px; }
.landing-trust-label {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.landing-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.landing-trust-row .dot { color: var(--text-faint); }

/* ===== HERO FLOATING CARD STACK ===== */
.hero-stack {
  display: none;
}
.hero-stack-mobile {
  margin-bottom: 16px;
  width: 100%;
  max-width: 340px;
}
.hero-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px 24px;
  font-family: var(--sans);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
}
.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hero-card__state {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.hero-card__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.hero-card__badge--req {
  background: #FEE2E2;
  color: #991B1B;
}
.hero-card__badge--warn {
  background: #FEF3C7;
  color: #92400E;
}
.hero-card__fee {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.hero-card__fee-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-card__row {
  display: flex;
  gap: 16px;
}
.hero-card__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-card__stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-card__stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.hero-card__stat-value--primary {
  color: var(--primary);
}
.hero-card__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ===== QUIZ/WIZARD LAYOUT ===== */
.quiz-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  padding-top: 32px;
}
.quiz-content {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Progress chips */
.progress-chips { display: flex; gap: 8px; margin-bottom: 36px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-disabled);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  cursor: default;
  transition: all 0.2s;
}
.chip .cnum {
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  background: var(--border);
  color: var(--text-faint);
  flex-shrink: 0;
}
.chip.current {
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 6px 13px 6px 9px;
}
.chip.current .cnum { background: var(--primary); color: #fff; }
.chip.done {
  background: var(--primary-light);
  border-color: rgba(37,99,235,0.15);
  color: var(--primary-dark);
  cursor: pointer;
}
.chip.done .cnum { background: var(--primary); color: #fff; }

/* Question heading */
.quiz-heading {
  font-family: var(--sans);
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text);
}
.quiz-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Answer buttons */
.answer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.answer-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.answer-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.answer-btn .answer-desc {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Search input */
.search-wrap { width: 100%; position: relative; }
.search-field {
  width: 100%;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.search-field::placeholder { color: var(--text-faint); }
.search-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 10;
  display: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.search-drop.open { display: block; }
.sd-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.1s;
  font-size: 16px;
}
.sd-item:hover { background: var(--primary-light); }
.sd-item .sd-abbr { font-size: 14px; color: var(--text-faint); font-weight: 500; }

/* Chips for multi-select */
.chip-grid {
  display: flex; flex-wrap: wrap; gap: 6px;
  width: 100%; justify-content: center;
}
.state-chip {
  font-size: 14px; font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--surface);
  color: var(--text-muted);
  user-select: none;
}
.state-chip:hover { border-color: var(--primary); color: var(--primary); }
.state-chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Tip/hint box */
.quiz-tip {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  max-width: 440px;
}

/* Back link */
.back-link {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--sans);
  margin-top: 16px;
  transition: opacity 0.15s;
}
.back-link:hover { opacity: 0.7; }

/* Continue/Submit button for wizard */
.quiz-submit {
  margin-top: 24px;
  width: 100%;
}
.quiz-submit button {
  display: block;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.quiz-submit button:hover { border-color: var(--primary); background: var(--primary-light); }

/* ===== RESULTS ===== */
.results-container { width: 100%; max-width: 600px; }
.res-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 4px 6px 16px -2px rgba(37,99,235,0.3);
  animation: iconIn 0.4s ease-out both;
}
@keyframes iconIn {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}
.res-icon svg { width: 24px; height: 24px; }
.res-headline {
  font-family: var(--sans);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.res-subtext {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Result cards */
.res-label {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  line-height: 1;
}
.res-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
  width: 100%;
}
.res-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.res-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.res-detail {
  font-size: 14px;
  color: var(--text);
  padding: 10px 14px;
  background: var(--surface-alt);
  border-radius: 8px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.res-detail strong { font-weight: 600; }
.res-note {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--warning-bg);
  border-radius: 6px;
  margin-bottom: 10px;
  border-left: 3px solid #f0d060;
  line-height: 1.5;
}
.res-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.res-cta:hover { text-decoration: underline; }

/* Link card */
.link-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.link-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.link-card p { font-size: 14px; color: var(--text-muted); margin: 0; }
.link-card a { font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; display: block; }
.link-card a:hover { text-decoration: underline; }

/* Compare columns */
.compare-cols { display: flex; gap: 10px; width: 100%; margin-bottom: 12px; }
.compare-col {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.compare-col.rec { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.compare-col .col-badge { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.compare-col h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.compare-col .stat { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; line-height: 1.5; }
.compare-col .stat strong { color: var(--text); font-weight: 600; }

.disclaimer {
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.start-over {
  text-align: center;
  margin-top: 12px;
}
.start-over a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.start-over a:hover { color: var(--primary); }

/* ===== SHARED PAGE LAYOUT (sp-) ===== */
.sp-wrap { flex: 1; display: flex; justify-content: center; padding: 28px 24px 48px; }
.sp-content { max-width: 680px; width: 100%; }
.sp-back { font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; display: inline-block; margin-bottom: 16px; }
.sp-back:hover { color: var(--primary); }
.sp-title { font-size: clamp(26px, 5vw, 36px); font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.2; }
.sp-title em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--primary); letter-spacing: -0.02em; }
.sp-subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.sp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.sp-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.sp-action-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: 10px; padding: 14px 18px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.sp-action-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 1px; }
.sp-action-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.sp-action-card a { font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.sp-action-card a:hover { text-decoration: underline; }
.sp-disclaimer { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 20px; line-height: 1.5; max-width: 480px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .sp-wrap { padding: 20px 16px 32px; } }

/* ===== FAQ ACCORDION ===== */
.faq-section { margin-bottom: 44px; }
.faq-section-heading { font-family: var(--sans); font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 0; font-size: 17px; font-weight: 500; color: var(--text); cursor: pointer; list-style: none; transition: color 0.15s; }
.faq-q:hover { color: var(--primary); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 5l5 5-5 5' stroke='%236B6B73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-q::before { transform: rotate(90deg); }
.faq-a { padding: 0 0 20px 32px; }
.faq-a p { font-size: 17px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--primary); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ===== PAGE FADE TRANSITION ===== */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
body { animation: pageFadeIn 0.3s ease-out; }

/* ===== FOOTER ===== */
.footer {
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid var(--border-light);
}
.footer-line {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--text-secondary); }
.footer .sep { margin: 0 6px; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .nav-hamburger { display: none; }
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    align-items: center;
    gap: 8px;
  }
}
@media (min-width: 768px) {
  .header { padding: 24px 48px; }
  .hero-stack-mobile { display: none; }
  .hero-stack {
    display: block;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(320px, 38vw, 460px);
    z-index: 0;
  }
  .hero-card--back-left {
    position: absolute;
    top: -30px;
    left: -20px;
    width: 70%;
    opacity: 0.55;
    transform: scale(0.88) rotate(-3deg);
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .hero-card--back-right {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 68%;
    opacity: 0.6;
    transform: scale(0.9) rotate(2deg);
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  .hero-card--front {
    position: relative;
    z-index: 3;
    margin-top: 50px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  }
  .illo-mobile { display: none; }
  .illo-desktop {
    display: none;
  }
  .landing-main {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 60px;
  }
  .landing-content {
    text-align: left;
    max-width: 1200px;
    width: 100%;
    align-items: flex-start;
    min-height: 400px;
    padding-right: clamp(280px, 40vw, 450px);
    margin: 0 auto;
  }
  .landing-content > * { position: relative; z-index: 1; }
  .landing-content h1 { font-size: clamp(42px, 8vw, 64px); }
  .landing-desc { font-size: 21px; margin-left: 0; margin-right: 0; max-width: 500px; }
  .cta-btn { font-size: 18px; padding: 22px 48px; }
  .landing-trust-row { justify-content: flex-start; gap: 24px; }
  .landing-trust-label { font-size: 13px; }
  .landing-trust-row { font-size: 15px; }

  .quiz-heading { font-size: clamp(28px, 6vw, 40px); }
  .quiz-subtitle { font-size: 18px; }
  .answer-btn { font-size: 18px; padding: 22px 28px; }
  .search-field { font-size: 18px; }
  .quiz-submit button { font-size: 18px; padding: 22px 28px; }
  .chip { font-size: 15px; padding: 9px 16px 9px 12px; }
  .chip.current { padding: 8px 15px 8px 11px; }
  .chip .cnum { width: 22px; height: 22px; font-size: 12px; }
}
@media (min-width: 1400px) {
  .landing-main { padding-top: 4vh; padding-bottom: 6vh; }
  .landing-wrapper { max-width: 1400px; }
  .landing-content { max-width: 1400px; padding-right: clamp(380px, 36vw, 560px); min-height: 480px; }
  .landing-content h1 { font-size: 72px; }
  .landing-desc { font-size: 23px; max-width: 540px; }
  .cta-btn { font-size: 20px; padding: 24px 54px; }
  .illo-desktop { display: none; }
  .hero-stack { width: clamp(420px, 36vw, 540px); right: 40px; }
  .landing-pill { font-size: 16px; padding: 10px 20px; }
  .quiz-heading { font-size: 44px; }
  .answer-btn { font-size: 20px; padding: 24px 32px; }
}
@media (max-width: 480px) {
  .chip { padding: 5px 10px 5px 6px; font-size: 12px; gap: 5px; }
  .chip.current { padding: 4px 9px 4px 5px; }
  .chip .cnum { width: 16px; height: 16px; font-size: 11px; }
  .link-card { text-align: center; }
  .compare-cols { flex-direction: column; }
}

/* ===== WIZARD PREVIEW CARD (Hero) ===== */
.hero-preview {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 440px;
}
.hero-preview-mobile {
  margin-top: 40px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
}
.hero-preview-desktop {
  display: none;
}
.wp-step {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.wp-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 6px;
}
.wp-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.wp-dropdown { position: relative; width: 100%; }
.wp-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-faint);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wp-dropdown-trigger:hover,
.wp-dropdown-trigger.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-shadow);
}
.wp-dropdown-trigger.has-value {
  color: var(--text);
  font-weight: 500;
}
.wp-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  transition: transform 0.2s;
}
.wp-dropdown-trigger.open .wp-chevron { transform: rotate(180deg); }
.wp-dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  display: none;
  padding: 6px;
}
.wp-dropdown-list.open { display: block; }
.wp-search-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 12px;
  background: var(--surface-alt);
  border-radius: 8px;
  margin-bottom: 4px;
  color: var(--text);
}
.wp-search-input::placeholder { color: var(--text-faint); }
.wp-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s;
}
.wp-dd-item:hover { background: var(--primary-light); }
.wp-dd-item .wp-dd-name { font-size: 15px; font-weight: 500; color: var(--text); }
.wp-dd-item .wp-dd-abbr { font-size: 13px; color: var(--text-faint); font-weight: 500; }
.wp-dd-item.hidden { display: none; }
.wp-escape {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.wp-escape a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.wp-escape a:hover { text-decoration: underline; }
.wp-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}
.wp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.wp-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}
.wp-progress-label {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: auto;
}

/* ===== INTERACTIVE MAP SECTION ===== */
.map-section {
  width: 100%;
  max-width: 1200px;
  margin: 120px auto 0;
  padding: 0 24px;
}
.map-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.map-section-title {
  font-family: var(--sans);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.map-section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}
.map-container {
  position: relative;
  padding: 0;
}
.map-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.map-legend {
  display: flex;
  gap: 16px;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid;
}
.map-frame { position: relative; }
.us-map-svg { width: 100%; height: auto; display: block; }
.us-map-svg path {
  fill: #E8E6E3;
  stroke: var(--bg);
  stroke-width: 1.2;
  transition: fill 0.18s, stroke 0.18s;
  cursor: default;
}
/* Monochromatic blue scale */
.us-map-svg path.tier-low { fill: #CDDCEF; }
.us-map-svg path.tier-mid { fill: #9BB8DE; }
.us-map-svg path.tier-high { fill: #5A87C0; }
.us-map-svg path.tier-extreme { fill: #1B3F72; }
.us-map-svg path:hover {
  fill: var(--primary) !important;
  stroke: var(--bg);
  stroke-width: 1.2;
}
/* Focus and dim: when any path is hovered, dim all siblings */
.us-map-svg.has-hover path {
  opacity: 0.5;
  transition: opacity 0.2s, fill 0.18s;
}
.us-map-svg.has-hover path:hover {
  opacity: 1;
}
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--text);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s, transform 0.12s;
  z-index: 50;
  white-space: nowrap;
}
.map-tooltip.visible { opacity: 1; transform: translateY(0); }
.tt-state { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.tt-row { display: flex; justify-content: space-between; gap: 24px; }
.tt-row + .tt-row { margin-top: 2px; }
.tt-label { color: rgba(255,255,255,0.55); font-size: 12px; }
.tt-val { font-weight: 600; font-size: 13px; }
.map-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
}

/* ===== BOOMERANG CTA BANNER ===== */
.boomerang {
  margin-top: 100px;
}
.boomerang-inner {
  background: #06182E;
  padding: 120px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.boomerang-headline {
  font-family: var(--sans);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.boomerang-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.boomerang-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  padding: 20px 44px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
  margin-bottom: 32px;
}
.boomerang-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.4);
}
.boomerang-cta svg {
  width: 18px;
  height: 18px;
}
.boomerang-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.boomerang-sep {
  color: rgba(255,255,255,0.15);
}

/* ===== RESPONSIVE: Boomerang ===== */
@media (max-width: 767px) {
  .boomerang { margin-top: 60px; }
  .boomerang-inner {
    padding: 80px 24px;
  }
  .boomerang-sub { font-size: 16px; margin-bottom: 32px; }
  .boomerang-cta { font-size: 16px; padding: 18px 36px; width: 100%; justify-content: center; }
  .boomerang-trust { flex-wrap: wrap; justify-content: center; gap: 6px; }
}

/* ===== RESPONSIVE: Map + Preview ===== */
@media (min-width: 768px) {
  .hero-preview-mobile { display: none; }
  .hero-preview-desktop {
    display: block;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(340px, 36vw, 440px);
    z-index: 2;
  }
  .wp-question { font-size: 22px; }
  .map-section { padding: 0 60px; }
}
@media (min-width: 1400px) {
  .hero-preview-desktop { width: clamp(400px, 34vw, 480px); right: 40px; }
  .wp-question { font-size: 24px; }
}
@media (max-width: 767px) {
  .map-top-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .map-legend { flex-wrap: wrap; gap: 8px; }
}
