/* ===========================================================
   VitaBildung — shared stylesheet
   Used by every page (index.html, founder.html, etc.)
   Keeping this in one file means editing styles once
   updates every page consistently, and no page can
   accidentally "overwrite" another's styling.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0B1E45;
  --navy-deep: #071330;
  --teal: #0E9FB0;
  --teal-bright: #1FC2C9;
  --ink: #1A2238;
  --slate: #5B6B85;
  --slate-soft: #8C99B0;
  --paper: #FFFFFF;
  --paper-soft: #F5F8FA;
  --line: #E3E9F0;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ================= NAV ================= */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img { height: 34px; width: auto; }

.nav-brand .wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.nav-brand .wordmark span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--teal); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner .social-links .social-icon { display: none; }
}

/* ================= PAGE HEADER (non-home pages) ================= */
.page-header {
  padding: 72px 28px 56px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.page-header-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ================= HERO (home page) ================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 28px 100px;
  background: var(--paper);
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 24px 64px; }
}

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 24px;
}

h1 .accent { color: var(--teal); }

.hero p.lede, .page-header p.lede {
  font-size: 17px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 9px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero-trust {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--slate-soft);
  flex-wrap: wrap;
}

.hero-trust strong { color: var(--navy); font-weight: 600; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acuity-ring {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}

.acuity-ring.r2 { width: 78%; }

.hero-visual img.logo-main {
  width: 62%;
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(11,30,69,0.12));
}

/* ================= STAT STRIP ================= */
.stat-strip {
  background: var(--navy);
  color: #fff;
  padding: 36px 28px;
}

.stat-strip-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 760px) {
  .stat-strip-inner { grid-template-columns: 1fr; gap: 28px; }
}

.stat-strip .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  color: var(--teal-bright);
  margin-bottom: 6px;
}

.stat-strip .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ================= SECTION SHARED ================= */
section { padding: 96px 28px; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow { justify-content: center; }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 15px;
  color: var(--slate);
}

/* ================= PROBLEM SECTION ================= */
.problem-section { background: var(--paper-soft); }

.problem-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
}

.problem-card .mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card .mark svg { width: 20px; height: 20px; stroke: #fff; }

.problem-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}

.problem-card p { font-size: 14px; color: var(--slate); }

/* ================= PILLARS (Vision / Innovation / Care) ================= */
.pillars-section {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pillars-section::before {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(31,194,201,0.10), transparent 65%);
  pointer-events: none;
}

.pillars-section .section-head p { color: rgba(255,255,255,0.65); }
.pillars-section .eyebrow { color: var(--teal-bright); }
.pillars-section h2 { color: #fff; }

.pillars-row {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

@media (max-width: 860px) {
  .pillars-row { grid-template-columns: 1fr; gap: 36px; }
}

.pillar {
  padding: 0 36px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.pillar:first-child { border-left: none; padding-left: 0; }

@media (max-width: 860px) {
  .pillar { border-left: none; padding: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; }
  .pillar:first-child { border-top: none; padding-top: 0; }
}

.pillar .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
}

/* ================= APPROACH / HOW ================= */
.approach-section {
  max-width: 1140px;
  margin: 0 auto;
}

.approach-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .approach-row { grid-template-columns: 1fr; gap: 36px; }
}

.approach-visual {
  background: var(--paper-soft);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-visual img { width: 60%; }

.approach-steps { display: flex; flex-direction: column; gap: 28px; }

.approach-step {
  display: flex;
  gap: 18px;
}

.approach-step .step-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--teal);
}

.approach-step h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}

.approach-step p { font-size: 14px; color: var(--slate); }

/* ================= CTA BAND ================= */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  border-radius: 24px;
  margin: 0 28px 96px;
  padding: 56px 48px;
  max-width: 1084px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 8px;
}

.cta-band p { color: rgba(255,255,255,0.88); font-size: 14px; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--navy);
  flex-shrink: 0;
}
.cta-band .btn-primary:hover { background: var(--navy); color: #fff; }

/* ================= FOUNDER PAGE ================= */
.founder-section {
  max-width: 1140px;
  margin: 0 auto;
}

.founder-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .founder-row { grid-template-columns: 1fr; gap: 40px; }
}

