:root {
  --bg: #f7fffd;
  --surface: #ffffff;
  --surface-strong: #eafbf8;
  --ink: #082522;
  --muted: #58716d;
  --teal: #00a98f;
  --teal-dark: #007d70;
  --teal-soft: #ccf5ef;
  --line: rgba(8, 37, 34, 0.12);
  --shadow: 0 24px 70px rgba(0, 68, 61, 0.14);
  --amber: #f2b84b;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fffd 0%, #ffffff 35%, #f2fffc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(8, 37, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 37, 34, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 112px 0;
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(0, 169, 143, 0.18), transparent 62%);
  mix-blend-mode: multiply;
  transition: opacity 240ms ease;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field span,
.ambient-field i {
  position: absolute;
  inset: auto;
  display: block;
  width: 55vw;
  height: 18vw;
  min-height: 170px;
  opacity: 0.22;
  filter: blur(34px);
  background: linear-gradient(90deg, transparent, rgba(0, 169, 143, 0.42), rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(-18deg);
  animation: fieldDrift 18s ease-in-out infinite;
}

.ambient-field span:nth-child(1) {
  top: 8%;
  left: -18%;
}

.ambient-field span:nth-child(2) {
  top: 36%;
  right: -22%;
  animation-delay: -5s;
  transform: rotate(16deg);
}

.ambient-field span:nth-child(3) {
  bottom: 8%;
  left: 18%;
  animation-delay: -10s;
  opacity: 0.16;
}

.ambient-field i {
  top: 58%;
  left: -15%;
  animation-delay: -14s;
  opacity: 0.12;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 48px;
  background: rgba(6, 18, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  will-change: transform;
}

.site-header.is-scrolled {
  background: rgba(6, 18, 16, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}

.brand-lockup {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center center;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
  background: #ffffff;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.site-nav a {
  position: relative;
  padding: 8px 14px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 650;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}

.site-nav a::after {
  display: none;
}

.nav-cta,
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

.nav-cta::before,
.btn::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.38) 40%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.nav-cta:hover::before,
.btn:hover::before {
  transform: translateX(120%);
}

.nav-cta,
.btn-primary {
  color: #ffffff;
  background: var(--teal-dark);
  box-shadow: 0 12px 30px rgba(0, 125, 112, 0.32);
}

.nav-cta:hover,
.btn-primary:hover {
  background: #006b5f;
}

.btn-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 125, 112, 0.28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 120px;
}

.hero::before {
  position: absolute;
  inset: 10% 0 auto 52%;
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  content: "";
  opacity: 0.14;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0, 169, 143, 0.9) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(0, 169, 143, 0.9) 50%, transparent 52%);
  background-size: 54px 54px;
  transform: rotate(8deg);
  animation: gridBreathe 8s ease-in-out infinite;
}

.hero-grid,
.split-grid,
.roi-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-title {
  min-height: 2.85em;
}

.rotating-word {
  position: relative;
  display: inline-block;
  color: var(--teal-dark);
  white-space: nowrap;
}

.rotating-word::after {
  position: absolute;
  right: -0.08em;
  bottom: 0.03em;
  left: 0;
  height: 0.12em;
  content: "";
  background: linear-gradient(90deg, rgba(0, 169, 143, 0.12), rgba(0, 169, 143, 0.48));
  z-index: -1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-lede,
.section-copy,
.section-heading p,
.copy-stack p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.logo-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.automation-stage {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(234, 251, 248, 0.88) 100%),
    radial-gradient(circle at 25% 10%, rgba(0, 169, 143, 0.22), transparent 34%);
  border: 1px solid rgba(0, 125, 112, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  will-change: transform;
}

.premium-depth {
  transform-style: preserve-3d;
  will-change: transform;
}

.dashboard-signal {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 169, 143, 0.26);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 68, 61, 0.12);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 850;
  animation: floatCard 5.6s ease-in-out infinite;
}

.signal-a {
  top: 82px;
  right: -18px;
}

