/* ============================================================
   Thrive CDS — Light Trust-Focused Design System
   Navy = stability · Green = financial health · White space = clarity
   ============================================================ */

:root {
  --bg: #f6f9fb;
  --bg-2: #ffffff;
  --navy: #0e2235;
  --navy-2: #16324a;
  --surface: #ffffff;
  --surface-2: #f0f5f8;
  --border: #e2e9f0;
  --border-strong: #cfdae4;
  --text: #16283b;
  --text-muted: #46596c;
  --text-dim: #5b6f82; /* WCAG AA: 4.6:1 on white */
  --accent: #0e9f6e;
  --accent-2: #10b981;
  --accent-dark: #0b7d57;
  --accent-soft: #e6f6ef;
  --gold: #b45309;
  --gold-soft: #fdf3e3;
  --danger: #dc2626;
  --danger-soft: #fdeaea;
  --warn: #b45309;
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(16, 42, 67, 0.07), 0 1px 2px rgba(16, 42, 67, 0.05);
  --shadow-md: 0 6px 20px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 16px 44px rgba(16, 42, 67, 0.12);
  --max-w: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background — soft, airy wash */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(16, 185, 129, 0.08), transparent 60%),
    radial-gradient(700px 500px at 5% 20%, rgba(37, 99, 235, 0.05), transparent 60%),
    var(--bg);
}
.ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16, 42, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, black 20%, transparent 70%);
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -0.02em; font-weight: 600; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
em { font-style: italic; color: var(--accent-dark); }
img { max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section-tight { padding: 60px 0; }

/* Eyebrow + section headers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); display: inline-block; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--accent); display: inline-block; border-radius: 2px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
  background: rgba(246, 249, 251, 0.6);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--navy); font-family: var(--font-display); }
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.15rem; color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 159, 110, 0.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.logo-text span { font-size: 0.64rem; color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.94rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--navy); font-size: 1.15rem;
}
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: 0; z-index: 99;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 18px 24px 28px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 4px; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 0.97rem;
  font-family: var(--font-body); cursor: pointer; border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(14, 159, 110, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(14, 159, 110, 0.42); color: #ffffff; }
.btn-ghost {
  background: var(--surface); color: var(--navy);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); color: var(--navy); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; border-radius: 14px; }

/* ============ HERO ============ */
.hero { padding: 170px 0 92px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 100px;
  background: var(--accent-soft); border: 1px solid rgba(14, 159, 110, 0.25);
  font-size: 0.85rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 30px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(14,159,110,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 { max-width: 800px; }
.hero-sub { max-width: 620px; margin-top: 24px; font-size: 1.16rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-proof span { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.hero-proof .check { color: var(--accent-dark); font-weight: 700; }

/* Page hero (interior pages) */
.page-hero { padding: 160px 0 60px; text-align: center; }
.page-hero h1 { max-width: 840px; margin: 0 auto; }
.page-hero .hero-sub { margin: 22px auto 0; }
.page-hero .eyebrow { justify-content: center; }

/* ============ CARDS & GRIDS ============ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(14, 159, 110, 0.35); box-shadow: var(--shadow-md); }
.card .icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 20px;
  background: var(--accent-soft);
  border: 1px solid rgba(14, 159, 110, 0.2);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card .tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent-dark);
  border: 1px solid rgba(14, 159, 110, 0.25);
}
.card .tag.warn { background: var(--gold-soft); color: var(--gold); border-color: rgba(180, 83, 9, 0.25); }
.card .tag.neutral { background: var(--surface-2); color: var(--text-muted); border-color: var(--border-strong); }
a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }
a.card .card-link { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; margin-top: 14px; display: inline-block; }

/* Numbered problem cards */
.num-card .num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--accent); opacity: 0.85;
  line-height: 1; margin-bottom: 18px;
}

/* ============ STATS ============ */
.stats-band {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 52px 0; }
.stat { text-align: center; }
.stat .value {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700;
  color: var(--navy); display: block; letter-spacing: -0.02em;
}
.stat .value .accent { color: var(--accent-dark); }
.stat .label { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; display: block; }

/* ============ PROCESS / STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
  margin-bottom: 18px; box-shadow: 0 4px 12px rgba(14,159,110,0.3);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }
.step::after {
  content: "→"; position: absolute; right: -19px; top: 40px; color: var(--accent);
  font-size: 1.2rem; z-index: 2;
}
.step:last-child::after { display: none; }

/* ============ CHECK LIST ============ */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-muted); }
.check-list .check {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--accent-soft); border: 1px solid rgba(14, 159, 110, 0.35);
  display: grid; place-items: center; color: var(--accent-dark); font-size: 0.75rem; font-weight: 700;
}
.check-list li strong { color: var(--navy); }

