/* Aynex design system
   Tokens → base → layout → components → sections → responsive → motion.
   "Electric Blue": midnight-blue hero, light sections, blue brand, cyan glow, tangerine spark. */

:root {
  /* Color */
  --white: #FFFFFF;
  --tint-50: #F3F7FF;      /* secondary background (ice-blue tint) */
  --tint-100: #E6EFFF;
  --tint-200: #CFE0FF;
  --glow: #22D3EE;     /* cyan glow: decorative fills, glows */
  --brand-600: #3B82F6;    /* blue: icons, highlights */
  --brand-700: #1D4ED8;    /* text-safe blue for links and buttons (AA on white) */
  --brand-800: #1E3A8A;
  --warm-100: #FFF1E6;      /* tangerine: tint */
  --warm-400: #FB923C;      /* tangerine: decorative accent */
  --warm-500: #F97316;
  --accent: #F97316;      /* tangerine spark (complement to blue) */
  --night-900: #060B1F;
  --night-800: #0A1330;
  --night-700: #13204A;
  --night-text: #B6C4E6;
  --aurora: linear-gradient(100deg, #93C5FD 0%, #67E8F9 40%, #FDBA74 75%, #93C5FD 100%);
  --navy: #0F1B33;        /* main text */
  --slate: #64748B;       /* secondary text (on white) */
  --slate-strong: #556274;/* secondary text on tinted backgrounds */
  --line: #DFE7F5;        /* borders */
  --green: #1A7A50;
  --amber-bg: #FFF7E6;
  --amber-line: #F5D9A3;
  --amber-ink: #7A4B00;
  --red: #C0352B;

  /* Type */
  /* One typeface everywhere (Inter, variable weight + optical size, full Cyrillic). */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-body);
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.85rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 4.2vw, 4.1rem);

  /* Space, shape, depth */
  --space-section: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --gutter: 16px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, .05), 0 2px 8px rgba(15, 27, 51, .04);
  --shadow: 0 2px 4px rgba(15, 27, 51, .04), 0 12px 32px rgba(59, 130, 246, .09);
  --shadow-lg: 0 4px 8px rgba(15, 27, 51, .04), 0 24px 60px rgba(59, 130, 246, .16);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--brand-700);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html.smooth { scroll-behavior: smooth; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }
.narrow { max-width: 860px; }
.section { padding: var(--space-section) 0; position: relative; }
.section-tint { background: var(--tint-50); }
.section-tint .lede, .section-tint .card p, .section-tint .muted-sm { color: var(--slate-strong); }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.grid-industries { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-industries { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .grid-industries { grid-template-columns: repeat(4, 1fr); }
  .grid-industries > :nth-child(n+9) { grid-column: span 2; }
}

/* --------------------------------------------------------- typography UI */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700);
  background: var(--tint-100); border: 1px solid var(--tint-200); padding: 6px 12px; border-radius: 999px;
}
.lede { font-size: var(--fs-lg); color: var(--slate); max-width: 44rem; }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section-head h2 { margin-bottom: 16px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin: 0 auto; }
.label { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 6px; }
.label-blue { color: var(--brand-700); }
.muted-sm { font-size: var(--fs-sm); color: var(--slate); display: flex; gap: 6px; align-items: center; }
.note {
  display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--slate-strong);
  background: var(--white); border: 1px dashed var(--tint-200); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 20px;
}
.note .icon { color: var(--brand-600); margin-top: 2px; }
.note-center { max-width: 760px; margin: 32px auto 0; }

/* -------------------------------------------------------------- buttons */
.btn {
  --bg: var(--brand-700); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%); box-shadow: 0 6px 18px rgba(29, 78, 216, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(29, 78, 216, .34); }