.signal-b {
  bottom: 96px;
  left: -26px;
  animation-delay: -2.8s;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.stage-toolbar span {
  width: 10px;
  height: 10px;
  background: var(--teal-soft);
  border-radius: 50%;
}

.stage-toolbar strong {
  font-size: 13px;
}

.stage-logo {
  width: 28px;
  height: 20px;
  margin-left: 6px;
  object-fit: contain;
}

.stage-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 18px;
  padding: 18px;
}

.flow-map {
  position: relative;
  min-height: 430px;
  display: grid;
  gap: 10px;
}

.flow-node,
.workflow-card,
.service-card,
.testimonial-card,
.price-card,
.lead-form,
.calculator,
.process-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 68, 61, 0.08);
}

.flow-node {
  position: relative;
  overflow: hidden;
  padding: 17px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.flow-node::after,
.workflow-card::after,
.service-card::after,
.price-card::after,
.testimonial-card::after,
.calculator::after,
.lead-form::after,
.cta-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 169, 143, 0.18), transparent 42%);
  transition: opacity 180ms ease;
}

.flow-node:hover::after,
.workflow-card:hover::after,
.service-card:hover::after,
.price-card:hover::after,
.testimonial-card:hover::after,
.calculator:hover::after,
.lead-form:hover::after,
.cta-panel:hover::after {
  opacity: 1;
}

.node-pulse {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(0, 169, 143, 0.44);
  animation: nodePulse 1.7s ease-out infinite;
}

.flow-node.active {
  transform: translateX(12px);
  background: #ffffff;
  border-color: rgba(0, 169, 143, 0.7);
}

.flow-node small,
.workflow-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-node strong,
.workflow-card strong {
  display: block;
  margin-bottom: 4px;
}

.flow-node span,
.workflow-card span {
  color: var(--muted);
  font-size: 14px;
}

.flow-line {
  width: 2px;
  min-height: 26px;
  margin-left: 28px;
  background: linear-gradient(var(--teal), transparent, var(--teal));
  background-size: 100% 220%;
  animation: lineFlow 1.8s linear infinite;
}

.insight-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 18px;
  color: white;
  background: #063c37;
  border-radius: 8px;
}

.insight-panel p,
.insight-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.insight-panel strong {
  font-size: 54px;
  line-height: 1;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  height: 120px;
}

.mini-bars i {
  height: var(--h);
  background: linear-gradient(180deg, var(--teal-soft), var(--teal));
  border-radius: 999px 999px 0 0;
  transform-origin: bottom;
  animation: barPulse 2.6s ease-in-out infinite;
}

.mini-bars i:nth-child(2) {
  animation-delay: -0.4s;
}

.mini-bars i:nth-child(3) {
  animation-delay: -0.8s;
}

.mini-bars i:nth-child(4) {
  animation-delay: -1.2s;
}

.mini-bars i:nth-child(5) {
  animation-delay: -1.6s;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(0, 125, 112, 0.18);
}

.scroll-cue span::after {
  display: block;
  width: 100%;
  height: 18px;
  content: "";
  background: var(--teal);
  animation: scrollCue 1.4s ease-in-out infinite;
}

.scroll-cue p {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Stats bar ───────────────────────────────── */
.stats-bar {
  padding: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #0a3530 100%);
  border-top: 1px solid rgba(0,169,143,0.2);
  border-bottom: 1px solid rgba(0,169,143,0.2);
  overflow: hidden;
  position: relative;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0,169,143,0.12), transparent 70%);
  pointer-events: none;
}

.stats-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 36px 48px;
  flex: 1;
  text-align: left;
  transition: background 200ms ease;
}

.stat-item:hover {
  background: rgba(0,169,143,0.07);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0,169,143,0.15);
  border: 1px solid rgba(0,169,143,0.3);
  border-radius: 12px;
  color: var(--teal);
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-content strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.stat-content span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  align-self: stretch;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .stat-item {
    padding: 32px 28px;
  }
  .stat-content strong {
    font-size: 30px;
  }
}

@media (max-width: 980px) {
  .stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    justify-content: flex-start;
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06);
  }
}

@media (max-width: 480px) {
  .stats-bar-inner {
    grid-template-columns: 1fr;
  }
  .stat-item:nth-child(odd) {
    border-right: none;
  }
}

