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

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
  }

  /* ── NAV ── */

  .btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.4px;
    padding: 11px 26px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
  }
  .btn-accent {
    background: var(--accent);
    color: var(--white);
  }
  .btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(46,196,168,0.35); }

  .btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
  }
  .btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

  .btn-navy {
    background: var(--navy);
    color: var(--white);
  }
  .btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

  .btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
  }
  .btn-outline-navy:hover { background: var(--navy); color: var(--white); }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, #0e2240 0%, #1c3a5f 45%, #254d7a 100%);
    color: var(--white);
    padding: 90px 40px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before { display: none; }
  #hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0.7;
  }
  .hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
  .hero-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(232,93,38,0.12);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-family: var(--font-head);
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    text-wrap: balance;
  }
  .hero h1 em { color: var(--accent); font-style: normal; }
  .hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    max-width: 960px;
    margin: 0 auto 36px;
    line-height: 1.7;
  }
  .hero-ctas { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
  .hero-ctas .btn { font-size: 15px; padding: 14px 30px; }

  /* ── METRICS BAR ── */
  .metrics {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    overflow: hidden;
  }
  .metrics-3 { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
  .metric {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid var(--gray-light);
  }
  .metric:last-child { border-right: none; }
  .metric-val {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
  }
  .metric-val span { color: var(--accent); }
  .metric-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* ── SECTION SHARED ── */
  section { padding: 80px 40px; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }
  h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--navy);
    text-wrap: balance;
  }
  h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
  }
  p { color: var(--text-muted); line-height: 1.75; }

  /* ── PROBLEM SECTION ── */
  .problem { background: var(--off-white); }
  .problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
  }
  .problem-stats { display: flex; flex-direction: column; gap: 20px; }
  .stat-card {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }
  .stat-card p {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
  }
  .problem-solution { }
  .problem-solution p { font-size: 16px; margin-bottom: 16px; }
  .solution-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
  }
  .highlight::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  /* ── HOW IT WORKS ── */
  .how { background: var(--white); }
  .how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
  }
  .how-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(33.33% - 16px);
    width: calc(33.33% + 32px);
    height: 2px;
    background: linear-gradient(90deg, #2ec4a8 0%, #4ba8e8 100%);
    opacity: 0.35;
    pointer-events: none;
  }
  .step-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 36px 28px;
    position: relative;
    border: 1px solid var(--gray-light);
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .step-card:hover { box-shadow: 0 8px 32px rgba(28,58,95,0.1); transform: translateY(-3px); }
  .step-num {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-light);
    line-height: 1;
    margin-bottom: 16px;
    position: relative;
  }
  .step-num::after {
    content: attr(data-num);
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
  }

  /* ── SERVICES ── */
  .services { background: var(--navy); }
  .services .section-label { color: rgba(255,255,255,0.5); }
  .services h2 { color: var(--white); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
  }
  .service-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 36px 28px;
    color: var(--white);
    transition: background 0.2s, transform 0.2s;
  }
  .service-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
  .service-icon {
    width: 48px; height: 48px;
    background: var(--accent);
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .service-icon svg { width: 24px; height: 24px; fill: none; stroke: white; stroke-width: 2; }
  .service-card h3 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
  .service-card p { color: rgba(255,255,255,0.72); font-size: 15px; margin-bottom: 20px; }
  .service-link {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .service-link:hover { color: #f07843; }

  /* ── WHY ── */
  .why { background: var(--off-white); }
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
  }
  .why-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid var(--gray-light);
    transition: box-shadow 0.2s;
  }
  .why-card:hover { box-shadow: 0 6px 24px rgba(28,58,95,0.09); }
  .why-num {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .why-card p { font-size: 14.5px; margin-top: 8px; }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--white); }
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
  }
  .testimonial {
    background: var(--off-white);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--gray-light);
    position: relative;
  }
  .testimonial::before {
    content: '\201C';
    font-size: 72px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.25;
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: Georgia, serif;
  }
  .testimonial-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }
  .testimonial-author {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
  }
  .testimonial-role { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

  /* ── CTA ── */
  .cta-section {
    background: linear-gradient(135deg, #1c3a5f 0%, #254d7a 100%);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
  }
  .cta-section h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
  .cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
  .cta-section .btn-outline-white { font-size: 15px; padding: 14px 30px; }
  .cta-section .btn-white {
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
  }
  .cta-section .btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
  .cta-btns { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }

  /* ── FOOTER ── */

  /* ── SECTION HEADERS ── */
  .section-head { margin-bottom: 0; }
  .section-head.centered { text-align: center; max-width: 640px; margin: 0 auto; }
  .section-head p { margin-top: 14px; font-size: 16px; }

  /* ── TWEAKS PANEL ── */
  #tweaks-panel {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    z-index: 9999;
    width: 260px;
    font-family: var(--font-body);
    border: 1px solid #e0e8f0;
  }
  #tweaks-panel h4 {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
  }
  .tweak-row { margin-bottom: 14px; }
  .tweak-row label { display: block; font-size: 11px; font-weight: 600; color: #6b7f90; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
  .tweak-row input[type=color] { width: 100%; height: 32px; border: 1px solid #dde5ee; border-radius: 6px; cursor: pointer; padding: 2px; }
  .tweak-row select { width: 100%; padding: 7px 10px; border: 1px solid #dde5ee; border-radius: 6px; font-size: 13px; color: var(--navy); background: white; }

/* ===== mobile responsiveness (added in mobile-QA pass) ===== */
@media (max-width: 980px) {
  .hero { padding-left: 24px; padding-right: 24px; }
  section { padding-left: 24px; padding-right: 24px; }
  .cta-section { padding-left: 24px; padding-right: 24px; }
  .metrics, .metrics-3, .how-grid, .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 56px 20px 64px; }
  section { padding-top: 56px; padding-bottom: 56px; padding-left: 20px; padding-right: 20px; }
  .cta-section { padding: 56px 20px; }
  .metrics, .metrics-3, .how-grid, .services-grid, .why-grid,
  .problem-grid, .solution-highlights, .testimonials-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   HOMEPAGE REWRITE additions (Lindsay rewrite + 9 design upgrades)
   ===================================================================== */

/* hero CTA hierarchy: Book a Demo larger/primary; Calculate ROI secondary */
.hero-ctas .btn-lg {
  padding: 18px 38px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 28px rgba(46,196,168,0.32);
}
.hero-ctas .btn-lg:hover { box-shadow: 0 14px 34px rgba(46,196,168,0.42); transform: translateY(-1px); }
.hero-ctas .btn-secondary { padding: 12px 22px; font-size: 13.5px; }

/* Sales BDC stat callout (pull <5 min out of the body for prominence) */
.service-card .service-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 4px 0 14px;
  padding: 10px 16px;
  background: rgba(46,196,168,0.14);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}
.service-card .service-stat-val {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.3px;
}
.service-card .service-stat-label {
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

/* Why card 5 featured (elevate the differentiator without changing order) */
.why-card.featured {
  background: linear-gradient(180deg, rgba(46,196,168,0.07), rgba(46,196,168,0.02));
  border-color: rgba(46,196,168,0.45);
  box-shadow: 0 8px 28px rgba(46,196,168,0.15);
  position: relative;
}
.why-card.featured::before {
  content: 'Our Edge';
  position: absolute;
  top: -10px; left: 22px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(46,196,168,0.35);
}
.why-card.featured .why-num { color: var(--accent); }

/* Why section closing CTA */
.why-cta { text-align: center; margin-top: 48px; }
.why-cta p {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 18px;
}

/* The Challenge — 3-stat grid with featured 7-14 day stat */
.challenge-stats {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  margin: 48px 0 56px;
  align-items: stretch;
}
.challenge-stat-card {
  background: var(--white);
  border: 1px solid rgba(14,34,64,0.08);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(14,34,64,0.05);
}
.challenge-stat-card .challenge-stat-val {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.challenge-stat-card .stat-plus { color: var(--accent); font-size: 0.7em; vertical-align: super; margin-left: 2px; }
.challenge-stat-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}
.challenge-stat-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(28,58,95,0.25);
  padding: 38px 28px;
  transform: scale(1.04);
}
.challenge-stat-card.featured .challenge-stat-val {
  color: var(--white);
  font-size: 64px;
}
.challenge-stat-card.featured .stat-unit {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}
.challenge-stat-card.featured p {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  margin-top: 8px;
}
.challenge-stat-compare {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 16px;
  font-family: var(--font-head);
}
.challenge-stat-compare .vs {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 99px;
}
.challenge-stat-compare .contrast {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.3px;
}

/* Problem lede (transition paragraph) */
.problem-lede {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}

/* Big statement block (We don't replace your team...) */
.big-statement {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 32px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(14,34,64,0.06);
  box-shadow: 0 12px 36px rgba(14,34,64,0.06);
}
.big-statement .bs-line {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.big-statement .bs-line-1 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy-deep); }
.big-statement .bs-line-2 { font-size: clamp(28px, 3.8vw, 44px); color: var(--accent); margin: 8px 0 18px; }
.big-statement .bs-line-3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}

