/* Modern CSS reset — minimal, opinionated */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; font-weight: 500; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:root {
  /* Surface */
  --bg-primary:    #ffffff;
  --bg-secondary:  #f8f9fa;
  --bg-tertiary:   #f1f3f5;
  --bg-light:      #ebf3ff;       /* hero light blue — matches Clarity palette-primary-blue-50 */
  --bg-dark:       #002152;       /* deep navy — matches Clarity palette-primary-blue-950 */
  --bg-dark-alt:   #00327a;
  --bg-risk:       #1a0505;

  /* Text */
  --text-primary:        #002152;  /* deep navy — matches Clarity palette-primary-blue-950 */
  --text-secondary:      #4b5563;
  --text-tertiary:       #9ca3af;
  --text-inverse:        #ffffff;
  --text-inverse-muted:  #cbd5e1;

  /* Accent — bright blue, matches Clarity palette-primary-blue-500 */
  --primary:        #002152;
  --primary-hover:  #00327a;
  --accent:         #0e70ff;
  --accent-hover:   #0064f5;
  --accent-muted:   rgba(14, 112, 255, 0.12);
  --accent-strong:  #0053cc;

  /* Status */
  --success:        #27AE60;
  --success-muted:  rgba(39, 174, 96, 0.12);
  --danger:         #E74C3C;
  --danger-muted:   rgba(231, 76, 60, 0.10);
  --warning:        #F39C12;
  --warning-muted:  rgba(243, 156, 18, 0.12);

  /* Borders */
  --border:         #e5e7eb;
  --border-soft:    #f0f0f0;

  /* Typography */
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Type scale */
  --fs-xs:      0.75rem;
  --fs-sm:      0.875rem;
  --fs-base:    1rem;
  --fs-md:      1.0625rem;
  --fs-lg:      1.125rem;
  --fs-xl:      1.25rem;
  --fs-2xl:     clamp(1.5rem, 2.5vw, 1.75rem);
  --fs-3xl:     clamp(1.75rem, 3vw, 2.25rem);
  --fs-4xl:     clamp(2rem, 4vw, 3rem);
  --fs-hero:    clamp(2.25rem, 5vw, 3.5rem);

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 32px;  --sp-8: 48px;
  --sp-9: 64px; --sp-10: 80px; --sp-11: 96px; --sp-12: 128px;

  /* Layout */
  --container-max:    1280px;
  --container-narrow: 820px;
  --container-px:     clamp(20px, 5vw, 40px);
  --section-py:       clamp(64px, 10vw, 120px);

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 24px 48px rgba(0,0,0,0.12);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-cta:  0 4px 14px rgba(52,152,219,0.3);

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  180ms;
  --dur-base:  300ms;

  /* Z-index */
  --z-header:  50;
  --z-sticky:  40;
}

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

html {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
figure { margin: 0; }
blockquote { margin: 0; }
/* Layout primitives — container, section, grid */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}
.container--narrow { max-width: var(--container-narrow); }

section {
  padding-block: var(--section-py);
  position: relative;
}

.section--tight { padding-block: clamp(40px, 6vw, 80px); }

.stack > * + * { margin-top: var(--sp-5); }
.stack--sm > * + * { margin-top: var(--sp-3); }
.stack--lg > * + * { margin-top: var(--sp-7); }