.split-section {
  background: #ffffff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.mask-heading {
  clip-path: inset(0 0 0 0);
}

.mask-heading span:not(:last-child) {
  margin-right: 0.18em;
}

.sticky-story {
  position: relative;
  min-height: 320vh;
  background: #ffffff;
}

.story-shell {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
  padding: 120px 0 80px;
}

.story-copy {
  max-width: 520px;
}

.story-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.story-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(234, 251, 248, 0.88)),
    linear-gradient(120deg, rgba(0, 169, 143, 0.18), transparent 42%);
  border: 1px solid rgba(0, 125, 112, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.story-progress {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 3px;
  overflow: hidden;
  background: rgba(0, 125, 112, 0.12);
  border-radius: 999px;
}

.story-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-soft));
}

.story-card {
  position: absolute;
  top: 72px;
  left: 28px;
  width: min(420px, calc(100% - 56px));
  padding: 28px;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(0, 68, 61, 0.12);
  backdrop-filter: blur(12px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.story-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-card small {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card p {
  color: var(--muted);
}

.story-visual {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.story-visual::before {
  position: absolute;
  top: 50%;
  right: 7%;
  left: 7%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  background-size: 200% 100%;
  animation: connectorSweep 2.4s linear infinite;
}

.story-visual span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 94px;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 169, 143, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 68, 61, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.workflow-section,
.roi-section,
.pricing-section {
  background:
    linear-gradient(180deg, var(--surface-strong), #ffffff 58%, var(--surface-strong));
}

.workflow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.workflow-tabs button {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.workflow-tabs button:hover {
  transform: translateY(-2px);
}

.workflow-tabs button.is-active {
  color: #ffffff;
  background: var(--teal-dark);
}

.workflow-builder {
  display: grid;
  grid-template-columns: 1fr 68px 1fr 68px 1fr;
  align-items: center;
  gap: 10px;
}

.workflow-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 26px;
}

.connector {
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(0, 169, 143, 0.08), var(--teal));
  background-size: 220% 100%;
  animation: connectorSweep 2s linear infinite;
}

/* ── Rich workflow canvas ───────────────────────── */
.wf-canvas {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(0,125,112,0.18);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

/* Header row */
.wf-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,169,143,0.04), transparent 60%);
}

.wf-title-block {
  flex: 1;
}

.wf-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wf-description {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 580px;
  line-height: 1.55;
}

.wf-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.wf-stat {
  text-align: center;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,68,61,0.06);
}

.wf-stat strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

.wf-stat span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Pipeline steps */
.wf-pipeline {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 0;
  padding: 28px 32px;
}

.wf-step {
  position: relative;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,68,61,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wf-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,68,61,0.12);
}