.btn-secondary { --bg: var(--tint-100); --fg: var(--brand-800); --bd: var(--tint-200); }
.btn-secondary:hover { --bg: var(--tint-200); }
.btn-ghost { --bg: var(--white); --fg: var(--navy); --bd: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { --bd: var(--glow); --fg: var(--brand-800); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }

/* ---------------------------------------------------------- cards, tags */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--tint-200); transform: translateY(-2px); }
.icon-badge {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none;
  color: var(--brand-700); background: linear-gradient(145deg, var(--tint-50), var(--tint-100)); border: 1px solid var(--tint-200);
}
.icon-badge-lg { width: 56px; height: 56px; border-radius: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600;
  background: var(--tint-50); border: 1px solid var(--tint-200); color: var(--brand-800); text-decoration: none;
}
.tag:hover { background: var(--tint-100); }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 650; background: var(--brand-700); color: #fff; }
.pill-muted { background: #EEF2F7; color: var(--slate-strong); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 27, 51, .05); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em; flex: none; }
.brand:hover { color: var(--navy); }
.brand span { text-transform: uppercase; letter-spacing: .1em; font-size: .95em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a, .mobile-links a {
  display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--navy);
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--tint-50); color: var(--brand-700); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang ul { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.lang a {
  display: grid; place-items: center; min-width: 38px; height: 32px; padding: 0 8px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .04em; color: var(--slate-strong); text-decoration: none;
}
.lang a:hover { color: var(--brand-700); background: var(--tint-50); }
.lang a[aria-current="true"] { background: var(--brand-700); color: #fff; }
.lang-lg a { min-width: 56px; height: 40px; font-size: var(--fs-sm); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; place-items: center; color: var(--navy); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 20px 40px rgba(15, 27, 51, .08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-links { padding: 12px 0; display: grid; gap: 2px; }
.mobile-links a { font-size: 1.0625rem; padding: 14px 12px; }
.mobile-links a:hover { background: var(--tint-50); }
.mobile-menu-foot { display: grid; gap: 16px; padding: 16px 0 24px; border-top: 1px solid var(--line); justify-items: start; }

@media (max-width: 1180px) {
  .main-nav, .header-actions .lang, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 1181px) { .mobile-menu { display: none !important; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 var(--space-section); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(34, 211, 238, .22), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(34, 211, 238, .14), transparent 70%),
    linear-gradient(180deg, var(--tint-50), var(--white) 85%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(59, 130, 246, .16) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 > span { display: block; }
.grad { background: linear-gradient(100deg, var(--brand-700) 5%, #2563EB 40%, #0891B2 75%, var(--brand-700) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.reassurance { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: var(--fs-sm); font-weight: 500; }
.reassurance .icon { color: var(--brand-600); }

/* Dashboard illustration */
.dash { background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 14px; position: relative; }
.dash::before { content: ""; position: absolute; inset: -30px -20px auto auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%); z-index: -1; }
.dash-bar { display: flex; align-items: center; gap: 12px; padding: 6px 8px 14px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dots i:first-child { background: var(--glow); }
.dash-brand { font-family: var(--font-display); font-weight: 650; font-size: var(--fs-sm); white-space: nowrap; }
.demo-pill { margin-left: auto; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-800); background: var(--tint-100); border: 1px solid var(--tint-200); border-radius: 999px; padding: 4px 10px; }
.dash-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.dcard { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); min-width: 0; }
.dcard-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: var(--fs-sm); color: var(--navy); }
.dcard-head .icon { color: var(--brand-600); }
.dcard-head strong { font-weight: 650; font-family: var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; margin-left: auto; box-shadow: 0 0 0 4px rgba(43, 182, 115, .15); }
.bubble { font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 14px; margin-bottom: 8px; max-width: 92%; }
.bubble-in { background: #F1F4F8; border-bottom-left-radius: 4px; }
.bubble-out { background: linear-gradient(135deg, var(--tint-100), var(--tint-200)); margin-left: auto; border-bottom-right-radius: 4px; color: var(--navy); }
.typing { display: flex; gap: 4px; padding: 6px 10px; background: #F1F4F8; border-radius: 12px; width: fit-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); opacity: .5; animation: blink 1.4s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.call-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 10px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #2BB673; animation: pulse 2s infinite; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; margin-bottom: 10px; }
.wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--glow), var(--brand-600)); height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: .15s; } .wave i:nth-child(3n+1) { animation-delay: .35s; } .wave i:nth-child(4n) { animation-delay: .55s; }
.d-call .muted-sm { font-size: 12.5px; }
.d-pipe { grid-column: 1 / -1; }
.pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pcol { background: var(--tint-50); border-radius: 12px; padding: 8px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.pstage { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-strong); }
.chip { font-size: 12px; line-height: 1.35; background: var(--white); border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.chip-new { border-color: var(--glow); animation: chipIn 4s var(--ease) infinite; }
.chip-done { border-color: rgba(31, 138, 91, .35); background: #F2FBF6; }
.d-over { grid-column: 1 / -1; }
.ok-pill { margin-left: auto; font-size: 11px; font-weight: 650; color: var(--green); background: #EAF7F0; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.overview { display: grid; gap: 8px; }
.overview li { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--slate-strong); }
.bar { height: 7px; border-radius: 99px; background: var(--tint-100); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--glow), var(--brand-600)); animation: grow 1.6s var(--ease) both; }
.ok { color: var(--green); }

/* --------------------------------------------------------- pain points */
.pain { display: flex; flex-direction: column; gap: 14px; }
.pain-top { display: flex; align-items: center; justify-content: space-between; }
.num { font-family: var(--font-display); font-weight: 750; font-size: 1.5rem; color: var(--tint-200); }
.pain > p { color: var(--slate); }
.pain-facts { margin: 0; display: grid; gap: 10px; }
.pain-facts div { background: var(--tint-50); border-radius: 12px; padding: 12px 14px; }
.pain-facts dt { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); margin-bottom: 4px; }
.pain-facts dd { margin: 0; font-size: var(--fs-sm); color: var(--navy); }
.pain-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.helped { font-size: var(--fs-xs); font-weight: 600; color: var(--slate); margin-right: 2px; }
.closing-banner {
  margin-top: 48px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(135deg, var(--tint-50), var(--tint-100)); border: 1px solid var(--tint-200);
  display: grid; gap: 22px; justify-items: center;
}
.closing-banner p { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); font-weight: 650; max-width: 40rem; text-wrap: balance; }

/* ------------------------------------------------------------- services */
.services { display: grid; gap: 24px; }
.service {
  display: grid; grid-template-columns: 1.35fr 1fr; background: var(--white); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px);
}
.service-main { padding: clamp(24px, 3vw, 40px); }
.service-kicker { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 650; color: var(--brand-700); margin-bottom: 18px; }
.service h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); font-weight: 750; margin-bottom: 22px; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--brand-600); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 3px; stroke-width: 3; }
.service-side { background: linear-gradient(180deg, var(--tint-50), #EDF3FF); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line); }
.side-block { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.side-block p:not(.label) { font-size: var(--fs-sm); }
.service-side .btn { margin-top: auto; }

/* -------------------------------------------------------- before/after */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare-col { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.compare-col h3 { margin-bottom: 20px; }
.compare-col ul { display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; }
.compare-col .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; margin-top: 1px; stroke-width: 3; }
.before { background: #F7F9FB; border: 1px solid #E5EAF0; color: var(--slate-strong); }
.before .icon { background: #E5EAF0; color: var(--slate-strong); }
.after { background: linear-gradient(160deg, var(--white), var(--tint-50)); border: 1px solid var(--tint-200); box-shadow: var(--shadow); }
.after .icon { background: var(--brand-600); color: #fff; }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow .icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--white); border: 1px solid var(--tint-200); color: var(--brand-600); box-shadow: var(--shadow-sm); }
#transformation { background: linear-gradient(180deg, var(--white), var(--tint-50) 40%, var(--white)); }

/* ------------------------------------------------------------- workflow */
.workflow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.wf-tabs { display: grid; gap: 8px; }
.wf-tab {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-weight: 600; font-size: var(--fs-sm); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.wf-tab:hover { border-color: var(--glow); }
.wf-tab[aria-selected="true"] { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); background: var(--white); }
.wf-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-100); color: var(--brand-800); font-family: var(--font-display); font-weight: 750; font-size: .875rem; }
.wf-tab[aria-selected="true"] .wf-num { background: var(--brand-700); color: #fff; }
.who { font-size: 11px; font-weight: 650; padding: 3px 9px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; }
.who-ai { background: var(--tint-100); color: var(--brand-800); }
.who-system { background: #FFF1E6; color: #9A3412; }
.who-human { background: #EAF7F0; color: #19724B; }
.wf-panels { position: sticky; top: calc(var(--header-h) + 24px); }
.wf-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.js .wf-panel[data-inactive] { display: none; }
.js .wf-panel { animation: fadeUp .4s var(--ease); }
.wf-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.wf-step { font-size: var(--fs-xs); font-weight: 600; color: var(--brand-700); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.wf-panel h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 12px; }
.wf-panel p:not(.wf-step) { color: var(--slate-strong); }
.wf-track { display: flex; gap: 6px; margin-top: 28px; }
.wf-track i { flex: 1; height: 6px; border-radius: 99px; background: var(--tint-100); transition: background-color .3s; }
.wf-track i.on { background: linear-gradient(90deg, var(--glow), var(--brand-600)); }
html:not(.js) .wf-tabs { display: none; }
html:not(.js) .workflow { grid-template-columns: 1fr; }
html:not(.js) .wf-panels { position: static; display: grid; gap: 12px; }

/* ----------------------------------------------------------- industries */
.industry { display: flex; flex-direction: column; gap: 4px; padding: 24px; }
.industry-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.industry-head h3 { font-size: 1.0625rem; }
.industry p:not(.label) { font-size: var(--fs-sm); color: var(--slate); margin-bottom: 12px; }
.industry .label-blue + p { color: var(--navy); margin-bottom: 0; }

/* -------------------------------------------------------------- process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--glow) 0 8px, transparent 8px 16px); z-index: 0; transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.js .steps::before { transform: scaleX(0); }
.js .steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-sm); }
.step-icon { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: -64px auto 18px; border-radius: 22px; background: var(--white); border: 1px solid var(--tint-200); color: var(--brand-700); box-shadow: var(--shadow); }
.step-icon .icon { width: 30px; height: 30px; }
.step-n { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-700); color: #fff; font-size: .8125rem; font-weight: 750; font-family: var(--font-display); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: var(--fs-sm); color: var(--slate); }
.section-tint .step p { color: var(--slate-strong); }
#process .steps { margin-top: 40px; }

/* ----------------------------------------------------------- principles */
.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.principle { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.principle h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.principle p { font-size: var(--fs-sm); color: var(--slate); }
.honesty { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--tint-50), var(--tint-100)); border: 1px solid var(--tint-200); }
.honesty h3 { margin-bottom: 6px; }
.honesty p { color: var(--slate-strong); max-width: 60rem; }

/* --------------------------------------------------------- testimonials */
.quote { position: relative; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--glow); height: 28px; }
.quote blockquote { margin: 0; font-size: var(--fs-lg); line-height: 1.55; color: var(--navy); }
.quote blockquote p + p { margin-top: 12px; }
.quote .quote-title { font-family: var(--font-display); font-weight: 750; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.quotes-1 { grid-template-columns: minmax(0, 780px); justify-content: center; }
.quotes-1 .quote { padding: clamp(28px, 4vw, 44px); text-align: center; align-items: center; }
.quotes-1 .quote figcaption { margin-top: 8px; text-align: left; }
.quotes-1 .quote blockquote > p:not(.quote-title) { color: var(--slate-strong); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote figcaption strong { display: block; font-family: var(--font-display); }
.quote figcaption small { color: var(--slate); font-size: var(--fs-sm); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--glow), var(--brand-700)); color: #fff; font-weight: 750; font-family: var(--font-display); }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--tint-200); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 650; font-size: 1.0625rem; border-radius: var(--radius); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-700); }
.chev { color: var(--brand-600); transition: transform .25s var(--ease); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 22px; color: var(--slate-strong); }

/* -------------------------------------------------------------- contact */
.contact-section { background: radial-gradient(60% 50% at 0% 0%, rgba(34, 211, 238, .18), transparent 70%), linear-gradient(180deg, var(--white), var(--tint-50)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info .lede { margin-bottom: 28px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.info-card h3 { font-size: 1.0625rem; margin-bottom: 14px; }
.next-steps { display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.step-dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint-100); color: var(--brand-800); font-weight: 750; font-size: .8125rem; }
.direct { display: grid; gap: 10px; margin-bottom: 16px; font-size: var(--fs-sm); }
.direct li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.direct .icon { color: var(--brand-600); }
.direct span { color: var(--slate); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.demo-notice { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); border-radius: 12px; padding: 12px 14px; font-size: var(--fs-sm); font-weight: 500; margin-bottom: 20px; }
.demo-notice .icon { margin-top: 1px; }
.req-hint { font-size: var(--fs-xs); color: var(--slate); margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.req { color: var(--red); margin-left: 3px; }
.opt { color: var(--slate); font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8A96A8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--tint-200); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(34, 211, 238, .3); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { font-size: var(--fs-xs); color: var(--red); font-weight: 500; }
.field-check { grid-template-columns: auto 1fr; column-gap: 12px; margin-top: 20px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-700); }
.field-check label { font-weight: 400; color: var(--slate-strong); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #FDF0EF; border: 1px solid #F2C6C2; color: #8E271F; font-size: var(--fs-sm); font-weight: 600; }
.form-actions { display: grid; gap: 12px; margin-top: 24px; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: var(--fs-sm); font-weight: 500; }
.form-status.is-success { background: #EAF7F0; border: 1px solid #BDE5CF; color: #145C3C; }
.form-status.is-error { background: #FDF0EF; border: 1px solid #F2C6C2; color: #8E271F; }
.form-status.is-demo { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); }
.form-status a { color: inherit; font-weight: 650; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--slate); font-size: var(--fs-sm); margin: 16px 0 20px; max-width: 26rem; }
.footer-brand .footer-label { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.lang-footer ul { width: fit-content; }
.footer-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 14px; font-weight: 600; font-family: var(--font-body); }
.footer-links { display: grid; gap: 10px; margin-bottom: 28px; }
.footer-links-2col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--brand-700); text-decoration: underline; }
.footer-links .icon { color: var(--brand-600); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; font-size: var(--fs-xs); color: var(--slate); }

/* ---------------------------------------------------------------- legal */
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin: 16px 0 8px; }
.legal h2 { font-size: 1.35rem; margin: 32px 0 8px; }
.legal p { color: var(--slate-strong); }
.legal .demo-notice { margin-top: 24px; }
.back-link { font-weight: 600; font-size: var(--fs-sm); }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dash-stage { max-width: 640px; width: 100%; }
  .service { grid-template-columns: 1fr; }
  .service-side { border-left: 0; border-top: 1px solid var(--line); }
  .workflow { grid-template-columns: 1fr; }
  .wf-panels { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 64px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .wf-tab .who { display: none; }
}
@media (max-width: 639px) {
  body { font-size: 1rem; }
  .lede { font-size: 1.0625rem; }
  .cta-row .btn { width: 100%; }
  .dash { padding: 10px; border-radius: 22px; }
  .dash-brand { display: none; }
  .demo-pill { white-space: nowrap; }
  .dash-grid { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .chip { font-size: 11px; padding: 6px 7px; }
  .overview li { grid-template-columns: 1fr 64px auto; }
  .card { padding: 22px; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .honesty, .principle { flex-direction: column; }
  .brand { font-size: 1.125rem; }
}

/* ------------------------------------------------------------- carousel */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 6px; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 8px 6px 14px; margin: -8px -6px 0; border-radius: var(--radius-lg);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-track:focus-visible { box-shadow: var(--focus); }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.carousel-arrows { display: flex; gap: 10px; }
.cbtn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm);
  transition: border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.cbtn:hover { border-color: var(--glow); color: var(--brand-700); transform: translateY(-1px); box-shadow: var(--shadow); }
.cbtn .icon-play { display: none; }
.cbtn[data-state="paused"] .icon-play { display: block; }
.cbtn[data-state="paused"] .icon-pause { display: none; }
.carousel-dots { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.carousel-dots button { position: relative; width: 22px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: width .35s var(--ease); }
.carousel-dots button::before { content: ""; width: 100%; height: 8px; max-width: 8px; border-radius: 99px; background: var(--tint-200); transition: max-width .35s var(--ease), background-color .3s; }
.carousel-dots button[aria-current="true"] { width: 40px; }
.carousel-dots button[aria-current="true"]::before { max-width: 40px; background: var(--tint-200); }
.carousel-dots button[aria-current="true"]::after { content: ""; position: absolute; left: 0; top: 11px; height: 8px; width: 100%; border-radius: 99px; background: var(--brand-700); }
.carousel[data-running="true"] .carousel-dots button[aria-current="true"]::after { animation: dotFill var(--interval, 6s) linear both; }
.carousel-dots button:hover::before { background: var(--glow); }
.pain .icon-badge, .industry .icon-badge, .principle .icon-badge { transition: transform .35s var(--ease), background .35s; }
.card:hover .icon-badge, .principle:hover .icon-badge { transform: translateY(-2px) rotate(-6deg); background: linear-gradient(145deg, var(--tint-100), var(--tint-200)); }
.principle { transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.principle:hover { border-color: var(--tint-200); box-shadow: var(--shadow); transform: translateY(-2px); }
@media (max-width: 639px) {
  .carousel-track { gap: 14px; }
  .carousel-nav { flex-wrap: wrap; }
  .carousel-dots { order: -1; width: 100%; }
}

/* Compact problem slides: landscape cards, problem left, consequences right */
.carousel .pain {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 8px; padding: 22px 24px;
  grid-template-areas: "top facts" "title facts" "text facts" "foot foot"; grid-template-rows: auto auto 1fr auto;
}
.carousel .pain-top { grid-area: top; }
.carousel .pain h3 { grid-area: title; font-size: 1.0625rem; line-height: 1.3; }
.carousel .pain > p { grid-area: text; font-size: var(--fs-sm); line-height: 1.55; }
.carousel .pain-facts { grid-area: facts; align-content: start; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.carousel .pain-foot { grid-area: foot; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.carousel .pain .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.carousel .pain .icon-badge .icon { width: 20px; height: 20px; }
.carousel .pain-facts div { padding: 0; background: none; }
.carousel .pain-facts dt { font-size: 11px; margin-bottom: 2px; }
.carousel .pain-facts dd { font-size: 13.5px; line-height: 1.5; color: var(--slate-strong); }
.carousel .pain-foot .tag { padding: 4px 9px; font-size: 12px; }
.carousel .num { font-size: 1.25rem; }
.carousel-track { grid-auto-columns: calc((100% - 20px) / 2); }
@media (max-width: 900px) { .carousel-track { grid-auto-columns: 88%; } }
@media (max-width: 639px) {
  .carousel-track { grid-auto-columns: 88%; }
  .carousel .pain { grid-template-columns: 1fr; grid-template-areas: "top" "title" "text" "facts" "foot"; grid-template-rows: none; padding: 18px; row-gap: 6px; }
  .carousel .pain-top .icon-badge { width: 36px; height: 36px; }
  .carousel .pain h3 { font-size: 1rem; }
  .carousel .pain > p { font-size: 14px; line-height: 1.5; }
  .carousel .pain-facts dd { font-size: 13px; line-height: 1.45; }
  .carousel .pain-foot { padding-top: 8px; margin-top: 2px; }
  .carousel .pain-facts { padding-left: 0; border-left: 0; padding-top: 10px; border-top: 1px solid var(--line); }
}

/* ------------------------------------------------- hero: living details */
.hero-bg::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .30), transparent 65%); animation: drift 16s ease-in-out infinite alternate;
}
.dash { animation: float 7s ease-in-out infinite; }
.reply { display: grid; }
.reply > * { grid-area: 1 / 1; }
.reply .typing { justify-self: end; align-self: start; background: var(--tint-100); }
.reply .typing i { background: var(--brand-600); }
.d-chat .bubble-in { animation: seqIn 10s var(--ease) infinite both; }
.reply .typing { animation: seqTyping 10s linear infinite both; }
.reply .bubble-out { animation: seqOut 10s var(--ease) infinite both; }
.toast {
  position: absolute; left: -38px; bottom: -26px; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; animation: toastIn 10s var(--ease) infinite both;
}
.toast strong { display: block; font-family: var(--font-display); font-size: 13px; }
.toast small { color: var(--slate); font-size: 12px; }
.toast-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tint-100); color: var(--brand-700); flex: none; }
@media (max-width: 1023px) { .toast { left: 16px; bottom: -22px; top: auto; } }

.ticker { padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.ticker-inner { display: flex; align-items: center; gap: 24px; }
.ticker-label { flex: none; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-strong); }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track ul { display: flex; gap: 12px; padding-right: 12px; }
.ticker li { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-sm); }
.ticker li .icon { color: var(--brand-600); }
@media (max-width: 639px) { .ticker-inner { flex-direction: column; align-items: stretch; gap: 12px; } }

/* ----------------------------------------------------- alive: motion layer */
/* Scroll progress */
.scroll-progress { position: absolute; left: 0; top: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--glow), var(--brand-700)); }

/* Headline rises word by word; the gradient line shimmers */
.hero h1 .w { display: inline-block; }
.js .hero h1 .w { animation: wordUp .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
.hero h1 .grad { background-size: 220% 100%; }
.js .hero h1 .w.grad { animation: wordUp .9s var(--ease) both, shimmer 7s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms + 150ms), 1.6s; }
.js .hero-copy > :not(h1) { animation: heroIn .9s var(--ease) both; }
.js .hero-copy > .eyebrow { animation-delay: 0s; }
.js .hero-copy > .lede { animation-delay: .55s; }
.js .hero-copy > .cta-row { animation-delay: .7s; }
.js .hero-copy > .reassurance { animation-delay: .85s; }
.js .dash-stage { animation: dashIn 1.2s var(--ease) .35s both; }

/* Drifting light orbs, nudged by the cursor */
.orb { position: absolute; border-radius: 50%; filter: blur(8px); will-change: transform; }
.orb-1 { width: 420px; height: 420px; right: 6%; top: -80px; background: radial-gradient(circle, rgba(34, 211, 238, .40), transparent 68%); animation: orbA 14s ease-in-out infinite alternate; translate: calc(var(--mx, 0) * -30px) calc(var(--my, 0) * -20px); }
.orb-2 { width: 320px; height: 320px; left: -60px; bottom: 40px; background: radial-gradient(circle, rgba(59, 130, 246, .22), transparent 68%); animation: orbB 18s ease-in-out infinite alternate; translate: calc(var(--mx, 0) * 24px) calc(var(--my, 0) * 18px); }
.orb-3 { width: 260px; height: 260px; left: 42%; top: 30%; background: radial-gradient(circle, rgba(147, 197, 253, .30), transparent 70%); animation: orbC 12s ease-in-out infinite alternate; translate: calc(var(--mx, 0) * 40px) calc(var(--my, 0) * 30px); }

/* 3D tilt stage for the dashboard */
.dash-stage { position: relative; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }

/* Lead travels through the pipeline */
.pipe { position: relative; }
.pcol { min-height: 118px; }
.chip-fly {
  position: absolute; left: 8px; bottom: 8px; width: calc((100% - 16px) / 3 - 16px); z-index: 1;
  border-color: var(--glow); box-shadow: 0 6px 18px rgba(59, 130, 246, .22); animation: leadFlow 10s var(--ease) infinite both;
}
.d-pipe .dcard-head .icon, .d-chat .dcard-head .icon { animation: iconBob 4s ease-in-out infinite; }

/* Overview bars refill on a loop */
.bar span { animation: barLoop 10s var(--ease) infinite both; }
.overview li:nth-child(2) .bar span { animation-delay: .25s; }
.overview li:nth-child(3) .bar span { animation-delay: .5s; }

/* Shine across primary buttons */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 48%, transparent 66%); transform: translateX(-130%); }
.btn-primary:hover::after { transform: translateX(130%); transition: transform .9s var(--ease); }
.hero .btn-primary::after, .closing-banner .btn-primary::after { animation: shine 6s ease-in-out 2.5s infinite; }

/* Cursor spotlight on cards */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(34, 211, 238, .16), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* Soft moving light in tinted sections */
.section-tint { overflow: clip; }
.section-tint::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 65%); animation: drift 20s ease-in-out infinite alternate;
}
.section-tint > .container { position: relative; }