.center { text-align: center; }
.measure { max-width: 680px; margin-inline: auto; }
.measure--wide { max-width: 820px; margin-inline: auto; }
.measure--narrow { max-width: 560px; margin-inline: auto; }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.surface { background: var(--bg-secondary); }
.surface--soft { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.divider-top { border-top: 1px solid var(--border-soft); }
.divider-bottom { border-bottom: 1px solid var(--border-soft); }
/* CommerceWeave funnel-1 components — adapted from HealthSail funnel2-3 with palette swap */

/* === Sticky Nav === */
.site-nav {
  position: sticky; top: 0; z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease-out);
}
.site-nav.is-hidden { transform: translateY(-100%); }
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 40px;
}
.site-nav__inner > .site-nav__logo { flex-shrink: 0; }
.site-nav__inner > .site-nav__cta { flex-shrink: 0; }
.site-nav__inner > .site-nav__links { flex: 1 1 auto; justify-content: center; min-width: 0; gap: 12px; }
.site-nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); font-size: var(--fs-lg); letter-spacing: -0.01em; min-width: 0; }
.site-nav__logo > img { max-height: 32px; width: auto; flex-shrink: 0; }
.site-nav__logo-mark { width: 28px; height: 28px; }
.site-nav__erp-lockup { display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; margin-left: 4px; border-left: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-secondary); font-weight: 500; flex-shrink: 0; }
.site-nav__erp-lockup img { height: 22px; width: auto; max-width: 70px; flex-shrink: 0; }
.site-nav__links { display: none; flex-wrap: nowrap; gap: 8px; font-size: var(--fs-sm); font-weight: 500; color: var(--text-primary); }
.site-nav__links a { padding: 8px 16px; white-space: nowrap; flex-shrink: 0; }
.site-nav__links a:hover { color: var(--accent); }
.site-nav__cta { white-space: nowrap; flex-shrink: 0; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md); font-weight: 600;
  font-size: var(--fs-sm); border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-out); cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600; box-shadow: none; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--xl { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text-primary); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--bg-dark); color: #fff; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.btn--dark:hover { background: #0f0f1e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,26,46,0.3); }