.wf-step--trigger { border-top: 3px solid #6366f1; }
.wf-step--data    { border-top: 3px solid #f59e0b; }
.wf-step--ai      { border-top: 3px solid var(--teal); }
.wf-step--action  { border-top: 3px solid #3b82f6; }
.wf-step--outcome { border-top: 3px solid #10b981; }

.wf-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.wf-step-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wf-badge--trigger { background: #ede9fe; color: #6366f1; }
.wf-badge--data    { background: #fef3c7; color: #d97706; }
.wf-badge--ai      { background: var(--teal-soft); color: var(--teal-dark); }
.wf-badge--action  { background: #dbeafe; color: #2563eb; }
.wf-badge--outcome { background: #d1fae5; color: #059669; }

.wf-step-num {
  font-size: 11px;
  font-weight: 900;
  color: rgba(8,37,34,0.2);
  letter-spacing: 0.06em;
}

.wf-step-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.wf-step-desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.wf-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.wf-tools span {
  display: inline-block;
  padding: 2px 8px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 750;
  color: var(--muted);
}

/* Arrow connectors between steps */
.wf-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--teal);
}

.wf-arrow span {
  display: block;
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  animation: lineFlow 1.8s linear infinite;
}

.wf-arrow svg {
  flex-shrink: 0;
}

/* Before / After footer */
.wf-footer {
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(0,169,143,0.03), transparent 50%);
}

.wf-before-after {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 28px;
  align-items: start;
}

.wf-divider-vert {
  background: var(--line);
  align-self: stretch;
}

.wf-ba-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.wf-ba-label--after {
  color: var(--teal-dark);
}

.wf-before p,
.wf-after p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.wf-after p {
  color: var(--ink);
  font-weight: 500;
}

.wf-before {
  position: relative;
  padding-left: 14px;
}

.wf-before::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(239,68,68,0.4);
  border-radius: 999px;
}

.wf-after {
  position: relative;
  padding-left: 14px;
}

.wf-after::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .wf-header {
    flex-direction: column;
    gap: 18px;
  }
  .wf-stats {
    width: 100%;
    justify-content: flex-start;
  }
  .wf-pipeline {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 0;
  }
  .wf-arrow {
    flex-direction: row;
    height: 32px;
    padding: 0 8px;
  }
  .wf-arrow span {
    flex: 1;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--teal), transparent);
  }
  .wf-before-after {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .wf-divider-vert { display: none; }
}

@media (max-width: 680px) {
  .wf-header { padding: 20px; }
  .wf-pipeline { padding: 16px; }
  .wf-footer { padding: 20px; }
  .wf-stats { flex-wrap: wrap; gap: 10px; }
  .wf-stat { flex: 1; min-width: 80px; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,68,61,0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 169, 143, 0.4);
  box-shadow: 0 8px 28px rgba(0, 68, 61, 0.09);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-top: 2px;
}

.service-body {
  flex: 1;
}

.service-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink);
  line-height: 1.3;
}

.service-body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.service-card .card-index {
  display: block;
  margin-bottom: 3px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card:hover,
.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 169, 143, 0.45);
  box-shadow: 0 28px 70px rgba(0, 68, 61, 0.14);
}

.service-card p,
.testimonial-card blockquote,
.price-card p,
.price-card li,
.process-item p,
.faq-list p,
.form-note {
  color: var(--muted);
}

.calculator {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.calculator label {
  display: block;
  margin-bottom: 22px;
}

.calculator label span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 750;
}

.calculator label strong {
  color: var(--ink);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal-dark);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.calc-results div {
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid rgba(0, 125, 112, 0.16);
  border-radius: 8px;
}

.calc-results span {
  display: block;
  min-height: 38px;
  color: var(--muted);
  font-size: 13px;
}

.calc-results strong {
  display: block;
  font-size: 24px;
}

.full-width {
  width: 100%;
}

.integrations-section {
  position: relative;
  overflow: hidden;
  padding-top: 104px;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 169, 143, 0.14), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 34%),
    #050707;
  color: #ffffff;
}

.integrations-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 42%, black, transparent 74%);
}

.integrations-heading {
  position: relative;
  z-index: 2;
  max-width: 930px;
  margin: 0 auto 18px;
  text-align: center;
}

.integrations-heading .eyebrow {
  color: var(--teal-soft);
}

.integrations-heading h2 {
  margin-bottom: 18px;
  color: #ffffff;
}

.integrations-heading h2 span {
  color: var(--teal);
}

.integrations-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
}

.integration-map {
  position: relative;
  min-height: 620px;
  margin-top: 42px;
  isolation: isolate;
}

.integration-map::before {
  position: absolute;
  inset: 19% 27%;
  z-index: -1;
  content: "";
  opacity: 0.9;
  background: radial-gradient(circle, rgba(0, 169, 143, 0.2), transparent 62%);
  filter: blur(22px);
  animation: hubGlow 4.8s ease-in-out infinite;
}