.founder-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  position: sticky;
  top: 100px;
}

@media (max-width: 860px) {
  .founder-card { position: static; }
}

.founder-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto 20px;
  padding: 4px;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  position: relative;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--paper-soft);
  display: block;
}

.founder-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
}

.founder-card .role {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.founder-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
}

.founder-card .connect-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.founder-card .connect-link:hover { color: var(--teal); }

.founder-bio p {
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.75;
}

.founder-bio p:first-of-type {
  font-size: 18px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
}

.founder-bio h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin: 36px 0 14px;
}

.founder-quote {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 22px;
  margin: 32px 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}

.founder-milestones {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.founder-milestones li {
  display: flex;
  gap: 16px;
  font-size: 14.5px;
  color: var(--slate);
}

.founder-milestones .year {
  flex-shrink: 0;
  width: 64px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  color: var(--teal);
  padding-top: 1px;
}

.founder-milestones strong { color: var(--ink); font-weight: 600; }

/* ================= COMPARISON TABLE ================= */
.compare-section {
  background: var(--paper-soft);
}

.compare-table {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.3fr;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.compare-row:last-child { border-bottom: none; }

.compare-row:not(.compare-row-head):hover,
.compare-row:not(.compare-row-head):focus-visible {
  background: var(--paper-soft);
}

.compare-row-head {
  background: var(--navy);
}

.compare-cell {
  padding: 18px 22px;
  font-size: 13.5px;
  line-height: 1.55;
}

.compare-row-head .compare-cell {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.compare-row-head .compare-cell-us { color: var(--teal-bright); }

.compare-cell-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 13.5px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.compare-cell-them {
  color: var(--slate);
  border-right: 1px solid var(--line);
}

.compare-cell-us {
  color: var(--ink);
  position: relative;
}

.compare-row:not(.compare-row-head) .compare-cell-us::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--teal-bright));
  opacity: 0.7;
}

@media (max-width: 760px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell-label, .compare-cell-them { border-right: none; border-bottom: 1px solid var(--line); }
  .compare-row:not(.compare-row-head) .compare-cell-us::before { width: 100%; height: 3px; bottom: auto; }
  .compare-row-head { display: none; }
  .compare-cell-them::before { content: "Typical existing tools"; display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-soft); margin-bottom: 6px; }
  .compare-cell-us { padding-left: 25px; }
}

.compare-footnote {
  max-width: 980px;
  margin: 20px auto 0;
  font-size: 12px;
  color: var(--slate-soft);
  text-align: center;
}

/* ================= TIMELINE (roadmap) ================= */
.timeline-section {
  background: #fff;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--slate-soft);
  z-index: 2;
}

.timeline-item.is-done .timeline-dot {
  border-color: var(--teal);
  background: var(--teal);
}

.timeline-item.is-active .timeline-dot {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14,159,176,0.15);
}
.timeline-item.is-active .timeline-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--teal);
}

.timeline-period {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.timeline-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--paper-soft);
  color: var(--slate);
  margin-bottom: 10px;
}
.timeline-item.is-done .timeline-status { background: #D9F0E4; color: #1D8A5F; }
.timeline-item.is-active .timeline-status { background: rgba(14,159,176,0.14); color: var(--teal); }

.timeline-content h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--slate);
  max-width: 540px;
}

@media (max-width: 600px) {
  .timeline { padding-left: 32px; }
  .timeline-dot { left: -32px; width: 14px; height: 14px; }
  .timeline-line { left: 6px; }
}

/* ================= FOOTER ================= */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 28px 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand img { height: 28px; }
.footer-brand .wordmark { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--navy); }

.footer-tagline {
  font-size: 12px;
  color: var(--slate-soft);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--slate);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--navy); }

.footer-meta {
  font-size: 12px;
  color: var(--slate-soft);
  text-align: right;
}

.footer-bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--slate-soft);
}