/* Lists cascade in */
.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 150ms); }
.js .stagger.is-visible > * { opacity: 1; transform: none; }

/* Process steps pop in order */
.js .steps.is-visible .step-icon { animation: popIn .7s var(--ease) both; }
.js .steps.is-visible .step:nth-child(2) .step-icon { animation-delay: .35s; }
.js .steps.is-visible .step:nth-child(3) .step-icon { animation-delay: .7s; }
.js .steps.is-visible .step:nth-child(4) .step-icon { animation-delay: 1.05s; }
.step-n::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; animation: ring 3.2s ease-out infinite; }
.step:nth-child(2) .step-n::after { animation-delay: .8s; }
.step:nth-child(3) .step-n::after { animation-delay: 1.6s; }
.step:nth-child(4) .step-n::after { animation-delay: 2.4s; }

/* Before → after arrow nudges */
.compare-arrow .icon { animation: nudge 2.4s ease-in-out infinite; }

/* Workflow autoplay progress on the active step */
.wf-tab { position: relative; overflow: hidden; }
.wf-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--glow), var(--brand-700)); }
.workflow[data-auto="true"] .wf-tab[aria-selected="true"]::after { animation: dotFill var(--wf-interval, 4.5s) linear both; }
.wf-panel .icon-badge { animation: popIn .6s var(--ease) both; }