/* ============ SPLIT LAYOUT ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .section-head { margin-bottom: 28px; }

/* ============ FAQ ACCORDION ============ */
.faq-group-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-dark); margin: 48px 0 20px; font-weight: 700; }
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.accordion + .accordion { margin-top: 14px; }
.accordion summary {
  padding: 22px 26px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-weight: 600; font-size: 1.03rem; font-family: var(--font-display); color: var(--navy);
  transition: background 0.2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--surface-2); }
.accordion summary .chev { flex: none; transition: transform 0.25s; color: var(--accent-dark); font-size: 1.3rem; }
.accordion[open] summary .chev { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 26px 24px; color: var(--text-muted); font-size: 0.98rem; }
.accordion .acc-body p + p { margin-top: 12px; }

/* ============ COMPARISON TABLE ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 0.92rem; }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare th { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); background: var(--surface-2); }
table.compare tr:last-child td { border-bottom: none; }
table.compare td:first-child { font-weight: 600; color: var(--navy); }
table.compare td { color: var(--text-muted); }
table.compare tr:hover td { background: #fafcfd; }

/* ============ SOLUTION DETAIL BLOCKS ============ */
.solution-block {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
  padding: 44px; margin-bottom: 32px; scroll-margin-top: 130px;
}
.solution-block .sol-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.solution-block .sol-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.solution-block > p { margin-top: 14px; max-width: 820px; }
.pros-cons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.pc-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: #fbfdfe; }
.pc-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pc-col.pros h4 { color: var(--accent-dark); }
.pc-col.cons h4 { color: var(--danger); }
.pc-col.fit h4 { color: var(--gold); }
.pc-col ul { list-style: none; display: grid; gap: 9px; }
.pc-col li { font-size: 0.9rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.pc-col.pros li::before { content: "+"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.pc-col.cons li::before { content: "!"; position: absolute; left: 2px; color: var(--danger); font-weight: 700; }
.pc-col.fit li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.fine-print {
  margin-top: 26px; padding: 16px 20px; border-radius: 12px; font-size: 0.85rem;
  background: var(--gold-soft); border: 1px solid rgba(180, 83, 9, 0.18); color: var(--text-muted);
}

/* Sticky sub-nav (solutions page) */
.subnav {
  position: sticky; top: 76px; z-index: 50;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow-x: auto; white-space: nowrap;
}
.subnav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; gap: 6px; }
.subnav a {
  padding: 14px 16px; font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.subnav a:hover, .subnav a.active { color: var(--accent-dark); border-bottom-color: var(--accent); }

/* ============ FORMS ============ */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  background: #ffffff; border: 1px solid var(--border-strong);
  border-radius: 11px; padding: 13px 16px; color: var(--text); font-family: var(--font-body); font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234e6377' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 16px; border-radius: 100px; border: 1px solid var(--border-strong);
  background: #ffffff; font-size: 0.88rem; color: var(--text-muted); font-weight: 500;
  transition: all 0.2s;
}
.checks label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--navy); }
.checks input { accent-color: var(--accent); }
.consent { font-size: 0.78rem; color: var(--text-dim); margin-top: 18px; line-height: 1.6; }
.form-note { font-size: 0.83rem; color: var(--text-dim); margin-top: 16px; }