.btn--white-outline { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn--on-dark { background: #fff; color: var(--primary); }
.btn--on-dark:hover { background: var(--bg-light); }
.btn--glow { box-shadow: none; }

/* === Section base === */
.section { padding-block: var(--section-py); }
.section--alt { background: var(--bg-secondary); }
.section--light { background: var(--bg-light); }
.section--dark { background: var(--bg-dark); color: var(--text-inverse); }
.section__head { text-align: center; max-width: 800px; margin: 0 auto var(--sp-9); }
.section__title { font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: var(--sp-5); }
.section__sub { font-size: var(--fs-lg); color: var(--text-secondary); line-height: 1.65; }
.section--dark .section__sub { color: var(--text-inverse-muted); }
.accent { color: var(--accent); }

/* === Universal circle icons === */
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  font-size: 14px; font-weight: 700; line-height: 1;
  font-style: normal; font-family: system-ui, sans-serif;
}
.ic--sm { width: 22px; height: 22px; font-size: 12px; }
.ic--lg { width: 32px; height: 32px; font-size: 16px; }
.ic--green { background: var(--success); color: #fff; }
.ic--blue { background: var(--accent); color: #fff; }
.ic--amber { background: var(--warning); color: #fff; }
.ic--red { background: var(--danger); color: #fff; }

/* === Hero (light blue tint, centered) === */
.hero {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: clamp(48px, 6vw, 72px) 0 0;
  position: relative; overflow: visible;
}
.hero__inner { position: relative; text-align: center; max-width: 1100px; margin-inline: auto; padding-top: 24px; }
.hero__eyebrow-pill {
  display: inline-block;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--accent); background: #fff;
  padding: 8px 24px; border-radius: 96px;
  margin-bottom: var(--sp-7);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.005em;
  color: var(--text-primary); margin-bottom: var(--sp-7);
  max-width: 1080px; margin-inline: auto;
}
.hero__subhead { font-size: var(--fs-lg); color: var(--text-secondary); line-height: 1.6; max-width: 720px; margin: 0 auto var(--sp-6); }
.hero__badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 28px; margin-bottom: var(--sp-7);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 400; color: var(--text-primary);
  padding: 0; border: 0; background: none;
}
.hero__badge-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 6px;
  border-radius: 50%; background: var(--accent);
  flex-shrink: 0;
}
.hero__badge-icon { width: 100%; height: auto; color: #fff; flex-shrink: 0; fill: currentColor; }
.hero__cta-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-4); margin-bottom: var(--sp-4);
}
.hero__trust-line { font-size: 18px; color: var(--text-primary); font-weight: 400; margin-bottom: var(--sp-7); }
/* === Hero composite (the B2B storefront screenshot already includes its own KPI badges baked in — no overlay/border/shadow needed) === */
.hero__composite { max-width: 1280px; margin: 32px auto 0; padding-bottom: 0; }
.hero__composite-img { display: block; width: 100%; height: auto; }

/* === Stats bar (dark navy, compact) === */
.stats-bar { background: var(--bg-dark); padding: var(--sp-6) 0; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar__item { text-align: center; padding: var(--sp-3) var(--sp-4); border-right: 1px solid rgba(255,255,255,0.10); }
.stats-bar__item:last-child { border-right: 0; }
.stats-bar__number { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 2px; letter-spacing: -0.01em; }
.stats-bar__label { font-size: var(--fs-xs); color: rgba(255,255,255,0.55); font-weight: 400; }

/* === Value prop (white bg) === */
.value-prop { text-align: center; }
.value-prop__title { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: var(--sp-6); max-width: 800px; margin-inline: auto; }
.value-prop__body { font-size: var(--fs-lg); color: var(--text-secondary); line-height: 1.7; max-width: 760px; margin-inline: auto; }
.value-prop__body p + p { margin-top: var(--sp-5); }
.value-prop__body strong { color: var(--text-primary); font-weight: 600; }
.value-prop__cta { text-align: center; margin-top: var(--sp-8); }
.value-prop__trust { font-size: var(--fs-sm); color: var(--text-tertiary); font-weight: 500; margin-top: var(--sp-4); }

/* === Benefit (3-ways) cards on dark bg === */
.section--benefits { background: var(--bg-dark); color: #fff; }
.section--benefits .section__title { color: #fff; }
.section--benefits .section__sub { color: var(--text-inverse-muted); }
.benefits-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(52,152,219,0.25); border-top: 2px solid var(--accent); border-radius: var(--radius-lg); padding: var(--sp-7); }
.benefit-card__label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.benefit-card__icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: rgba(52,152,219,0.18); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.benefit-card__icon svg { width: 24px; height: 24px; }
.benefit-card__title { font-size: var(--fs-xl); font-weight: 800; line-height: 1.25; margin-bottom: 12px; color: #fff; }
.benefit-card__desc { font-size: var(--fs-base); color: rgba(255,255,255,0.78); line-height: 1.7; }

/* === Industries badges row === */
.industries-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: var(--sp-7); }
.industry-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-full); background: var(--bg-secondary); border: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); }
.industry-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* === Testimonials (white, side-by-side cards) === */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-7); box-shadow: var(--shadow-card); }
.testimonial-card__stars { display: inline-flex; gap: 2px; color: var(--warning); margin-bottom: var(--sp-3); font-size: var(--fs-base); }
.testimonial-card__headline { font-size: var(--fs-xl); font-weight: 800; color: var(--text-primary); margin-bottom: var(--sp-3); }
.testimonial-card__quote { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.7; font-style: italic; margin-bottom: var(--sp-5); }
.testimonial-card__author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-card__avatar { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--bg-light); color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.testimonial-card__name { font-size: var(--fs-sm); font-weight: 700; color: var(--text-primary); }
.testimonial-card__title { font-size: var(--fs-xs); color: var(--text-tertiary); }

/* === Numbered reasons === */
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); counter-reset: reason; }
.reason-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-7); counter-increment: reason; position: relative; }
.reason-card::before { content: counter(reason, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); color: var(--accent); opacity: 0.55; position: absolute; top: var(--sp-6); right: var(--sp-6); }
.reason-card__title { font-size: var(--fs-xl); font-weight: 700; margin-bottom: var(--sp-3); color: var(--text-primary); }
.reason-card__desc { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.65; }

/* === Features grid (21 features) === */
.section--features { background: var(--bg-light); }
.features-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1000px; margin-inline: auto; }
.feature-pill { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-md); background: #fff; font-size: var(--fs-sm); font-weight: 500; color: var(--text-primary); box-shadow: var(--shadow-sm); }
.feature-pill__icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--accent); color: #fff; display: grid; place-items: center; }
.feature-pill__icon svg { width: 12px; height: 12px; }