/* ------------------------------------------------------- floating CTA */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: .975rem;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
  box-shadow: 0 12px 30px rgba(29, 78, 216, .38), 0 2px 6px rgba(15, 27, 51, .12);
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s;
}
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { color: #fff; box-shadow: 0 16px 38px rgba(29, 78, 216, .45); transform: translateY(-2px); }
.float-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(34, 211, 238, .8); animation: ctaRing 2.8s ease-out infinite; pointer-events: none; }
.float-cta .icon:last-child { transition: transform .25s var(--ease); }
.float-cta:hover .icon:last-child { transform: translateX(3px); }
html:not(.js) .float-cta { display: none; }
@media (max-width: 639px) {
  .float-cta { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); justify-content: center; padding: 15px 18px; }
  .footer-bottom { padding-bottom: 96px; }
}

/* ------------------------------------------------------ warm coral accents */
.hero-copy { position: relative; z-index: 1; isolation: isolate; }
.eyebrow .icon { color: var(--warm-500); }
.orb-3 { background: radial-gradient(circle, rgba(249, 115, 22, .30), transparent 70%); }
.toast-icon { background: var(--warm-100); color: #C2410C; }
.num { color: var(--warm-400); }
.step-n::after { border-color: var(--warm-400); }
.float-cta::before { border-color: rgba(249, 115, 22, .9); }
.scroll-progress { background: linear-gradient(90deg, var(--brand-700), var(--glow) 60%, var(--warm-400)); }
.honesty, .quotes-1 .quote { background-image: linear-gradient(135deg, transparent 70%, rgba(249, 115, 22, .14)); }
.wf-track i.on:last-of-type { background: linear-gradient(90deg, var(--glow), var(--warm-400)); }
.carousel-dots button[aria-current="true"]::after { background: linear-gradient(90deg, var(--brand-700), var(--glow) 70%, var(--warm-400)); }
.d-over .ok-pill { background: var(--warm-100); color: #9A3412; }

/* ============================================== MIDNIGHT AURORA HERO */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.home .hero { background: var(--night-900); color: #fff; isolation: isolate; }
.home .hero-bg {
  background:
    radial-gradient(55% 60% at 80% 18%, rgba(59, 130, 246, .38), transparent 70%),
    radial-gradient(45% 50% at 10% 85%, rgba(34, 211, 238, .22), transparent 70%),
    radial-gradient(40% 45% at 55% 60%, rgba(249, 115, 22, .20), transparent 70%),
    linear-gradient(180deg, var(--night-900), var(--night-800) 70%, #0E1A42);
}
.home .hero-bg::after { background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px); }
.home .hero-bg::before { background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 65%); }
.home .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .04)); pointer-events: none; }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.home .orb { mix-blend-mode: screen; filter: blur(30px); }
.home .orb-1 { background: radial-gradient(circle, rgba(59, 130, 246, .55), transparent 68%); }
.home .orb-2 { background: radial-gradient(circle, rgba(34, 211, 238, .40), transparent 68%); }
.home .orb-3 { background: radial-gradient(circle, rgba(253, 186, 116, .35), transparent 70%); }