/* ============ CTA BAND ============ */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; text-align: center; padding: 72px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -40%, rgba(16, 185, 129, 0.25), transparent 70%);
}
.cta-card > * { position: relative; }
.cta-card h2, .cta-card h3 { color: #ffffff; max-width: 640px; margin: 0 auto; }
.cta-card p { max-width: 540px; margin: 18px auto 0; color: rgba(255, 255, 255, 0.75); }
.cta-card .eyebrow { color: var(--accent-2); }
.cta-card .eyebrow::before, .cta-card .eyebrow::after { background: var(--accent-2); }
.cta-card .hero-actions { justify-content: center; margin-top: 34px; }
.cta-card .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ============ PATH FINDER WIZARD ============ */
.tool-shell {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 44px 48px; box-shadow: var(--shadow-lg);
  max-width: 780px; margin: 0 auto;
}
.wiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.wiz-count { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.wiz-back {
  background: none; border: none; cursor: pointer; color: var(--text-dim);
  font-size: 0.88rem; font-weight: 600; font-family: var(--font-body); padding: 4px 8px;
  visibility: hidden;
}
.wiz-back.show { visibility: visible; }
.wiz-back:hover { color: var(--navy); }
.progress { height: 8px; border-radius: 100px; background: var(--surface-2); overflow: hidden; margin-bottom: 34px; }
.progress .fill {
  height: 100%; border-radius: 100px; width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-dark));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.wiz-step { display: none; }
.wiz-step.active { display: block; animation: wizIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes wizIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.wiz-step .q-label { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-bottom: 8px; display: block; color: var(--navy); line-height: 1.3; }
.wiz-step .q-help { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 24px; }
.pill-group { display: grid; gap: 12px; }
.pill {
  padding: 16px 22px; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--border-strong); background: #ffffff;
  color: var(--text); font-size: 1rem; font-weight: 500; font-family: var(--font-body);
  transition: all 0.16s; display: flex; align-items: center; gap: 12px;
}
.pill:hover { border-color: var(--accent); background: var(--accent-soft); }
.pill.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.12); }
.pill .pill-dot {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2px solid var(--border-strong); transition: all 0.16s; position: relative;
}
.pill:hover .pill-dot, .pill.selected .pill-dot { border-color: var(--accent); }
.pill.selected .pill-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}
.slider-row { display: flex; align-items: center; gap: 22px; margin: 10px 0 26px; }
.slider-row input[type="range"] { flex: 1; accent-color: var(--accent); height: 6px; cursor: pointer; }
.slider-value {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--accent-dark);
  min-width: 140px; text-align: right;
}
.wiz-continue { width: 100%; justify-content: center; }