/* === Integrations === */
.section--integrations { background: var(--bg-secondary); }
.integrations-erp-spotlight { text-align: center; margin-bottom: var(--sp-8); }
.integrations-erp-spotlight img { max-height: 56px; width: auto; margin-inline: auto; }
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 920px; margin-inline: auto; }
.integration-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; display: grid; place-items: center; min-height: 80px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-secondary); }
.integration-card img { max-height: 36px; width: auto; max-width: 140px; }
.integrations-erp-spotlight img { max-height: 56px; width: auto; }
.integration-category-label { grid-column: 1 / -1; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); font-weight: 700; padding-top: var(--sp-3); }

/* === How it works === */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); counter-reset: step; }
.step-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-7); text-align: center; counter-increment: step; }
.step-card__number { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--radius-full); background: var(--accent); color: #fff; font-weight: 800; font-size: 28px; margin-bottom: var(--sp-5); }
.step-card__number::before { content: counter(step); }
.step-card__title { font-size: var(--fs-xl); font-weight: 700; margin-bottom: var(--sp-3); color: var(--text-primary); }
.step-card__desc { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.65; }

/* === Guarantee (dark navy section, giant white pill card with seal + text + CTA below) === */
.section--guarantee { background: var(--bg-dark); padding-block: clamp(64px, 8vw, 96px); }
.guarantee-card {
  background: #fff;
  border-radius: 488px;
  box-shadow: 0 16px 32px rgba(23,23,23,0.16);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.guarantee-card__seal {
  width: 100%;
  max-width: 220px;
  height: auto;
  flex-shrink: 0;
  display: block;
}
.guarantee-card__body { display: flex; flex-direction: column; gap: 20px; max-width: 700px; }
.guarantee-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--text-primary);
}
.guarantee-card__text { font-size: 18px; color: #4b5563; line-height: 1.7; }
.guarantee-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.guarantee-cta__trust { font-size: 18px; color: rgba(255,255,255,0.85); font-weight: 400; }

/* xl: side-by-side layout (seal left, text right) — matches Clarity's xl:flex-row */
@media (min-width: 1024px) {
  .guarantee-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 64px;
    padding: 64px 96px;
  }
  .guarantee-card__seal { max-width: 280px; }
  .guarantee-card__body { align-items: flex-start; }
}

/* === Demo CTA (booking section) === */
.demo-cta { background: #fff; }
.demo-cta__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); align-items: start; }
.demo-cta__copy { }
.demo-cta__title { font-size: var(--fs-4xl); font-weight: 800; line-height: 1.18; margin-bottom: var(--sp-4); }
.demo-cta__subtitle { font-size: var(--fs-lg); color: var(--text-secondary); margin-bottom: var(--sp-6); font-style: italic; }
.demo-cta__bonus { display: inline-flex; align-items: center; gap: 14px; background: var(--bg-light); border: 1px solid rgba(52,152,219,0.25); border-radius: var(--radius-md); padding: 14px 20px; font-size: var(--fs-sm); color: var(--text-primary); margin-bottom: var(--sp-6); }
.demo-cta__bonus strong { display: block; }
.demo-cta__body { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--sp-6); }
.demo-cta__points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.demo-cta__point { display: flex; align-items: flex-start; gap: 14px; background: var(--bg-secondary); border-radius: var(--radius-md); padding: 16px 20px; }
.demo-cta__point-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--radius-full); background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: 2px; font-size: 14px; font-weight: 700; }
.demo-cta__point strong { display: block; font-size: var(--fs-base); color: var(--text-primary); margin-bottom: 4px; }
.demo-cta__point p { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.55; }