/* Horizontal step tracker (replaces dated Lead-AI-BDC-APPT SVG) */
.step-tracker {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  margin: 56px 0 36px;
  padding: 0 16px;
}
.step-tracker::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(46,196,168,0.2), var(--accent), rgba(46,196,168,0.2));
  z-index: 0;
}
.step-tracker .step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 4px;
}
.step-tracker .step-marker {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 8px 24px rgba(46,196,168,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-tracker .step:hover .step-marker {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(46,196,168,0.32);
}
.step-tracker .step-marker svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-tracker .step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(46,196,168,0.4);
}
.step-tracker .step h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}
.step-tracker .step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  max-width: 320px;
  margin: 0 auto;
}

/* How section closing block */
.how-closing { text-align: center; margin-top: 56px; }
.how-closing p {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
}

/* Footer contact list (phone + email + address slot) */

/* ===== mobile responsiveness for new patterns ===== */
@media (max-width: 980px) {
  .challenge-stats { grid-template-columns: 1fr; gap: 18px; }
  .challenge-stat-card.featured { transform: none; padding: 32px 24px; }
  .step-tracker { grid-template-columns: 1fr; gap: 40px; }
  .step-tracker::before { display: none; }
}
@media (max-width: 640px) {
  .hero-ctas .btn-lg { padding: 15px 28px; font-size: 15px; }
  .challenge-stat-card .challenge-stat-val { font-size: 44px; }
  .challenge-stat-card.featured .challenge-stat-val { font-size: 52px; }
  .big-statement { padding: 32px 22px; }
}

/* Buttons inside .cta-section: enforce equal sizing for all color variants (so green Book a Demo matches Contact Us). */
.cta-section .cta-btns .btn { padding: 14px 30px; font-size: 15px; }
.cta-section .cta-btns .btn-green { padding: 14px 30px; font-size: 15px; }

/* Restore the prominent button size in How It Works closing CTA */
.how-closing .btn-green { padding: 16px 34px; font-size: 15.5px; letter-spacing: 0.4px; }