.integration-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.integration-wire,
.integration-beam {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.integration-wire {
  opacity: 0.35;
  stroke: rgba(255, 255, 255, 0.2);
}

.integration-beam {
  stroke: var(--teal);
  stroke-width: 3;
  stroke-dasharray: 50 300;
  stroke-dashoffset: 350;
  filter: url("#teal-glow");
  animation: beamTravel 3s linear infinite;
}

.integration-beam {
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url("#teal-glow");
  animation: beamTravel linear infinite;
}

/* Each beam gets exact dasharray/offset/duration matching its path length */
.beam-one {
  stroke-dasharray: 40 315;
  stroke-dashoffset: 355;
  animation-duration: 2.2s;
  animation-delay: 0s;
}
.beam-two {
  stroke-dasharray: 40 175;
  stroke-dashoffset: 215;
  animation-duration: 1.2s;
  animation-delay: -0.3s;
}
.beam-three {
  stroke-dasharray: 40 301;
  stroke-dashoffset: 341;
  animation-duration: 2.1s;
  animation-delay: -0.5s;
}
.beam-four {
  stroke-dasharray: 40 146;
  stroke-dashoffset: 186;
  animation-duration: 1.0s;
  animation-delay: -0.2s;
}
.beam-five {
  stroke-dasharray: 40 223;
  stroke-dashoffset: 263;
  animation-duration: 1.6s;
  animation-delay: -0.8s;
}
.beam-six {
  stroke-dasharray: 40 104;
  stroke-dashoffset: 144;
  animation-duration: 0.8s;
  animation-delay: -0.1s;
}
.beam-seven {
  stroke-dasharray: 40 229;
  stroke-dashoffset: 269;
  animation-duration: 1.6s;
  animation-delay: -0.6s;
}
.beam-eight {
  stroke-dasharray: 40 367;
  stroke-dashoffset: 407;
  animation-duration: 2.6s;
  animation-delay: -1.0s;
}
.beam-nine {
  stroke-dasharray: 40 154;
  stroke-dashoffset: 194;
  animation-duration: 1.1s;
  animation-delay: -0.4s;
}

.svg-hub rect:first-child {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.4;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.56)) drop-shadow(0 0 55px rgba(0, 169, 143, 0.24));
}

.svg-hub .hub-port {
  fill: #3c4542;
  opacity: 0.92;
}

.clariana-hub-lockup {
  filter: drop-shadow(0 0 18px rgba(0, 169, 143, 0.36));
}

.clariana-hub-lockup .clariana-c {
  fill: none;
  stroke: #eafffb;
  stroke-width: 9;
  stroke-linecap: round;
}

.clariana-hub-lockup .clariana-bar {
  fill: #35d6cf;
}

.clariana-hub-lockup text {
  fill: #eafffb;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: none;
}

.integration-card {
  animation: logoPulse 4.8s ease-in-out infinite;
}

.integration-card .card-bg {
  fill: rgba(255, 255, 255, 0.075);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.2;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.34));
}

.integration-card .card-icon-bg {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 18px rgba(0, 169, 143, 0.2));
}

.integration-card path,
.integration-card rect,
.integration-card circle {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.integration-card text {
  fill: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  dominant-baseline: middle;
}

.meta-logo {
  color: rgba(24, 119, 242, 0.52);
}

.meta-logo .card-icon-bg {
  fill: #1877f2;
}

.meta-logo path {
  fill: #ffffff;
}

.quickbooks-logo {
  animation-delay: -1s;
}

.quickbooks-logo {
  color: rgba(44, 160, 28, 0.52);
}

.quickbooks-logo .card-icon-bg {
  fill: #2ca01c;
}

.quickbooks-logo .qb-ring,
.quickbooks-logo path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
}

.hubspot-logo {
  animation-delay: -2s;
}

.hubspot-logo {
  color: rgba(255, 111, 79, 0.55);
}

.hubspot-logo .card-icon-bg,
.hubspot-logo circle:not(.card-icon-bg) {
  fill: #ff6f4f;
}

.hubspot-logo path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
}

.whatsapp-logo {
  animation-delay: -3s;
}

.whatsapp-logo {
  color: rgba(37, 211, 102, 0.52);
}

.whatsapp-logo .card-icon-bg {
  fill: #25d366;
}

.whatsapp-logo path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
}

.gmail-logo {
  animation-delay: -1.6s;
}

.gmail-logo {
  color: rgba(234, 67, 53, 0.42);
}

.gmail-logo .card-icon-bg {
  fill: #ffffff;
}

.gmail-logo path:first-of-type {
  fill: #ffffff;
  stroke: #e0e0e0;
  stroke-width: 2;
}

.gmail-logo path:last-of-type {
  fill: none;
  stroke: #ea4335;
  stroke-width: 5;
}