/* ================= SOCIAL LINKS ================= */
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--slate);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.social-icon:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--paper-soft);
}
.social-icon svg { width: 16px; height: 16px; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

/* ================= ASSESSMENT PREVIEW PAGE ================= */
.assess-hero {
  padding: 64px 28px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.assess-hero .eyebrow { justify-content: center; }

.assess-card {
  max-width: 640px;
  margin: 0 auto 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}

@media (max-width: 600px) {
  .assess-card { padding: 28px 22px; margin-left: 16px; margin-right: 16px; }
}

.assess-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.assess-progress .seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.2s;
}
.assess-progress .seg.done { background: var(--teal); }

.assess-step { display: none; }
.assess-step.active { display: block; }

.assess-step .q-label {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.4;
}

.assess-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.assess-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper-soft);
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.assess-option:hover { border-color: var(--teal); }
.assess-option.selected { border-color: var(--teal); background: var(--paper-soft); color: var(--navy); font-weight: 500; }

.assess-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.assess-nav .btn-back {
  font-size: 13px;
  color: var(--slate);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--body);
}
.assess-nav .btn-back:hover { color: var(--navy); }
.assess-nav .btn-back:disabled { opacity: 0; cursor: default; }

.assess-nav button.btn-next {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 9px;
  cursor: pointer;
}
.assess-nav button.btn-next:disabled { background: var(--line); color: var(--slate-soft); cursor: not-allowed; }
.assess-nav button.btn-next:not(:disabled):hover { background: var(--navy-deep); }

/* Results state */
.assess-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
}
.assess-result-badge.low { background: var(--ok-soft, #E7F5EE); color: #1D8A5F; }
.assess-result-badge.moderate { background: var(--paper-soft); color: var(--teal); }
.assess-result-badge.elevated { background: #FBEAE8; color: #B3473C; }

.assess-result-text {
  font-size: 14.5px;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.7;
}

.assess-disclaimer-box {
  background: var(--paper-soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--slate-soft);
  margin-bottom: 28px;
  line-height: 1.6;
}

.email-capture {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.email-capture input[type="email"] {
  flex: 1;
  min-width: 200px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
}
.email-capture input[type="email"]:focus { outline: none; border-color: var(--teal); }

.assess-cta-band {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.assess-cta-band p { font-size: 13.5px; color: var(--slate); margin-bottom: 14px; }

.email-success {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}
.email-success.show { display: block; }

/* ================= CHAT ASSISTANT WIDGET ================= */
.vb-chat-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--body);
}

.vb-chat-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(11, 30, 69, 0.28);
  transition: background 0.15s, transform 0.15s;
}
.vb-chat-bubble:hover { background: var(--navy-deep); transform: translateY(-1px); }
.vb-chat-bubble svg { width: 24px; height: 24px; }
.vb-chat-icon-close { display: none; }
.vb-chat-toggle-open .vb-chat-icon-open { display: none; }
.vb-chat-toggle-open .vb-chat-icon-close { display: block; }

.vb-chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(11, 30, 69, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.vb-chat-window.vb-chat-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .vb-chat-window {
    width: calc(100vw - 32px);
    right: -8px;
    max-height: 70vh;
  }
}

.vb-chat-header {
  background: var(--navy);
  color: #fff;
  padding: 16px 18px;
}
.vb-chat-title { font-family: var(--display); font-weight: 600; font-size: 14.5px; }
.vb-chat-subtitle { font-size: 11.5px; color: rgba(255,255,255,0.65); margin-top: 2px; }

.vb-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}

.vb-chat-msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.vb-chat-msg a { color: inherit; text-decoration: underline; }
.vb-chat-msg-bot {
  background: var(--paper-soft);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.vb-chat-msg-user {
  background: var(--navy);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.vb-chat-starters {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 14px 12px;
}
.vb-chat-starter {
  text-align: left;
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--teal);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.vb-chat-starter:hover { border-color: var(--teal); }

.vb-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.vb-chat-input-row input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink);
}
.vb-chat-input-row input:focus { outline: none; border-color: var(--teal); }
.vb-chat-input-row button {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: none;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.vb-chat-input-row button:hover { background: var(--navy-deep); }
.vb-chat-input-row button svg { width: 16px; height: 16px; }