/* === Multi-step form === */
.cw-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--sp-7); box-shadow: var(--shadow-md); }
.cw-form__title { font-size: var(--fs-xl); font-weight: 800; margin-bottom: var(--sp-2); color: var(--text-primary); }
.cw-form__subtitle { font-size: var(--fs-sm); color: var(--text-secondary); margin-bottom: var(--sp-5); }
.cw-form__steps { display: flex; gap: 6px; justify-content: center; margin-bottom: var(--sp-5); }
.cw-form__step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.cw-form__step-dot.is-active { background: var(--accent); }
.cw-form__step-dot.is-done { background: var(--success); }
.cw-form__step { display: none; }
.cw-form__step.is-active { display: block; }
.cw-form__row { margin-bottom: var(--sp-4); }
.cw-form__row--inline { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.cw-form label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.cw-form input, .cw-form select, .cw-form textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border); font-size: var(--fs-base); background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.cw-form input:focus, .cw-form select:focus, .cw-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52,152,219,0.18); }
.cw-form__error { display: none; font-size: var(--fs-xs); color: var(--danger); margin-top: 4px; }
.cw-form__row.is-error .cw-form__error { display: block; }
.cw-form__row.is-error input, .cw-form__row.is-error select { border-color: var(--danger); }
.cw-form__nav { display: flex; gap: var(--sp-3); justify-content: space-between; margin-top: var(--sp-5); }
.cw-form__progress-text { font-size: var(--fs-xs); color: var(--text-tertiary); text-align: center; margin-top: var(--sp-3); }