.drive-logo {
  animation-delay: -2.4s;
}

.drive-logo {
  color: rgba(66, 133, 244, 0.42);
}

.drive-logo .card-icon-bg {
  fill: #ffffff;
}

.drive-logo path {
  stroke: none;
}

.drive-green {
  fill: #34a853;
}

.drive-yellow {
  fill: #fbbc04;
}

.drive-blue {
  fill: #4285f4;
}

.slack-logo {
  animation-delay: -0.5s;
}

.slack-logo {
  color: rgba(54, 197, 240, 0.38);
}

.slack-logo .card-icon-bg {
  fill: #ffffff;
}

.slack-logo rect {
  stroke: none;
}

.slack-c1 {
  fill: #36c5f0;
}

.slack-c2 {
  fill: #2eb67d;
}

.slack-c3 {
  fill: #ecb22e;
}

.slack-c4 {
  fill: #e01e5a;
}

.shopify-logo {
  animation-delay: -3.5s;
}

.shopify-logo {
  color: rgba(149, 191, 71, 0.5);
}

.shopify-logo .card-icon-bg {
  fill: #95bf47;
}

.shopify-logo path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4;
}

.shopify-logo path:first-of-type {
  fill: #ffffff;
  stroke: none;
  opacity: 0.96;
}

.shopify-logo path:last-of-type {
  fill: #5e8e3e;
  stroke: none;
}

/* ── Visual timeline ─────────────────────────── */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 48px;
}

.timeline-track {
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.timeline-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--teal), var(--teal-dark));
  border-radius: 999px;
  transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-track-fill.is-animated {
  height: 100%;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  align-items: start;
  padding: 0 0 52px 0;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: -48px;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg);
  transition: border-color 300ms ease, background 300ms ease;
}

.timeline-step.is-visible .timeline-node-ring {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.timeline-node--final.is-visible .timeline-node-ring,
.timeline-step:last-child.is-visible .timeline-node-ring {
  border-color: var(--teal-dark);
  background: var(--teal);
}

.timeline-node-icon {
  position: relative;
  z-index: 1;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 300ms ease;
}

.timeline-step.is-visible .timeline-node-icon {
  color: var(--teal-dark);
}

.timeline-step:last-child.is-visible .timeline-node-icon {
  color: #ffffff;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0,68,61,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms ease;
  border-radius: 999px 999px 0 0;
}

.timeline-step.is-visible .timeline-card::before {
  transform: scaleX(1);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,68,61,0.12);
  border-color: rgba(0,169,143,0.3);
}

.timeline-card--final {
  background: linear-gradient(135deg, var(--teal-soft), #ffffff 60%);
  border-color: rgba(0,169,143,0.25);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.timeline-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-card h3 {
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 10px;
  color: var(--ink);
}

.timeline-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.timeline-deliverable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface-strong);
  border: 1px solid rgba(0,169,143,0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  color: var(--teal-dark);
}

.timeline-deliverable svg {
  flex-shrink: 0;
  color: var(--teal);
}

@media (max-width: 680px) {
  .timeline {
    padding-left: 36px;
  }
  .timeline-node {
    margin-left: -36px;
    width: 32px;
    height: 32px;
  }
  .timeline-track {
    left: 15px;
  }
  .timeline-card {
    padding: 20px;
  }
  .timeline-step {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }
}

.testimonials-section {
  background: #f8fdfb;
  overflow: hidden;
  padding-bottom: 72px;
}

/* Marquee wrapper — full bleed, clips overflow */
.testimonial-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade edges left and right */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* The scrolling track — all cards in one row */
.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

/* Pause on hover for readability */
.testimonial-marquee-wrap:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual card */
.testimonial-card {
  position: relative;
  width: 380px;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,68,61,0.06);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0,68,61,0.12);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  font-style: normal;
  position: relative;
  padding-left: 16px;
}

.testimonial-card blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 36px;
  line-height: 1;
  color: var(--teal);
  font-family: Georgia, serif;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-meta strong {
  font-size: 13.5px;
  font-weight: 850;
  color: var(--ink);
}

.testimonial-meta span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}


