/* =========================================================================
   Serotonin — "Royal Blue" design system
   Three colours only: Royal blue (#2557D6) · Deep navy (#0F1B3D) · White (+ light blue tints)
   Font: Inter (Figma's UI typeface) with optical sizes — display cut for headings automatically.
   Built on top of Bootstrap 5.3. Tokens first; components below.
   See .claude/skills/serotonin-website/SKILL.md for usage rules.
   ========================================================================= */

:root {
  /* 1 — BLUE (brand / action) */
  --s-accent: #3a4ad8;
  --s-accent-hover: #2b37ad;
  --s-accent-soft: #e3ecfe;      /* tint of blue */
  --s-accent-softer: #f6f7fe;    /* lighter tint */
  --s-accent-on-dark: #aab3f6;   /* blue readable on deep blue */
  --s-hero-bg: #eef0fc;          /* soft blue wash for full-screen hero */

  /* 2 — DEEP BLUE (text / dark sections) */
  --s-ink: #0f1635;
  --s-ink-2: #16254f;
  --s-ink-3: #16318090;
  --s-ink-line: #2a3d6e;
  --s-ink-text: #ffffff;
  --s-ink-muted: #b4c3e3;

  /* 3 — WHITE + neutrals derived from deep blue (high contrast for readability) */
  --s-bg: #f3f6fc;
  --s-surface: #ffffff;
  --s-surface-2: #eef0fc;
  --s-line: #d3ddef;
  --s-line-strong: #b9c8e4;
  --s-text: #0f1635;
  --s-muted: #475676;
  --s-faint: #56658a;

  /* Kept as aliases so older markup keeps working (all blue now) */
  --s-sage: var(--s-accent);
  --s-sage-soft: var(--s-accent-soft);
  --s-danger: #d92d20;           /* form errors only */

  /* Type */
  --s-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-mono: var(--s-font);
  --s-head: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Rhythm – compact */
  --s-section-y: clamp(3rem, 6vw, 4.5rem);
  --s-radius: 18px;
  --s-radius-sm: 12px;
  --s-radius-lg: 28px;
  --s-shadow: 0 1px 2px rgba(15, 22, 53, .04), 0 8px 24px -12px rgba(15, 22, 53, .12);
  --s-shadow-lg: 0 2px 6px rgba(15, 22, 53, .05), 0 24px 48px -20px rgba(15, 22, 53, .28);
  --s-shadow-blue: 0 10px 30px -10px rgba(58, 74, 216, .55);
  --s-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--s-font);
  --bs-body-bg: var(--s-bg);
  --bs-body-color: var(--s-text);
  --bs-border-color: var(--s-line);
  --bs-link-color-rgb: 58, 74, 216;
  --bs-link-hover-color-rgb: 43, 55, 173;
  --bs-emphasis-color: var(--s-text);
  --bs-secondary-color: var(--s-muted);
  --bs-border-radius: var(--s-radius-sm);
  --bs-focus-ring-color: rgba(58, 74, 216, .25);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--s-bg); color: var(--s-text);
  font-family: var(--s-font); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; color: var(--s-text); }
p { margin-bottom: 0; }
a { text-decoration: none; }
::selection { background: var(--s-accent-soft); color: var(--s-text); }
:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; border-radius: 6px; }

.container-s { max-width: 1320px; margin-inline: auto; padding-inline: clamp(1.25rem, 3vw, 2rem); }
.container-wide { max-width: 1680px; margin-inline: auto; padding-inline: clamp(1rem, 2.5vw, 2.5rem); }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 2000; background: var(--s-ink); color: #fff; padding: .5rem .9rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.text-muted-s { color: var(--s-muted) !important; }
.text-accent { color: var(--s-accent) !important; }
.mono { font-family: var(--s-font); }

/* Eyebrow = small blue pill with a number + topic, e.g. "01 · The problem" */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--s-accent-soft); color: var(--s-accent);
  font-size: .76rem; font-weight: 600; letter-spacing: .01em;
  padding: .32rem .8rem; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.section-dark .eyebrow, .on-dark .eyebrow { background: rgba(170, 179, 246, .14); color: var(--s-accent-on-dark); }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-section-y); }
.section-tight { padding-block: calc(var(--s-section-y) * .7); }
.section-alt { background: var(--s-surface-2); }
.section-dark { background: var(--s-ink); color: var(--s-ink-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--s-ink-text); }
.section-dark .text-muted-s { color: var(--s-ink-muted) !important; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: .75rem; max-width: 22ch; }
.section-head p { max-width: 58ch; color: var(--s-muted); margin-top: .6rem; font-size: 1.02rem; }
.section-dark .section-head p { color: var(--s-ink-muted); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { margin-inline: auto; }

/* ---------- Navbar ---------- */
/* Full-width bar: brand left · separate menu pills centre · status + CTA right */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(247, 249, 255, .85);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--s-line); background: rgba(247, 249, 255, .94); }
.site-header .navbar { padding-block: .8rem; }
.nav-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
@media (min-width: 992px) {
  .nav-grid { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-right { justify-self: end; }
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--s-text); }
.brand img { width: 34px; height: 34px; }
.brand-name { font-weight: 800; letter-spacing: .08em; font-size: 1.05rem; color: var(--s-ink); }
.brand-sub { font-size: .72rem; font-weight: 500; color: var(--s-muted); margin-top: .2rem; }

/* One grouped white pill holding all menu links (active link = blue) */
.nav-pills-s { gap: .15rem; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 999px; padding: .3rem; box-shadow: var(--s-shadow); }
.nav-pills-s .nav-link {
  color: var(--s-muted); font-size: .93rem; font-weight: 600;
  padding: .5rem 1.1rem !important; border-radius: 999px; transition: color .15s, background .15s;
}
.nav-pills-s .nav-link:hover, .nav-pills-s .nav-link.show { color: var(--s-accent); background: var(--s-accent-softer); }
.nav-pills-s .nav-link[aria-current="page"] { background: var(--s-accent); color: #fff; }
.nav-pills-s .dropdown-toggle::after { border: 0; content: "\e06d"; font-family: "lucide"; font-size: .7rem; vertical-align: 0; margin-left: .35rem; }

/* Services mega menu – each item explains itself */
.mega {
  border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: .6rem; margin-top: .6rem !important;
  box-shadow: var(--s-shadow-lg); min-width: 560px; grid-template-columns: 1fr 1fr; gap: .25rem;
}
.mega.show { display: grid; }
.mega-item { display: flex; gap: .75rem; align-items: center; padding: .65rem .7rem; border-radius: var(--s-radius-sm); color: var(--s-text); transition: background .15s; }
.mega-item:hover { background: var(--s-accent-softer); color: var(--s-text); }
.mega-item .icon-chip { width: 40px; height: 40px; font-size: 1.05rem; border-radius: 12px; }
.mega-item b { display: block; font-size: .92rem; font-weight: 700; }
.mega-item small { display: block; font-size: .78rem; color: var(--s-muted); }
.mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: .25rem; padding: .7rem .9rem; border-radius: var(--s-radius-sm); background: var(--s-accent); color: #fff; font-weight: 600; font-size: .9rem; }
.mega-all:hover { background: var(--s-accent-hover); color: #fff; }
@media (min-width: 992px) {
  .nav-pills-s .dropdown:hover > .mega { display: grid; }
  .nav-pills-s .dropdown > .mega { left: 50%; transform: translateX(-50%); }
  .nav-pills-s .dropdown > .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; } /* hover bridge */
}

.nav-right { align-items: center; gap: 1rem; }

.navbar-toggler { border: 1px solid var(--s-line); border-radius: 12px; padding: .4rem .55rem; background: var(--s-surface); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--bs-focus-ring-color); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding-top: .75rem; flex-basis: 100%; }
  .nav-pills-s { flex-direction: column; align-items: stretch; border-radius: var(--s-radius); padding: .4rem; }
  .nav-pills-s .nav-link { border-radius: 12px; }
  .mega { min-width: 0; grid-template-columns: 1fr; box-shadow: none; }
  .navbar-cta { margin-top: .75rem; }
}