/* === Risk / Warning section === */
.risk-section { background: var(--bg-dark); color: var(--text-inverse); }
.risk-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--danger); color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 18px; border-radius: var(--radius-full); margin-bottom: var(--sp-6); }
.risk-section .section__head { text-align: center; }
.risk-section .section__title { color: #fff; }
.risk-section .section__sub { color: rgba(255,255,255,0.7); text-align: center; max-width: 720px; margin-inline: auto; }
.risk-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); margin-top: var(--sp-8); }
.risk-col__title { font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--sp-5); color: #fff; text-align: center; }
.risk-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.risk-pill { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #fff; border-radius: var(--radius-full); padding: 12px 20px; font-size: var(--fs-sm); font-weight: 500; }
.risk-pill__icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--radius-full); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.risk-pill__icon--danger { background: var(--danger); color: #fff; }
.risk-pill__icon--warning { background: var(--warning); color: #fff; }

/* === Comparison table === */
.comparison { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: center; font-size: var(--fs-sm); min-width: 720px; }
.comparison-table thead th { padding: 18px 16px; font-weight: 800; vertical-align: bottom; border-bottom: 1px solid var(--border); }
.comparison-table thead th:first-child { text-align: left; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); }
.comparison-table thead th.col-cw { background: var(--primary); color: #fff; border-radius: var(--radius-md) var(--radius-md) 0 0; padding: 16px; }
.comparison-table thead th.col-other { color: var(--text-primary); font-size: var(--fs-base); }
.comparison-table td { padding: 18px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.comparison-table td:first-child { font-weight: 700; color: var(--text-primary); text-align: left; font-size: var(--fs-base); padding-left: 0; }
.comparison-table td.col-cw { background: rgba(27,79,114,0.06); color: var(--text-primary); font-weight: 600; }
.comparison-table td .ic { margin: 0 auto 6px; }
.comparison-table .cell-desc { display: block; font-size: var(--fs-xs); margin-top: 2px; font-weight: 400; color: var(--text-secondary); line-height: 1.45; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table tr:last-child td.col-cw { border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* === Use-case rows / segments === */
.section--usecases { background: var(--bg-light); }
.usecases-grid { display: flex; flex-direction: column; gap: var(--sp-7); }
.usecase-row { display: grid; grid-template-columns: 88px 1fr; gap: var(--sp-6); align-items: flex-start; background: #fff; border-radius: var(--radius-lg); padding: var(--sp-7); box-shadow: var(--shadow-card); }
.usecase-row__icon { width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--accent-muted); color: var(--accent); display: grid; place-items: center; }
.usecase-row__icon svg { width: 32px; height: 32px; }
.usecase-row__title { font-size: var(--fs-xl); font-weight: 800; line-height: 1.25; margin-bottom: 8px; color: var(--text-primary); }
.usecase-row__desc { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.7; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.faq-item[open] { border-color: var(--accent); box-shadow: 0 4px 16px rgba(52,152,219,0.10); }
.faq-item summary { list-style: none; padding: var(--sp-5) var(--sp-6); font-weight: 600; font-size: var(--fs-md); color: var(--text-primary); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; border-radius: var(--radius-full); font-size: 1.25rem; font-weight: 400; line-height: 1; transition: transform var(--dur-base) var(--ease-out); }
.faq-item[open] summary::after { content: "×"; }
.faq-item__body { padding: 0 var(--sp-6) var(--sp-6); color: var(--text-secondary); line-height: 1.7; font-size: var(--fs-base); }

/* === Final CTA (dark) === */
.final-cta { background: var(--bg-dark); color: var(--text-inverse); text-align: center; }
.final-cta__inner { max-width: 720px; margin-inline: auto; }
.final-cta__title { font-size: clamp(1.875rem, 4vw, 2.625rem); font-weight: 800; line-height: 1.2; margin-bottom: var(--sp-7); color: #fff; }
.final-cta__list { display: flex; flex-direction: column; gap: 10px; max-width: 540px; margin: 0 auto var(--sp-8); }
.final-cta__pill { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; border-radius: var(--radius-full); padding: 12px 20px; font-size: var(--fs-sm); font-weight: 500; text-align: left; }
.final-cta__check { flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--radius-full); background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.final-cta__sub-trust { font-size: var(--fs-sm); color: rgba(255,255,255,0.6); margin-top: var(--sp-4); }

/* === Footer === */
.site-footer { text-align: center; padding: var(--sp-8) var(--sp-5); border-top: 1px solid var(--border-soft); font-size: var(--fs-sm); color: var(--text-tertiary); background: #0F1923; color: rgba(255,255,255,0.55); }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: #fff; }

/* === Mid-section CTA === */
.section-cta { padding: var(--sp-8) 0; text-align: center; }

/* === Sticky mobile CTA === */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-sticky); background: var(--accent); color: #fff; padding: 12px 16px; box-shadow: 0 -8px 24px rgba(0,0,0,0.18); text-align: center; font-weight: 700; font-size: var(--fs-base); }
.sticky-cta.is-visible.sticky-cta--mobile { display: block; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* === Calculator (consolidate / savings) === */
.calculator { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--sp-7); box-shadow: var(--shadow-card); }
.calculator__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); }
.calculator__col-title { font-size: var(--fs-lg); font-weight: 800; color: var(--text-primary); margin-bottom: var(--sp-4); }
.calculator__row { display: grid; grid-template-columns: 1fr 120px; gap: var(--sp-3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.calculator__label { font-size: var(--fs-sm); color: var(--text-secondary); }
.calculator__input { padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: var(--fs-sm); text-align: right; font-family: var(--font-display); font-weight: 700; }
.calculator__total-row { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-3); padding: var(--sp-4) 0 0; margin-top: var(--sp-3); border-top: 2px solid var(--text-primary); }
.calculator__total-label { font-weight: 800; font-size: var(--fs-base); }
.calculator__total-value { font-weight: 800; font-size: var(--fs-xl); color: var(--primary); font-variant-numeric: tabular-nums; }
.calculator__results { background: var(--bg-light); border-radius: var(--radius-lg); padding: var(--sp-6); }
.calculator__savings-headline { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); font-weight: 700; margin-bottom: 6px; }
.calculator__savings-amount { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--success); font-variant-numeric: tabular-nums; line-height: 1.1; margin-bottom: var(--sp-2); }
.calculator__savings-detail { font-size: var(--fs-sm); color: var(--text-secondary); }
.calculator__savings-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(27,79,114,0.10); font-size: var(--fs-sm); }
.calculator__savings-row:last-child { border-bottom: 0; }
.calculator__savings-row strong { color: var(--text-primary); }

/* === Comparison table for /consolidate === */
.consolidation-table-wrapper { overflow-x: auto; }
.consolidation-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: var(--fs-sm); }
.consolidation-table th, .consolidation-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.consolidation-table thead th { background: var(--bg-secondary); font-weight: 700; }
.consolidation-table thead th.col-cw { background: var(--primary); color: #fff; }
.consolidation-table td.col-cw { background: rgba(27,79,114,0.06); color: var(--primary); font-weight: 700; }
.consolidation-table td.col-other { color: var(--text-secondary); }
.consolidation-table tfoot td { font-weight: 800; background: var(--bg-light); border-top: 2px solid var(--primary); border-bottom: 0; font-size: var(--fs-base); }

/* === Hidden costs 3-col === */
.hidden-costs-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.hidden-cost-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--danger); border-radius: var(--radius-md); padding: var(--sp-6); }
.hidden-cost-card__title { font-size: var(--fs-lg); font-weight: 800; color: var(--text-primary); margin-bottom: var(--sp-3); }
.hidden-cost-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hidden-cost-card li { font-size: var(--fs-sm); color: var(--text-secondary); padding-left: 22px; position: relative; }
.hidden-cost-card li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--danger); font-weight: 700; }