.price-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(0, 169, 143, 0.65);
  background: #ffffff;
}

.popular {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  color: #513500;
  background: #fff2c9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.price-card strong {
  display: block;
  margin: 24px 0;
  font-size: 30px;
}

.price-card ul {
  min-height: 160px;
  margin: 0 0 26px;
  padding-left: 20px;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  padding: 20px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--ink), #063c37),
    linear-gradient(90deg, rgba(0, 169, 143, 0.16), transparent);
  color: #ffffff;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%),
    linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%);
  background-size: 58px 58px;
}

.contact-section .eyebrow {
  color: var(--teal-soft);
}

.contact-section .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
}

.cta-strip {
  padding: 92px 0;
  background: #ffffff;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 64px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(234, 251, 248, 0.94)),
    linear-gradient(90deg, rgba(0, 169, 143, 0.18), transparent);
  border: 1px solid rgba(0, 125, 112, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 860px;
}

.lead-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 169, 143, 0.14);
}

.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  text-align: center;
}

.form-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.form-divider::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.form-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: #ffffff;
}

.btn-calendly {
  color: var(--teal-dark);
  background: #ffffff;
  border-color: rgba(0, 169, 143, 0.42);
  box-shadow: 0 12px 30px rgba(0, 125, 112, 0.12);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    linear-gradient(180deg, #061b19, #03100f),
    linear-gradient(90deg, rgba(0, 169, 143, 0.16), transparent);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer .brand {
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 999px;
}

.site-footer strong,
.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes fieldDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }
  50% {
    transform: translate3d(7vw, -4vh, 0) rotate(-10deg);
  }
}

@keyframes gridBreathe {
  0%,
  100% {
    transform: rotate(8deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.06);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes lineFlow {
  to {
    background-position: 0 220%;
  }
}

@keyframes connectorSweep {
  to {
    background-position: -200% 0;
  }
}

@keyframes nodePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 169, 143, 0.46);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(0, 169, 143, 0);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.84);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes scrollCue {
  0% {
    transform: translateY(-22px);
  }
  100% {
    transform: translateY(54px);
  }
}

@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes hubGlow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes beamTravel {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes logoPulse {
  0%,
  100% {
    opacity: 0.96;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 14px 24px;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav.is-open {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 16px;
    background: rgba(6, 18, 16, 0.97);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    box-shadow: 0 24px 48px rgba(0,0,0,0.3);
  }

  .site-nav.is-open a {
    padding: 14px 16px;
    color: rgba(255,255,255,0.8);
    border-radius: 10px;
  }

  .site-nav.is-open a:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
  }

  .hero-grid,
  .split-grid,
  .roi-grid,
  .faq-grid,
  .contact-grid,
  .story-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .sticky-story {
    min-height: auto;
  }

  .story-shell {
    position: relative;
    min-height: auto;
    padding: 88px 0;
  }

  .story-stage {
    min-height: 620px;
  }

  .stage-grid,
  .workflow-builder,
  .service-grid,
  .testimonial-grid,
  .pricing-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-builder {
    align-items: stretch;
  }

  .connector {
    display: none;
  }

  .process-item {
    grid-template-columns: 70px 1fr;
  }

  .process-item p {
    grid-column: 2;
  }

  .integration-map {
    min-height: 560px;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 76px 0;
  }

  .hero {
    padding-top: 100px;
  }

  .cursor-glow,
  .ambient-field {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  .hero-title {
    min-height: auto;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .stage-grid,
  .service-grid,
  .testimonial-grid,
  .pricing-grid,
  .trust-grid,
  .footer-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .dashboard-signal,
  .scroll-cue {
    display: none;
  }

  .story-stage {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 54px 16px 18px;
  }

  .story-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .story-visual {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
  }

  .story-visual span {
    min-height: 78px;
  }

  .cta-panel {
    min-height: auto;
    padding: 42px 20px;
  }

  .integrations-section {
    padding-top: 76px;
  }

  .integrations-heading {
    text-align: left;
  }

  .integrations-heading h2 {
    font-size: 40px;
  }

  .integration-map {
    min-height: 430px;
    margin-top: 28px;
    overflow: hidden;
  }

  .integration-art {
    width: 760px;
    max-width: none;
    transform: translateX(calc((100vw - 760px) / 2));
  }

  .trust-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .insight-panel,
  .flow-map {
    min-height: auto;
  }

  .workflow-builder {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 1fr;
  }

  .process-item p {
    grid-column: auto;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 18;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #ffffff;
    background: var(--teal-dark);
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(0, 68, 61, 0.28);
    font-weight: 900;
  }
}

/* 5-card testimonial grid: 3 top row, 2 bottom row centred */
@media (min-width: 681px) {
  .testimonial-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .testimonial-grid .testimonial-card:nth-child(1) { grid-column: 1 / 3; }
  .testimonial-grid .testimonial-card:nth-child(2) { grid-column: 3 / 5; }
  .testimonial-grid .testimonial-card:nth-child(3) { grid-column: 5 / 7; }
  .testimonial-grid .testimonial-card:nth-child(4) { grid-column: 1 / 4; }
  .testimonial-grid .testimonial-card:nth-child(5) { grid-column: 4 / 7; }
}

/* ── Hero social proof bar ───────────────────── */
.hero-social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 22px;
}

.proof-stars {
  display: flex;
  align-items: center;
  gap: 7px;
}

.proof-star-icons {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.proof-star-text {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--muted);
}

.proof-item svg {
  color: var(--teal);
  flex-shrink: 0;
}

.proof-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .hero-social-proof {
    gap: 8px 14px;
  }
  .proof-divider { display: none; }
}

/* ── Footer CTA strip ────────────────────────── */
.footer-cta-strip {
  background: linear-gradient(135deg, var(--ink) 0%, #0d3d38 100%);
  border-top: 1px solid rgba(0,169,143,0.25);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.footer-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 120% at 80% 50%, rgba(0,169,143,0.14), transparent 70%);
  pointer-events: none;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.footer-cta-copy h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.footer-cta-copy p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
}

.footer-cta-actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 52px;
  line-height: 52px;
}