.home .hero h1 { color: #fff; }
.home .dash, .home .toast { color: var(--navy); }
.home .hero .eyebrow { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #E3ECFF; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.home .hero .eyebrow .icon { color: var(--warm-400); }
.home .hero .lede, .home .hero .reassurance { color: var(--night-text); }
.home .hero .reassurance .icon { color: #67E8F9; }
.home .hero .btn-ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .24); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.home .hero .btn-ghost:hover { --bd: rgba(255, 255, 255, .6); --fg: #fff; --bg: rgba(255, 255, 255, .1); }
.home .hero .btn-primary { box-shadow: 0 10px 34px rgba(249, 115, 22, .45), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.home .ticker-label { color: var(--night-text); }
.home .ticker li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #E6E8F5; box-shadow: none; }
.home .ticker li .icon { color: #67E8F9; }

/* Rotating second line of the headline */
.hero h1 > .rotator { display: grid; perspective: 600px; }
.rot-item {
  grid-area: 1 / 1; position: relative; width: fit-content; padding-bottom: .06em;
  background: var(--aurora); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(.55em) rotateX(-45deg); transform-origin: 50% 100%;
  transition: opacity .55s var(--ease), transform .75s var(--ease); animation: shimmer 6s ease-in-out infinite;
}
.rot-item.is-active { opacity: 1; transform: none; }
.rot-item.is-leaving { opacity: 0; transform: translateY(-.45em) rotateX(45deg); }
.rot-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 6px; z-index: -1;
  background: linear-gradient(90deg, var(--warm-400), #FDBA74); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .3s;
}
.rot-item.is-active::after { transform: scaleX(1); }
.js .hero h1 .rotator { animation: heroIn .9s var(--ease) .35s both; }
html:not(.js) .rot-item:first-child { opacity: 1; transform: none; }

/* Header floats over the dark hero, turns white once you scroll */
.home .site-header:not(.is-scrolled) { background: var(--night-900); border-bottom-color: rgba(255, 255, 255, .06); }
.home .site-header:not(.is-scrolled) .brand { color: #fff; }
.home .site-header:not(.is-scrolled) .main-nav a { color: #E3E6F7; }
.home .site-header:not(.is-scrolled) .main-nav a:hover, .home .site-header:not(.is-scrolled) .main-nav a.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.home .site-header:not(.is-scrolled) .header-actions .lang ul { background: transparent; border-color: rgba(255, 255, 255, .22); }
.home .site-header:not(.is-scrolled) .header-actions .lang a:not([aria-current="true"]) { color: #C9CEEA; }
.home .site-header:not(.is-scrolled) .header-actions .lang a:not([aria-current="true"]):hover { background: rgba(255, 255, 255, .1); color: #fff; }
.home .site-header:not(.is-scrolled) .menu-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.home .site-header { transition: background-color .35s, border-color .3s, box-shadow .3s; }
.scroll-progress { background: linear-gradient(90deg, #3B82F6, #FDBA74 50%, #67E8F9); }

/* Spinning aurora border + glow around the dashboard */
.dash-stage::before, .dash-stage::after {
  content: ""; position: absolute; inset: -2px; border-radius: 30px; pointer-events: none;
  background: conic-gradient(from var(--spin), #3B82F6, #22D3EE, #FDBA74, #FB923C, #3B82F6);
  animation: spin 7s linear infinite;
}
.dash-stage::before { padding: 2px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; z-index: 1; }
.dash-stage::after { inset: 10px; filter: blur(34px); opacity: .55; z-index: -1; }
.home .dash { background: rgba(255, 255, 255, .97); border-color: transparent; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.home .dash::before { display: none; }

/* Magnetic buttons */
.magnetic { transition: translate .25s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }

/* Dark aurora band in the middle of the page */
.closing-banner { position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 0;
  background: radial-gradient(60% 120% at 15% 0%, rgba(59, 130, 246, .55), transparent 60%), radial-gradient(50% 120% at 90% 100%, rgba(34, 211, 238, .35), transparent 60%), var(--night-800); }
.closing-banner p { color: #fff; }
.closing-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }

/* ========================================================= CHAT DEMO */
.demo-section { background: radial-gradient(50% 60% at 100% 50%, rgba(59, 130, 246, .10), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(34, 211, 238, .08), transparent 70%); }
.demo-grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.demo-copy h2 { margin-bottom: 16px; }
.demo-copy .lede { margin-bottom: 8px; }
.demo-copy .note { margin: 20px 0 28px; }
.demo-phone {
  position: relative; display: flex; flex-direction: column; height: 560px; border-radius: 32px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(15, 27, 51, .16), 0 0 0 8px rgba(59, 130, 246, .06);
}
.demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgba(249, 115, 22, .55), transparent 60%), linear-gradient(135deg, var(--night-700), var(--night-900)); }
.demo-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #3B82F6, #1D4ED8); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.demo-who { display: grid; line-height: 1.25; }
.demo-who strong { font-family: var(--font-display); }
.demo-who small { display: flex; align-items: center; gap: 6px; color: var(--night-text); font-size: 12.5px; }
.demo-who .live { margin: 0; width: 7px; height: 7px; }
.demo-badge { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(249, 115, 22, .16); color: #FED7AA; border: 1px solid rgba(249, 115, 22, .35); white-space: nowrap; }
.demo-log { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth;
  background-image: radial-gradient(rgba(59, 130, 246, .08) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 18px; font-size: var(--fs-sm); line-height: 1.5; animation: msgPop .45s var(--ease) both; }
.msg-bot { background: var(--tint-50); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--navy); }
.msg-user { align-self: flex-end; color: #fff; border-bottom-right-radius: 6px; background: linear-gradient(135deg, #2563EB, #1E40AF); }
.msg-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); animation: blink 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; } .msg-typing i:nth-child(3) { animation-delay: .3s; }
.msg-handoff { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #19724B; background: #EAF7F0; border: 1px solid #BDE5CF; border-radius: 999px; padding: 6px 12px; animation: msgPop .45s var(--ease) both; }
.msg .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--brand-600); animation: blink .9s steps(1) infinite; }
.demo-foot { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: var(--white); }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip { cursor: pointer; font: 600 13.5px/1.3 var(--font-body); color: var(--brand-800); background: var(--tint-50); border: 1px solid var(--tint-200); border-radius: 999px; padding: 9px 14px; transition: background-color .2s, border-color .2s, transform .2s var(--ease), opacity .2s; }
.demo-chip:hover:not([disabled]) { background: var(--tint-100); border-color: var(--brand-600); transform: translateY(-1px); }
.demo-chip[disabled] { opacity: .45; cursor: default; }
.demo-restart { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font-body); color: var(--brand-700); background: none; border: 0; cursor: pointer; padding: 6px 2px; }
.demo-restart:hover { text-decoration: underline; }
html:not(.js) .demo-foot { display: none; }
@media (max-width: 1023px) { .demo-grid { grid-template-columns: 1fr; } .demo-phone { max-width: 520px; width: 100%; } }
@media (max-width: 639px) { .demo-phone { height: 520px; border-radius: 26px; } }

/* ============================================== CREATIVE MOTION LAYER */
/* Section headings rise word by word */
.section-head h2 .w2 { display: inline-block; }
.js .section-head h2 .w2 { opacity: 0; transform: translateY(.6em) rotate(3deg); filter: blur(4px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 65ms + 120ms); }
.js .section-head.is-visible h2 .w2 { opacity: 1; transform: none; filter: none; }

/* Decoding labels use a monospaced-ish rhythm while scrambling */
.eyebrow.decoding { font-variant-numeric: tabular-nums; }

/* 3D tilt cards */
.tilt { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px)); transition: transform .35s var(--ease), box-shadow .3s, border-color .3s; will-change: transform; }
.tilt:hover { --lift: -4px; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px)); transition: transform .1s linear, box-shadow .3s, border-color .3s; }

/* Glowing cursor trail (desktop) */
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 90; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(59, 130, 246, .55); background: radial-gradient(circle, rgba(249, 115, 22, .18), transparent 70%);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .25s, opacity .3s; opacity: 0; }
.cursor-glow.is-on { opacity: 1; }
.cursor-glow.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: rgba(34, 211, 238, .7); }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 91; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #1D4ED8; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor-dot.is-on { opacity: 1; }

/* Click ripples */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.ripple { position: absolute; z-index: -1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; animation: ripple .7s ease-out forwards; }
.btn-ghost .ripple, .btn-secondary .ripple { background: rgba(59, 130, 246, .25); }

/* --------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: .9; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 182, 115, .45); } 70% { box-shadow: 0 0 0 9px rgba(43, 182, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); } }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 95%; } }
@keyframes chipIn { 0% { opacity: 0; transform: translateY(-6px) scale(.97); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@keyframes grow { from { width: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }
@keyframes msgPop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }
@keyframes spin { to { --spin: 360deg; } }
@keyframes highlight { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tracePulse { to { stroke-dashoffset: 0; } }
@keyframes nodeGlow { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes ctaRing { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }
@keyframes wordUp { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dashIn { from { opacity: 0; transform: perspective(1400px) rotateX(10deg) rotateY(-14deg) translateY(30px) scale(.96); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes orbA { to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes orbB { to { transform: translate(140px, -60px) scale(1.2); } }
@keyframes orbC { to { transform: translate(-80px, -70px) scale(.85); } }
@keyframes leadFlow {
  0% { opacity: 0; transform: translateY(10px); }
  6%, 26% { opacity: 1; transform: none; background: var(--white); }
  36%, 58% { opacity: 1; transform: translateX(calc(100% + 24px)); background: var(--tint-50); }
  68%, 90% { opacity: 1; transform: translateX(calc(200% + 48px)); background: #F2FBF6; border-color: rgba(26, 122, 80, .45); }
  97%, 100% { opacity: 0; transform: translateX(calc(200% + 48px)) translateY(-8px); }
}
@keyframes iconBob { 0%, 100% { transform: none; } 50% { transform: translateY(-2px) rotate(-6deg); } }
@keyframes barLoop { 0% { width: 0; } 14%, 100% { width: var(--w); } }
@keyframes shine { 0%, 70% { transform: translateX(-130%); } 90%, 100% { transform: translateX(130%); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6) rotate(-8deg); } 60% { opacity: 1; transform: scale(1.08); } 100% { transform: none; } }
@keyframes ring { 0% { opacity: .7; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes seqIn { 0% { opacity: 0; transform: translateY(8px); } 5%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes seqTyping { 0%, 9% { opacity: 0; } 12%, 25% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes seqOut { 0%, 26% { opacity: 0; transform: translateY(8px) scale(.97); } 31%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes toastIn { 0%, 38% { opacity: 0; transform: translateX(-14px) scale(.96); } 43%, 82% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  html.smooth { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wave i { height: 55%; }
  .dash, .d-chat .bubble-in, .reply .bubble-out, .ticker-track, .hero-bg::before { animation: none !important; }
  .reply .typing, .toast { display: none; }
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-track ul[aria-hidden] { display: none; }
  .orb, .chip-fly, .section-tint::before, .step-n::after, .btn-primary::after { animation: none !important; }
  .chip-fly { display: none; }
  .float-cta::before, .dash-stage::before, .dash-stage::after, .rot-item { animation: none !important; }
  .dash-stage { transform: none !important; }
  .js .stagger > * { opacity: 1; transform: none; }
  .js .steps::before { transform: none; }
  .js .section-head h2 .w2 { opacity: 1; transform: none; filter: none; }
  .cursor-glow, .cursor-dot, .ripple { display: none; }
  .tilt { transform: none !important; }
}
.quote:has(.quote-title) .quote-mark { display: none; }

/* Testimonial wall: masonry columns once there are three or more quotes */
.quotes-3 { display: block; columns: 3 300px; column-gap: 20px; }
.quotes-3 > .quote { display: inline-flex; width: 100%; margin: 0 0 20px; break-inside: avoid; padding: 26px; gap: 14px; }
.quotes-3 .quote .quote-title { font-size: 1.2rem; line-height: 1.3; }
.quotes-3 .quote blockquote { font-size: var(--fs-base); }
.quotes-3 .quote blockquote > p:not(.quote-title) { color: var(--slate-strong); font-size: var(--fs-sm); line-height: 1.6; }
.quotes-3 .quote:nth-child(3n+1) .avatar { background: linear-gradient(135deg, #38BDF8, #1D4ED8); }
.quotes-3 .quote:nth-child(3n+2) .avatar { background: linear-gradient(135deg, #22D3EE, #0E7490); }
.quotes-3 .quote:nth-child(3n) .avatar { background: linear-gradient(135deg, #FB923C, #C2410C); }
.quotes-3 .quote::after { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--brand-600), var(--glow), var(--warm-400)); opacity: .8; }