/* Results */
.wiz-results { display: none; }
.wiz-results.active { display: block; animation: wizIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.wiz-results-head { text-align: center; margin-bottom: 28px; }
.wiz-results-head h3 { font-size: 1.5rem; }
.wiz-results-head p { font-size: 0.94rem; margin-top: 8px; }
.result-row {
  display: grid; grid-template-columns: 210px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--border); border-radius: 14px;
  background: #ffffff; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.45s;
}
.result-row.visible { opacity: 1; transform: none; }
.result-row.top { border-color: rgba(14, 159, 110, 0.5); background: var(--accent-soft); }
.result-row .r-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.result-row .r-name small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text-dim); font-size: 0.78rem; margin-top: 3px; }
.fit-bar { height: 9px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.fit-bar .fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent-2), var(--accent-dark)); width: 0; transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.result-row .r-pct { font-family: var(--font-display); font-weight: 700; color: var(--accent-dark); font-size: 1.05rem; min-width: 70px; text-align: right; }
.result-row.low .fill { background: linear-gradient(90deg, #b6c2cd, #cfdae4); }
.result-row.low .r-pct { color: var(--text-dim); }
.tool-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 22px; text-align: center; }
.tool-cta { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.wiz-restart { background: none; border: none; cursor: pointer; color: var(--text-dim); font-size: 0.88rem; font-weight: 600; font-family: var(--font-body); text-decoration: underline; }
.wiz-restart:hover { color: var(--navy); }

/* ============ ARTICLES / LEARN ============ */
.article-meta { display: flex; gap: 16px; align-items: center; font-size: 0.85rem; color: var(--text-dim); margin-top: 18px; justify-content: center; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin: 48px 0 18px; font-size: 1.7rem; }
.article-body h3 { margin: 34px 0 14px; }
.article-body p { margin-bottom: 18px; font-size: 1.03rem; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--text-muted); }
.article-body li { margin-bottom: 9px; }
.article-body .callout {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 26px 0;
}
.article-body .callout.warn { border-left-color: var(--warn); background: var(--gold-soft); }
.article-body .callout p { margin: 0; font-size: 0.97rem; }
.article-body strong { color: var(--navy); }

/* ============ LEGAL ============ */
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { font-size: 1.35rem; margin: 42px 0 14px; }
.legal-body h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 12px; }
.legal-body ul { margin-left: 22px; }
.legal-toc { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.legal-toc ol { margin-left: 20px; color: var(--text-muted); }
.legal-toc li { margin-bottom: 6px; font-size: 0.93rem; }
.legal-alert {
  border: 1px solid rgba(180, 83, 9, 0.25); background: var(--gold-soft);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px;
}
.legal-alert strong { color: var(--gold); }

/* ============ FOOTER (dark navy anchor for contrast) ============ */
footer {
  margin-top: 40px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}
.footer-disclaimer {
  padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); text-align: center;
}
.footer-disclaimer a { color: var(--accent-2); }
.footer-disclaimer .container { max-width: 860px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; padding: 56px 0; }
.footer-main h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: #ffffff; margin-bottom: 18px; }
.footer-main ul { list-style: none; display: grid; gap: 10px; }
.footer-main a { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.footer-main a:hover { color: var(--accent-2); }
.footer-brand p { font-size: 0.88rem; margin: 16px 0; color: rgba(255, 255, 255, 0.75); }
.footer-brand .org { font-size: 0.78rem; color: rgba(255, 255, 255, 0.68); }
.footer-brand .logo, .footer-brand .logo:hover { color: #ffffff; }
.footer-brand .logo-text strong { color: #ffffff; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, 0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.68);
}
.footer-bottom .container { display: contents; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(255, 255, 255, 0.72); }
.footer-legal-links a:hover { color: var(--accent-2); }

/* ============ ACCESSIBILITY ============ */
:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
.pill:focus-visible, .btn:focus-visible { outline-offset: 3px; }

/* ============ TRUST STRIP ============ */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  margin-top: 22px; font-size: 0.86rem; color: var(--text-muted); font-weight: 500;
}
.trust-strip.center { justify-content: center; }
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip .ts-badge {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft); border: 1px solid rgba(14, 159, 110, 0.3);
  display: grid; place-items: center; font-size: 0.65rem; color: var(--accent-dark); font-weight: 700;
}
.cta-card .trust-strip { color: rgba(255, 255, 255, 0.8); }
.cta-card .trust-strip .ts-badge { background: rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.4); color: var(--accent-2); }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(16, 42, 67, 0.1);
}
.sticky-cta .btn { flex: 1; justify-content: center; padding: 13px 10px; font-size: 0.92rem; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  footer { padding-bottom: 12px; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge .dot { animation: none; }
  .wiz-step.active, .wiz-results.active { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 1fr; gap: 10px; }
  .result-row .r-pct { text-align: left; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 134px 0 64px; }
  .page-hero { padding: 128px 0 44px; }
  .section { padding: 60px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .tool-shell { padding: 28px 20px; }
  .solution-block { padding: 28px 22px; }
  .cta-card { padding: 48px 24px; }
  .form-card { padding: 28px 22px; }
  .slider-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .slider-value { text-align: left; }
  .wiz-step .q-label { font-size: 1.15rem; }
}