.footer-cta-email {
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  font-weight: 650;
  transition: color 180ms ease;
}

.footer-cta-email:hover {
  color: var(--teal);
}

/* ── Footer grid ─────────────────────────────── */
.site-footer {
  background: #0a1f1d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
}

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-trust span {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col strong {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}

.footer-links-col a {
  font-size: 14px;
  font-weight: 550;
  color: rgba(255,255,255,0.55);
  transition: color 160ms ease;
  text-decoration: none;
}

.footer-links-col a:hover {
  color: var(--teal);
}

/* ── Footer base bar ─────────────────────────── */
.footer-base {
  background: #061210;
  padding: 18px 0;
}

.footer-base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-base-inner span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.28);
}

.footer-reg {
  font-size: 12px !important;
  color: rgba(255,255,255,0.22) !important;
}

.footer-base-links {
  display: flex;
  gap: 20px;
}

.footer-base-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-base-links a:hover {
  color: rgba(255,255,255,0.6);
}

@media (max-width: 980px) {
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .footer-cta-copy p { max-width: 100%; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta-copy h2 { font-size: 28px; }
  .footer-base-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ── Tech stack ticker ───────────────────────── */
.tech-ticker-wrap {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.tech-ticker-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
}

.tech-ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.tech-ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: techScroll 30s linear infinite;
  will-change: transform;
}

.tech-ticker:hover .tech-ticker-track {
  animation-play-state: paused;
}

@keyframes techScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--teal-soft);
  border: 1.5px solid rgba(0,169,143,0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  cursor: default;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tech-pill:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .tech-ticker-track { animation: none; }
}

/* ── Footer lockup ───────────────────────────── */
.footer-lockup {
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ── Footer brand (no link, just mark + name) ── */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  flex-shrink: 0;
}

/* ── Scroll to top button ────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-dark);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,68,61,0.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms ease, transform 280ms ease, background 180ms ease;
  pointer-events: none;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: #004d46;
  box-shadow: 0 10px 32px rgba(0,68,61,0.36);
}

@media (max-width: 680px) {
  .scroll-top-btn {
    bottom: 80px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}