/* ---------- Buttons: pill with a round arrow badge on the right ---------- */
.btn-s {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 600; font-size: .92rem; line-height: 1;
  padding: .38rem .4rem .38rem 1.2rem; min-height: 46px;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: background .18s var(--s-ease), color .18s, border-color .18s, transform .18s var(--s-ease), box-shadow .18s;
}
.btn-s i {
  width: 34px; height: 34px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .95rem;
  transition: transform .25s var(--s-ease);
}
.btn-s:hover i { transform: rotate(45deg); }
.btn-s:active { transform: scale(.98); }
.btn-s-primary { background: var(--s-accent); color: #fff; box-shadow: var(--s-shadow-blue); }
.btn-s-primary i { background: #fff; color: var(--s-accent); }
.btn-s-primary:hover { background: var(--s-accent-hover); color: #fff; }
.btn-s-dark { background: var(--s-ink); color: #fff; }
.btn-s-dark i { background: var(--s-accent); color: #fff; }
.btn-s-dark:hover { background: #16244b; color: #fff; }
.btn-s-ghost { background: var(--s-surface); color: var(--s-text); border-color: var(--s-line); }
.btn-s-ghost i { background: var(--s-accent-soft); color: var(--s-accent); }
.btn-s-ghost:hover { border-color: var(--s-line-strong); color: var(--s-text); }
.btn-s-white { background: #fff; color: var(--s-ink); }
.btn-s-white i { background: var(--s-accent); color: #fff; }
.btn-s-white:hover { color: var(--s-ink); background: #f0f4ff; }
.btn-s-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-s-glass i { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-s-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-s-sm { min-height: 40px; font-size: .86rem; padding-left: 1rem; }
.btn-s-sm i { width: 28px; height: 28px; font-size: .85rem; }
.btn-s:not(:has(i)) { padding-right: 1.2rem; }
.btn-s[disabled] { opacity: .65; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--s-accent); }
.link-arrow:hover { color: var(--s-accent-hover); }
.link-arrow i { transition: transform .2s var(--s-ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card-s {
  background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 1.4rem; height: 100%; box-shadow: var(--s-shadow);
  transition: transform .25s var(--s-ease), box-shadow .25s var(--s-ease), border-color .25s;
}
.card-s.is-hover:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lg); border-color: var(--s-line-strong); }
.card-s h3 { font-size: 1.12rem; margin: .9rem 0 .4rem; }
.card-s p { color: var(--s-muted); font-size: .94rem; }
.best-for { margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--s-line); font-size: .84rem !important; }
.best-for b { color: var(--s-text); font-weight: 600; }

.icon-chip { width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; font-size: 1.2rem; background: var(--s-accent-soft); color: var(--s-accent); flex: none; }
.icon-chip.sage { background: var(--s-accent-soft); color: var(--s-accent); }
.icon-chip.dark { background: var(--s-ink); color: #fff; }
.icon-chip.solid { background: var(--s-accent); color: #fff; }

.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.tag { font-size: .72rem; font-weight: 500; border-radius: 999px; padding: .25rem .65rem; color: var(--s-muted); background: var(--s-surface-2); }
.section-dark .tag { background: rgba(255, 255, 255, .07); color: var(--s-ink-muted); }

/* =========================================================================
   HERO — blue panel with centred headline + floating cards
   ========================================================================= */
.hero-wrap { padding-top: .5rem; padding-bottom: 1rem; }
.hero-panel {
  position: relative; overflow: hidden; border-radius: var(--s-radius-lg);
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(170, 179, 246, .45), transparent 60%),
    radial-gradient(55% 60% at 0% 100%, rgba(58, 74, 216, .55), transparent 60%),
    linear-gradient(160deg, #3a4ad8 0%, #2347b0 45%, #0e1b3d 100%);
  color: #fff; padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem) 0;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 80%);
}
.hero-content { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 500;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  border-radius: 999px; padding: .35rem .9rem .35rem .45rem; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 22px; height: 22px; border-radius: 999px; background: #fff; color: var(--s-accent); display: grid; place-items: center; font-size: .7rem; }
.hero-panel h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-top: 1.2rem; }
.hero-panel h1 .soft { color: rgba(255, 255, 255, .62); }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .82); max-width: 56ch; margin: 1.1rem auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.75rem; }

.hero-cards { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 1rem; margin-top: 2.75rem; max-width: 980px; margin-inline: auto; align-items: end; }
.mini-card {
  background: rgba(255, 255, 255, .96); color: var(--s-text); border-radius: 20px 20px 0 0;
  padding: 1.1rem 1.15rem 1.25rem; box-shadow: 0 -10px 40px -10px rgba(15, 22, 53, .45);
  opacity: 0; transform: translateY(24px); animation: rise .8s var(--s-ease) forwards;
}
.mini-card:nth-child(2) { animation-delay: .12s; min-height: 250px; }
.mini-card:nth-child(3) { animation-delay: .24s; }
.mini-card .mc-label { font-size: .74rem; font-weight: 600; color: var(--s-muted); display: flex; align-items: center; gap: .4rem; }
.mini-card .mc-label i { color: var(--s-accent); }
.mini-card .mc-big { font-size: 1.9rem; font-weight: 800; color: var(--s-accent); letter-spacing: -.03em; line-height: 1.1; margin-top: .35rem; }
.mini-card .mc-sub { font-size: .74rem; color: var(--s-faint); }
.mini-card svg { width: 100%; height: 70px; margin-top: .5rem; display: block; }
.mini-card .note { font-size: .66rem; color: var(--s-faint); margin-top: .5rem; display: block; }

/* "Everything connected" orbit */
.orbit { position: relative; height: 170px; margin-top: .6rem; }
.orbit .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed var(--s-line-strong); transform: translate(-50%, -50%); }
.orbit .ring.r1 { width: 110px; height: 110px; }
.orbit .ring.r2 { width: 170px; height: 170px; }
.orbit .core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 16px; background: var(--s-accent); display: grid; place-items: center; box-shadow: var(--s-shadow-blue);
}
.orbit .core img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.orbit .node {
  position: absolute; width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line);
  display: grid; place-items: center; box-shadow: var(--s-shadow); animation: float 5s ease-in-out infinite;
}
.orbit .node .brand-ico { width: 20px; height: 20px; }
.orbit .n1 { left: 12%; top: 6%; }
.orbit .n2 { right: 12%; top: 4%; animation-delay: -1s; }
.orbit .n3 { left: 2%; top: 56%; animation-delay: -2s; }
.orbit .n4 { right: 3%; top: 58%; animation-delay: -3s; }
.orbit .n5 { left: 50%; bottom: -6px; margin-left: -19px; animation-delay: -4s; }

/* Bars card */
.bars { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .55rem; }
.bars li { display: grid; grid-template-columns: 70px 1fr 34px; align-items: center; gap: .5rem; font-size: .72rem; color: var(--s-muted); }
.bars .track { height: 8px; border-radius: 99px; background: var(--s-accent-soft); overflow: hidden; }
.bars .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #a8c1ff, var(--s-accent)); transform-origin: left; animation: grow 1.2s var(--s-ease) .5s both; }
.bars b { font-weight: 600; color: var(--s-text); text-align: right; }
.w-90 { width: 90%; } .w-70 { width: 70%; } .w-55 { width: 55%; } .w-40 { width: 40%; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes grow { from { transform: scaleX(0); } }
@media (max-width: 767.98px) {
  .hero-cards { grid-template-columns: 1fr; max-width: 360px; }
  .hero-cards .mini-card:not(:nth-child(2)) { display: none; }
}

/* =========================================================================
   HOW IT WORKS — explanation steps + live workflow card
   ========================================================================= */
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.how-steps li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); padding: .95rem 1rem; }
.how-steps .n { width: 40px; height: 40px; border-radius: 12px; background: var(--s-accent-soft); color: var(--s-accent); display: grid; place-items: center; font-weight: 700; }
.how-steps h3 { font-size: 1rem; margin: 0 0 .15rem; }
.how-steps p { font-size: .9rem; color: var(--s-muted); }

.flow-card { background: var(--s-ink); color: #fff; border-radius: var(--s-radius-lg); padding: 1.25rem; box-shadow: var(--s-shadow-lg); position: relative; overflow: hidden; }
.flow-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 100% 0%, rgba(58, 74, 216, .35), transparent 60%); }
.flow-top { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 500; color: var(--s-ink-muted); position: relative; }
.flow-live { display: inline-flex; align-items: center; gap: .4rem; color: var(--s-accent-on-dark); }
.flow-live::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; animation: pulse 1.6s infinite; }
.flow-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; position: relative; }
.flow-step { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: .75rem; background: rgba(255, 255, 255, .05); border: 1px solid var(--s-ink-line); border-radius: 14px; padding: .65rem .75rem; }
.flow-step .ico { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; }
.flow-step .ico .brand-ico { width: 20px; height: 20px; }
.flow-step .ico.ai { background: var(--s-accent); color: #fff; font-size: 1rem; }
.flow-step b { font-size: .88rem; font-weight: 600; display: block; }
.flow-step small { font-size: .72rem; color: var(--s-ink-muted); }
.flow-step .ok { font-size: .72rem; font-weight: 600; color: var(--s-accent-on-dark); }
.flow-foot { margin-top: .85rem; font-size: .74rem; color: var(--s-ink-muted); border-top: 1px dashed var(--s-ink-line); padding-top: .75rem; position: relative; }
.flow-foot em { color: var(--s-accent-on-dark); font-style: normal; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Brand icons (Simple Icons via CSS mask, tinted per brand) ---------- */
.brand-ico { display: inline-block; width: 26px; height: 26px; flex: none; background-color: var(--c, var(--s-text)); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Tool strip (marquee) */
.tools-strip { padding-block: 1.25rem; overflow: hidden; }
.tools-label { font-size: .8rem; font-weight: 600; color: var(--s-muted); white-space: nowrap; }
.marquee { overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .6rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tool-pill { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 999px; padding: .42rem .95rem .42rem .5rem; font-size: .86rem; font-weight: 500; }
.tool-pill .brand-ico { width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .65rem; }
.tool-tile { display: flex; align-items: center; gap: .7rem; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); padding: .75rem .85rem; font-size: .9rem; font-weight: 600; transition: border-color .2s, transform .2s var(--s-ease); }
.tool-tile:hover { border-color: var(--s-line-strong); transform: translateY(-2px); }
.tool-tile .brand-ico { width: 22px; height: 22px; }
.tool-tile small { display: block; font-size: .72rem; color: var(--s-faint); font-weight: 500; }

/* ---------- Problem list ---------- */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.problem-list li { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.15rem 1.2rem; display: grid; grid-template-columns: 40px 1fr; gap: .85rem; }
.problem-list .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--s-accent-soft); color: var(--s-accent); display: grid; place-items: center; font-size: 1.1rem; }
.problem-list h3 { font-size: 1rem; margin: 0 0 .25rem; }
.problem-list p { color: var(--s-muted); font-size: .88rem; }
.problem-list .fix { display: block; margin-top: .45rem; font-size: .8rem; font-weight: 600; color: var(--s-accent); }
@media (max-width: 575.98px) { .problem-list { grid-template-columns: 1fr; } }

/* ---------- Work / Loom videos ---------- */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-thumb { position: relative; aspect-ratio: 16 / 10; border: 0; padding: 0; width: 100%; background: var(--s-ink-2); display: block; cursor: pointer; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--s-ease); }
.work-card:hover .work-thumb img { transform: scale(1.03); }
.work-poster { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 80% at 15% 0%, rgba(170, 179, 246, .45), transparent 60%), linear-gradient(150deg, #3a4ad8, #0e1b3d 85%); }
.work-poster .tools { display: flex; gap: .5rem; }
.work-poster .tools > span { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.work-poster .tools .brand-ico { width: 24px; height: 24px; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 999px; background: #fff; color: var(--s-accent); display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .25s var(--s-ease); }
.work-thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.work-thumb .duration { position: absolute; right: .7rem; bottom: .7rem; font-size: .72rem; font-weight: 600; background: rgba(15, 22, 53, .75); color: #fff; padding: .2rem .5rem; border-radius: 8px; }
.work-thumb .soon { position: absolute; left: .7rem; top: .7rem; font-size: .7rem; font-weight: 600; background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: .22rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); }
.work-body { padding: 1.15rem 1.25rem 1.3rem; }
.work-body h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.work-body p { color: var(--s-muted); font-size: .9rem; }
.work-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.work-filters button { border: 1px solid var(--s-ink-line); background: transparent; color: var(--s-ink-muted); font-size: .84rem; font-weight: 500; padding: .45rem .95rem; border-radius: 999px; transition: all .15s; }
.work-filters button:hover { color: #fff; }
.work-filters button.active { background: var(--s-accent); color: #fff; border-color: var(--s-accent); }
.section-dark .work-card { background: var(--s-ink-2); border-color: var(--s-ink-line); box-shadow: none; }
.section-dark .work-body h3 { color: #fff; }
.section-dark .work-body p { color: var(--s-ink-muted); }
.video-modal .modal-content { background: var(--s-ink); border: 0; border-radius: var(--s-radius-lg); overflow: hidden; }
.video-modal .modal-header { border: 0; color: #fff; padding: .9rem 1.1rem; }
.video-modal .modal-title { font-size: 1rem; }
.video-modal .ratio { background: #000; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.industry { display: flex; gap: .85rem; align-items: flex-start; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1rem; transition: border-color .2s, transform .2s var(--s-ease); }
.industry:hover { border-color: var(--s-line-strong); transform: translateY(-2px); }
.industry h3 { font-size: .98rem; margin: 0 0 .2rem; }
.industry p { font-size: .82rem; color: var(--s-muted); line-height: 1.45; }
@media (max-width: 991.98px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .industry-grid { grid-template-columns: 1fr; } }
.sub-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1rem; margin: 2.5rem 0 1rem; }
.sub-head h3 { font-size: 1.3rem; margin: 0; }
.sub-head p { color: var(--s-muted); font-size: .9rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.process-step { position: relative; padding: 1.25rem; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line); }
.process-step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--s-accent); color: #fff; font-size: .82rem; font-weight: 700; }
.process-step h3 { font-size: 1.05rem; margin: .8rem 0 .3rem; }
.process-step p { font-size: .88rem; color: var(--s-muted); }
.process-step .when { display: block; margin-top: .7rem; font-size: .76rem; font-weight: 600; color: var(--s-accent); }
.process-step .bar { height: 4px; border-radius: 4px; background: var(--s-accent-soft); margin-top: 1rem; overflow: hidden; }
.process-step .bar span { display: block; height: 100%; background: var(--s-accent); }
@media (max-width: 991.98px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .process { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq .accordion-item { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius-sm) !important; margin-bottom: .5rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; font-size: .98rem; padding: 1rem 1.15rem; background: var(--s-surface); color: var(--s-text); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--s-accent); background: var(--s-surface); }
.faq .accordion-button:focus { box-shadow: inset 0 0 0 2px var(--bs-focus-ring-color); }
.faq .accordion-body { padding: 0 1.15rem 1.1rem; color: var(--s-muted); font-size: .94rem; }

/* ---------- CTA band (blue, with large outlined word) ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--s-radius-lg); color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(170, 179, 246, .5), transparent 60%), linear-gradient(135deg, #3a4ad8, #2347b0 60%, #0e1b3d);
  padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center;
}
.cta-band::after {
  content: "AUTOMATE"; position: absolute; right: -1%; bottom: -.28em; pointer-events: none;
  font-size: clamp(4rem, 12vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 22ch; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: .5rem; max-width: 52ch; }
@media (max-width: 767.98px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(2rem, 4.5vw, 3.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); background: radial-gradient(60% 100% at 90% 0%, var(--s-accent-soft), transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.04em; margin-top: .9rem; max-width: 20ch; }
.page-hero p { font-size: 1.06rem; color: var(--s-muted); max-width: 60ch; margin-top: .9rem; }

/* ---------- Service detail ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-nav a { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 500; border: 1px solid var(--s-line); background: var(--s-surface); color: var(--s-muted); padding: .45rem .9rem; border-radius: 999px; transition: all .15s; }
.svc-nav a:hover { color: var(--s-accent); border-color: var(--s-accent); }
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; padding: 1.6rem; }
.svc + .svc { margin-top: .9rem; }
.svc h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: .9rem 0 .5rem; }
.svc .label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-accent); margin-top: 1rem; display: block; }
.svc .problem { font-weight: 600; font-size: 1.02rem; margin-top: .3rem; }
.svc .what { color: var(--s-muted); margin-top: .3rem; font-size: .95rem; }
.svc-panel { background: var(--s-accent-softer); border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); padding: 1.1rem; }
.check-list { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .45rem; }
.check-list li { display: flex; gap: .55rem; font-size: .92rem; }
.check-list i { color: var(--s-accent); margin-top: .1rem; }
.svc-meta { display: grid; gap: .6rem; margin-top: .9rem; font-size: .9rem; color: var(--s-muted); }
.svc-meta div { display: flex; gap: .55rem; }
.svc-meta b { color: var(--s-text); font-weight: 600; }
.svc-meta i { color: var(--s-accent); }
.svc-tools { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.svc-tools .tool-pill { font-size: .8rem; padding: .3rem .75rem .3rem .4rem; }
.svc-tools .tool-pill .brand-ico { width: 15px; height: 15px; }
@media (max-width: 991.98px) { .svc { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.compare > div { border-radius: var(--s-radius-sm); padding: .85rem .95rem; font-size: .88rem; }
.compare .before { background: var(--s-bg); border: 1px solid var(--s-line); color: var(--s-muted); }
.compare .after { background: var(--s-accent-soft); border: 1px solid #cbd8ff; color: var(--s-text); }
.compare .k { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem; }
.compare .before .k { color: var(--s-faint); }
.compare .after .k { color: var(--s-accent); }
.oversight { display: flex; gap: .55rem; font-size: .86rem; color: var(--s-muted); border-top: 1px solid var(--s-line); margin-top: 1rem; padding-top: .9rem; }
.oversight i { color: var(--s-accent); }
@media (max-width: 575.98px) { .compare { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.value-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--s-accent-soft); color: var(--s-accent); font-size: .8rem; font-weight: 700; }
.fact { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); padding: .9rem 1rem; height: 100%; }
.fact strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--s-accent); }
.fact span { font-size: .84rem; color: var(--s-muted); }
.about-copy p { color: var(--s-muted); font-size: 1.02rem; }
.about-copy p + p { margin-top: 1rem; }

/* ---------- Contact form ---------- */
.form-card { padding: clamp(1.25rem, 3vw, 2rem); }
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.form-label .req { color: var(--s-accent); }
.form-label .opt { font-weight: 400; color: var(--s-faint); font-size: .8rem; }
.form-control, .form-select { border-color: var(--s-line); background-color: var(--s-accent-softer); border-radius: var(--s-radius-sm); padding: .72rem .95rem; font-size: .95rem; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.form-control:focus, .form-select:focus { border-color: var(--s-accent); background-color: #fff; box-shadow: 0 0 0 4px var(--bs-focus-ring-color); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--s-danger); background-image: none; padding-right: .95rem; }
.form-control.is-valid, .form-select.is-valid { border-color: var(--s-accent); background-image: none; padding-right: .95rem; }
.invalid-feedback { color: var(--s-danger); font-size: .82rem; }
.form-check-input:checked { background-color: var(--s-accent); border-color: var(--s-accent); }
.form-check-input:focus { box-shadow: 0 0 0 3px var(--bs-focus-ring-color); border-color: var(--s-accent); }
.char-count { font-size: var(--t-13); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-radius: var(--s-radius-sm); padding: .8rem 1rem; font-size: .9rem; }
.form-alert.error { background: #fdeceb; border: 1px solid #f6c8c4; color: #8a1c13; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success .icon-chip { width: 58px; height: 58px; font-size: 1.6rem; border-radius: 18px; }
.contact-side .card-s { height: auto; }
.contact-side .card-s + .card-s { margin-top: .75rem; }
.contact-line { display: flex; gap: .7rem; align-items: flex-start; color: var(--s-text); font-size: .94rem; }
.contact-line + .contact-line { margin-top: .75rem; }
.contact-line i { color: var(--s-accent); font-size: 1.05rem; margin-top: .05rem; }
.steps-mini { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .6rem; }
.steps-mini li { display: flex; gap: .7rem; font-size: .9rem; color: var(--s-muted); }
.steps-mini span { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--s-accent); color: #fff; font-size: .74rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--s-ink); color: var(--s-ink-muted); padding-top: 3rem; font-size: .9rem; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 700; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--s-ink-muted); transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-about { max-width: 38ch; }
.footer-bottom { border-top: 1px solid var(--s-ink-line); margin-top: 2.25rem; padding-block: 1.1rem; font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* ---------- Prose (privacy) ---------- */
.prose-list { list-style: none; padding: 0; margin: 0; }
.prose-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .5rem; padding: 1.15rem 1.3rem; }
.prose-list li + li { border-top: 1px solid var(--s-line); }
.prose-list h2 { font-size: 1.05rem; margin: 0 0 .3rem; }
.prose-list p { color: var(--s-muted); font-size: .95rem; }

/* ---------- Helpers ---------- */
.h2-s { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 22ch; }
.h3-s { font-size: 1.35rem; }
.text-center .h2-s { margin-inline: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--s-ease), transform .6s var(--s-ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 575.98px) { .hero-actions .btn-s { width: 100%; justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .mini-card { opacity: 1; transform: none; }
}

/* =========================================================================
   v4 — clean blue & white: hero cards, section backgrounds, visual cards
   ========================================================================= */

/* Section backgrounds — every section gets its own clear band */
.bg-white { background: #fff; }
.bg-tint { background: linear-gradient(180deg, #eef3ff 0%, #f6f9ff 100%); }
.bg-tint-dots { background-color: #eef3ff; background-image: radial-gradient(rgba(58, 74, 216, .10) 1px, transparent 1px); background-size: 22px 22px; }
.section-dark { background: radial-gradient(70% 60% at 100% 0%, rgba(58, 74, 216, .35), transparent 60%), var(--s-ink); }

/* Centred section heading: pill + title + one short line */
.sh { text-align: center; max-width: 680px; margin: 0 auto 2.25rem; }
.sh h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-top: .85rem; }
.sh h2 .blue { color: var(--s-accent); }
.sh p { color: var(--s-muted); margin-top: .65rem; font-size: 1.05rem; }
.section-dark .sh p { color: var(--s-ink-muted); }
.section-dark .sh h2 .blue { color: var(--s-accent-on-dark); }

/* Hero cards — improved: equal size, white → light blue, middle card raised */
.hero-cards { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 1040px; align-items: end; }
.mini-card {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5ff 100%);
  border: 1px solid rgba(255, 255, 255, .7); border-bottom: 0;
  border-radius: 22px 22px 0 0; padding: 1.15rem 1.2rem 1.3rem; min-height: 230px;
}
.mini-card:nth-child(2) { min-height: 268px; }
.mc-head { display: flex; align-items: center; gap: .6rem; }
.mc-head .icon-chip { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }
.mc-head b { font-size: .9rem; font-weight: 700; color: var(--s-text); }
.mc-head small { display: block; font-size: .72rem; color: var(--s-faint); font-weight: 500; }

/* Chat preview inside a hero card */
.chat { display: grid; gap: .45rem; margin-top: .9rem; }
.chat .msg { max-width: 88%; font-size: .8rem; line-height: 1.4; padding: .5rem .7rem; border-radius: 14px; }
.chat .in { background: #fff; border: 1px solid var(--s-line); border-bottom-left-radius: 4px; }
.chat .out { justify-self: end; background: var(--s-accent); color: #fff; border-bottom-right-radius: 4px; }
.chat .meta { justify-self: end; font-size: .68rem; font-weight: 600; color: var(--s-accent); }

/* Lead sources inside a hero card */
.sources { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .55rem; }
.sources li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; }
.sources .ic { width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--s-line); display: grid; place-items: center; }
.sources .ic .brand-ico { width: 15px; height: 15px; }
.sources .ic i { font-size: .8rem; color: var(--s-accent); }
.sources .track { display: block; height: 7px; border-radius: 99px; background: var(--s-accent-soft); overflow: hidden; margin-top: .25rem; }
.sources .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #a8c1ff, var(--s-accent)); animation: grow 1.2s var(--s-ease) .5s both; transform-origin: left; }
.sources .chk { color: var(--s-accent); font-size: .9rem; }
@keyframes grow { from { transform: scaleX(0); } }

/* Problem cards — icon on top, one line, fix pill */
.pcard { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.4rem; height: 100%; box-shadow: var(--s-shadow); text-align: left; transition: transform .25s var(--s-ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lg); }
.pcard .icon-chip { width: 52px; height: 52px; border-radius: 16px; font-size: 1.4rem; }
.pcard h3 { font-size: 1.08rem; margin: 1rem 0 .35rem; }
.pcard p { color: var(--s-muted); font-size: .92rem; }
.pcard .fix { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; background: var(--s-accent-soft); color: var(--s-accent); font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }

/* How it works — compact steps */
.how-steps li { align-items: center; }
.how-steps p { font-size: .88rem; }

/* Service cards with a visual header */
.scard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; box-shadow: var(--s-shadow); color: var(--s-text); transition: transform .25s var(--s-ease), box-shadow .25s, border-color .25s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lg); border-color: var(--s-line-strong); color: var(--s-text); }
.scard-visual {
  position: relative; height: 128px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.3rem;
  background: radial-gradient(80% 120% at 0% 0%, #dfe8ff, transparent 60%), linear-gradient(135deg, #eef3ff, #f8faff);
  border-bottom: 1px solid var(--s-line);
}
.scard-visual .big { width: 64px; height: 64px; border-radius: 20px; background: var(--s-accent); color: #fff; display: grid; place-items: center; font-size: 1.75rem; box-shadow: var(--s-shadow-blue); }
.scard-visual .logos { display: flex; }
.scard-visual .logos > span { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); display: grid; place-items: center; margin-left: -8px; box-shadow: var(--s-shadow); }
.scard-visual .logos > span i { color: var(--s-accent); }
.scard-visual .logos .brand-ico { width: 20px; height: 20px; }
.scard-body { padding: 1.2rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.scard-body h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
.scard-body p { color: var(--s-muted); font-size: .92rem; }
.scard-body .more { margin-top: auto; padding-top: 1rem; font-size: .86rem; font-weight: 700; color: var(--s-accent); display: inline-flex; align-items: center; gap: .3rem; }
.scard:hover .more i { transform: translateX(3px); }
.scard .more i { transition: transform .2s var(--s-ease); }

/* Industries — centred icon tiles */
.industry-grid .industry { flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 1.3rem 1rem; }
.industry .icon-chip { width: 52px; height: 52px; border-radius: 16px; font-size: 1.35rem; }

/* Inner pages: keep a gap under the tinted page header */
.page-hero + section { padding-top: 1.75rem; }

@media (max-width: 767.98px) {
  .hero-cards { grid-template-columns: 1fr; max-width: 380px; }
  .hero-cards .mini-card:not(:nth-child(2)) { display: none; }
}
.faq-wrap { max-width: 820px; }

/* =========================================================================
   v5 — calmer palette, Sora headings, hero "work example" cards + animation
   ========================================================================= */
h1, h2, h3, h4, h5, .brand-name, .sh h2, .hero-panel h1 { font-family: var(--s-head); }
h1, h2 { letter-spacing: -0.03em; }
h3 { letter-spacing: -0.015em; font-weight: 600; }

/* Calm hero background: deep navy -> royal -> soft periwinkle, with slow drifting glows */
.hero-v5 {
  background: linear-gradient(155deg, #1a2266 0%, #3442c4 48%, #6070e6 100%);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.hero-v5 .glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .55; }
.hero-v5 .g1 { width: 420px; height: 420px; background: #7fa2ff; top: -140px; right: -60px; animation: drift 14s ease-in-out infinite; }
.hero-v5 .g2 { width: 360px; height: 360px; background: #1c3a8f; bottom: -120px; left: -80px; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }

.hero-v5 h1 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; font-size: clamp(2.5rem, 5.8vw, 4.3rem); }
.hero-v5 h1 .line { display: block; opacity: 0; transform: translateY(18px); animation: rise .9s var(--s-ease) forwards; }
.hero-v5 h1 .line + .line { animation-delay: .15s; }
.hero-v5 h1 .grad {
  background: linear-gradient(90deg, #e3e6ff, #ffffff 40%, #c3c9fb 70%, #e3e6ff);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .9s var(--s-ease) .15s forwards, shimmer 8s linear 1s infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.hero-v5 .hero-lead { font-size: 1.12rem; color: rgba(255, 255, 255, .86); max-width: 48ch; }
.hero-proof { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hero-proof i { color: #c9d8ff; }

/* Work-example cards */
.hcards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 1080px; margin: 2.75rem auto 0; align-items: stretch; }
.hcard {
  background: rgba(255, 255, 255, .97); color: var(--s-text); border-radius: 20px; padding: 1.15rem 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 24px 50px -24px rgba(8, 20, 60, .55), 0 2px 6px rgba(8, 20, 60, .08);
  display: flex; flex-direction: column; text-align: left;
  opacity: 0; transform: translateY(26px); animation: rise .9s var(--s-ease) forwards, bob 7s ease-in-out 1.2s infinite;
  transition: box-shadow .3s;
}
.hcard:nth-child(1) { animation-delay: .35s, 1.2s; }
.hcard:nth-child(2) { animation-delay: .5s, 2.4s; margin-top: -1.25rem; }
.hcard:nth-child(3) { animation-delay: .65s, 3.6s; }
.hcard:hover { box-shadow: 0 30px 60px -24px rgba(8, 20, 60, .7), 0 2px 6px rgba(8, 20, 60, .1); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.hc-top { display: flex; justify-content: space-between; align-items: center; }
.hc-tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; color: var(--s-accent); background: var(--s-accent-soft); padding: .25rem .6rem; border-radius: 999px; }
.hc-live { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 600; color: var(--s-muted); }
.hc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4f7be8; box-shadow: 0 0 0 3px rgba(79, 123, 232, .2); animation: pulse 1.8s infinite; }
.hcard h3 { font-size: 1.05rem; font-weight: 600; margin: .75rem 0 .2rem; color: var(--s-text); }
.hcard > p { font-size: .85rem; color: var(--s-muted); line-height: 1.45; }
.hc-visual { margin-bottom: .85rem; margin-top: .9rem; background: var(--s-accent-softer); border: 1px solid var(--s-line); border-radius: 14px; padding: .75rem; min-height: 132px; }
.hc-foot { margin-top: auto !important; display: flex; justify-content: space-between; align-items: center; margin-top: .85rem; padding-top: .7rem; border-top: 1px solid var(--s-line); font-size: .74rem; font-weight: 600; color: var(--s-muted); }
.hc-tools { display: flex; gap: .35rem; }
.hc-tools .brand-ico { width: 16px; height: 16px; }

/* Card 1 — looping chat (9s cycle) */
.chat2 { display: grid; gap: .4rem; align-content: start; }
.chat2 .m { max-width: 86%; font-size: .78rem; line-height: 1.35; padding: .45rem .65rem; border-radius: 12px; opacity: 0; }
.chat2 .in { background: #fff; border: 1px solid var(--s-line); border-bottom-left-radius: 4px; opacity: 1; animation: slideIn .6s var(--s-ease) .9s both; transform: translateX(-8px); }
.chat2 .typing { justify-self: end; display: inline-flex; gap: 3px; background: #fff; border: 1px solid var(--s-line); padding: .45rem .6rem; border-radius: 12px; opacity: 0; animation: c-typing 7s infinite; grid-row: 2; grid-column: 1; }
.chat2 .out { justify-self: end; background: var(--s-accent); color: #fff; border-bottom-right-radius: 4px; animation: c-out 7s infinite; grid-row: 2; grid-column: 1; }
.chat2 .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--s-faint); animation: dot 1s infinite; }
.chat2 .typing i:nth-child(2) { animation-delay: .15s; }
.chat2 .typing i:nth-child(3) { animation-delay: .3s; }
.chat2 .done { justify-self: end; display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; color: var(--s-accent); opacity: 0; animation: c-done 7s infinite; }
@keyframes c-in { 0%, 3% { opacity: 0; transform: translateY(6px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes c-typing { 0%, 2% { opacity: 0; } 4%, 19% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes c-out { 0%, 20% { opacity: 0; transform: translateY(6px); } 25%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes c-done { 0%, 32% { opacity: 0; transform: scale(.9); } 37%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }

/* Card 2 — data travelling through a pipeline */
.pipe { display: flex; align-items: center; justify-content: space-between; min-height: 0; padding: .9rem .7rem; }
.pnode { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.pnode > span, .pnode > i { width: 42px; height: 42px; border-radius: 13px; background: #fff; border: 1px solid var(--s-line); display: grid; place-items: center; box-shadow: var(--s-shadow); }
.pnode .pi .brand-ico { width: 22px; height: 22px; }
.pnode.ai > i { background: var(--s-accent); color: #fff; font-size: 1.1rem; border-color: var(--s-accent); animation: aiPulse 2.4s ease-in-out infinite; }
.pnode small { font-size: .66rem; font-weight: 600; color: var(--s-muted); }
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(58, 74, 216, .35); } 50% { box-shadow: 0 0 0 8px rgba(58, 74, 216, 0); } }
.pline { position: relative; flex: 1; height: 2px; margin: 0 .35rem 1.1rem; background: repeating-linear-gradient(90deg, var(--s-line-strong) 0 5px, transparent 5px 9px); }
.pline b { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--s-accent); box-shadow: 0 0 0 3px rgba(58, 74, 216, .2); animation: travel 2.4s ease-in-out infinite; }
.pline + .pnode + .pline b { animation-delay: 1.2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.pout { display: flex; gap: .45rem; margin-top: .55rem; }
.pout > span { flex: 1; display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; background: #fff; border: 1px solid var(--s-line); border-radius: 10px; padding: .45rem .55rem; animation: popIn 4.8s ease-in-out infinite; }
.pout > span:nth-child(2) { animation-delay: .4s; }
.pout .brand-ico { width: 14px; height: 14px; }
@keyframes popIn { 0%, 45% { opacity: .7; } 55%, 90% { opacity: 1; border-color: #b8c8f0; } 100% { opacity: .7; } }

/* Card 3 — leads list */
.leads { list-style: none; display: grid; gap: .4rem; }
.leads li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--s-line); border-radius: 10px; padding: .35rem .5rem; opacity: 0; transform: translateX(10px); animation: slideIn .6s var(--s-ease) forwards, rowGlow 7.5s ease-in-out infinite; }
.leads li:nth-child(1) { animation-delay: 1s, 2s; }
.leads li:nth-child(2) { animation-delay: 1.2s, 4.5s; }
.leads li:nth-child(3) { animation-delay: 1.4s, 7s; }
.leads .av { width: 28px; height: 28px; border-radius: 9px; background: var(--s-accent-soft); color: var(--s-accent); font-size: .66rem; font-weight: 700; display: grid; place-items: center; }
.leads b { display: block; font-size: .76rem; font-weight: 600; line-height: 1.25; }
.leads small { display: block; line-height: 1.25; }
.leads small { font-size: .66rem; color: var(--s-faint); }
.leads .st { font-size: .64rem; font-weight: 600; padding: .18rem .45rem; border-radius: 999px; white-space: nowrap; }
.leads .st.new { background: var(--s-accent); color: #fff; }
.leads .st.fu { background: var(--s-accent-soft); color: var(--s-accent); }
.leads .st.ok { background: #e7edf9; color: var(--s-ink); }
@keyframes slideIn { to { opacity: 1; transform: none; } }
@keyframes rowGlow { 0%, 14%, 100% { border-color: var(--s-line); box-shadow: none; } 5%, 9% { border-color: #b8c8f0; box-shadow: 0 4px 12px -6px rgba(58, 74, 216, .45); } }

@media (max-width: 991.98px) {
  .hcards { grid-template-columns: 1fr 1fr; }
  .hcard:nth-child(2) { margin-top: 0; }
  .hcard:nth-child(3) { display: none; }
}
@media (max-width: 575.98px) {
  .hcards { grid-template-columns: 1fr; max-width: 400px; }
  .hcard:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v5 h1 .line, .hcard, .leads li { opacity: 1; transform: none; }
  .chat2 .m, .chat2 .done { opacity: 1; }
  .chat2 .typing { display: none; }
}

/* =========================================================================
   v6 — Figma's Inter (optical sizes) · verified blue/white palette · visible cards
   Type scale (1.25 ratio, 17px base): 13 / 15 / 17 / 20 / 25 / 42 / 72
   Contrast (checked): navy on white 16.9 · muted on tint 6.4 · faint on white 5.1
                       white on blue 6.2 · blue on soft-blue 5.6
   ========================================================================= */
:root {
  --fs-xs: .8125rem;   /* 13 labels */
  --fs-sm: .9375rem;   /* 15 card text */
  --fs-base: 1.0625rem;/* 17 body */
  --fs-lg: 1.25rem;    /* 20 card titles, lead */
  --fs-xl: 1.5625rem;  /* 25 h3 large */
  --fs-2xl: clamp(1.85rem, 3.4vw, 2.6rem);  /* ~42 section titles */
  --fs-hero: clamp(2.6rem, 6vw, 4.5rem);    /* ~72 hero */
  --s-shadow: 0 1px 2px rgba(15, 22, 53, .06), 0 10px 28px -14px rgba(15, 22, 53, .22);
  --s-shadow-lg: 0 2px 6px rgba(15, 22, 53, .07), 0 24px 48px -20px rgba(15, 22, 53, .32);
}
html, body { font-optical-sizing: auto; }
body { font-family: var(--s-font); font-size: var(--fs-base); line-height: 1.6; color: var(--s-text); font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4, h5, .brand-name, .sh h2, .hero-panel h1 { font-family: var(--s-head); }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
h3 { font-weight: 650; letter-spacing: -0.012em; line-height: 1.25; }

/* Section headings */
.sh h2 { font-size: var(--fs-2xl); font-weight: 700; }
.sh p { font-size: var(--fs-base); color: var(--s-muted); }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; background: var(--s-accent-soft); color: var(--s-accent); }

/* Clear section bands */
.bg-white { background: #ffffff; }
.bg-tint { background: #eef0fc; }
.bg-tint-dots { background-color: #eef0fc; background-image: radial-gradient(rgba(58, 74, 216, .12) 1px, transparent 1px); }
.bg-tint .sh h2, .bg-tint-dots .sh h2 { color: var(--s-text); }

/* Cards: always white, firm border + soft shadow so they stand out on tinted sections */
.card-s, .pcard, .scard, .industry, .tool-tile, .process-step, .how-steps li, .faq .accordion-item, .problem-list li {
  background: #ffffff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
}
.bg-white .card-s, .bg-white .pcard, .bg-white .industry, .bg-white .process-step, .bg-white .how-steps li { background: #f8faff; }
.pcard:hover, .scard:hover, .industry:hover, .tool-tile:hover, .card-s.is-hover:hover { border-color: var(--s-line-strong); box-shadow: var(--s-shadow-lg); }

/* Readable card text (min 15px) */
.pcard h3, .scard-body h3, .process-step h3, .card-s h3 { font-size: var(--fs-lg); }
.pcard p, .scard-body p, .process-step p, .card-s p, .how-steps p, .faq .accordion-body { font-size: var(--fs-sm); color: var(--s-muted); line-height: 1.55; }
.industry h3 { font-size: 1.0625rem; }
.industry p { font-size: .875rem; color: var(--s-muted); }
.tool-tile { font-size: var(--fs-sm); }
.tool-tile small { font-size: var(--fs-xs); color: var(--s-faint); }
.faq .accordion-button { font-size: var(--fs-base); font-weight: 600; }

/* Icon chips a touch stronger so they read on white */
.icon-chip { background: var(--s-accent-soft); color: var(--s-accent); }

/* Hero — new blue, clearer text */
.hero-v5 { background: linear-gradient(155deg, #1a2266 0%, #3a4ad8 55%, #6573ea 100%); }
.hero-v5 .g1 { background: #a3acf5; }
.hero-v5 .g2 { background: #1a2266; }
.hero-v5 h1 { font-size: var(--fs-hero); font-weight: 750; letter-spacing: -0.035em; line-height: 1.04; }
.hero-v5 .hero-lead { font-size: var(--fs-lg); line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 52ch; }
.hero-proof li { color: rgba(255, 255, 255, .92); font-size: var(--fs-sm); }
.hcard h3 { font-size: 1.125rem; font-weight: 650; }
.hcard > p { font-size: var(--fs-sm); color: var(--s-muted); }
.hc-foot { font-size: var(--fs-xs); color: var(--s-muted); }

/* Buttons */
.btn-s { font-size: var(--fs-sm); font-weight: 600; }

/* Dark section text stays bright */
.section-dark { background: radial-gradient(70% 60% at 100% 0%, rgba(58, 74, 216, .35), transparent 60%), #0f1635; }
.section-dark .sh p, .section-dark .work-body p { color: #c4c9e6; }

/* =========================================================================
   v7 — Home redesign (solution-provider layout)
   Fonts: Poppins (headings, 600–700) + Inter (body). Headings ONE colour (navy).
   Palette: blue #2557D6 · navy #0F1B3D · white / light blue #EEF3FD
   ========================================================================= */
:root {
  --s-head: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  --x-blue: #3a4ad8;
  --x-blue-dk: #2b37ad;
  --x-blue-50: #eef0fc;
  --x-blue-100: #e1e5fb;
  --x-navy: #0f1635;
  --x-text: #2f3b57;
  --x-muted: #55627f;
  --x-line: #d9e2f2;
}
h1, h2, h3, h4, h5, .brand-name { font-family: var(--s-head); color: var(--x-navy); letter-spacing: -0.01em; }
h1, h2 { font-weight: 700; }
h3 { font-weight: 600; }
body { color: var(--x-text); }

/* Section rhythm — compact */
.sx { padding-block: clamp(3rem, 5vw, 4.25rem); }
.bg-white { background: #fff; }
.bg-tint { background: var(--x-blue-50); }

/* Section head: eyebrow · title · punchline · description */
.sx-head { text-align: center; max-width: 760px; margin: 0 auto 2.25rem; }
.sx-eyebrow { display: inline-block; font-family: var(--s-font); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--x-blue); }
.sx-head h2, .sx-h2-left { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.2; margin: .55rem 0 0; }
.sx-punch { font-size: 1.15rem; font-weight: 600; color: var(--x-blue); margin-top: .65rem; }
.sx-desc { font-size: 1.02rem; color: var(--x-muted); margin-top: .45rem; line-height: 1.65; }
.section-dark .sx-head h2 { color: #fff; }
.section-dark .sx-eyebrow, .section-dark .sx-punch { color: #aab3f6; }
.section-dark .sx-desc { color: #c4c9e6; }

/* Buttons — clear states */
.btn-x {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--s-font); font-size: .98rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 12px; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; cursor: pointer; white-space: nowrap;
}
.btn-x i { transition: transform .2s; }
.btn-x:hover { transform: translateY(-2px); }
.btn-x:hover i.bi-arrow-right { transform: translateX(4px); }
.btn-x:active { transform: translateY(0); }
.btn-x:focus-visible { outline: 3px solid rgba(58, 74, 216, .35); outline-offset: 2px; }
.btn-x-primary { background: var(--x-blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(58, 74, 216, .6); }
.btn-x-primary:hover { background: var(--x-blue-dk); color: #fff; box-shadow: 0 14px 28px -10px rgba(58, 74, 216, .7); }
.btn-x-outline { background: #fff; color: var(--x-blue); border-color: var(--x-blue); }
.btn-x-outline:hover { background: var(--x-blue); color: #fff; }
.btn-x-white { background: #fff; color: var(--x-blue); }
.btn-x-white:hover { background: var(--x-blue-50); color: var(--x-blue-dk); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .35); }
.btn-x-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-x-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-x-sm { padding: .7rem 1.1rem; font-size: .9rem; border-radius: 10px; }

/* ---------------- HERO ---------------- */
.hx {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 5vw, 4.25rem);
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(58, 74, 216, .14), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(58, 74, 216, .10), transparent 70%),
    linear-gradient(180deg, #f7f9ff 0%, #eaf0fd 100%);
}
.hx::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(58, 74, 216, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 74, 216, .06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 80%);
}
.hx > * { position: relative; }
.hx-badge { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--x-line); color: var(--x-blue); font-size: .85rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; box-shadow: 0 2px 8px -4px rgba(15, 22, 53, .15); }
.hx-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.12; margin: 1.1rem 0 0; letter-spacing: -0.02em; animation: rise .8s var(--s-ease) both; }
.hx-punch { font-family: var(--s-head); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--x-blue); margin-top: 1rem; animation: rise .8s var(--s-ease) .1s both; }
.hx-desc { font-size: 1.08rem; color: var(--x-muted); line-height: 1.7; margin-top: .75rem; max-width: 54ch; animation: rise .8s var(--s-ease) .2s both; }
.hx-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; animation: rise .8s var(--s-ease) .3s both; }
.hx-trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hx-trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .93rem; font-weight: 500; color: var(--x-navy); }
.hx-trust i { color: var(--x-blue); }
.hx-channels { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--x-line); }
.hx-channels .lbl { font-size: .85rem; font-weight: 600; color: var(--x-muted); margin-right: .35rem; }
.hx-channels .ch { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--x-line); display: grid; place-items: center; color: var(--x-blue); font-size: 1.05rem; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hx-channels .ch:hover { transform: translateY(-3px); border-color: var(--x-blue); box-shadow: 0 8px 18px -10px rgba(58, 74, 216, .6); }
.hx-channels .ch .brand-ico { width: 20px; height: 20px; }
.hx-channels .ch .bi-instagram { color: #c13584; }

/* Hero visual */
.hx-visual { position: relative; padding: 1.5rem 1.5rem 1.5rem 2.5rem; }
.hx-card { background: #fff; border: 1px solid var(--x-line); border-radius: 22px; padding: 1.25rem 1.35rem 1.35rem; box-shadow: 0 30px 60px -28px rgba(15, 22, 53, .35), 0 2px 6px rgba(15, 22, 53, .06); animation: rise .9s var(--s-ease) .25s both; }
.hx-top { display: flex; align-items: center; gap: .75rem; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--x-line); }
.hx-top .dots { display: flex; gap: 5px; } .hx-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--x-blue-100); }
.hx-top .ttl { font-family: var(--s-head); font-weight: 600; color: var(--x-navy); flex: 1; }
.hx-top .live { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: #16794a; background: #e8f6ee; padding: .25rem .6rem; border-radius: 999px; }
.hx-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22a35a; animation: pulse 1.6s infinite; }
.hx-step-lbl { font-size: .78rem; font-weight: 700; color: var(--x-muted); letter-spacing: .02em; margin-bottom: .5rem; }
.hx-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.hx-in > span { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--x-navy); background: var(--x-blue-50); border: 1px solid var(--x-line); border-radius: 10px; padding: .55rem .65rem; }
.hx-in .brand-ico { width: 16px; height: 16px; } .hx-in i { color: var(--x-blue); }
.hx-link { display: block; position: relative; height: 26px; width: 2px; margin: .35rem auto; background: repeating-linear-gradient(180deg, var(--x-blue-100) 0 4px, transparent 4px 7px); }
.hx-link b { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--x-blue); animation: down 1.8s ease-in-out infinite; }
.hx-link + .hx-step-lbl + .hx-ai + .hx-link b { animation-delay: .9s; }
@keyframes down { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 18px; opacity: 0; } }
.hx-ai { display: flex; align-items: center; gap: .8rem; background: linear-gradient(135deg, var(--x-blue), #5260e0); color: #fff; border-radius: 14px; padding: .8rem .9rem; }
.hx-ai .core { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 1.15rem; animation: aiPulse2 2.4s infinite; }
@keyframes aiPulse2 { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .4); } 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
.hx-ai b { display: block; font-size: .92rem; font-weight: 600; }
.hx-ai small { font-size: .78rem; opacity: .88; }
.hx-ai .score { margin-left: auto; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .2); padding: .25rem .55rem; border-radius: 8px; }
.hx-out { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.hx-out li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 600; color: var(--x-navy); border: 1px solid var(--x-line); border-radius: 10px; padding: .55rem .7rem; opacity: 0; animation: slideIn .5s var(--s-ease) forwards; }
.hx-out li:nth-child(1) { animation-delay: 1.1s; } .hx-out li:nth-child(2) { animation-delay: 1.4s; } .hx-out li:nth-child(3) { animation-delay: 1.7s; }
.hx-out .brand-ico { width: 18px; height: 18px; }
.hx-out .bi-check-circle-fill { margin-left: auto; color: #22a35a; }
.hx-float { position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--x-line); border-radius: 14px; padding: .6rem .85rem .6rem .6rem; box-shadow: 0 18px 36px -16px rgba(15, 22, 53, .35); animation: bob 6s ease-in-out infinite; }
.hx-float .ic { width: 34px; height: 34px; border-radius: 10px; background: #e8f6ee; display: grid; place-items: center; }
.hx-float .ic .brand-ico { width: 18px; height: 18px; }
.hx-float .ic.blue { background: var(--x-blue); color: #fff; }
.hx-float b { display: block; font-size: .82rem; font-weight: 600; color: var(--x-navy); }
.hx-float small { font-size: .72rem; color: var(--x-muted); }
.hx-float.f1 { top: -.25rem; left: 0; }
.hx-float.f2 { bottom: -.25rem; right: 0; animation-delay: -3s; }

/* ---------------- SERVICES ---------------- */
.svx { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.6rem; color: var(--x-text); box-shadow: 0 2px 4px rgba(15, 22, 53, .04); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.svx::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--x-blue); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svx:hover { transform: translateY(-6px); border-color: #bcc4f2; box-shadow: 0 22px 44px -22px rgba(15, 22, 53, .35); color: var(--x-text); }
.svx:hover::after { transform: scaleX(1); }
.svx-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--x-blue-50); color: var(--x-blue); display: grid; place-items: center; font-size: 1.5rem; transition: background-color .25s, color .25s; }
.svx:hover .svx-ic { background: var(--x-blue); color: #fff; }
.svx h3 { font-size: 1.2rem; margin: 1.1rem 0 .3rem; }
.svx-punch { font-size: .98rem; font-weight: 600; color: var(--x-blue); }
.svx ul { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .45rem; }
.svx li { position: relative; padding-left: 1.5rem; font-size: .95rem; color: var(--x-muted); }
.svx li::before { content: "\e06c"; font-family: "lucide"; position: absolute; left: 0; top: .05rem; color: var(--x-blue); font-size: .95rem; }
.svx-more { margin-top: auto; padding-top: 1.1rem; font-weight: 600; font-size: .95rem; color: var(--x-blue); display: inline-flex; align-items: center; gap: .35rem; }
.svx-more i { transition: transform .2s; } .svx:hover .svx-more i { transform: translateX(4px); }

/* ---------------- INDUSTRIES (tabs) ---------------- */
.ind-tabs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.ind-tabs button { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; color: var(--x-navy); background: #fff; border: 1.5px solid var(--x-line); padding: .6rem 1rem; border-radius: 999px; transition: all .2s; }
.ind-tabs button i { color: var(--x-blue); transition: color .2s; }
.ind-tabs button:hover { border-color: var(--x-blue); color: var(--x-blue); }
.ind-tabs button.active { background: var(--x-blue); border-color: var(--x-blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(58, 74, 216, .6); }
.ind-tabs button.active i { color: #fff; }
.ind-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; background: var(--x-blue-50); border: 1px solid var(--x-line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.25rem); }
.ind-copy h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin: 0; }
.ind-copy > p { color: var(--x-muted); margin-top: .5rem; font-size: 1.02rem; }
.ind-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
.ind-list li { position: relative; padding-left: 1.6rem; font-size: .95rem; font-weight: 500; color: var(--x-navy); }
.ind-list li::before { content: "\e226"; font-family: "lucide"; position: absolute; left: 0; color: var(--x-blue); }
.ind-ch { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.ind-ch > span { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--x-navy); background: #fff; border: 1px solid var(--x-line); padding: .35rem .7rem; border-radius: 999px; }
.ind-ch .brand-ico { width: 15px; height: 15px; } .ind-ch i { color: var(--x-blue); }
.ind-ch .bi-instagram { color: #c13584; }
.ind-flow { background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.2rem; box-shadow: 0 18px 36px -24px rgba(15, 22, 53, .35); display: grid; gap: .55rem; position: relative; }
.ind-flow .ttl { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--x-muted); margin-bottom: .2rem; }
.f-step { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--x-line); border-radius: 12px; padding: .7rem .8rem; position: relative; }
.f-step + .f-step::before { content: ""; position: absolute; left: 1.95rem; top: -.6rem; height: .6rem; border-left: 2px dashed var(--x-blue-100); }
.f-step .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--x-blue-50); color: var(--x-blue); display: grid; place-items: center; font-size: 1.05rem; }
.f-step .ic .brand-ico { width: 19px; height: 19px; }
.f-step .ic.ai { background: var(--x-blue); color: #fff; }
.f-step b { display: block; font-size: .92rem; font-weight: 600; color: var(--x-navy); }
.f-step small { font-size: .78rem; color: var(--x-muted); }
.tab-pane.fade { transition: opacity .25s linear; }
@media (max-width: 991.98px) { .ind-panel { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .ind-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; }
  .ind-list { grid-template-columns: 1fr; }
}

/* ---------------- CHANNELS ---------------- */
.chx { display: flex; gap: 1rem; align-items: center; height: 100%; background: #fff; border: 1px solid var(--x-line); border-radius: 16px; padding: 1.2rem 1.25rem; transition: transform .25s, border-color .25s, box-shadow .25s; }
.chx:hover { transform: translateY(-4px); border-color: #bcc4f2; box-shadow: 0 18px 36px -22px rgba(15, 22, 53, .35); }
.chx-ic { width: 52px; height: 52px; flex: none; border-radius: 15px; background: var(--x-blue-50); color: var(--x-blue); display: grid; place-items: center; font-size: 1.4rem; }
.chx-ic .brand-ico { width: 26px; height: 26px; }
.chx-ic .bi-instagram { color: #c13584; }
.chx h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.chx p { font-size: .92rem; color: var(--x-muted); margin: 0; }
@media (max-width: 575.98px) { .chx { flex-direction: column; align-items: flex-start; } }

/* ---------------- HOW WE WORK ---------------- */
.steps-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.steps-x::before { content: ""; position: absolute; left: 12%; right: 12%; top: 52px; border-top: 2px dashed var(--x-blue-100); }
.stx { position: relative; background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.4rem; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.stx:hover { transform: translateY(-4px); border-color: #bcc4f2; box-shadow: 0 18px 36px -22px rgba(15, 22, 53, .35); }
.stx-n { position: absolute; top: .9rem; right: 1rem; font-family: var(--s-head); font-weight: 700; font-size: .85rem; color: #bcc4f2; }
.stx-ic { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: var(--x-blue); color: #fff; display: grid; place-items: center; font-size: 1.45rem; box-shadow: 0 0 0 7px var(--x-blue-50); position: relative; }
.stx h3 { font-size: 1.1rem; margin: 1.1rem 0 .35rem; }
.stx p { font-size: .93rem; color: var(--x-muted); margin: 0; }
.stx-when { display: inline-block; margin-top: .85rem; font-size: .8rem; font-weight: 600; color: var(--x-blue); background: var(--x-blue-50); padding: .3rem .7rem; border-radius: 999px; }
@media (max-width: 991.98px) { .steps-x { grid-template-columns: 1fr 1fr; } .steps-x::before { display: none; } }
@media (max-width: 479.98px) { .steps-x { grid-template-columns: 1fr; } }

/* ---------------- WHY US ---------------- */
.whx { height: 100%; background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.4rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.whx:hover { transform: translateY(-4px); border-color: #bcc4f2; box-shadow: 0 18px 36px -22px rgba(15, 22, 53, .35); }
.whx:hover .svx-ic { background: var(--x-blue); color: #fff; }
.whx h3 { font-size: 1.08rem; margin: 1rem 0 .3rem; }
.whx p { font-size: .93rem; color: var(--x-muted); margin: 0; }
.sx-h2-left { text-align: left; }

/* ---------------- FAQ ---------------- */
.faq .accordion-item { border: 1px solid var(--x-line) !important; border-radius: 14px !important; box-shadow: none; }
.faq .accordion-button { font-family: var(--s-head); font-weight: 600; font-size: 1.02rem; color: var(--x-navy); }
.faq .accordion-button:not(.collapsed) { color: var(--x-blue); }
.faq .accordion-body { color: var(--x-muted); font-size: .97rem; }

/* ---------------- CTA ---------------- */
.sx-cta { padding: 0 0 clamp(3rem, 5vw, 4rem); background: #fff; }
.ctx { display: grid; grid-template-columns: 1.3fr auto; gap: 1.5rem 2.5rem; align-items: center; border-radius: 24px; padding: clamp(1.75rem, 4vw, 3rem); color: #fff; background: radial-gradient(60% 100% at 100% 0%, rgba(170, 179, 246, .45), transparent 60%), linear-gradient(135deg, #3a4ad8, #232d8f); box-shadow: 0 30px 60px -30px rgba(58, 74, 216, .7); }
.ctx h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.ctx p { color: rgba(255, 255, 255, .9); margin-top: .6rem; font-size: 1.05rem; max-width: 56ch; }
.ctx-actions { display: flex; flex-direction: column; gap: .65rem; }
@media (max-width: 767.98px) { .ctx { grid-template-columns: 1fr; } .ctx-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------------- FOOTER ---------------- */
.fx { background: var(--x-navy); color: #c4c9e6; padding-top: 3.5rem; font-size: .95rem; }
.fx-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.fx .brand { color: #fff; }
.fx .brand-name { color: #fff; }
.fx .brand-sub { color: #aab3f6; }
.fx-brand > p { margin-top: 1rem; max-width: 36ch; line-height: 1.65; }
.fx-contact { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.fx-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.fx-contact i { color: #aab3f6; margin-top: .15rem; }
.fx h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.fx-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fx a { color: #c4c9e6; transition: color .2s, padding-left .2s; }
.fx-links a:hover { color: #fff; padding-left: 4px; }
.fx-links .fx-all { display: inline-flex; align-items: center; gap: 6px; margin-top: .2rem; font-weight: 600; color: #aab4ff; }
.fx-links .fx-all i { font-size: .85em; transition: transform .2s; }
.fx-links .fx-all:hover { padding-left: 0; }
.fx-links .fx-all:hover i { transform: translateX(3px); }
.fx-contact a:hover { color: #fff; }
.fx .btn-x-primary { color: #fff; }
.fx-bottom { margin-top: 2.75rem; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; color: #93a3c7; }
@media (max-width: 991.98px) { .fx-grid { grid-template-columns: 1fr 1fr; } .fx-brand { grid-column: 1 / -1; } }
@media (max-width: 479.98px) { .fx-grid { grid-template-columns: 1fr; } }

/* Header CTA uses the new button */
.nav-right .btn-x { padding: .7rem 1.1rem; }

@media (max-width: 991.98px) { .hx-visual { padding: 1.5rem .5rem; } }
@media (prefers-reduced-motion: reduce) { .hx-out li { opacity: 1; } }
.hx-visual { padding-top: 3.4rem; padding-bottom: 2.75rem; }

/* =========================================================================
   v8 — centred hero with rotating headline + layered cards,
        one consistent section-head system, tighter rhythm
   Hierarchy: eyebrow (13px blue) → H2 (navy, 2.4rem) → sub (navy 600, 1.15rem) → p (muted 1rem)
   ========================================================================= */

/* ---- Consistent section rhythm ---- */
.sx { padding-block: clamp(2.75rem, 4.5vw, 3.75rem); }
.sx-head { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.sx-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--x-blue); }
.sx-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.2; margin: .5rem auto 0; max-width: 20ch; text-wrap: balance; }
.sx-punch { font-family: var(--s-font); font-size: 1.12rem; font-weight: 600; color: var(--x-navy); margin: .75rem auto 0; text-wrap: balance; }
.sx-desc { font-size: 1rem; line-height: 1.65; color: var(--x-muted); margin: .4rem auto 0; max-width: 58ch; text-wrap: pretty; }
.section-dark .sx-punch { color: #e6ecfa; }
.section-dark .sx-eyebrow { color: #aab3f6; }

/* ---- Buttons: larger hero size ---- */
.btn-x-lg { padding: 1.05rem 1.75rem; font-size: 1.02rem; border-radius: 14px; }
.btn-x-outline i.bi-play-circle { font-size: 1.15rem; }

/* ---- HERO (centred) ---- */
.hz {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 6vw, 4.75rem) 0 0;
  background:
    radial-gradient(45% 55% at 50% 0%, rgba(58, 74, 216, .13), transparent 70%),
    linear-gradient(180deg, #f7f9ff 0%, #eef0fc 62%, #ffffff 100%);
}
.hz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(58, 74, 216, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 74, 216, .055) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(60% 55% at 50% 35%, #000, transparent 85%);
}
.hz > * { position: relative; }
.hz-copy { max-width: 860px; margin: 0 auto; }
.hz-title { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0; color: var(--x-navy); animation: rise .8s var(--s-ease) both; }
.hz-rotate { display: inline-block; position: relative; min-height: 1.15em; padding-bottom: .12em; }
.hz-rotate::after { /* hand-drawn style underline */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -.02em; height: .16em; border-radius: 99px;
  background: linear-gradient(90deg, rgba(58, 74, 216, .0), rgba(58, 74, 216, .35) 15%, rgba(58, 74, 216, .35) 85%, rgba(58, 74, 216, 0));
}
.hz-word { white-space: nowrap; }
.hz-word::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--x-blue); border-radius: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hz-sub { font-family: var(--s-head); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--x-navy); margin: 1.25rem 0 0; animation: rise .8s var(--s-ease) .1s both; }
.hz-desc { font-size: 1.08rem; line-height: 1.7; color: var(--x-muted); max-width: 62ch; margin: .6rem auto 0; animation: rise .8s var(--s-ease) .2s both; }
.hz-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 1.9rem; animation: rise .8s var(--s-ease) .3s both; }
.hz-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.hz-trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .93rem; font-weight: 500; color: var(--x-navy); }
.hz-trust i { color: var(--x-blue); }

/* Layered stage: side cards behind (z2), main card front (z3), chips on top (z4) */
.hz-stage { position: relative; max-width: 1080px; margin: 3rem auto 0; padding-bottom: 3.25rem; display: flex; justify-content: center; text-align: left; }
.hz-main {
  position: relative; z-index: 3; width: min(540px, 100%);
  background: #fff; border: 1px solid var(--x-line); border-radius: 24px; padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: 0 40px 80px -36px rgba(15, 22, 53, .45), 0 12px 24px -16px rgba(15, 22, 53, .18);
  animation: rise .9s var(--s-ease) .35s both;
}
.hz-side {
  position: absolute; z-index: 2; top: 3.25rem; width: 330px;
  background: #fff; border: 1px solid var(--x-line); border-radius: 20px; padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 30px 60px -32px rgba(15, 22, 53, .4);
}
.hz-side h3 { font-size: 1.05rem; margin: .7rem 0 0; }
.hz-left { left: 0; transform: rotate(-4deg); animation: sideL 1s var(--s-ease) .5s both; }
.hz-right { right: 0; transform: rotate(4deg); animation: sideR 1s var(--s-ease) .6s both; }
@keyframes sideL { from { opacity: 0; transform: translate(40px, 30px) rotate(0); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes sideR { from { opacity: 0; transform: translate(-40px, 30px) rotate(0); } to { opacity: 1; transform: rotate(4deg); } }
.hz-side .hc-visual { margin-bottom: 0; }
.hz-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--x-line); border-radius: 14px; padding: .6rem .9rem .6rem .6rem;
  box-shadow: 0 20px 40px -18px rgba(15, 22, 53, .45); animation: bob 6s ease-in-out infinite;
}
.hz-chip .ic { width: 34px; height: 34px; border-radius: 10px; background: #e8f6ee; display: grid; place-items: center; }
.hz-chip .ic .brand-ico { width: 18px; height: 18px; }
.hz-chip .ic.blue { background: var(--x-blue); color: #fff; }
.hz-chip b { display: block; font-size: .84rem; font-weight: 600; color: var(--x-navy); }
.hz-chip small { font-size: .74rem; color: var(--x-muted); }
.hz-chip.c1 { top: .25rem; left: 25%; }
.hz-chip.c2 { bottom: 1.5rem; right: 22%; animation-delay: -3s; }

@media (max-width: 1099.98px) { .hz-side { width: 280px; } .hz-left { left: -1.5rem; } .hz-right { right: -1.5rem; } }
@media (max-width: 991.98px) {
  .hz-side { display: none; }
  .hz-chip.c1 { left: 0; } .hz-chip.c2 { right: 0; }
}
@media (max-width: 575.98px) {
  .hz-word { white-space: normal; }
  .hz-rotate { min-height: 2.3em; }
  .hz-chip { display: none; }
  .hz-actions .btn-x { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hz-word::after { animation: none; } .hz-left, .hz-right { opacity: 1; } }

/* Why cards now a 4-up row */
.whx { text-align: left; }
.sx-head h2 { max-width: 28ch; }
.hz-chip.c1 { top: 1.25rem; left: 6%; }
.hz-chip.c2 { bottom: 2.25rem; right: 6%; }
@media (max-width: 991.98px) { .hz-chip.c1 { top: -1.5rem; left: 0; } .hz-chip.c2 { bottom: 1rem; right: 0; } }

/* =========================================================================
   v9 — Services bento (wide + regular cards) · Our work on a soft blue gradient
   ========================================================================= */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.bx {
  grid-column: span 5; position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--x-line); border-radius: 22px; padding: 1.6rem;
  color: var(--x-text); box-shadow: 0 1px 2px rgba(15, 22, 53, .04), 0 12px 30px -22px rgba(15, 22, 53, .3);
  transition: transform .3s var(--s-ease), box-shadow .3s, border-color .3s; overflow: hidden;
}
.bx-wide { grid-column: span 7; display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: stretch; }
.bx-half { grid-column: span 6; }
.bento > .bx:nth-child(3) { grid-column: span 5; }
.bx:hover { transform: translateY(-5px); border-color: #bcc4f2; box-shadow: 0 28px 50px -26px rgba(15, 22, 53, .4); color: var(--x-text); }
.bx-body { display: flex; flex-direction: column; }
.bx-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.bx-ic {
  width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.55rem; color: #fff;
  background: linear-gradient(140deg, #6573ea 0%, #3a4ad8 55%, #232d8f 100%);
  box-shadow: 0 10px 22px -10px rgba(58, 74, 216, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--s-ease);
}
.bx:hover .bx-ic { transform: rotate(-6deg) scale(1.05); }
.bx-ic.lg { width: 68px; height: 68px; font-size: 1.85rem; border-radius: 20px; }
.bx-cat { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--x-blue); background: var(--x-blue-50); border: 1px solid var(--x-blue-100); padding: .28rem .65rem; border-radius: 999px; }
.bx h3 { font-size: 1.28rem; margin: 1.15rem 0 .45rem; }
.bx-desc { font-size: .97rem; line-height: 1.6; color: var(--x-muted); margin: 0; }
.bx-points { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.bx-points li { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--x-navy); background: var(--x-blue-50); padding: .38rem .7rem; border-radius: 10px; }
.bx-points li::before { content: "\e06c"; font-family: "lucide"; color: var(--x-blue); }
.bx-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
.bx-tools { display: flex; gap: .35rem; }
.bx-tools > * { width: 32px; height: 32px; border-radius: 10px; background: #fff; border: 1px solid var(--x-line); display: grid; place-items: center; color: var(--x-blue); font-size: .95rem; }
.bx-tools .brand-ico { width: 32px; height: 32px; -webkit-mask-size: 16px; mask-size: 16px; border: 0; background-color: var(--c); }
.bx-tools > .brand-ico { box-shadow: inset 0 0 0 1px var(--x-line); }
.bx-more { font-size: .93rem; font-weight: 600; color: var(--x-blue); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.bx-more i { transition: transform .2s; }
.bx:hover .bx-more i { transform: translateX(4px); }
.bx-row { display: flex; gap: 1.25rem; align-items: flex-start; height: 100%; }
.bx-row > div { display: flex; flex-direction: column; height: 100%; flex: 1; }
.bx-row h3 { margin-top: .7rem; }

/* Visual panels inside wide cards */
.bx-visual { border-radius: 18px; background: linear-gradient(160deg, #eef0fc 0%, #e1e5fb 100%); border: 1px solid var(--x-blue-100); padding: 1.1rem; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.bx-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(58, 74, 216, .14) 1px, transparent 1px); background-size: 16px 16px; }
.mini-chat { position: relative; display: grid; gap: .5rem; width: 100%; }
.mini-chat span { max-width: 88%; font-size: .82rem; line-height: 1.4; padding: .55rem .75rem; border-radius: 14px; }
.mini-chat .q { background: #fff; border: 1px solid var(--x-line); border-bottom-left-radius: 4px; color: var(--x-navy); }
.mini-chat .a { justify-self: end; background: var(--x-blue); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 8px 18px -10px rgba(58, 74, 216, .7); }
.mini-chat .tag-ok { justify-self: end; display: inline-flex; gap: .35rem; align-items: center; background: #e8f6ee; color: #16794a; font-weight: 600; font-size: .78rem; }
.mini-hub { position: relative; width: 220px; height: 190px; }
.mini-hub::before, .mini-hub::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1.5px dashed #bcc4f2; border-radius: 50%; transform: translate(-50%, -50%); }
.mini-hub::before { width: 120px; height: 120px; }
.mini-hub::after { width: 190px; height: 190px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.mini-hub .hub { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 18px; background: linear-gradient(140deg, #6573ea, #3a4ad8); color: #fff; display: grid; place-items: center; font-size: 1.5rem; z-index: 2; box-shadow: 0 12px 24px -10px rgba(58, 74, 216, .8); }
.mini-hub .n { position: absolute; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--x-line); display: grid; place-items: center; box-shadow: 0 8px 16px -10px rgba(15, 22, 53, .4); z-index: 2; animation: bob 5s ease-in-out infinite; }
.mini-hub .n .brand-ico { width: 20px; height: 20px; }
.mini-hub .n1 { left: 90px; top: -6px; } .mini-hub .n2 { right: -4px; top: 40px; animation-delay: -1s; } .mini-hub .n3 { right: -4px; bottom: 34px; animation-delay: -2s; }
.mini-hub .n4 { left: 90px; bottom: -8px; animation-delay: -3s; } .mini-hub .n5 { left: -4px; bottom: 34px; animation-delay: -4s; } .mini-hub .n6 { left: -4px; top: 40px; animation-delay: -2.5s; }

/* Mini visuals inside regular cards */
.mini-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: 1.1rem; }
.mini-pipe span { text-align: center; font-size: .72rem; font-weight: 600; color: var(--x-muted); background: var(--x-blue-50); border: 1px solid var(--x-blue-100); border-radius: 12px; padding: .55rem .2rem; }
.mini-pipe b { display: block; font-family: var(--s-head); font-size: 1.15rem; color: var(--x-navy); }
.mini-pipe .on { background: var(--x-blue); border-color: var(--x-blue); color: #e3e6ff; }
.mini-pipe .on b { color: #fff; }
.mini-flow { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-top: 1.1rem; background: var(--x-blue-50); border: 1px solid var(--x-blue-100); border-radius: 14px; padding: .7rem .8rem; }
.mini-flow > span { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--x-line); display: grid; place-items: center; }
.mini-flow > span .brand-ico { width: 20px; height: 20px; }
.mini-flow > span.ai { background: var(--x-blue); color: #fff; border-color: var(--x-blue); font-size: 1.1rem; }
.mini-flow > i { color: #a9b1ec; font-size: .9rem; }

@media (max-width: 991.98px) {
  .bx, .bx-wide, .bx-half, .bento > .bx:nth-child(3) { grid-column: span 12; }
  .bx-wide { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) { .bx-row { flex-direction: column; } .bx-foot { flex-wrap: wrap; } }

/* ---- Our work: soft blue gradient that blends with neighbours ---- */
.work-x {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 60% at 15% 20%, rgba(101, 115, 234, .16), transparent 70%),
    radial-gradient(50% 55% at 90% 75%, rgba(58, 74, 216, .14), transparent 70%),
    linear-gradient(180deg, #eef0fc 0%, #e1e5fb 45%, #eef0fc 80%, #ffffff 100%);
}
.work-x .work-filters button { border: 1px solid var(--x-line); background: #fff; color: var(--x-navy); font-weight: 600; }
.work-x .work-filters button:hover { border-color: var(--x-blue); color: var(--x-blue); }
.work-x .work-filters button.active { background: var(--x-blue); border-color: var(--x-blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(58, 74, 216, .6); }
.work-x .work-card { background: #fff; border: 1px solid var(--x-line); border-radius: 20px; box-shadow: 0 14px 34px -24px rgba(15, 22, 53, .4); transition: transform .3s var(--s-ease), box-shadow .3s; }
.work-x .work-card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -26px rgba(15, 22, 53, .45); }
.work-x .work-body h3 { color: var(--x-navy); font-size: 1.08rem; }
.work-x .work-body p { color: var(--x-muted); }
.work-x .work-poster { background: radial-gradient(90% 80% at 15% 0%, rgba(170, 179, 246, .55), transparent 60%), linear-gradient(150deg, #6573ea, #3a4ad8 55%, #232d8f); }
.work-x .tag { background: var(--x-blue-50); color: var(--x-blue); }
.bx-tools { gap: .7rem; align-items: center; }
.bx-tools > * { width: auto; height: auto; border: 0; background: none; font-size: 1.05rem; }
.bx-tools .brand-ico, .bx-tools > .brand-ico { width: 20px; height: 20px; -webkit-mask-size: contain; mask-size: contain; box-shadow: none; }
.mini-pipe + .bx-points, .mini-flow + .bx-points { margin-top: .9rem; }

/* =========================================================================
   v10 — clarity pass: plain hero, static example, calm motion
   Motion policy: only one-time fade-in on scroll + hover states. No loops.
   ========================================================================= */

/* Section head: eyebrow + H2 + ONE line */
.sx-head { margin-bottom: 2rem; }
.sx-head .sx-desc { margin-top: .7rem; font-size: 1.05rem; }

/* ---- Hero ---- */
.hp {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.75rem, 5vw, 3.75rem); text-align: center;
  background: radial-gradient(45% 55% at 50% 0%, rgba(58, 74, 216, .12), transparent 70%), linear-gradient(180deg, #f7f9ff 0%, #eef0fc 100%);
}
.hp-copy { max-width: 820px; margin: 0 auto; }
.hp-kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--x-blue); background: #fff; border: 1px solid var(--x-line); padding: .45rem .95rem; border-radius: 999px; }
.hp-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.15; letter-spacing: -0.02em; margin: 1.1rem auto 0; max-width: 20ch; text-wrap: balance; }
.hp-sub { font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.65; color: var(--x-muted); max-width: 60ch; margin: 1.1rem auto 0; }
.hp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.hp-trust { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.hp-trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 500; color: var(--x-navy); }
.hp-trust i { color: var(--x-blue); }

.hp-example { max-width: 980px; margin: 2.75rem auto 0; background: #fff; border: 1px solid var(--x-line); border-radius: 22px; padding: 1.4rem 1.5rem 1.6rem; text-align: left; box-shadow: 0 30px 60px -36px rgba(15, 22, 53, .4); }
.hp-ex-head { display: flex; align-items: center; gap: .7rem; font-family: var(--s-head); font-weight: 600; font-size: 1.05rem; color: var(--x-navy); padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--x-line); }
.hp-ex-tag { font-family: var(--s-font); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--x-blue); background: var(--x-blue-50); padding: .25rem .6rem; border-radius: 999px; }
.hp-ex-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: start; }
.hp-ex-step .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--x-blue-50); color: var(--x-blue); }
.hp-ex-step .ic .bi-whatsapp { color: #25d366; }
.hp-ex-step .ic.solid { background: var(--x-blue); color: #fff; }
.hp-ex-step b { display: block; font-family: var(--s-head); font-weight: 600; font-size: 1.05rem; color: var(--x-navy); margin-top: .8rem; }
.hp-ex-step p { font-size: .95rem; color: var(--x-muted); margin: .3rem 0 0; line-height: 1.55; }
.hp-ex-arrow { color: #a9b1ec; font-size: 1.4rem; margin-top: .7rem; }
@media (max-width: 767.98px) {
  .hp-ex-steps { grid-template-columns: 1fr; }
  .hp-ex-arrow { transform: rotate(90deg); margin: 0 0 0 .8rem; }
}

/* ---- Tools row (static, no marquee) ---- */
.tools-row { background: #fff; border-bottom: 1px solid var(--x-line); padding: 1.6rem 0; text-align: center; }
.tools-row-label { font-size: .9rem; font-weight: 600; color: var(--x-muted); margin: 0 0 1rem; }
.tools-row-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; }
.tools-row-list li { display: inline-flex; align-items: center; gap: .5rem; font-size: .98rem; font-weight: 600; color: var(--x-navy); }
.tools-row-list .brand-ico { width: 22px; height: 22px; }

/* ---- Problem cards ---- */
.pb { height: 100%; background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.5rem; transition: border-color .2s, box-shadow .2s; }
.pb:hover { border-color: #bcc4f2; box-shadow: 0 16px 34px -24px rgba(15, 22, 53, .4); }
.pb-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--x-blue-50); color: var(--x-blue); display: grid; place-items: center; font-size: 1.4rem; }
.pb h3 { font-size: 1.12rem; margin: 1rem 0 .4rem; }
.pb p { font-size: .97rem; color: var(--x-muted); margin: 0; line-height: 1.6; }
.pb-fix { display: inline-flex; align-items: center; gap: .15rem; margin-top: 1rem; font-size: .92rem; font-weight: 600; color: var(--x-blue); }
.pb-fix i { font-size: 1.2rem; }

/* ---- How it works (3 steps) ---- */
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; position: relative; }
.how3::before { content: ""; position: absolute; top: 46px; left: 17%; right: 17%; border-top: 2px dashed var(--x-blue-100); }
.how3-step { position: relative; text-align: center; padding: 0 1rem; }
.how3-ic { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 1.75rem; background: #fff; color: var(--x-blue); border: 2px solid var(--x-blue-100); box-shadow: 0 0 0 8px #fff; position: relative; margin-top: 10px; }
.how3-n { position: absolute; top: 0; left: calc(50% + 22px); width: 26px; height: 26px; border-radius: 50%; background: var(--x-blue); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; z-index: 2; }
.how3-step h3 { font-size: 1.15rem; margin: 1.1rem 0 .4rem; }
.how3-step p { font-size: .98rem; color: var(--x-muted); margin: 0 auto; max-width: 30ch; line-height: 1.6; }
@media (max-width: 767.98px) { .how3 { grid-template-columns: 1fr; } .how3::before { display: none; } }

/* ---- Services: calm version (no looping visuals) ---- */
.bento.calm .bx-points li { font-size: .84rem; }
.mini-connect { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.mini-connect > span { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--x-line); border-radius: 12px; padding: .6rem 1rem; font-size: .9rem; font-weight: 600; color: var(--x-navy); min-width: 150px; box-shadow: 0 8px 18px -14px rgba(15, 22, 53, .4); }
.mini-connect .brand-ico { width: 20px; height: 20px; }
.mini-connect > i { color: var(--x-blue); transform: rotate(90deg); }

/* ---- Industries grid ---- */
.indc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.indc { background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.4rem; transition: border-color .2s, box-shadow .2s; scroll-margin-top: 100px; }
.indc:hover { border-color: #bcc4f2; box-shadow: 0 16px 34px -24px rgba(15, 22, 53, .4); }
.indc-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--x-blue-50); color: var(--x-blue); display: grid; place-items: center; font-size: 1.4rem; }
.indc h3 { font-size: 1.08rem; margin: 1rem 0 .35rem; }
.indc p { font-size: .95rem; color: var(--x-muted); margin: 0; line-height: 1.55; }
@media (max-width: 991.98px) { .indc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .indc-grid { grid-template-columns: 1fr; } }

/* ---- Example workflows ---- */
.wf { height: 100%; background: #fff; border: 1px solid var(--x-line); border-radius: 20px; padding: 1.5rem; box-shadow: 0 14px 34px -26px rgba(15, 22, 53, .4); }
.wf-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--x-blue); background: var(--x-blue-50); padding: .3rem .7rem; border-radius: 999px; }
.wf h3 { font-size: 1.15rem; margin: .9rem 0 1rem; }
.wf-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: .55rem; }
.wf-steps li { position: relative; display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 500; color: var(--x-navy); background: var(--x-blue-50); border-radius: 12px; padding: .7rem .85rem; }
.wf-steps li + li::before { content: ""; position: absolute; left: 1.45rem; top: -.55rem; height: .55rem; border-left: 2px solid var(--x-blue-100); }
.wf-steps .brand-ico { width: 20px; height: 20px; flex: none; }
.wf-steps li > i { color: var(--x-blue); font-size: 1.15rem; width: 20px; text-align: center; flex: none; }
.video-block-title { font-size: 1.25rem; text-align: center; margin: 2.75rem 0 1.25rem; }

/* ---- Working with us ---- */
.wk { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem; }
.wk-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.wk-steps li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--x-line); border-radius: 16px; padding: 1.1rem 1.2rem; }
.wk-steps .n { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--x-blue); color: #fff; font-family: var(--s-head); font-weight: 600; display: grid; place-items: center; }
.wk-steps h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.wk-steps p { font-size: .95rem; color: var(--x-muted); margin: 0; }
.wk-why { background: #fff; border: 1px solid var(--x-line); border-radius: 20px; padding: 1.5rem 1.6rem; }
.wk-why h3 { font-size: 1.2rem; margin: 0 0 1.1rem; }
.wk-why ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.wk-why li { display: flex; gap: .9rem; align-items: flex-start; }
.wk-why li > i { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--x-blue-50); color: var(--x-blue); display: grid; place-items: center; font-size: 1.15rem; }
.wk-why b { display: block; font-family: var(--s-head); font-weight: 600; color: var(--x-navy); }
.wk-why span { font-size: .95rem; color: var(--x-muted); }
@media (max-width: 991.98px) { .wk { grid-template-columns: 1fr; } }

/* Only background loops stay off */
.marquee-track, .mini-hub::after, .mini-hub .n { animation: none !important; }
.hp-sub, .sx-desc { text-wrap: balance; }

/* =========================================================================
   v11 — balanced: 2-line hero with phrase swap, purposeful motion,
         fewer cards (table, stepper, list+detail, timeline, two-column FAQ)
   ========================================================================= */

/* Hero headline: two lines, whole-phrase fade swap (no typing) */
.hz-title { font-size: clamp(2.2rem, 4.8vw, 3.75rem); }
.hz-swap { display: block; color: var(--x-blue); min-height: 1.2em; }
.hz-phrase { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.hz-phrase.out { opacity: 0; transform: translateY(10px); }
.hz-desc { margin-top: 1.1rem; }

/* Stage: side cards kept clear of the main card so nothing is cut off */
.hz-side { width: 262px; top: 5rem; }
.hz-left { left: 0; }
.hz-right { right: 0; }
.hz-side .hc-visual { min-height: 0; }
.hz-chip.c1 { top: 1.5rem; left: 3%; }
.hz-chip.c2 { bottom: 1.25rem; right: 3%; }
@media (max-width: 1199.98px) { .hz-side { display: none; } .hz-chip.c1 { left: 4%; } .hz-chip.c2 { right: 4%; } }
@media (max-width: 767.98px) { .hz-chip { display: none; } .hz-swap { min-height: 2.4em; } }

/* Split section head (heading left, paragraph right) */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.split-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.2; margin: .5rem 0 0; }
.split-head p { font-size: 1.05rem; line-height: 1.7; color: var(--x-muted); margin: 0; }
@media (max-width: 767.98px) { .split-head { grid-template-columns: 1fr; } }

/* Before / after comparison table */
.ba { background: #fff; border: 1px solid var(--x-line); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(15, 22, 53, .4); }
.ba-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; padding: 1rem 1.5rem; align-items: center; border-top: 1px solid var(--x-line); font-size: 1rem; transition: background-color .2s; }
.ba-row:not(.ba-headrow):hover { background: #f8faff; }
.ba-row > span:first-child { display: flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--x-navy); }
.ba-row > span:first-child i { color: var(--x-blue); font-size: 1.1rem; }
.ba-row > span:nth-child(2) { color: var(--x-muted); }
.ba-row > span:nth-child(3) { color: var(--x-navy); font-weight: 600; }
.ba-headrow { border-top: 0; background: var(--x-blue-50); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--x-muted); }
.ba-headrow > span { display: flex; align-items: center; gap: .45rem; }
.ba-headrow > span:nth-child(2) i { color: #c2410c; }
.ba-headrow > span:nth-child(3) { color: var(--x-blue); }
.ba-headrow > span:nth-child(3) i { color: var(--x-blue); }
@media (max-width: 767.98px) {
  .ba-row { grid-template-columns: 1fr; gap: .25rem; }
  .ba-headrow { display: none; }
  .ba-row > span:nth-child(2)::before { content: "Today: "; font-weight: 600; }
  .ba-row > span:nth-child(3)::before { content: "With Serotonin: "; color: var(--x-blue); }
}

/* Interactive stepper */
.stepper { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: stretch; }
.st-nav { display: grid; gap: .75rem; align-content: start; }
.st-tab { position: relative; display: flex; gap: 1rem; text-align: left; background: #fff; border: 1.5px solid var(--x-line); border-radius: 16px; padding: 1.1rem 1.2rem 1.25rem; cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.st-tab:hover { border-color: #bcc4f2; }
.st-tab .n { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; font-family: var(--s-head); font-weight: 600; background: var(--x-blue-50); color: var(--x-blue); transition: background-color .2s, color .2s; }
.st-tab b { display: block; font-family: var(--s-head); font-weight: 600; font-size: 1.05rem; color: var(--x-navy); }
.st-tab small { display: block; font-size: .95rem; color: var(--x-muted); margin-top: .2rem; line-height: 1.5; }
.st-tab .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.st-tab .bar i { display: block; height: 100%; width: 0; background: var(--x-blue); }
.st-tab.active { border-color: var(--x-blue); box-shadow: 0 16px 32px -24px rgba(58, 74, 216, .6); }
.st-tab.active .n { background: var(--x-blue); color: #fff; }
.stepper.auto .st-tab.active .bar i { animation: fillbar 6s linear forwards; }
@keyframes fillbar { to { width: 100%; } }
.st-panels { position: relative; border-radius: 22px; background: linear-gradient(160deg, #eef0fc, #e1e5fb); border: 1px solid var(--x-blue-100); padding: 1.5rem; display: grid; place-items: center; min-height: 360px; }
.st-panel { grid-area: 1 / 1; width: 100%; max-width: 440px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.st-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.sp-card { background: #fff; border: 1px solid var(--x-line); border-radius: 18px; padding: 1.2rem; box-shadow: 0 24px 48px -28px rgba(15, 22, 53, .45); }
.sp-head { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--x-muted); padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1px solid var(--x-line); }
.sp-head .brand-ico { width: 18px; height: 18px; }
.sp-head i { color: var(--x-blue); }
.sp-chat { display: grid; gap: .5rem; }
.sp-chat .m { max-width: 92%; font-size: .95rem; line-height: 1.5; padding: .65rem .85rem; border-radius: 14px; }
.sp-chat .in { background: var(--x-blue-50); color: var(--x-navy); border-bottom-left-radius: 4px; }
.sp-chat .out { justify-self: end; background: var(--x-blue); color: #fff; border-bottom-right-radius: 4px; margin-top: .9rem; }
.sp-note { display: flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--x-muted); margin: .9rem 0 0; }
.sp-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sp-facts li { background: var(--x-blue-50); border-radius: 12px; padding: .6rem .75rem; }
.sp-facts span { display: block; font-size: .75rem; font-weight: 600; color: var(--x-muted); text-transform: uppercase; letter-spacing: .05em; }
.sp-facts b { font-size: .98rem; color: var(--x-navy); }
.sp-done { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.sp-done li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 500; color: var(--x-navy); border: 1px solid var(--x-line); border-radius: 12px; padding: .7rem .8rem; }
.sp-done .brand-ico { width: 20px; height: 20px; flex: none; }
.sp-done li > i { color: var(--x-blue); font-size: 1.1rem; }
.st-panel.active .sp-done li { animation: slideIn .45s var(--s-ease) both; }
.st-panel.active .sp-done li:nth-child(2) { animation-delay: .1s; } .st-panel.active .sp-done li:nth-child(3) { animation-delay: .2s; } .st-panel.active .sp-done li:nth-child(4) { animation-delay: .3s; }
@media (max-width: 991.98px) { .stepper { grid-template-columns: 1fr; } .st-panels { min-height: 300px; } }

/* Industries: visible list + detail panel */
.indx { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: start; }
.indx-list { display: flex; flex-direction: column; gap: .35rem; }
.indx-list button { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; font-size: 1rem; font-weight: 600; color: var(--x-navy); background: transparent; border: 1.5px solid transparent; border-radius: 12px; padding: .75rem .9rem; transition: background-color .2s, border-color .2s, color .2s; scroll-margin-top: 100px; }
.indx-list button i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--x-blue-50); color: var(--x-blue); font-size: 1.05rem; transition: background-color .2s, color .2s; }
.indx-list button:hover { background: #f6f7fe; }
.indx-list button.active { background: #fff; border-color: var(--x-blue); color: var(--x-blue); box-shadow: 0 12px 26px -20px rgba(58, 74, 216, .6); }
.indx-list button.active i { background: var(--x-blue); color: #fff; }
.indx-panels { background: linear-gradient(160deg, #f7f9ff, #eef0fc); border: 1px solid var(--x-line); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); min-height: 100%; }
.indx-panels h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin: 0; }
.indx-panels .tab-pane > p { font-size: 1.05rem; line-height: 1.7; color: var(--x-muted); margin: .75rem 0 0; max-width: 62ch; }
.indx-list-items { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.25rem; }
.indx-list-items li { position: relative; padding-left: 1.7rem; font-size: 1rem; font-weight: 500; color: var(--x-navy); }
.indx-list-items li::before { content: "\e226"; font-family: "lucide"; position: absolute; left: 0; top: .05rem; color: var(--x-blue); }
.indx-panels .ind-ch { margin-top: 1.5rem; }
@media (max-width: 991.98px) {
  .indx { grid-template-columns: 1fr; }
  .indx-list { flex-direction: row; overflow-x: auto; padding-bottom: .4rem; }
  .indx-list button { width: auto; white-space: nowrap; }
}
@media (max-width: 575.98px) { .indx-list-items { grid-template-columns: 1fr; } }

/* Workflow cards: short description line */
.wf-desc { font-size: .97rem; color: var(--x-muted); margin: -.5rem 0 1rem; line-height: 1.55; }

/* Process timeline (no boxes) */
.tl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.tl::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--x-blue-100), var(--x-blue), var(--x-blue-100)); }
.tl li { position: relative; text-align: center; }
.tl-dot { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #fff; border: 2px solid var(--x-blue); color: var(--x-blue); display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 0 0 6px var(--x-blue-50); transition: background-color .2s, color .2s; }
.tl li:hover .tl-dot { background: var(--x-blue); color: #fff; }
.tl-when { display: inline-block; margin-top: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--x-blue); }
.tl h3 { font-size: 1.12rem; margin: .35rem 0 .35rem; }
.tl p { font-size: .97rem; color: var(--x-muted); margin: 0 auto; max-width: 26ch; line-height: 1.55; }
@media (max-width: 767.98px) { .tl { grid-template-columns: 1fr 1fr; } .tl::before { display: none; } }

.why-row { list-style: none; padding: 1.5rem 0 0; margin: 2.5rem 0 0; border-top: 1px solid var(--x-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why-row li { display: flex; gap: .75rem; align-items: flex-start; }
.why-row i { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; color: var(--x-blue); border: 1px solid var(--x-line); display: grid; place-items: center; font-size: 1.1rem; }
.why-row b { display: block; font-family: var(--s-head); font-weight: 600; color: var(--x-navy); }
.why-row span { font-size: .93rem; color: var(--x-muted); }
@media (max-width: 991.98px) { .why-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .why-row { grid-template-columns: 1fr; } }

/* FAQ: two columns */
.faqx { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.faqx-head { position: sticky; top: 100px; }
.faqx-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.2; margin: .5rem 0 0; }
.faqx-head p { font-size: 1.05rem; line-height: 1.7; color: var(--x-muted); margin: .8rem 0 1.4rem; }
.faqx .faq-wrap { max-width: none; }
@media (max-width: 991.98px) { .faqx { grid-template-columns: 1fr; } .faqx-head { position: static; } }

/* Subtle hover lifts are back (small, not bouncy) */
.bx:hover, .wf:hover { transform: translateY(-3px); }
.wf { transition: transform .25s var(--s-ease), box-shadow .25s; }
.wf:hover { box-shadow: 0 24px 44px -26px rgba(15, 22, 53, .45); }
.btn-x:hover { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .hz-phrase, .st-panel { transition: none; }
  .stepper.auto .st-tab.active .bar i { animation: none; }
}
/* v11 fixes */
.hz-copy { max-width: 1120px; }
.hz-title { font-size: clamp(2.1rem, 4.3vw, 3.4rem); }
.hz-desc { max-width: 62ch; margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .hz-swap { white-space: nowrap; } }
.split-head h2 { text-wrap: balance; }
.indx { align-items: start; }
.indx-panels { min-height: 0; }
.indx-list button { padding: .6rem .8rem; }
.indx-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--x-line); font-size: .95rem; color: var(--x-muted); }
.indx-cta a { font-weight: 600; color: var(--x-blue); display: inline-flex; align-items: center; gap: .35rem; }

/* =========================================================================
   v12 — DESIGN SYSTEM (source of truth; overrides everything above)
   Colour: Indigo #3A4AD8 (brand) · Sky #7CC4FA (accent) · Ink #0F1635 · neutrals
   Type:   Bricolage Grotesque (display) + DM Sans (body)
           Scale 56 / 40 / 28 / 20 / 16 (+14 small, 13 label)
   Icons:  Lucide only (brand logos via Simple Icons for real tools)
   Cards:  24px padding · 16px radius · 1px border · shadow-sm → hover lift 3px + shadow-md
   ========================================================================= */
:root {
  /* brand */
  --c-indigo: #3a4ad8;
  --c-indigo-700: #2b37ad;
  --c-indigo-50: #eef0fc;
  --c-indigo-100: #e1e5fb;
  --c-marigold: #7cc4fa;
  --c-marigold-700: #1d5a93;
  --c-marigold-50: #e8f4fe;
  /* neutrals */
  --c-ink: #0f1635;
  --c-text: #2a3150;
  --c-muted: #4a5372;
  --c-line: #dde1f2;
  --c-bg: #f7f8fe;

  /* map older tokens onto the system */
  --x-blue: var(--c-indigo); --x-blue-dk: var(--c-indigo-700); --x-blue-50: var(--c-indigo-50); --x-blue-100: var(--c-indigo-100);
  --x-navy: var(--c-ink); --x-text: var(--c-text); --x-muted: var(--c-muted); --x-line: var(--c-line);
  --s-accent: var(--c-indigo); --s-accent-hover: var(--c-indigo-700); --s-accent-soft: var(--c-indigo-50); --s-accent-softer: #f6f7fe;
  --s-ink: var(--c-ink); --s-text: var(--c-ink); --s-muted: var(--c-muted); --s-line: var(--c-line);
  --s-bg: var(--c-bg); --s-surface-2: var(--c-indigo-50); --s-hero-bg: var(--c-indigo-50);
  --bs-link-color-rgb: 58, 74, 216; --bs-link-hover-color-rgb: 43, 55, 173; --bs-focus-ring-color: rgba(58, 74, 216, .28);

  /* type */
  --font-display: "Bricolage Grotesque", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-head: var(--font-display); --s-font: var(--font-body);
  --t-56: clamp(2.375rem, 4.6vw, 3.5rem);
  --t-40: clamp(1.875rem, 3.2vw, 2.5rem);
  --t-28: clamp(1.5rem, 2.2vw, 1.75rem);
  --t-20: 1.25rem;
  --t-16: 1rem;
  --t-14: .875rem;
  --t-13: .8125rem;

  /* cards */
  --card-pad: 24px;
  --card-radius: 16px;
  --card-border: 1px solid var(--c-line);
  --shadow-sm: 0 1px 2px rgba(15, 22, 53, .05), 0 6px 18px -12px rgba(15, 22, 53, .18);
  --shadow-md: 0 2px 4px rgba(15, 22, 53, .05), 0 22px 40px -22px rgba(15, 22, 53, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Base type ---- */
body { font-family: var(--font-body); font-size: var(--t-16); line-height: 1.65; color: var(--c-text); background: var(--c-bg); }
h1, h2, h3, h4, h5, .brand-name { font-family: var(--font-display); color: var(--c-ink); font-optical-sizing: auto; }
h1 { font-weight: 700; letter-spacing: -0.025em; }
h2 { font-weight: 700; letter-spacing: -0.02em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }

/* Scale applied everywhere — no per-section sizes */
.hz-title, .hp-title { font-size: var(--t-56) !important; line-height: 1.08; }
.sx-head h2, .split-head h2, .faqx-head h2, .ctx h2, .page-hero h1 { font-size: var(--t-40) !important; line-height: 1.15; }
.indx-panels h3, .hz-main .ttl { font-size: var(--t-28); line-height: 1.25; }
.indx-panels h3 { font-size: var(--t-28) !important; }
.svc-card h3, .wf h3, .st-tab b, .tl h3, .faq .accordion-button, .bx h3 { font-size: var(--t-20) !important; line-height: 1.3; }
.sx-desc, .split-head p, .faqx-head p, .hz-desc, .indx-panels .tab-pane > p, .ctx p, .svc-card p, .wf-desc, .st-tab small, .tl p, .faq .accordion-body { font-size: var(--t-16) !important; }
.hz-desc { font-size: var(--t-20) !important; line-height: 1.6; }
.wf-steps li, .bx-points li, .ind-ch > span, .hz-trust li, .why-row span, .tools-row-list li { font-size: var(--t-14) !important; }

/* ---- Eyebrow labels: AA contrast (8.2:1 on tint) + marigold tick ---- */
.sx-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-body); font-size: var(--t-13); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-indigo-700); }
.sx-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--c-marigold); }
.sx-head .sx-eyebrow { justify-content: center; }

/* ---- Icon containers: one style everywhere ---- */
.ic-box, .bx-ic, .pb-ic, .indc-ic, .svx-ic, .chx-ic, .svc-ic {
  width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-indigo-50); color: var(--c-indigo); font-size: 22px; box-shadow: none; transform: none;
}
.ic-box.solid { background: var(--c-indigo); color: #fff; }
[class^="icon-"], [class*=" icon-"] { line-height: 1; display: inline-block; }

/* ---- Cards: one standard ---- */
.svc-card, .wf, .st-tab, .indx-panels, .ba, .sp-card, .faq .accordion-item, .bx, .pb, .indc {
  border: var(--card-border) !important; border-radius: var(--card-radius) !important; box-shadow: var(--shadow-sm);
}
.svc-card, .wf, .bx, .pb, .indc { padding: var(--card-pad) !important; background: #fff; }
.svc-card, .wf, .st-tab, .bx, .pb, .indc { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.svc-card:hover, .wf:hover, .st-tab:hover, .bx:hover, .pb:hover, .indc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #bcc4f2 !important; }
.st-tab.active { border-color: var(--c-indigo) !important; }

/* ---- Services: six identical horizontal cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-card { display: flex; gap: 20px; align-items: flex-start; color: var(--c-text); }
.svc-card:hover { color: var(--c-text); }
.svc-card .svc-body { flex: 1; display: flex; flex-direction: column; height: 100%; }
.svc-card h3 { margin: 2px 0 8px; }
.svc-card p { color: var(--c-muted); margin: 0; line-height: 1.6; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.svc-tools { display: flex; align-items: center; gap: 12px; color: var(--c-indigo); font-size: 18px; }
.svc-tools .brand-ico { width: 18px; height: 18px; }
.svc-link { font-size: var(--t-14); font-weight: 600; color: var(--c-indigo-700); display: inline-flex; align-items: center; gap: 6px; }
.svc-link i { transition: transform .2s; }
.svc-card:hover .svc-link i { transform: translateX(3px); }
@media (max-width: 767.98px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---- Hero: asymmetric split ---- */
.hz { text-align: left; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem); background:
  radial-gradient(50% 60% at 85% 20%, rgba(58, 74, 216, .14), transparent 70%),
  radial-gradient(35% 40% at 70% 85%, rgba(124, 196, 250, .14), transparent 70%),
  linear-gradient(180deg, #f8f9ff 0%, #eef0fc 100%); }
.hz-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hz-copy { max-width: none; margin: 0; }
.hz-badge { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--t-14); font-weight: 600; color: var(--c-ink); background: #fff; border: 1px solid var(--c-line); padding: .4rem .85rem .4rem .5rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hz-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c-marigold); color: var(--c-ink); display: grid; place-items: center; font-size: 13px; }
.hz-title { margin: 1.1rem 0 0; text-align: left; }
.hz-swap { display: block; color: var(--c-indigo); white-space: normal; min-height: 2.2em; }
.hz-phrase { position: relative; background: linear-gradient(transparent 68%, rgba(124, 196, 250, .45) 68%, rgba(124, 196, 250, .45) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hz-desc { margin: 1.1rem 0 0; max-width: 54ch; color: var(--c-muted); }
.hz-actions { justify-content: flex-start; margin-top: 1.75rem; }
.hz-trust { justify-content: flex-start; }
.hz-trust i { color: var(--c-indigo); }

.hz-stage { margin: 0; padding: 2.5rem 0 2.5rem 2.5rem; max-width: none; display: block; position: relative; }
.hz-main { width: 100%; max-width: 480px; margin-left: auto; transform: rotate(1.5deg); }
.hz-side.hz-left { display: block; width: 250px; left: -6px; top: auto; bottom: 0; transform: rotate(-5deg); z-index: 4; animation: none; }
.hz-side.hz-right { display: none; }
.hz-chip.c1 { top: .75rem; left: 0; right: auto; bottom: auto; }
.hz-chip.c2 { top: 0; right: -6px; left: auto; bottom: auto; background: var(--c-ink); border-color: var(--c-ink); }
.hz-chip.c2 b { color: #fff; } .hz-chip.c2 small { color: #c4c9e6; }
.hz-chip.c2 .ic.blue { background: var(--c-marigold); color: var(--c-ink); }
@media (max-width: 991.98px) {
  .hz-grid { grid-template-columns: 1fr; }
  .hz-stage { padding: 2rem 0 0; }
  .hz-main { margin: 0 auto; transform: none; }
  .hz-side.hz-left { display: none; }
}
@media (max-width: 575.98px) { .hz-chip { display: none; } .hz-swap { min-height: 3.3em; } }

/* ---- Buttons: indigo, consistent ---- */
.btn-x { font-family: var(--font-body); }
.btn-x-primary { background: var(--c-indigo); box-shadow: 0 10px 22px -10px rgba(58, 74, 216, .65); }
.btn-x-primary:hover { background: var(--c-indigo-700); }
.btn-x-outline { color: var(--c-indigo-700); border-color: var(--c-indigo); }
.btn-x-outline:hover { background: var(--c-indigo); color: #fff; }

/* Accent touches (sparingly) */
.hx-top .live, .hc-live { color: var(--c-marigold-700); background: var(--c-marigold-50); }
.hx-top .live::before, .hc-live::before { background: var(--c-marigold); box-shadow: none; }
.st-tab .bar i { background: linear-gradient(90deg, var(--c-indigo), var(--c-marigold)); }
.nav-pills-s .nav-link[aria-current="page"] { background: var(--c-indigo); }
/* v12 hero fixes */
.hz-phrase { display: inline; transform: none !important; }
.hz-phrase.out { opacity: 0; }
.hz-main .ttl { font-size: 1.05rem !important; }
.hz-main { max-width: 440px; }
.hz-chip.c1 { top: 44%; left: 0; }
.hz-chip.c2 { top: .5rem; right: 0; }
.hz-main { transform: rotate(2deg); }
.hz-chip.c2 { top: -1.4rem; right: 1.25rem; }
.hx-out li > i { margin-left: auto; color: #1f9d55; font-size: 18px; }
.hz-main { transform: none; rotate: 2deg; }

/* =========================================================================
   v13 — AI Voice Agents: 7th service card + voice showcase
   ========================================================================= */
/* 7th card spans the full row so the grid stays complete */
.svc-card.svc-wide { grid-column: 1 / -1; }
.svc-new { display: inline-block; margin-left: .5rem; vertical-align: middle; font-family: var(--font-body); font-size: var(--t-13); font-weight: 700; letter-spacing: .04em; color: var(--c-marigold-700); background: var(--c-marigold-50); padding: .15rem .55rem; border-radius: 999px; }

.voice-x { background: radial-gradient(50% 60% at 90% 30%, rgba(58, 74, 216, .12), transparent 70%), linear-gradient(180deg, #ffffff 0%, #f3f5fe 100%); }
.vx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.vx-copy h2 { font-size: var(--t-40); line-height: 1.15; margin: .6rem 0 0; text-wrap: balance; }
.vx-lead { font-size: var(--t-16); line-height: 1.7; color: var(--c-muted); margin: 1rem 0 0; max-width: 56ch; }
.vx-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.vx-list li { display: flex; gap: .85rem; align-items: flex-start; font-size: var(--t-16); color: var(--c-muted); line-height: 1.55; }
.vx-list li > i { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--c-indigo-50); color: var(--c-indigo); display: grid; place-items: center; font-size: 18px; }
.vx-list b { color: var(--c-ink); font-weight: 600; }
.vx-langs { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.vx-langs span { font-size: var(--t-14); font-weight: 600; color: var(--c-indigo-700); background: #fff; border: 1px solid var(--c-line); padding: .35rem .8rem; border-radius: 999px; }

.vx-call { margin: 0; background: #fff; border: var(--card-border); border-radius: 20px; padding: var(--card-pad); box-shadow: var(--shadow-md); }
.vx-call-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); }
.vx-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-indigo); color: #fff; display: grid; place-items: center; font-size: 20px; position: relative; }
.vx-avatar::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(58, 74, 216, .35); animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.vx-call-head b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--c-ink); }
.vx-call-head small { font-size: var(--t-13); color: var(--c-muted); }
.vx-tag { margin-left: auto; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--c-muted); background: var(--c-indigo-50); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.vx-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin: 1rem 0 .5rem; }
.vx-wave i { width: 4px; height: 30%; border-radius: 4px; background: linear-gradient(180deg, var(--c-indigo), var(--c-marigold)); animation: wave 1.2s ease-in-out infinite; }
.vx-wave i:nth-child(2n) { animation-delay: -.3s; } .vx-wave i:nth-child(3n) { animation-delay: -.6s; } .vx-wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
.vx-transcript { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .65rem; }
.vx-transcript li { max-width: 88%; border-radius: 14px; padding: .65rem .85rem; }
.vx-transcript .caller { background: var(--c-indigo-50); border-bottom-left-radius: 4px; }
.vx-transcript .agent { justify-self: end; background: var(--c-indigo); color: #fff; border-bottom-right-radius: 4px; }
.vx-transcript .who { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .75; margin-bottom: .15rem; }
.vx-transcript p { margin: 0; font-size: var(--t-14); line-height: 1.5; font-weight: 500; }
.vx-transcript small { display: block; margin-top: .25rem; font-size: .78rem; font-style: italic; opacity: .78; line-height: 1.4; }
.vx-result { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.vx-result > span { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-13); font-weight: 600; color: var(--c-ink); background: #f6f7fe; border: 1px solid var(--c-line); padding: .35rem .7rem; border-radius: 999px; }
.vx-result i { color: var(--c-indigo); font-size: 15px; }
.vx-result .brand-ico { width: 15px; height: 15px; }
@media (max-width: 991.98px) { .vx { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vx-wave i, .vx-avatar::after { animation: none; } }

/* =========================================================================
   v14 — comparison table with highlighted Serotonin column + CTA notes
   ========================================================================= */
.cmp-wrap { position: relative; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: var(--card-border); border-radius: 20px; box-shadow: var(--shadow-sm); }
.cmp th, .cmp td { padding: 16px 24px; text-align: left; vertical-align: middle; border-top: 1px solid var(--c-line); font-size: var(--t-16); }
.cmp thead th { border-top: 0; padding-top: 20px; padding-bottom: 20px; font-size: var(--t-13); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.cmp thead th i { margin-right: .4rem; font-size: 16px; vertical-align: -2px; }
.cmp-task { width: 30%; }
.cmp-old { width: 32%; }
.cmp tbody th[scope="row"] { font-weight: 600; color: var(--c-ink); }
.cmp tbody th[scope="row"] i { color: var(--c-indigo); font-size: 18px; margin-right: .6rem; vertical-align: -3px; }

/* "usual way" cells: muted with a soft ✕ */
.cmp td.cmp-old { color: var(--c-muted); }
.cmp td.cmp-old::before { content: "\e084"; font-family: "lucide"; color: #c0392b; opacity: .7; margin-right: .55rem; font-size: 15px; vertical-align: -2px; }

/* Serotonin column: tinted, bordered, raised */
.cmp .cmp-us { background: #f3f5ff; border-left: 2px solid var(--c-indigo); border-right: 2px solid var(--c-indigo); color: var(--c-ink); font-weight: 600; }
.cmp td.cmp-us::before { content: "\e226"; font-family: "lucide"; color: #1f9d55; margin-right: .55rem; font-size: 16px; vertical-align: -2px; font-weight: 400; }
.cmp thead th.cmp-us { background: var(--c-indigo); color: #fff; border: 2px solid var(--c-indigo); border-top-right-radius: 0; position: relative; }
.cmp-brand { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--t-14); letter-spacing: .06em; }
.cmp-brand img { width: 22px; height: 22px; border-radius: 6px; background: #fff; padding: 2px; }
.cmp thead tr th:last-child { border-top-right-radius: 18px; }
.cmp thead tr th:first-child { border-top-left-radius: 18px; }

/* Row groups */
.cmp .cmp-group th { background: var(--c-indigo-50); font-family: var(--font-body); font-size: var(--t-13); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-indigo-700); padding-top: 12px; padding-bottom: 12px; }
.cmp .cmp-group th i { margin-right: .45rem; font-size: 15px; vertical-align: -2px; }

.cmp tbody tr:not(.cmp-group) { transition: background-color .2s; }
.cmp tbody tr:not(.cmp-group):hover th, .cmp tbody tr:not(.cmp-group):hover td.cmp-old { background: #fafbff; }
.cmp tbody tr:not(.cmp-group):hover td.cmp-us { background: #e9edff; }

/* Footer row with CTA */
.cmp tfoot td { border-top: 1px solid var(--c-line); padding-top: 20px; padding-bottom: 20px; }
.cmp tfoot td:first-child { border-bottom-left-radius: 18px; }
.cmp tfoot .cmp-foot { border-bottom: 2px solid var(--c-indigo); border-bottom-right-radius: 18px; }
.cmp tfoot .cmp-foot::before, .cmp tfoot .cmp-foot-note::before { content: none; }
.cmp-foot-note { font-weight: 600; color: var(--c-ink) !important; }

@media (max-width: 767.98px) {
  .cmp, .cmp thead, .cmp tbody, .cmp tfoot, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp { border: 0; background: transparent; box-shadow: none; }
  .cmp thead { display: none; }
  .cmp tbody { margin-bottom: 1rem; }
  .cmp .cmp-group th { border-radius: 12px; margin-bottom: .6rem; }
  .cmp tbody tr:not(.cmp-group) { background: #fff; border: var(--card-border); border-radius: 14px; margin-bottom: .6rem; overflow: hidden; box-shadow: var(--shadow-sm); }
  .cmp th, .cmp td { border-top: 0; padding: 10px 16px; }
  .cmp .cmp-us { border: 0; border-top: 1px solid var(--c-line); }
  .cmp td[data-label]::after { content: none; }
  .cmp td.cmp-old::before, .cmp td.cmp-us::before { margin-right: .4rem; }
  .cmp td[data-label] { position: relative; }
  .cmp td.cmp-old { padding-top: 2px; }
  .cmp tfoot td:first-child, .cmp tfoot .cmp-foot-note { display: none; }
  .cmp tfoot .cmp-foot { border: 0; background: transparent; padding: 0; }
  .cmp tfoot .btn-x { width: 100%; }
}

/* CTA curiosity notes */
.cta-note { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; font-size: var(--t-14); color: var(--c-muted); }
.cta-note i { color: var(--c-indigo); font-size: 16px; }
.ctx .cta-note { color: rgba(255, 255, 255, .85); margin-top: .75rem; }
.ctx .cta-note i { color: #fff; }

/* =========================================================================
   Text selection: content stays selectable/copyable; UI chrome and
   decorative mock-ups are not (selecting them looks like a glitch)
   ========================================================================= */
::selection { background: rgba(58, 74, 216, .22); color: inherit; }

.btn-x, .btn-s, .nav-link, .nav-pills-s, .navbar-toggler, .brand, .mega-item, .mega-all,
.st-tab, .indx-list button, .work-filters button, .accordion-button, .svc-link, .link-arrow,
.hz-stage, .hz-chip, .vx-call-head, .vx-wave, .vx-result, .cmp thead, .cmp-group, .cmp tfoot,
.sx-eyebrow, .hz-badge, .tools-row-list, .svc-tools, .svc-ic, .icon-chip, [class^="icon-"], [class*=" icon-"],
.brand-ico, .vx-langs, .ind-ch, .wf-tag, .tl-dot, .tl-when, .sp-head {
  -webkit-user-select: none; user-select: none;
}

/* Contact details always selectable, even inside UI elements */
a[href^="mailto:"], a[href^="tel:"], .fx-contact, .contact-line, address {
  -webkit-user-select: text; user-select: text;
}

/* =========================================================================
   v16 — auto-scrolling tool logo band · unified section heads · FAQ links
   ========================================================================= */
.logo-band { background: #fff; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 28px 0 32px; overflow: hidden; }
.logo-band-label { text-align: center; font-size: var(--t-14); font-weight: 600; letter-spacing: .02em; color: var(--c-muted); margin: 0 0 20px; }
.logo-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll 45s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-track ul { list-style: none; margin: 0; padding: 0 8px; display: flex; gap: 16px; }
.logo-track li {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--c-ink);
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 12px 22px 12px 14px;
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.logo-track li:hover { border-color: #bcc4f2; box-shadow: var(--shadow-md); }
.logo-track .brand-ico { width: 32px; height: 32px; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .logo-track li { font-size: 1rem; padding: 10px 16px 10px 12px; } .logo-track .brand-ico { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .logo-track ul[aria-hidden="true"] { display: none; }
  .logo-track ul { flex-wrap: wrap; justify-content: center; }
}

/* One section-head pattern everywhere: eyebrow → h2 → one description, centred */
.sx-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sx-head h2 { margin: 12px auto 0; max-width: 24ch; text-wrap: balance; }
.sx-head .sx-desc { margin: 14px auto 0; max-width: 62ch; color: var(--c-muted); line-height: 1.7; text-wrap: balance; }
.vx-copy .vx-list { margin-top: 0; }

/* FAQ: centred head, accordion below, deep-link icon */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq .accordion-button { gap: .75rem; }
.faq-foot { text-align: center; margin-top: 28px; }
.faq-foot p { color: var(--c-muted); margin: 0 0 14px; }
.faq .accordion-item { scroll-margin-top: 110px; }

/* =========================================================================
   v17 — crisp hero card (no rotation blur) · voice section without dead space
         · tighter section rhythm
   ========================================================================= */
/* Hero card: no rotation (rotated text renders soft). Asymmetry via offset + chips */
.hz-main { rotate: none !important; transform: none !important; margin-left: auto; margin-right: 0;
  -webkit-font-smoothing: antialiased; backface-visibility: visible; will-change: auto; }
.hz-stage { padding: 2.25rem 0 1.5rem 2rem; }
.hz-stage::before { content: ""; position: absolute; right: -18px; bottom: -6px; width: 78%; height: 82%;
  border-radius: 24px; background: linear-gradient(140deg, var(--c-indigo-100), rgba(124, 196, 250, .35)); z-index: 0; }
.hz-main, .hz-chip { position: relative; z-index: 2; }
.hz-chip { position: absolute; }
.hz-chip.c1 { top: 46%; left: 0; }
.hz-chip.c2 { top: .5rem; right: 1.5rem; }

/* Tighter vertical rhythm across all sections */
.sx { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.sx-head { margin-bottom: 28px; }

/* Voice: two equal-height panels, no floating gaps */
.vx { align-items: stretch; gap: 20px; }
.vx-copy { display: flex; flex-direction: column; background: #fff; border: var(--card-border); border-radius: 20px;
  padding: var(--card-pad); box-shadow: var(--shadow-sm); }
.vx-list { gap: 0; margin: 0; }
.vx-list li { padding: 12px 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.vx-list li:first-child { padding-top: 0; }
.vx-copy .vx-langs { margin-top: 18px; }
.vx-copy .btn-x { margin-top: auto !important; align-self: flex-start; }
.vx-copy .vx-langs + .btn-x { margin-top: 20px !important; }
.vx-call { display: flex; flex-direction: column; }
.vx-wave { height: 30px; margin: 10px 0 4px; }
.vx-transcript { gap: 8px; }
.vx-transcript li { padding: 8px 12px; }
.vx-transcript small { margin-top: 2px; }
.vx-result { margin-top: auto; padding-top: 14px; }
.vx-transcript { margin-bottom: 14px; }
.hz-chip.c2 { top: -.4rem; right: -1rem; }

/* =========================================================================
   v18 — spacing pass (≈⅔ padding), slim tools strip, 2-col FAQ, footer social
   ========================================================================= */
.sx { padding-block: clamp(1.75rem, 2.8vw, 2.4rem); }
.sx-head { margin-bottom: 22px; }
.sx-cta { padding-bottom: clamp(2rem, 3vw, 2.6rem); }

/* Hero flows straight into the tools strip */
.hz { padding-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.logo-band { padding: 12px 0 14px; border-top: 0; }
.logo-band-label { margin-bottom: 10px; font-size: var(--t-13); }
.logo-track li { padding: 8px 18px 8px 12px; font-size: 1rem; }
.logo-track .brand-ico { width: 26px; height: 26px; }

/* Working with us: tighter value-prop row */
.why-row { padding-top: 1rem; margin-top: 1.5rem; gap: .9rem; }
.why-row i { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
.tl { gap: 1rem; }
.tl-when { margin-top: .7rem; }

/* FAQ: two independent columns on desktop */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; max-width: none; align-items: start; }
.faq-col { display: grid; gap: 10px; }
.faq-grid .accordion-item { margin-bottom: 0 !important; }
.faq-grid .accordion-button { padding: 14px 18px; font-size: 1rem !important; }
.faq-foot { margin-top: 18px; }
@media (max-width: 767.98px) { .faq-grid { grid-template-columns: 1fr; } }

/* Footer social icons (Lucide, one style) */
.fx-social { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; gap: .5rem; }
.fx-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s, border-color .2s; }
.fx-social a:hover { background: var(--c-indigo); border-color: var(--c-indigo); color: #fff; padding-left: 0; }

/* Footer social: one bundled group of real brand logos */
.fx-social-wrap { display: inline-flex; align-items: center; gap: 12px; margin-top: 1.25rem; padding: 6px 6px 6px 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; }
.fx-social-label { font-size: var(--t-13); font-weight: 600; color: #c4c9e6; white-space: nowrap; }
.fx-social { margin: 0; gap: 6px; }
.fx-social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 0; transition: transform .2s, box-shadow .2s; }
.fx-social a:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .55); }
.fx-social .brand-ico { width: 18px; height: 18px; }

/* =========================================================================
   v19 — header legibility
   Inactive nav links: #2a3150 on white = 13.0:1 (AA/AAA). Tagline ≥ 12px.
   ========================================================================= */
.nav-pills-s .nav-link { font-family: var(--font-body); font-weight: 500; letter-spacing: .015em; color: #2a3150; font-size: .95rem; }
.nav-pills-s .nav-link:hover, .nav-pills-s .nav-link.show { color: var(--c-indigo-700); background: var(--c-indigo-50); }
.nav-pills-s .nav-link[aria-current="page"] { color: #fff; font-weight: 600; }
/* Logo text: the header style, used in the footer too (wide-spaced wordmark, muted "AI Development") */
.site-header .brand-name, .fx .brand-name { letter-spacing: .1em; }
.site-header .brand-sub, .fx .brand-sub { font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .03em; color: #4a5372; margin-top: .25rem; }
.fx .brand-sub { color: #a9b2cf; } /* footer is always dark navy: same muted tone as the dark-mode header */
.mega-item b { font-weight: 600; color: var(--c-ink); }
.mega-item small { color: #4a5372; }
.mega .mega-all { grid-column: 1 / -1; }
.hz-title { margin-top: 0; }

/* =========================================================================
   v20 — nav: same font family as body content + liquid-glass treatment
   ========================================================================= */
.site-header .nav-link, .site-header .mega-item, .site-header .mega-all, .site-header .btn-x,
.site-header .brand-sub, .site-header .navbar-toggler { font-family: var(--font-body); }

/* Header bar itself becomes clear so the glass pill floats over content */
.site-header, .site-header.is-scrolled { background: transparent !important; border-bottom-color: transparent !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -24px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 248, 254, .85) 0%, rgba(247, 248, 254, .55) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Liquid glass pill */
.nav-pills-s {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 100%);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(58, 74, 216, .06),
              0 8px 24px -12px rgba(15, 22, 53, .25), 0 1px 2px rgba(15, 22, 53, .06);
}
.nav-pills-s::before { /* glossy sheen across the top half */
  content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); pointer-events: none; z-index: -1;
}

/* Hover: lighter frosted bubble */
.nav-pills-s .nav-link { position: relative; transition: color .2s, background .25s, box-shadow .25s; }
.nav-pills-s .nav-link:hover, .nav-pills-s .nav-link.show {
  color: var(--c-indigo-700);
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(238, 240, 252, .6));
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(58, 74, 216, .12), 0 4px 12px -6px rgba(58, 74, 216, .35);
}

/* Current page: indigo glass drop */
.nav-pills-s .nav-link[aria-current="page"], .nav-pills-s .nav-link[aria-current="page"]:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(101, 115, 234, .95) 0%, rgba(58, 74, 216, .95) 55%, rgba(43, 55, 173, .95) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(15, 22, 53, .18),
              0 6px 16px -6px rgba(58, 74, 216, .7);
  text-shadow: 0 1px 1px rgba(15, 22, 53, .25);
}

/* Dropdown panel matches the glass */
.mega { background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 24px 48px -20px rgba(15, 22, 53, .35); }

/* Header CTA gets the same glassy highlight */
.site-header .btn-x-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(58, 74, 216, .7);
  background: linear-gradient(180deg, #5260e0, var(--c-indigo) 55%, var(--c-indigo-700)); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-pills-s, .mega { background: rgba(255, 255, 255, .96); }
}

/* Header CTA: simple flat button (overrides the glossy v20 treatment) */
.site-header .btn-x-primary { background: var(--c-indigo); box-shadow: none; }
.site-header .btn-x-primary:hover { background: var(--c-indigo-700); box-shadow: none; transform: none; }

/* =========================================================================
   About page (follows home system: .sx rhythm, .sx-head, card standard)
   ========================================================================= */
.ab-hero { padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  background: radial-gradient(50% 60% at 85% 20%, rgba(58, 74, 216, .12), transparent 70%), linear-gradient(180deg, #f8f9ff 0%, #eef0fc 100%); }
.ab-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.ab-title { font-size: var(--t-56); line-height: 1.08; margin: 14px 0 0; max-width: 18ch; text-wrap: balance; }
.ab-lead { font-size: var(--t-20); line-height: 1.6; color: var(--c-muted); margin: 16px 0 0; max-width: 54ch; }

.ab-facts { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: var(--card-pad); box-shadow: var(--shadow-md); }
.ab-facts-title { font-size: var(--t-20) !important; margin: 0 0 12px; }
.ab-facts dl { margin: 0; }
.ab-facts dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--c-line); }
.ab-facts dt { display: flex; align-items: center; gap: 8px; font-size: var(--t-14); font-weight: 600; color: var(--c-muted); }
.ab-facts dt i { color: var(--c-indigo); font-size: 16px; }
.ab-facts dd { margin: 0; font-size: var(--t-14); font-weight: 600; color: var(--c-ink); }

.ab-story { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.ab-prose { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: var(--card-pad); box-shadow: var(--shadow-sm); }
.ab-prose p { font-size: var(--t-16); line-height: 1.75; color: var(--c-text); margin: 0; }
.ab-prose p + p { margin-top: 14px; }
.ab-quote { margin: 0; border-radius: var(--card-radius); padding: var(--card-pad); color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(70% 80% at 100% 0%, rgba(124, 196, 250, .35), transparent 60%), linear-gradient(135deg, var(--c-indigo), var(--c-indigo-700)); }
.ab-quote > i { font-size: 28px; opacity: .7; }
.ab-quote blockquote { font-family: var(--font-display); font-size: var(--t-28); line-height: 1.3; font-weight: 600; margin: 12px 0 0; }
.ab-quote figcaption { margin-top: 14px; font-size: var(--t-14); color: rgba(255, 255, 255, .8); }

.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-card { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: var(--card-pad); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.ab-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #bcc4f2; }
.ab-card h3 { font-size: var(--t-20); margin: 16px 0 8px; }
.ab-card p { font-size: var(--t-16); line-height: 1.6; color: var(--c-muted); margin: 0; }

.ab-values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.ab-values li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--c-line); }
.ab-values .n { font-family: var(--font-display); font-size: var(--t-20); font-weight: 700; color: var(--c-indigo); min-width: 32px; }
.ab-values h3 { font-size: var(--t-20); margin: 0 0 4px; }
.ab-values p { font-size: var(--t-16); color: var(--c-muted); margin: 0; line-height: 1.6; }

.ab-services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-services a { display: flex; align-items: center; gap: 12px; height: 100%; background: #fff; border: var(--card-border); border-radius: 14px;
  padding: 12px 14px; font-weight: 600; font-size: var(--t-14); color: var(--c-ink); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ab-services .ic-box { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
.ab-services .go { margin-left: auto; color: var(--c-indigo); font-size: 16px; transition: transform .2s; }
.ab-services a:hover { border-color: #bcc4f2; box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--c-ink); }
.ab-services a:hover .go { transform: translateX(3px); }
.ab-services a.all { background: var(--c-indigo); color: #fff; border-color: var(--c-indigo); justify-content: center; }
.ab-services a.all .go { color: #fff; margin-left: 8px; }
.ab-cta { padding-top: clamp(1.75rem, 2.8vw, 2.4rem); }

@media (max-width: 991.98px) {
  .ab-grid, .ab-story { grid-template-columns: 1fr; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) { .ab-values, .ab-services { grid-template-columns: 1fr; } .ab-facts dl > div { grid-template-columns: 1fr; gap: 2px; } }
.ab-get { list-style: none; padding: 0; margin: 0; }
.ab-get li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--c-line); }
.ab-get li > i { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--c-indigo-50); color: var(--c-indigo); display: grid; place-items: center; font-size: 17px; }
.ab-get b { display: block; font-size: var(--t-16); color: var(--c-ink); }
.ab-get span { font-size: var(--t-14); color: var(--c-muted); }

/* =========================================================================
   Services page (same system as home/about)
   ========================================================================= */
.sv-jump ul { list-style: none; padding: 0; margin: 0; }
.sv-jump a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-top: 1px solid var(--c-line); font-size: var(--t-14); font-weight: 600; color: var(--c-ink); transition: color .2s; }
.sv-jump a > i:first-child { width: 30px; height: 30px; border-radius: 8px; background: var(--c-indigo-50); color: var(--c-indigo); display: grid; place-items: center; font-size: 15px; }
.sv-jump .go { margin-left: auto; color: var(--c-indigo); font-size: 15px; transition: transform .2s; }
.sv-jump a:hover { color: var(--c-indigo-700); }
.sv-jump a:hover .go { transform: translateX(3px); }

.sv-list { display: grid; gap: 16px; }
.sv { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; background: #fff; border: var(--card-border); border-radius: var(--card-radius);
  padding: var(--card-pad); box-shadow: var(--shadow-sm); scroll-margin-top: 100px; transition: box-shadow .25s var(--ease), border-color .25s; }
.sv:hover { box-shadow: var(--shadow-md); border-color: #bcc4f2; }
.sv-top { display: flex; align-items: center; justify-content: space-between; }
.sv h3 { font-size: var(--t-28); margin: 14px 0 8px; }
.sv-replaces { font-weight: 600; color: var(--c-ink); margin: 0; }
.sv-what { color: var(--c-muted); line-height: 1.7; margin: 8px 0 0; }
.sv-tools { display: flex; gap: 14px; margin-top: 16px; }
.sv-tools .brand-ico { width: 22px; height: 22px; }
.sv-side { background: #f6f7fe; border: 1px solid var(--c-line); border-radius: 14px; padding: 20px; }
.sv-side h4 { font-family: var(--font-body); font-size: var(--t-13); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-indigo-700); margin: 0 0 10px; }
.sv-uses { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sv-uses li { position: relative; padding-left: 26px; font-size: var(--t-16); color: var(--c-ink); font-weight: 500; }
.sv-uses li::before { content: "\e226"; font-family: "lucide"; position: absolute; left: 0; top: 1px; color: #1f9d55; }
.sv-meta { margin: 16px 0 0; display: grid; gap: 10px; }
.sv-meta > div { padding-top: 10px; border-top: 1px solid var(--c-line); }
.sv-meta dt { display: flex; align-items: center; gap: 6px; font-size: var(--t-13); font-weight: 700; color: var(--c-ink); }
.sv-meta dt i { color: var(--c-indigo); font-size: 15px; }
.sv-meta dd { margin: 4px 0 0; font-size: var(--t-14); color: var(--c-muted); line-height: 1.55; }

.so-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.so { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: var(--card-pad); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.so:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #bcc4f2; }
.so h3 { font-size: var(--t-20); margin: 14px 0 6px; }
.so > p { color: var(--c-muted); margin: 0; }
.so-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.so-compare > div { border-radius: 12px; padding: 12px 14px; font-size: var(--t-14); line-height: 1.55; }
.so-compare span { display: block; font-size: var(--t-13); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.so-compare .before { background: #f6f7fe; border: 1px solid var(--c-line); color: var(--c-muted); }
.so-compare .before span { color: var(--c-muted); }
.so-compare .after { background: var(--c-indigo-50); border: 1px solid var(--c-indigo-100); color: var(--c-ink); font-weight: 500; }
.so-compare .after span { color: var(--c-indigo-700); }
@media (max-width: 991.98px) { .sv { grid-template-columns: 1fr; } .so-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .so-compare { grid-template-columns: 1fr; } }
.ab-title { margin-top: 0; }

/* =========================================================================
   Contact page
   ========================================================================= */
.ct-hero { padding: clamp(2rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2vw, 1.75rem); text-align: center;
  background: radial-gradient(50% 70% at 50% 0%, rgba(58, 74, 216, .12), transparent 70%), linear-gradient(180deg, #f8f9ff 0%, #eef0fc 100%); }
.ct-title { font-size: var(--t-56); line-height: 1.08; margin: 0 auto; max-width: 20ch; text-wrap: balance; }
.ct-lead { font-size: var(--t-20); line-height: 1.6; color: var(--c-muted); margin: 14px auto 0; max-width: 60ch; text-wrap: balance; }
.ct-main { padding: clamp(1.5rem, 2.5vw, 2rem) 0 clamp(2.5rem, 4vw, 3.5rem); background: linear-gradient(180deg, #eef0fc 0%, #f7f8fe 220px); }
/* Both columns share one height: the form card stretches, and the last side card fills what's left,
   so the bottoms line up whichever column is taller (also when form errors make the form grow). */
.ct-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.ct-form-card, .ct-card { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.ct-form-card { box-shadow: var(--shadow-md); }
.ct-form-title { font-size: var(--t-28) !important; margin: 0; }
.ct-form-sub { color: var(--c-muted); font-size: .9375rem; margin: 8px 0 22px; }
.req { color: #c0392b; font-weight: 700; }
.ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-full { grid-column: 1 / -1; }
.ct-field .form-label { font-weight: 600; font-size: .9375rem; color: var(--c-ink); margin-bottom: 7px; }
.ct-field .opt { font-weight: 400; color: var(--c-muted); }
.ct-field .form-control, .ct-field .form-select { background-color: #fff; border: 1.5px solid var(--c-line); border-radius: 12px; padding: 12px 14px; font-size: var(--t-16); color: var(--c-ink); }
.ct-field .form-control::placeholder { color: #8a92ad; }
.ct-field .form-select:invalid { color: #8a92ad; }
.ct-field .form-select option { color: var(--c-ink); }
.ct-field .form-control:focus, .ct-field .form-select:focus { border-color: var(--c-indigo); box-shadow: 0 0 0 4px rgba(58, 74, 216, .15); }
.ct-field .form-control.is-invalid, .ct-field .form-select.is-invalid { border-color: #c0392b; }
.ct-field .form-control.is-valid, .ct-field .form-select.is-valid { border-color: #1f9d55; }
.ct-hint { display: block; margin-top: 6px; font-size: var(--t-14); color: var(--c-muted); }
.ct-field .invalid-feedback { font-size: var(--t-14); color: #b42318; }
.ct-field .form-check-label { font-size: .9375rem; line-height: 1.55; color: var(--c-muted); }
.ct-success { text-align: center; padding: 32px 8px; }
.ct-success .ic-box { margin: 0 auto; }
.ct-success h2 { font-size: var(--t-28) !important; margin: 16px 0 8px; }
.ct-success p { color: var(--c-muted); margin: 0 auto 20px; max-width: 44ch; }

.ct-side { display: grid; gap: 16px; grid-template-rows: auto 1fr; }
.ct-side-title { font-size: 1.375rem !important; margin: 0 0 8px; }
.ct-list { list-style: none; padding: 0; margin: 0; }
/* Label on its own row; the icon is centred against the values below it (one line or two) */
.ct-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 0; border-top: 1px solid var(--c-line); }
.ct-list li > small { grid-column: 2; grid-row: 1; margin: 0 !important; }
.ct-list li > .ic-box { grid-column: 1; grid-row: 2; }
.ct-list li > div { grid-column: 2; grid-row: 2; min-width: 0; }
/* WhatsApp: the number like the other values, plus a small "Open chat" pill in the site's indigo */
.ct-list .ct-wa-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ct-list .ct-wa-row > a { display: inline-flex !important; margin: 0 !important; }
.ct-list a.ct-wa { align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: var(--t-13); font-weight: 700;
  color: var(--c-on-tint); background: var(--c-indigo-50); border: 1px solid var(--c-indigo-100); transition: background .2s, color .2s, border-color .2s; }
.ct-list a.ct-wa:hover { color: #fff; background: var(--c-indigo); border-color: var(--c-indigo); }
.ct-list a.ct-wa i { font-size: 13px; }
[data-bs-theme="dark"] .ct-list a.ct-wa { color: #c3c9ff; }
[data-bs-theme="dark"] .ct-list a.ct-wa:hover { color: #fff; }
.ct-list li:first-child { border-top: 0; }
.ct-list .ic-box { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; flex: none; }
.ct-list .ic-box .brand-ico { width: 20px; height: 20px; }
.ct-list small { display: block; margin-bottom: 2px; font-size: var(--t-14); color: var(--c-muted); }
.ct-list a, .ct-list address { font-weight: 600; color: var(--c-ink); font-style: normal; margin: 0; font-size: 1.0625rem; }
.ct-list a:hover { color: var(--c-indigo-700); }
.ct-steps { list-style: none; padding: 0; margin: 0; }
.ct-steps li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.ct-steps li:first-child { border-top: 0; }
.ct-steps li > span { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--c-indigo); color: #fff; font-weight: 700; font-size: var(--t-14); display: grid; place-items: center; }
.ct-steps b { display: block; margin-bottom: 2px; font-size: 1.0625rem; color: var(--c-ink); }
.ct-steps small { color: var(--c-muted); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 991.98px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .ct-fields { grid-template-columns: 1fr; } }
.ct-form-card .req, .ct-field .form-label .req { color: #c0392b; }

/* =========================================================================
   Legal pages (privacy, terms)
   ========================================================================= */
.lg-hero { padding: clamp(2rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2vw, 1.75rem);
  background: radial-gradient(50% 70% at 50% 0%, rgba(58, 74, 216, .12), transparent 70%), linear-gradient(180deg, #f8f9ff 0%, #eef0fc 100%); text-align: center; }
.lg-title { font-size: var(--t-56); line-height: 1.08; margin: 0; }
.lg-lead { font-size: var(--t-20); color: var(--c-muted); line-height: 1.6; max-width: 62ch; margin: 14px auto 0; text-wrap: balance; }
.lg-updated { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: var(--t-14); font-weight: 600; color: var(--c-indigo-700);
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 6px 14px; }
.lg-main { padding: clamp(1.5rem, 2.5vw, 2rem) 0 clamp(2.5rem, 4vw, 3.5rem); background: linear-gradient(180deg, #eef0fc 0%, #f7f8fe 200px); }
.lg-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.lg-toc { position: sticky; top: 100px; background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: 20px; box-shadow: var(--shadow-sm); }
.lg-toc h2 { font-family: var(--font-body); font-size: var(--t-13) !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-indigo-700); margin: 0 0 10px; }
.lg-toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--c-line); }
.lg-toc li a { display: block; margin-left: -1px; padding: 6px 12px; border-left: 2px solid transparent; font-size: var(--t-14); font-weight: 500; color: var(--c-muted); transition: color .2s, border-color .2s; }
.lg-toc li a:hover { color: var(--c-indigo-700); border-left-color: var(--c-indigo); }
[data-bs-theme="dark"] .lg-toc li a:hover { color: var(--c-ink); border-left-color: var(--c-link); }
.lg-other { display: flex !important; align-items: center; gap: 8px; margin-top: 12px; padding-top: 14px !important; border-top: 1px solid var(--c-line); border-radius: 0 !important; color: var(--c-indigo-700) !important; font-weight: 600 !important; }
.lg-body { background: #fff; border: var(--card-border); border-radius: var(--card-radius); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--shadow-md); }
.lg-sec { padding: 22px 0; border-top: 1px solid var(--c-line); scroll-margin-top: 100px; }
.lg-sec:first-child { padding-top: 0; border-top: 0; }
.lg-sec h2 { font-size: var(--t-20) !important; margin: 0 0 12px; letter-spacing: -.01em; }
.lg-sec h3 { font-family: var(--font-body); font-size: var(--t-16) !important; font-weight: 700; color: var(--c-ink); margin: 18px 0 6px; }
.lg-sec p, .lg-sec li { font-size: var(--t-16); line-height: 1.75; color: var(--c-text); }
.lg-sec p { margin: 0 0 12px; max-width: 72ch; }
.lg-sec ul { padding-left: 0; list-style: none; margin: 4px 0 14px; display: grid; gap: 6px; max-width: 72ch; }
.lg-sec li { position: relative; padding-left: 20px; }
.lg-sec li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-indigo); }
[data-bs-theme="dark"] .lg-sec li::before { background: var(--c-link); }
.lg-address { font-style: normal; margin: 4px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--c-surface-2); border: 1px solid var(--c-line); font-size: var(--t-16); line-height: 1.7; color: var(--c-text); }
.lg-address b { display: block; color: var(--c-ink); }
.lg-address a { color: var(--c-indigo-700); font-weight: 600; }
/* Email addresses in the legal pages: no underline (other in-text links keep theirs) */
.lg-sec a[href^="mailto:"] { text-decoration: none; }
.lg-sec a[href^="mailto:"]:hover { color: var(--c-indigo); }
[data-bs-theme="dark"] .lg-sec a[href^="mailto:"]:hover { color: var(--c-ink); }
[data-bs-theme="dark"] .lg-address a { color: var(--c-link); }
.lg-hero .sx-eyebrow { display: inline-block; margin-bottom: 10px; }
.lg-sec b { color: var(--c-ink); }
.lg-sec a, .lg-contact a { color: var(--c-indigo-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lg-contact { display: flex; gap: 14px; align-items: center; margin-top: 8px; padding: 18px; border-radius: 14px; background: var(--c-indigo-50); border: 1px solid var(--c-indigo-100); }
.lg-contact b { display: block; color: var(--c-ink); }
.lg-contact span { color: var(--c-muted); font-size: var(--t-14); }
@media (max-width: 991.98px) { .lg-grid { grid-template-columns: 1fr; } .lg-toc { position: static; } }
.fx-bottom a { color: #c4c9e6; text-decoration: underline; text-underline-offset: 3px; }
.fx-bottom a:hover { color: #fff; }

/* Pre-launch fixes (section 1) */
/* Section headings never fade in, so they are always fully visible (incl. full-page captures) */
.sx-head.reveal, .reveal .sx-head { opacity: 1 !important; transform: none !important; }
/* Logo strip: softer, wider edge fade so logos entering/leaving never look cropped */
.logo-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.sv h3 .svc-new { font-size: var(--t-13); vertical-align: middle; }

/* =========================================================================
   THEMES — light (default) and dark via Bootstrap's data-bs-theme on <html>.
   Surface tokens below are what components use; dark overrides re-point them.
   ========================================================================= */
:root, [data-bs-theme="light"] {
  --c-surface: #ffffff;        /* cards */
  --c-surface-2: #f6f7fe;      /* inset panels inside cards */
  --c-section: #ffffff;        /* .bg-white sections */
  --c-section-tint: #eef0fc;   /* .bg-tint sections */
  --c-link: var(--c-indigo-700);
  --c-on-tint: var(--c-indigo-700);
  --c-ok: #1f9d55;
  --c-bad: #c0392b;
  --c-hero-a: #f8f9ff; --c-hero-b: #eef0fc;
  --shadow-sm: 0 1px 2px rgba(15, 22, 53, .05), 0 6px 18px -12px rgba(15, 22, 53, .18);
  --shadow-md: 0 2px 4px rgba(15, 22, 53, .05), 0 22px 40px -22px rgba(15, 22, 53, .32);
  --nav-glass: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.34));
  --nav-glass-border: rgba(255,255,255,.7);
  color-scheme: light;
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  /* neutrals */
  --c-bg: #0b1020;
  --c-section: #0b1020;
  --c-section-tint: #10172b;
  --c-surface: #151d33;
  --c-surface-2: #1b2440;
  --c-line: #2a3557;
  --c-ink: #eef1fb;            /* headings: 15.9:1 on surface */
  --c-text: #d0d6ea;           /* body:     11.5:1 */
  --c-muted: #a9b2cf;          /* muted:    7.6:1  */
  /* brand on dark */
  --c-indigo-50: #1d2650;
  --c-indigo-100: #2b3670;
  --c-link: #aab4ff;           /* links/eyebrows: 8.3:1 on surface */
  --c-on-tint: #c3c9ff;
  --c-ok: #4ade80;
  --c-bad: #ff8a80;
  --c-hero-a: #0d1428; --c-hero-b: #10172b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 22px -12px rgba(0, 0, 0, .7);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .55), 0 26px 48px -22px rgba(0, 0, 0, .85);
  --nav-glass: linear-gradient(135deg, rgba(30,40,72,.6), rgba(21,29,51,.42));
  --nav-glass-border: rgba(170,180,255,.16);
  --card-border: 1px solid var(--c-line);
  /* legacy token aliases used by older rules */
  --x-navy: var(--c-ink); --x-text: var(--c-text); --x-muted: var(--c-muted); --x-line: var(--c-line);
  --x-blue-50: var(--c-indigo-50); --x-blue-100: var(--c-indigo-100);
  --s-ink: var(--c-ink); --s-text: var(--c-ink); --s-muted: var(--c-muted); --s-faint: #8f98b8; --s-line: var(--c-line); --s-line-strong: #3a4673;
  --s-bg: var(--c-bg); --s-surface: var(--c-surface); --s-surface-2: var(--c-section-tint); --s-accent-soft: var(--c-indigo-50); --s-accent-softer: #19213c;
  --bs-body-bg: var(--c-bg); --bs-body-color: var(--c-text); --bs-border-color: var(--c-line);
  --bs-emphasis-color: var(--c-ink); --bs-secondary-color: var(--c-muted);
  --bs-link-color-rgb: 170, 180, 255; --bs-link-hover-color-rgb: 205, 211, 255;
}

/* Smooth colour change on toggle, but never on first paint */
html.js body, html.js .site-header, html.js .fx { transition: background-color .25s ease, color .25s ease; }
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }

/* Content is only hidden for the scroll fade-in when JS is actually running */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Page + sections ---------- */
body { background: var(--c-bg); color: var(--c-text); }
.bg-white, .sx.bg-white, .logo-band, .sx-cta, .tools-strip.bg-white { background: var(--c-section) !important; }
.bg-tint, .sx.bg-tint { background: var(--c-section-tint) !important; }
[data-bs-theme="dark"] .hz, [data-bs-theme="dark"] .ab-hero, [data-bs-theme="dark"] .ct-hero, [data-bs-theme="dark"] .lg-hero, [data-bs-theme="dark"] .hp {
  background: radial-gradient(50% 60% at 85% 15%, rgba(90, 104, 255, .22), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(124, 196, 250, .10), transparent 70%), linear-gradient(180deg, var(--c-hero-a), var(--c-hero-b)) !important; }
[data-bs-theme="dark"] .ct-main, [data-bs-theme="dark"] .lg-main { background: var(--c-section-tint) !important; }
[data-bs-theme="dark"] .work-x { background: radial-gradient(55% 60% at 15% 20%, rgba(90, 104, 255, .16), transparent 70%), linear-gradient(180deg, var(--c-section-tint), #121a33 50%, var(--c-section)) !important; }
[data-bs-theme="dark"] .voice-x { background: radial-gradient(50% 60% at 90% 30%, rgba(90, 104, 255, .16), transparent 70%), linear-gradient(180deg, var(--c-section), var(--c-section-tint)) !important; }
/* Hero grid pattern: the Home hero's 48px grid, repeated on every page hero so all pages match.
   Content sits above the grid (z-index 1). */
.ab-hero, .page-hero, .ct-hero, .lg-hero { position: relative; overflow: hidden; }
.ab-hero::before, .page-hero::before, .ct-hero::before, .lg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(58, 74, 216, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 74, 216, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000, transparent 85%); mask-image: radial-gradient(70% 80% at 50% 30%, #000, transparent 85%); }
:is(.ab-hero, .page-hero, .ct-hero, .lg-hero) > * { position: relative; z-index: 1; }

/* Hero grid: the light-mode lines are dark indigo, which vanish on navy, so dark mode draws them in light indigo */
[data-bs-theme="dark"] :is(.hz, .ab-hero, .page-hero, .ct-hero, .lg-hero)::before {
  background-image: linear-gradient(rgba(170, 180, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 180, 255, .07) 1px, transparent 1px); }
[data-bs-theme="dark"] .logo-band { border-color: var(--c-line); }

/* ---------- Text ---------- */
[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2, [data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4, [data-bs-theme="dark"] h5, [data-bs-theme="dark"] .brand-name { color: var(--c-ink); }
[data-bs-theme="dark"] .sx-eyebrow, [data-bs-theme="dark"] .svc-link, [data-bs-theme="dark"] .link-arrow, [data-bs-theme="dark"] .lg-other,
[data-bs-theme="dark"] .indx-cta a, [data-bs-theme="dark"] .bx-more, [data-bs-theme="dark"] .sv-side h4, [data-bs-theme="dark"] .lg-toc h2,
[data-bs-theme="dark"] .cmp .cmp-group th, [data-bs-theme="dark"] .vx-langs span, [data-bs-theme="dark"] .tl-when, [data-bs-theme="dark"] .stx-when,
[data-bs-theme="dark"] .ab-values .n, [data-bs-theme="dark"] .lg-updated, [data-bs-theme="dark"] .hz-phrase { color: var(--c-link) !important; }
[data-bs-theme="dark"] .hz-swap { color: var(--c-link); }
[data-bs-theme="dark"] .hz-phrase { background: linear-gradient(transparent 68%, rgba(124, 196, 250, .28) 68%, rgba(124, 196, 250, .28) 92%, transparent 92%); }
[data-bs-theme="dark"] a:not(.btn-x):not(.nav-link):not(.brand):not(.svc-card):not(.bx) { --bs-link-color-rgb: 170, 180, 255; }
[data-bs-theme="dark"] .lg-sec a, [data-bs-theme="dark"] .lg-contact a, [data-bs-theme="dark"] .ct-field .form-check-label a, [data-bs-theme="dark"] .ct-list a:hover { color: var(--c-link); }
[data-bs-theme="dark"] .text-muted-s, [data-bs-theme="dark"] .sx-desc, [data-bs-theme="dark"] .hz-desc, [data-bs-theme="dark"] .ab-lead,
[data-bs-theme="dark"] .ct-lead, [data-bs-theme="dark"] .lg-lead, [data-bs-theme="dark"] .cta-note:not(.ctx .cta-note) { color: var(--c-muted) !important; }

/* ---------- Cards and panels: one surface ---------- */
[data-bs-theme="dark"] :is(.svc-card, .wf, .bx, .pb, .indc, .ab-card, .ab-prose, .ab-facts, .sv, .so, .ct-form-card, .ct-card, .lg-body, .lg-toc,
  .cmp, .st-tab, .sp-card, .vx-copy, .vx-call, .hz-main, .hz-chip:not(.c2), .logo-track li, .tool-pill, .tool-tile, .faq .accordion-item,
  .indx-panels, .whx, .chx, .stx, .card-s, .industry, .process-step, .hx-out li, .sp-done li, .ab-services a:not(.all), .hz-badge, .ba) {
  background: var(--c-surface) !important; border-color: var(--c-line) !important; box-shadow: var(--shadow-sm);
}
[data-bs-theme="dark"] :is(.svc-card, .wf, .bx, .sv, .so, .ab-card, .st-tab, .indc, .ab-services a):hover { border-color: #4a57a8 !important; box-shadow: var(--shadow-md); }
[data-bs-theme="dark"] .ct-form-card, [data-bs-theme="dark"] .lg-body, [data-bs-theme="dark"] .hz-main, [data-bs-theme="dark"] .vx-call { box-shadow: var(--shadow-md); }
[data-bs-theme="dark"] :is(.sv-side, .hx-in > span, .sp-facts li, .so-compare .before, .wf-steps li, .cmp-foot, .hc-visual, .mini-chat .q, .leads li, .chat2 .in) {
  background: var(--c-surface-2) !important; border-color: var(--c-line) !important; color: var(--c-text);
}
[data-bs-theme="dark"] .so-compare .after, [data-bs-theme="dark"] .indx-panels { background: linear-gradient(160deg, #1a2347, #151d33) !important; }
[data-bs-theme="dark"] .so-compare .after { color: var(--c-ink); border-color: var(--c-indigo-100) !important; }
[data-bs-theme="dark"] .so-compare .after span, [data-bs-theme="dark"] .ab-facts dt i, [data-bs-theme="dark"] .ct-list small { color: var(--c-link); }
[data-bs-theme="dark"] .lg-contact { background: var(--c-indigo-50); border-color: var(--c-indigo-100); }
[data-bs-theme="dark"] .wf-steps li + li::before, [data-bs-theme="dark"] .f-step + .f-step::before { border-color: var(--c-indigo-100); }

/* Icon chips + tags */
[data-bs-theme="dark"] :is(.ic-box, .svc-ic, .bx-ic, .pb-ic, .indc-ic, .icon-chip, .vx-list li > i, .why-row i, .ab-get li > i, .indx-list button i, .sv-jump a > i:first-child, .wk-why li > i, .chx-ic) {
  background: var(--c-indigo-50) !important; color: #b4bcff !important; border-color: var(--c-indigo-100) !important;
}
[data-bs-theme="dark"] .ic-box.solid, [data-bs-theme="dark"] .indx-list button.active i { background: var(--c-indigo) !important; color: #fff !important; }
[data-bs-theme="dark"] :is(.bx-cat, .wf-tag, .hc-tag, .svc-new, .vx-tag, .ind-ch > span, .vx-result > span, .tag, .hx-top .live, .hc-live) {
  background: var(--c-indigo-50) !important; color: #c3c9ff !important; border-color: var(--c-indigo-100) !important;
}
/* Dark-ink brand logos would vanish on dark surfaces: lift them */
[data-bs-theme="dark"] :is(.si-anthropic, .si-notion, .si-razorpay, .si-mysql, .si-wordpress, .si-stripe) { --c: #dfe3f5; }

/* ---------- Comparison table ---------- */
[data-bs-theme="dark"] .cmp th, [data-bs-theme="dark"] .cmp td { border-color: var(--c-line) !important; }
[data-bs-theme="dark"] .cmp thead th:not(.cmp-us) { background: var(--c-surface) !important; color: var(--c-muted); }
[data-bs-theme="dark"] .cmp tbody th[scope="row"] { color: var(--c-ink); }
[data-bs-theme="dark"] .cmp .cmp-group th { background: var(--c-surface-2) !important; }
[data-bs-theme="dark"] .cmp .cmp-us:not(th) { background: #1a2347 !important; color: var(--c-ink); }
[data-bs-theme="dark"] .cmp td.cmp-old { color: var(--c-muted); }
[data-bs-theme="dark"] .cmp td.cmp-old::before { color: #ff8a80; opacity: .9; }
[data-bs-theme="dark"] .cmp td.cmp-us::before, [data-bs-theme="dark"] .sv-uses li::before, [data-bs-theme="dark"] .hx-out li > i { color: var(--c-ok); }
[data-bs-theme="dark"] .cmp tbody tr:not(.cmp-group):hover th, [data-bs-theme="dark"] .cmp tbody tr:not(.cmp-group):hover td.cmp-old { background: #19213c !important; }
[data-bs-theme="dark"] .cmp tbody tr:not(.cmp-group):hover td.cmp-us { background: #1f2a55 !important; }
[data-bs-theme="dark"] .cmp tfoot td { background: var(--c-surface); }

/* ---------- Nav ---------- */
.nav-pills-s { background: var(--nav-glass); border-color: var(--nav-glass-border); }
[data-bs-theme="dark"] .nav-pills-s::before { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)); }
[data-bs-theme="dark"] .nav-pills-s { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px -12px rgba(0,0,0,.8); }
[data-bs-theme="dark"] .nav-pills-s .nav-link { color: #d0d6ea; }
[data-bs-theme="dark"] .nav-pills-s .nav-link:hover, [data-bs-theme="dark"] .nav-pills-s .nav-link.show { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(170,180,255,.18); }
[data-bs-theme="dark"] .site-header::before { background: linear-gradient(180deg, rgba(11,16,32,.9) 0%, rgba(11,16,32,.6) 55%, transparent 100%); }
[data-bs-theme="dark"] .site-header .brand-sub { color: var(--c-muted); }
/* Dropdown panel: same dark glass as the pill */
[data-bs-theme="dark"] .mega { background: linear-gradient(135deg, rgba(30,40,72,.86), rgba(21,29,51,.8)); border-color: var(--nav-glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px -20px rgba(0,0,0,.85); }
[data-bs-theme="dark"] .mega-item:hover { background: rgba(255,255,255,.06); }
[data-bs-theme="dark"] .mega-item small { color: var(--c-muted); }
/* Browsers without backdrop-filter: solid dark instead of the light fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  [data-bs-theme="dark"] .nav-pills-s, [data-bs-theme="dark"] .mega,
  [data-bs-theme="dark"] .theme-toggle, [data-bs-theme="dark"] .site-header .navbar-toggler { background: rgba(21,29,51,.97); }
}

/* Theme toggle + menu button: 44px tap targets */
.nav-tools { display: flex; align-items: center; gap: 8px; justify-self: end; }
.theme-toggle, .site-header .navbar-toggler {
  width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border-radius: 12px; font-size: 20px; line-height: 1;
  background: var(--nav-glass); border: 1px solid var(--nav-glass-border); color: var(--c-ink);
  backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 16px -10px rgba(15,22,53,.35); transition: background-color .2s, color .2s, border-color .2s;
}
[data-bs-theme="dark"] .theme-toggle, [data-bs-theme="dark"] .site-header .navbar-toggler { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px -10px rgba(0,0,0,.8); }
.theme-toggle:hover, .site-header .navbar-toggler:hover { color: var(--c-link); border-color: var(--c-indigo); }
.theme-toggle:focus-visible, .site-header .navbar-toggler:focus-visible { outline: 3px solid rgba(124, 135, 255, .55); outline-offset: 2px; box-shadow: none; }
.theme-toggle i { grid-area: 1 / 1; transition: transform .3s ease, opacity .2s ease; }
.theme-toggle .tt-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-bs-theme="dark"] .theme-toggle .tt-sun { opacity: 1; transform: none; }
[data-bs-theme="dark"] .theme-toggle .tt-moon { opacity: 0; transform: rotate(90deg) scale(.6); }

/* ---------- Buttons ---------- */
.btn-x:disabled, .btn-x[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
[data-bs-theme="dark"] .btn-x-primary:hover { background: #5260e0 !important; color: #fff; }
[data-bs-theme="dark"] .btn-x-outline { background: transparent; color: #c3c9ff; border-color: #6573ea; }
[data-bs-theme="dark"] .btn-x-outline:hover { background: var(--c-indigo); color: #fff; border-color: var(--c-indigo); }
[data-bs-theme="dark"] .btn-x-white { background: #fff; color: var(--c-indigo-700); }
.btn-x:focus-visible { outline: 3px solid rgba(124, 135, 255, .6); outline-offset: 2px; }
[data-bs-theme="dark"] .btn-s-dark { background: var(--c-indigo); }
[data-bs-theme="dark"] .btn-s-ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line); }

/* ---------- Industries / stepper / FAQ ---------- */
[data-bs-theme="dark"] .indx-list button { color: var(--c-text); }
[data-bs-theme="dark"] .indx-list button:hover { background: var(--c-surface); }
[data-bs-theme="dark"] .indx-list button.active { background: var(--c-surface); border-color: #6573ea; color: #fff; }
[data-bs-theme="dark"] .st-tab.active { border-color: #6573ea !important; }
[data-bs-theme="dark"] .st-panels { background: linear-gradient(160deg, #141c38, #1a2347); border-color: var(--c-line); }
[data-bs-theme="dark"] .sp-chat .in, [data-bs-theme="dark"] .vx-transcript .caller { background: var(--c-surface-2); color: var(--c-ink); }
[data-bs-theme="dark"] .faq .accordion-button { background: var(--c-surface); color: var(--c-ink); }
[data-bs-theme="dark"] .faq .accordion-button:not(.collapsed) { color: var(--c-link); }
[data-bs-theme="dark"] .faq .accordion-button::after { filter: invert(1) brightness(1.6); }
[data-bs-theme="dark"] .faq .accordion-body { color: var(--c-muted); }
[data-bs-theme="dark"] .tl-dot { background: var(--c-surface); box-shadow: 0 0 0 6px var(--c-section-tint); }
[data-bs-theme="dark"] .tl::before { background: linear-gradient(90deg, var(--c-indigo-100), #6573ea, var(--c-indigo-100)); }
[data-bs-theme="dark"] .why-row { border-color: var(--c-line); }
[data-bs-theme="dark"] .hx-top, [data-bs-theme="dark"] .vx-call-head, [data-bs-theme="dark"] .ab-facts dl > div, [data-bs-theme="dark"] .ab-get li,
[data-bs-theme="dark"] .ct-list li, [data-bs-theme="dark"] .ct-steps li, [data-bs-theme="dark"] .lg-sec, [data-bs-theme="dark"] .vx-list li,
[data-bs-theme="dark"] .ab-values li, [data-bs-theme="dark"] .sv-meta > div, [data-bs-theme="dark"] .sv-jump a, [data-bs-theme="dark"] .vx-result { border-color: var(--c-line) !important; }
[data-bs-theme="dark"] .hz-stage::before { background: linear-gradient(140deg, #1d2650, rgba(124, 196, 250, .12)); }
[data-bs-theme="dark"] .hz-chip.c2 { background: #232c55; border-color: #3a4673; }

/* ---------- Forms ---------- */
[data-bs-theme="dark"] .ct-field .form-control, [data-bs-theme="dark"] .ct-field .form-select { background-color: #0f1630; border-color: #34406a; color: var(--c-ink); }
[data-bs-theme="dark"] .ct-field .form-control::placeholder { color: #8891b2; }
[data-bs-theme="dark"] .ct-field .form-select:invalid { color: #8891b2; }
[data-bs-theme="dark"] .ct-field .form-select option { color: var(--c-ink); background: #0f1630; }
[data-bs-theme="dark"] .ct-field .form-control:focus, [data-bs-theme="dark"] .ct-field .form-select:focus { border-color: #7c87ff; box-shadow: 0 0 0 4px rgba(124, 135, 255, .25); background-color: #121a36; }
[data-bs-theme="dark"] .ct-field .form-control.is-invalid, [data-bs-theme="dark"] .ct-field .form-select.is-invalid { border-color: var(--c-bad); }
[data-bs-theme="dark"] .ct-field .form-control.is-valid, [data-bs-theme="dark"] .ct-field .form-select.is-valid { border-color: var(--c-ok); }
[data-bs-theme="dark"] .ct-field .invalid-feedback { color: var(--c-bad); }
[data-bs-theme="dark"] .ct-field .form-label, [data-bs-theme="dark"] .ct-steps b, [data-bs-theme="dark"] .ct-list a, [data-bs-theme="dark"] .ct-list address { color: var(--c-ink); }
[data-bs-theme="dark"] .ct-hint, [data-bs-theme="dark"] .char-count, [data-bs-theme="dark"] .ct-form-sub, [data-bs-theme="dark"] .ct-field .opt, [data-bs-theme="dark"] .ct-field .form-check-label { color: var(--c-muted); }
[data-bs-theme="dark"] .form-check-input { background-color: #0f1630; border-color: #4a5684; }
[data-bs-theme="dark"] .form-check-input:checked { background-color: var(--c-indigo); border-color: var(--c-indigo); }
[data-bs-theme="dark"] .ct-form-card .req, [data-bs-theme="dark"] .ct-field .form-label .req { color: var(--c-bad); }
[data-bs-theme="dark"] .form-alert.error { background: #3a1416; border-color: #6b2226; color: #ffc9c4; }
[data-bs-theme="dark"] .ct-success p { color: var(--c-muted); }

/* ---------- CTA band, footer ---------- */
[data-bs-theme="dark"] .ctx { background: radial-gradient(60% 100% at 100% 0%, rgba(124, 196, 250, .25), transparent 60%), linear-gradient(135deg, #3442c4, #232d8f); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
[data-bs-theme="dark"] .fx { background: #070b17; border-top: 1px solid var(--c-line); }
[data-bs-theme="dark"] .ab-quote { background: radial-gradient(70% 80% at 100% 0%, rgba(124, 196, 250, .22), transparent 60%), linear-gradient(135deg, #3442c4, #232d8f); }

/* ---------- Scrollbar, selection, focus ---------- */
html { scrollbar-color: #b9c1e6 transparent; }
[data-bs-theme="dark"] { scrollbar-color: #3a4673 #0b1020; }
::selection { background: rgba(58, 74, 216, .22); }
[data-bs-theme="dark"] ::selection { background: rgba(124, 135, 255, .40); color: #fff; }
:focus-visible { outline-color: #6573ea; }
[data-bs-theme="dark"] .skip-link { background: var(--c-indigo); }


/* =========================================================================
   Responsive header (Bootstrap lg = 992px)
   ========================================================================= */
@media (min-width: 992px) {
  .nav-grid { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .navbar-toggler { display: none; }
}
@media (max-width: 991.98px) {
  .nav-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 0; }
  .nav-tools { order: 2; }
  .navbar-collapse { order: 3; flex-basis: 100%; }
  .navbar-collapse .nav-pills-s { margin-top: 10px; border-radius: 16px; padding: 6px; }
  .nav-pills-s .nav-link { min-height: 44px; display: flex; align-items: center; padding: 10px 14px !important; font-size: 1rem; }
  .navbar-cta { margin-top: 10px; }
  .navbar-cta .btn-x { min-height: 48px; }
}
@media (max-width: 400px) {
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: .95rem; }
}

/* ---------- Small screens: readable type, no overflow ---------- */
@media (max-width: 575.98px) {
  :root { --t-56: 2.1rem; --t-40: 1.65rem; --t-28: 1.35rem; }
  .container-s { padding-inline: 16px; }
  .hz-title, .ab-title, .ct-title, .lg-title { font-size: 2.1rem !important; line-height: 1.12; }
  .hz-desc, .ab-lead, .ct-lead, .lg-lead { font-size: 1.05rem !important; }
  .hz-actions, .hz-actions .btn-x { width: 100%; }
  .hz-actions .btn-x { justify-content: center; }
  .hz-main { max-width: 100%; }
  .hx-in { grid-template-columns: 1fr; }
  .ctx { padding: 24px; }
  .ctx-actions { flex-direction: column; width: 100%; }
  .ctx-actions .btn-x { width: 100%; }
  .sv, .so, .ct-form-card, .lg-body { padding: 18px; }
  .sv-side { padding: 16px; }
  .vx-transcript li { max-width: 100%; }
  .vx-tag { display: none; }
  .ab-facts { padding: 18px; }
  .fx-social-wrap { flex-wrap: wrap; }
  .cmp th, .cmp td { padding: 10px 14px; }
}
/* Long words / URLs never force the page wider */
.lg-sec p, .lg-sec li, .faq .accordion-body, .sv-what, .sv-meta dd, .ct-list a, .fx a { overflow-wrap: anywhere; }
img, svg, video, iframe { max-width: 100%; height: auto; }

/* Touch devices have no hover: never hide content behind hover, and don't leave cards "lifted" after a tap */
@media (hover: none) {
  .svc-card:hover, .wf:hover, .bx:hover, .so:hover, .ab-card:hover, .st-tab:hover, .indc:hover, .ab-services a:hover, .btn-x:hover { transform: none !important; }
  .logo-marquee:hover .logo-track { animation-play-state: running; }
}

/* Theme QA fixes */
.lg-updated { background: var(--c-surface); border-color: var(--c-line); }
[data-bs-theme="dark"] .lg-toc a { color: var(--c-text); }
[data-bs-theme="dark"] .lg-toc a span { color: var(--c-link); }
[data-bs-theme="dark"] .lg-toc a:hover { background: var(--c-indigo-50); color: #fff; }
[data-bs-theme="dark"] .lg-sec h2 span { background: var(--c-indigo); color: #fff; }
[data-bs-theme="dark"] .hz-chip .ic { background: #173d2a; }
.nf { padding-block: clamp(3rem, 7vw, 5rem); }
.nf-code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 6.5rem); font-weight: 800; line-height: 1; margin: 0 0 10px;
  background: linear-gradient(135deg, var(--c-indigo), #7cc4fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-actions { justify-content: center; }
@media (max-width: 575.98px) { .hz-swap { min-height: 2.35em; } .hz-desc { margin-top: .75rem; } }
@media (max-width: 575.98px) {
  .svc-card { flex-direction: column; gap: 14px; }
  .svc-card h3 { margin-top: 0; }
  .svc-meta { flex-wrap: wrap; row-gap: 10px; }
  .svc-tools { flex-wrap: nowrap; }
  .svc-link { white-space: nowrap; margin-left: auto; }
}
.theme-toggle { border-radius: 50%; }

/* =========================================================================
   Services page: Industries We Serve (tabs ≥768px, accordion <768px)
   Reuses the home .indx look; colours come from theme tokens only.
   ========================================================================= */
.iw { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.iw-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
.iw-tab { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; text-align: left; padding: 8px 12px;
  font-family: var(--font-body); font-size: var(--t-16); font-weight: 600; color: var(--c-ink);
  background: transparent; border: 1.5px solid transparent; border-radius: 12px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.iw-tab .ic-box { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
.iw-tab-label { line-height: 1.3; overflow-wrap: anywhere; }
.iw-tab:hover { background: var(--c-surface); }
.iw-tab[aria-selected="true"] { background: var(--c-surface); border-color: var(--c-indigo); color: var(--c-link); box-shadow: var(--shadow-sm); }
.iw-tab[aria-selected="true"] .ic-box { background: var(--c-indigo) !important; color: #fff !important; }
.iw-tab:focus-visible, .iw-acc:focus-visible, .iw-panel:focus-visible { outline: 3px solid rgba(124, 135, 255, .6); outline-offset: 2px; }

.iw-panels { min-width: 0; }
.iw-panel { background: var(--c-surface); border: var(--card-border); border-radius: var(--card-radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-md); }
.iw-panel h3 { font-size: var(--t-28); margin: 0 0 14px; }
.iw-pain { display: flex; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--c-surface-2); border: 1px solid var(--c-line); color: var(--c-text); line-height: 1.6; }
.iw-pain i { color: var(--c-bad); font-size: 18px; margin-top: 2px; flex: none; }
.iw-pain b { color: var(--c-ink); }
.iw-sub { font-family: var(--font-body); font-size: var(--t-13) !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-link); margin: 20px 0 10px; }
.iw-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.iw-list li { position: relative; padding-left: 28px; color: var(--c-text); line-height: 1.6; }
.iw-list li::before { content: "\e226"; font-family: "lucide"; position: absolute; left: 0; top: 1px; color: var(--c-ok); font-size: 17px; }
.iw-payoff { display: flex; gap: 10px; margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--c-indigo-50); border: 1px solid var(--c-indigo-100); color: var(--c-ink); font-weight: 600; line-height: 1.6; }
.iw-payoff i { color: var(--c-link); font-size: 18px; margin-top: 2px; flex: none; }
.iw-cta { margin-top: 18px; }
.iw-acc { display: none; }

/* Tabs mode: only the open panel shows (JS-ready); without JS every panel stays visible */
@media (min-width: 768px) {
  .iw-ready .iw-item:not(.is-open) { display: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) { .iw { grid-template-columns: 240px 1fr; } .iw-tab { font-size: var(--t-14); } }

/* Accordion mode */
@media (max-width: 767.98px) {
  .iw { grid-template-columns: 1fr; }
  .iw-tabs { display: none; }
  .iw-panels { display: grid; gap: 10px; }
  .iw-item { background: var(--c-surface); border: var(--card-border); border-radius: var(--card-radius); box-shadow: var(--shadow-sm); overflow: hidden; scroll-margin-top: 90px; }
  .iw-acc { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; text-align: left;
    font-family: var(--font-body); font-size: var(--t-16); font-weight: 600; color: var(--c-ink); background: transparent; border: 0; cursor: pointer; }
  .iw-acc .ic-box { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; flex: none; }
  .iw-chev { margin-left: auto; color: var(--c-link); transition: transform .25s; }
  .iw-item.is-open .iw-acc { color: var(--c-link); }
  .iw-item.is-open .iw-chev { transform: rotate(180deg); }
  .iw-panel { border: 0; border-radius: 0; box-shadow: none; padding: 4px 16px 18px; border-top: 1px solid var(--c-line); }
  .iw-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* name already shown on the button; h3 stays for SEO/screen readers */
  .iw-pain { margin-top: 14px; }
  .iw-ready .iw-item:not(.is-open) .iw-panel { display: none; }
}
html:not(.js) .iw-tabs { display: none; }
html:not(.js) .iw { grid-template-columns: 1fr; }
html:not(.js) .iw-panels { display: grid; gap: 16px; }
/* Multiple emails/phones in one contact row */
.fx-multi { display: flex; flex-direction: column; gap: 2px; }
.ct-list li > div > a { display: block; }
.ct-list li > div > a + a { margin-top: 2px; }

/* Floating WhatsApp button, bottom-right on every page (views/layout.html) */
.wa-float { position: fixed; z-index: 1040; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366;
  box-shadow: 0 10px 24px -8px rgba(18, 140, 70, .65), 0 2px 6px rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s; }
.wa-float .brand-ico { --c: #fff; width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 28px -8px rgba(18, 140, 70, .75), 0 2px 6px rgba(0, 0, 0, .12); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .5); outline-offset: 3px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ping 2.6s ease-out infinite; }
@keyframes wa-ping { from { transform: scale(1); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }
.wa-float-tip { position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; white-space: nowrap; padding: 7px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--c-ink); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; translate: -4px -50%; }
@media (max-width: 575.98px) { .wa-float { width: 52px; height: 52px; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } .wa-float-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; display: none; } .wa-float { transition: none; } }