/* === Feature deep-dives (b2b-features) === */
.feature-deep { background: #fff; border-radius: var(--radius-lg); padding: var(--sp-7); display: grid; grid-template-columns: 1fr; gap: var(--sp-5); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.feature-deep__icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--accent-muted); color: var(--accent); display: grid; place-items: center; }
.feature-deep__icon svg { width: 28px; height: 28px; }
.feature-deep__title { font-size: var(--fs-xl); font-weight: 800; color: var(--text-primary); margin-bottom: var(--sp-3); }
.feature-deep__body { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.7; }
.feature-deep + .feature-deep { margin-top: var(--sp-5); }
.feature-deeps { display: flex; flex-direction: column; gap: var(--sp-5); }

/* === Migration timeline === */
.migration-timeline { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); counter-reset: mig; }
.migration-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-7); position: relative; counter-increment: mig; padding-left: 88px; }
.migration-step::before { content: counter(mig); position: absolute; left: var(--sp-6); top: var(--sp-6); width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: var(--fs-xl); display: grid; place-items: center; }
.migration-step__week { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.migration-step__title { font-size: var(--fs-xl); font-weight: 800; color: var(--text-primary); margin-bottom: var(--sp-3); }
.migration-step__body { font-size: var(--fs-base); color: var(--text-secondary); line-height: 1.65; margin-bottom: var(--sp-3); }
.migration-step__deliverable { font-size: var(--fs-sm); color: var(--text-primary); padding: 8px 14px; background: var(--bg-light); border-radius: var(--radius-sm); display: inline-block; font-weight: 600; }

/* ERP picker (demo page) */
.erp-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: var(--sp-5); }
.erp-picker button { padding: 14px 8px; border-radius: var(--radius-md); border: 1px solid var(--border); background: #fff; font-weight: 700; font-size: var(--fs-sm); transition: all var(--dur-fast); cursor: pointer; color: var(--text-primary); }
.erp-picker button:hover { border-color: var(--accent); background: var(--accent-muted); }
.erp-picker button.is-selected { background: var(--accent); color: #fff; border-color: var(--accent); }
/* Responsive breakpoints */

/* Mobile (≤639px) */
@media (max-width: 639px) {
  .site-nav__links { display: none; }
  .hero__headline { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .hero__cta-row { flex-direction: column; }
  .hero__cta-row .btn { width: 100%; }
  .hero__badges { flex-direction: column; align-items: center; }
  .hero__composite { margin-top: 16px; padding-bottom: 0; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2) { border-right: 0; }
  .stats-bar__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.10); }
  .benefits-cards { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .risk-columns { grid-template-columns: 1fr; }
  .demo-cta__grid { grid-template-columns: 1fr; }
  .calculator__grid { grid-template-columns: 1fr; }
  .hidden-costs-grid { grid-template-columns: 1fr; }
  .erp-picker { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: block; }
  body { padding-bottom: 64px; }
}

/* Tablet (≥640px) */
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-cards { grid-template-columns: repeat(3, 1fr); }
  .features-list { grid-template-columns: repeat(2, 1fr); }
  .demo-cta__grid { grid-template-columns: 5fr 4fr; }
  .risk-columns { grid-template-columns: 1fr 1fr; }
  .calculator__grid { grid-template-columns: 1fr 1fr; }
  .hidden-costs-grid { grid-template-columns: repeat(3, 1fr); }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .site-nav__links { display: flex; }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .features-list { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}
