/* TopNotch Services — site styles
   One stylesheet, no framework. Sections:
   1 tokens · 2 base · 3 layout · 4 header & nav · 5 buttons & small parts
   6 heroes · 7 chat mock · 8 cards & grids · 9 sections · 10 forms · 11 footer · 12 motion */

/* 1 ─ tokens */
:root {
  --brand: #ee3e38;
  --brand-600: #d6302a;
  --brand-700: #b32620;
  --brand-50: #fff3f2;
  --brand-100: #ffe1de;
  --orange: #ff7a45;
  --grad: linear-gradient(135deg, #ee3e38 0%, #ff7a45 100%);
  --teal: #0ea58c;
  --teal-50: #e8f8f4;
  --wa: #25d366;

  --ink-950: #070c18;
  --ink-900: #0b1222;
  --ink-850: #111a2e;
  --ink-800: #18233b;
  --ink-700: #2a3650;
  --ink-600: #47536b;
  --ink-500: #657089;
  --ink-400: #8f99ad;
  --ink-300: #c4cad7;
  --ink-200: #e2e6ee;
  --ink-100: #eef1f6;
  --ink-50: #f6f8fb;
  --white: #fff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 34, .06), 0 1px 3px rgba(11, 18, 34, .06);
  --shadow: 0 10px 30px -12px rgba(11, 18, 34, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 34, .28);
  --header-h: 68px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

/* 2 ─ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -.03em; }
h3 { font-size: 1.08rem; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; }
.prose ol { padding-left: 1.2em; margin-bottom: 1em; }
strong { color: var(--ink-800); font-weight: 700; }
:focus-visible { outline: 3px solid rgba(238, 62, 56, .55); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink-900); }
.icon { display: inline-block; vertical-align: -.22em; width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* 3 ─ layout */
.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, 1200px); } }
.section { padding-block: clamp(56px, 7.5vw, 96px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section-alt { background: var(--ink-50); }
.section-dark { background: var(--ink-900); color: var(--ink-300); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 1.05rem; color: var(--ink-500); margin: 0; }
.section-dark .section-head p { color: var(--ink-400); }
.section-head .eyebrow { margin-bottom: 16px; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.125rem); line-height: 1.6; }
.split { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.15fr .85fr; }
  .split.wide-right { grid-template-columns: .85fr 1.15fr; }
  .split.top { align-items: start; }
}
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid { gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }

/* 4 ─ header & nav */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11, 18, 34, .07);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(11, 18, 34, .25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.logo-on-dark { display: none; }
.theme-dark-hero .site-header:not(.is-scrolled):not(.menu-open) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.theme-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .logo-on-light { display: none; }
.theme-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .logo-on-dark { display: block; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font: 500 .9rem/1 var(--font); color: var(--ink-700); background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink-900); background: var(--ink-100); }
.nav-link[aria-current="page"] { color: var(--brand-600); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (min-width: 1024px) {
  .theme-dark-hero .site-header:not(.is-scrolled) .nav-link { color: rgba(255, 255, 255, .86); }
  .theme-dark-hero .site-header:not(.is-scrolled) .nav-link:hover,
  .theme-dark-hero .site-header:not(.is-scrolled) .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
  .theme-dark-hero .site-header:not(.is-scrolled) .nav-link[aria-current="page"] { color: #ffb4ae; }
}
.main-nav { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }

/* mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(100% - 6px); transform: translate(-50%, 8px);
  width: min(100vw - 32px, 1120px);
  display: grid; grid-template-columns: 1fr 300px; gap: 12px;
  padding: 14px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--ink-200); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 10px; }
.mega-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); margin: 4px 12px 8px; }
.mega-cols a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink-700); }
.mega-cols a:hover { background: var(--ink-50); }
.mega-cols a > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.mega-cols strong { display: block; font-size: .93rem; line-height: 1.3; color: var(--ink-900); }
.mega-cols small { display: block; font-size: .82rem; line-height: 1.4; color: var(--ink-500); margin-top: 2px; }
.mega-cols a.mega-all { color: var(--brand-600); font-weight: 700; font-size: .93rem; align-items: center; gap: 6px; }
.mega-cols a.mega-all > .icon { width: 16px; height: 16px; padding: 0; background: none; color: inherit; }
.mega-feature {
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; padding: 24px; border-radius: 18px; color: var(--ink-300);
  background: radial-gradient(120% 90% at 100% 0%, rgba(238, 62, 56, .45), transparent 55%), var(--ink-900);
  font-size: .92rem; line-height: 1.5;
}
.mega-feature strong { color: #fff; font-size: 1.15rem; line-height: 1.3; }
.mega-feature .link-arrow { color: #fff; }
.mega-feature:hover { color: var(--ink-200); }

@media (max-width: 1023.98px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 12px; border: 1px solid var(--ink-200); background: #fff; color: var(--ink-900); cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle .when-open, .menu-open .nav-toggle .when-closed { display: none; }
  .menu-open .nav-toggle .when-open { display: inline-flex; }
  .theme-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header.menu-open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: #fff;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 16px 16px 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--ink-100); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .mega { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; }
  .has-mega.open .mega { display: grid; transform: none; }
  .mega-cols { grid-template-columns: 1fr; padding: 0; }
  .mega-feature { display: none; }
  .nav-cta { justify-content: center; }
}
@media (min-width: 1024px) and (hover: hover) {
  .has-mega:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}

/* 5 ─ buttons & small parts */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px;
  border-radius: 999px; border: 1px solid transparent; font: 600 .92rem/1.2 var(--font);
  cursor: pointer; text-align: center; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(238, 62, 56, .75); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(238, 62, 56, .85); }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--ink-200); }
.btn-secondary:hover { color: var(--ink-900); border-color: var(--ink-300); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { color: var(--brand-600); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.btn-lg { padding: 14px 24px; font-size: .96rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--brand-600); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3;
  color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100);
}
.eyebrow .icon { width: 15px; height: 15px; }
.eyebrow-light { color: #ffc9c4; background: rgba(238, 62, 56, .14); border-color: rgba(238, 62, 56, .35); }
.grad-text { background: linear-gradient(120deg, #ff6b5e 0%, #ff9a5a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--ink-100); color: var(--ink-700); }
.section-dark .pill, .page-hero .pill, .hero .pill { background: rgba(255, 255, 255, .08); color: var(--ink-200); border: 1px solid rgba(255, 255, 255, .1); }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea58c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-dark .check-list li::before, .page-hero .check-list li::before { background-color: rgba(14, 165, 140, .18); }
.check-list.two-col { gap: 12px 28px; }
@media (min-width: 640px) { .check-list.two-col { grid-template-columns: 1fr 1fr; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; font-size: .88rem; color: var(--ink-400); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-600); }
.crumbs a { color: var(--ink-300); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--ink-200); }
.note { font-size: .88rem; color: var(--ink-500); }
.section-dark .note, .page-hero .note { color: var(--ink-400); }

/* 6 ─ heroes */
.hero, .page-hero {
  position: relative; overflow: hidden; color: var(--ink-300); isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(238, 62, 56, .30), transparent 60%),
    radial-gradient(45% 60% at 5% 100%, rgba(255, 122, 69, .16), transparent 60%),
    linear-gradient(180deg, var(--ink-950), var(--ink-900));
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero h1, .page-hero h1, .hero h2, .page-hero h2 { color: #fff; }
.hero { padding: calc(var(--header-h) + 28px) 0 40px; }
@media (min-width: 1024px) { .hero { min-height: min(100vh, 860px); min-height: min(100svh, 860px); display: flex; align-items: center; } .hero > .container { width: min(100% - 64px, 1200px); } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-grid > *, .split > *, .page-hero.has-visual .container > *, .contact-grid > *, .grid > * { min-width: 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hero h1 { margin: 18px 0 16px; font-size: clamp(2rem, 3.7vw, 3.1rem); }
.hero .lead { color: var(--ink-300); max-width: 520px; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin-top: 26px; font-size: .88rem; color: var(--ink-300); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: #4fd1b5; width: 18px; height: 18px; }
.page-hero { padding: calc(var(--header-h) + clamp(32px, 5vw, 56px)) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 16px 0 18px; max-width: 900px; }
.page-hero .lead { color: var(--ink-300); max-width: 720px; margin-bottom: 28px; }
.page-hero .btn-row { margin-top: 8px; }
.page-hero.has-visual .container { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .page-hero.has-visual .container { grid-template-columns: 1.05fr .95fr; } }
.hero-visual { position: relative; }
.hero-badge {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; max-width: 280px;
  background: rgba(17, 26, 46, .82); border: 1px solid rgba(255, 255, 255, .12); color: var(--ink-200); font-size: .86rem; line-height: 1.4;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero-badge strong { color: #fff; display: block; font-size: 1rem; }
.hero-badge .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--grad); color: #fff; }

/* tech strip under hero */
.trust-strip { border-bottom: 1px solid var(--ink-100); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding-block: 22px; }
.trust-label { font-size: .82rem; font-weight: 700; color: var(--ink-400); letter-spacing: .08em; text-transform: uppercase; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-500); font-size: .88rem; }
.trust-item .icon { color: var(--ink-400); }

/* 7 ─ chat mock (hero + AI page) */
.chat-window {
  position: relative; border-radius: 20px; background: #fff; color: var(--ink-700); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: .84rem; line-height: 1.5;
}
.chat-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ink-100); background: var(--ink-50); }
.chat-dots { display: flex; gap: 6px; }
.chat-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.chat-dots i:nth-child(2) { background: #febc2e; }
.chat-dots i:nth-child(3) { background: #28c840; }
.chat-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-900); font-size: .88rem; }
.chat-title .icon { color: var(--brand); width: 18px; height: 18px; }
.chat-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--teal); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; }
.chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
/* fixed height: newest messages stay at the bottom and older ones scroll out of view, like a real chat */
.chat-body { padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: clamp(300px, 46vh, 400px); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 36px); mask-image: linear-gradient(transparent, #000 36px); }
.chat-body > * { flex: none; }
.msg { max-width: 92%; }
.msg-user { align-self: flex-end; background: var(--ink-900); color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; }
.msg-ai { align-self: flex-start; display: flex; gap: 10px; }
.msg-ai .avatar { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.msg-ai .avatar .icon { width: 16px; height: 16px; }
.msg-ai .bubble { background: var(--ink-50); border: 1px solid var(--ink-100); padding: 10px 14px; border-radius: 4px 16px 16px 16px; min-width: 0; }
.msg-ai .bubble p { margin: 0 0 8px; }
.msg-ai .bubble p:last-child { margin: 0; }
.lookup { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--ink-500); background: #fff; border: 1px solid var(--ink-200); padding: 3px 9px; border-radius: 999px; margin: 0 4px 8px 0; }
.lookup .icon { width: 13px; height: 13px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: .8rem; margin: 4px 0 8px; background: #fff; border-radius: 8px; overflow: hidden; }
.mini-table th { text-align: left; font-weight: 700; color: var(--ink-500); background: var(--ink-100); padding: 6px 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.mini-table td { padding: 6px 8px; border-top: 1px solid var(--ink-100); color: var(--ink-800); }
.mini-table td.num, .mini-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.agent-steps { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.agent-steps li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-700); }
.agent-steps .icon { width: 16px; height: 16px; color: var(--teal); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; margin-left: 40px; background: var(--ink-50); border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-400); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 10px 12px 10px 16px; border: 1px solid var(--ink-200); border-radius: 14px; color: var(--ink-400); font-size: .86rem; }
.chat-input > span:first-child { flex: 1; }
.chat-input .send { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.chat-input .send .icon { width: 16px; height: 16px; }
.js .chat-anim [data-step] { display: none; }
.js .chat-anim [data-step].shown { display: flex; animation: msgIn .35s ease both; }
.js .chat-anim .msg-user[data-step].shown { display: block; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-visual .hero-badge { position: absolute; z-index: 2; }
.hero-visual .badge-a { left: -36px; bottom: -26px; }
.hero-visual .badge-b { right: -24px; top: -52px; }
@media (max-width: 1180px) { .hero-visual .hero-badge { display: none; } }

/* 8 ─ cards & grids */
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px;
  background: #fff; border: 1px solid var(--ink-200); color: var(--ink-600);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; font-size: .98rem; }
a.card:hover { transform: translateY(-4px); border-color: var(--brand-100); box-shadow: var(--shadow-lg); color: var(--ink-600); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.icon-tile { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile.dark { background: var(--ink-900); color: #fff; }
.icon-tile.grad { background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(238, 62, 56, .8); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.card-tags li { font-size: .76rem; font-weight: 600; color: var(--ink-500); background: var(--ink-50); border: 1px solid var(--ink-100); padding: 3px 9px; border-radius: 999px; }
.card-featured { background: radial-gradient(90% 70% at 100% 0%, rgba(238, 62, 56, .28), transparent 60%), var(--ink-900); border-color: var(--ink-800); color: var(--ink-300); }
.card-featured h3 { color: #fff; }
.card-featured .link-arrow { color: #ffb0a9; }
a.card-featured:hover { color: var(--ink-300); border-color: rgba(238, 62, 56, .5); }
.card-featured .card-tags li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: var(--ink-300); }
@media (min-width: 1024px) { .span-2 { grid-column: span 2; } }
.section-dark .card { background: var(--ink-850); border-color: var(--ink-800); color: var(--ink-400); }
.section-dark a.card:hover { border-color: rgba(238, 62, 56, .45); color: var(--ink-300); }
.section-dark .icon-tile { background: rgba(238, 62, 56, .14); color: #ff8d85; }

.feature { display: flex; gap: 16px; }
.feature h3 { margin: 0 0 4px; font-size: 1.08rem; }
.feature p { margin: 0; font-size: .97rem; }
.feature .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.feature .icon-tile .icon { width: 22px; height: 22px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-200); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stat { background: #fff; padding: 28px 20px; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; color: var(--ink-500); font-weight: 600; }

/* process steps */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--ink-200); }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink-900); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; margin: 0 0 6px; }
.steps p { margin: 0; font-size: .94rem; }
.section-dark .steps li { background: var(--ink-850); border-color: var(--ink-800); }
.section-dark .steps li::before { background: var(--grad); }

/* screenshots */
.shot { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--ink-200); }
.section-dark .shot { border-color: rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; }
.shot-caption { font-size: .9rem; margin-top: 14px; color: var(--ink-500); }
.section-dark .shot-caption { color: var(--ink-400); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink-200); background: #fff; color: var(--ink-700); font: 500 .85rem/1.2 var(--font); cursor: pointer; }
.tab .icon { width: 16px; height: 16px; }
.tab[aria-selected="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.section-dark .tab { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: var(--ink-300); }
.section-dark .tab[aria-selected="true"] { background: #fff; color: var(--ink-900); border-color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: msgIn .3s ease both; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(7, 12, 24, .86); }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 12px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink-900); display: grid; place-items: center; cursor: pointer; }

/* industries & regions */
.industry { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--ink-200); }
.industry h3 { margin: 16px 0 6px; font-size: 1.1rem; }
.industry p { margin: 0; font-size: .95rem; }
.map-wrap { position: relative; }
.world-map { width: 100%; height: auto; overflow: visible; }
.map-land { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 3.3; stroke-linecap: round; }
.map-dot { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.map-pulse { fill: var(--brand); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.map-pin text { fill: #fff; font: 700 15px var(--font); paint-order: stroke; stroke: var(--ink-900); stroke-width: 5px; stroke-linejoin: round; }
.map-pin:hover .map-dot { fill: #fff; stroke: var(--brand); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.6); opacity: 0; } }
@media (max-width: 700px) { .map-pin text { display: none; } .map-dot { stroke-width: 3; } }
.region-cards { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .region-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .region-cards { grid-template-columns: repeat(5, 1fr); } }
.region-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink-400); font-size: .88rem; line-height: 1.45; transition: border-color .2s, background .2s; }
.region-card strong { color: #fff; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; }
.region-card strong .icon { width: 16px; height: 16px; color: #ff8d85; }
.region-card:hover { border-color: rgba(238, 62, 56, .5); background: rgba(238, 62, 56, .08); color: var(--ink-300); }

/* case studies */
.case-list { display: grid; gap: 28px; }
.case { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--ink-200); }
@media (min-width: 1024px) { .case { grid-template-columns: 1.12fr .88fr; align-items: center; } .case.flip .case-media { order: 2; } }
.case-media { align-self: stretch; display: flex; align-items: center; padding: clamp(16px, 2.4vw, 28px);
  background: radial-gradient(90% 80% at 100% 0%, rgba(238, 62, 56, .35), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(255, 122, 69, .18), transparent 60%), var(--ink-900); }
.case-media .shot { width: 100%; border: 0; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); border-radius: 12px; }
.case-body { padding: clamp(22px, 3vw, 36px); }
.case-body h2 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); margin: 12px 0 8px; }
.case-body > p { font-size: .95rem; margin-bottom: 14px; }
.case-body .pill-row { margin-top: 16px; }
.case-body .pill { font-size: .78rem; padding: 4px 10px; }
.check-list.compact { gap: 6px; font-size: .92rem; }
.check-list.compact li { padding-left: 28px; }
.check-list.compact li::before { width: 18px; height: 18px; background-size: 11px; top: .25em; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 14px; background: var(--ink-100); border: 1px solid var(--ink-100); border-radius: 12px; overflow: hidden; }
.case-stats div { background: var(--ink-50); padding: 10px 12px; }
.case-stats b { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--brand-600); }
.case-stats span { font-size: .78rem; color: var(--ink-500); }
.stats-dark { margin-top: 32px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .08); }
.stats-dark .stat { background: var(--ink-900); padding: 20px 16px; }
.stats-dark .stat span { color: var(--ink-300); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--ink-200); }
.faq-item { border-bottom: 1px solid var(--ink-200); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: 1.06rem; color: var(--ink-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1222' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s, background-color .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--brand-100); }
.faq-item > div { padding: 0 4px 22px; color: var(--ink-600); max-width: 760px; }
.faq-item > div p:last-child { margin: 0; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--ink-200); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink-100); }
.data-table thead th { background: var(--ink-50); color: var(--ink-900); font-weight: 700; font-size: .88rem; }
.data-table tbody th { color: var(--ink-900); font-weight: 700; }
.data-table tr:last-child > * { border-bottom: 0; }

/* CTA band */
.cta-section { padding-block: clamp(48px, 6vw, 80px); }
.cta-band {
  display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 56px); border-radius: 24px; color: rgba(255, 255, 255, .9);
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), var(--grad);
  box-shadow: 0 30px 60px -34px rgba(238, 62, 56, .7);
}
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; gap: 40px; } }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost-light { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }

/* prose for long-form */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.panel { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-200); }
.panel-dark { background: var(--ink-900); border-color: var(--ink-800); color: var(--ink-300); }
.panel-dark h3, .panel-dark strong { color: #fff; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 959.98px) { .sticky { position: static; } }
.panel h3 { margin-bottom: 12px; }
.panel > .check-list { margin-top: 16px; }
.panel-dark .icon-tile { background: rgba(238, 62, 56, .14); color: #ff8d85; }
.panel-dark .feature p, .panel-dark p { color: var(--ink-400); }
.panel-dark .feature strong { display: block; margin-bottom: 2px; }
.panel-dark .steps li { background: var(--ink-850); border-color: var(--ink-800); }
.panel-dark .steps li::before { background: var(--grad); }
.panel-dark .steps h3 { color: #fff; }

/* architecture flow (AI, WhatsApp pages) */
.arch { list-style: none; display: grid; gap: 14px; margin-top: 20px; position: relative; }
.arch::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--brand), rgba(238, 62, 56, .15)); }
.arch li { position: relative; display: flex; gap: 16px; align-items: center; padding: 14px 16px 14px 0; }
.arch .icon-tile { width: 44px; height: 44px; border-radius: 12px; position: relative; z-index: 1; background: var(--ink-850); border: 1px solid rgba(238, 62, 56, .4); color: #ff8d85; }
.arch .icon-tile .icon { width: 22px; height: 22px; }
.arch strong { display: block; color: #fff; }
.arch p { margin: 0; font-size: .9rem; }
.arch.light .icon-tile { background: #fff; color: var(--brand); }
.arch.light strong { color: var(--ink-900); }
.arch.light p { color: var(--ink-500); }

/* timeline (about) */
.timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--ink-200); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 32px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.timeline b { display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 4px; }
.timeline strong { display: block; font-size: 1.12rem; color: var(--ink-900); margin-bottom: 4px; }
.timeline span { color: var(--ink-500); font-size: .97rem; }
.contact-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.contact-list .icon-tile .icon { width: 20px; height: 20px; }

/* 10 ─ forms */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-200); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; color: var(--ink-800); margin-bottom: 8px; padding: 0; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--ink-200); background: var(--ink-50);
  font: 500 1rem/1.4 var(--font); color: var(--ink-900); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(238, 62, 56, .12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--brand-600); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice { position: relative; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ink-200); background: #fff; font-size: .9rem; font-weight: 600; color: var(--ink-700); cursor: pointer; transition: all .15s; }
.field .choice input { position: absolute; opacity: 0; pointer-events: none; }
.field .choice:has(input:checked) { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.field .choice:has(input:focus-visible) { outline: 3px solid rgba(238, 62, 56, .55); outline-offset: 2px; }
.form-error { display: none; color: var(--brand-700); font-size: .88rem; font-weight: 600; margin-top: 6px; }
.form-error.show { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.hp { position: absolute; left: -9999px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list a { color: var(--ink-900); font-weight: 600; }
.contact-list small { display: block; color: var(--ink-500); font-size: .85rem; }

/* 11 ─ footer */
.site-footer { background: var(--ink-950); color: var(--ink-400); padding: clamp(56px, 8vw, 88px) 0 28px; font-size: .94rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-regions { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-300); }
.footer-regions .icon { margin-top: 3px; color: #ff8d85; }
.footer-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-300); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #ff8d85; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-legal { max-width: 640px; color: var(--ink-500); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.8; }

/* 12 ─ motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .wa-float, .cta-section, .site-footer { display: none; }
  .hero, .page-hero { background: none; color: #000; padding-top: 0; }
}

/* "At a glance" panel in page heroes without a screenshot */
.glance { justify-self: end; width: 100%; max-width: 440px; padding: 22px 24px; border-radius: 20px;
  background: rgba(17, 26, 46, .72); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.glance-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8d85; margin: 0 0 6px; }
.glance ul { list-style: none; }
.glance li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.glance li:first-child { border-top: 0; }
.glance .icon-tile { width: 40px; height: 40px; border-radius: 11px; background: rgba(238, 62, 56, .14); color: #ff8d85; }
.glance .icon-tile .icon { width: 20px; height: 20px; }
.glance strong { display: block; color: #fff; font-size: .95rem; line-height: 1.3; }
.glance span:not(.icon-tile) { display: block; color: var(--ink-400); font-size: .84rem; line-height: 1.4; }
@media (max-width: 1023.98px) { .glance { justify-self: stretch; max-width: none; } }
.link-pills a.pill:hover { background: var(--brand-50); color: var(--brand-600); }
.page-hero .pill a { color: inherit; }
.page-hero .pill a:hover { color: #fff; }
.panel h3 .icon { color: var(--brand); margin-right: 4px; }
@media (min-width: 1024px) { .region-cards { grid-template-columns: repeat(4, 1fr); } }

/* ERP option cards (home) */
.erp-options { gap: 16px; }
.option { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--ink-200); }
.option h3 { margin: 6px 0 0; }
.option p { margin: 0; font-size: .93rem; }
.option .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.option .icon-tile .icon { width: 22px; height: 22px; }
.option-meta { margin-top: auto; padding-top: 6px; font-size: .8rem; font-weight: 600; color: var(--brand-600); }
.panel h3 .icon { vertical-align: -.2em; }
.data-table tbody th { white-space: nowrap; }

/* ─── Animated illustrations (consulting network, secure cloud, analytics) ─── */
.anim-net, .anim-cloud, .anim-dash {
  position: relative; border-radius: 24px; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 10%, rgba(238, 62, 56, .32), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(255, 122, 69, .16), transparent 60%), var(--ink-900);
  box-shadow: 0 40px 80px -40px rgba(11, 18, 34, .6);
}
.anim-net::before, .anim-cloud::before, .anim-dash::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 85%); -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 85%);
}
.page-hero .anim-net, .page-hero .anim-cloud, .page-hero .anim-dash { background: rgba(17, 26, 46, .55); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }

/* network */
.anim-net { aspect-ratio: 1.12 / 1; min-height: 340px; }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-lines line { stroke: rgba(255, 141, 133, .55); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 4 7; animation: netFlow 1.6s linear infinite; }
@keyframes netFlow { to { stroke-dashoffset: -22; } }
.net-hub { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--grad); box-shadow: 0 0 0 8px rgba(238, 62, 56, .15), 0 20px 50px -10px rgba(238, 62, 56, .8); }
.net-hub strong { color: #fff; font-size: .95rem; line-height: 1.2; position: relative; }
.net-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 141, 133, .6); animation: hubPulse 3s ease-out infinite; }
.net-pulse.d2 { animation-delay: 1.5s; }
@keyframes hubPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.net-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 13px; border-radius: 14px; font-size: .82rem; font-weight: 600; color: #fff;
  background: rgba(17, 26, 46, .9); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8);
  animation: nodeFloat 5s ease-in-out infinite, nodeGlow 4.8s ease-in-out infinite; animation-delay: var(--d), var(--d); }
.net-node .icon { width: 17px; height: 17px; color: #ff8d85; }
@keyframes nodeFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 7px)); } }
@keyframes nodeGlow { 0%, 70%, 100% { border-color: rgba(255, 255, 255, .14); } 80% { border-color: rgba(255, 141, 133, .9); box-shadow: 0 0 0 4px rgba(238, 62, 56, .18); } }
@media (max-width: 520px) { .net-node { font-size: .7rem; padding: 6px 9px; gap: 5px; } .net-node .icon { width: 14px; height: 14px; } .net-hub { width: 92px; height: 92px; } .net-hub strong { font-size: .8rem; } }

/* secure cloud */
.anim-cloud { padding: clamp(18px, 3vw, 28px); }
.cloud-frame { position: relative; border-radius: 18px; border: 1.5px dashed rgba(255, 141, 133, .45); padding: 16px; overflow: hidden; }
.cloud-label { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-300); margin-bottom: 12px; }
.cloud-label .icon { color: #ff8d85; }
.cloud-layers { display: grid; gap: 10px; }
.layer { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; font-weight: 600; }
.layer .icon { width: 18px; height: 18px; color: #ff8d85; }
.layer em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 600; color: #4fd1b5; background: rgba(14, 165, 140, .14); padding: 3px 9px; border-radius: 999px; animation: okBlink 3.6s ease-in-out infinite; animation-delay: var(--d); white-space: nowrap; }
@keyframes okBlink { 0%, 60%, 100% { opacity: .55; } 70%, 85% { opacity: 1; box-shadow: 0 0 0 3px rgba(79, 209, 181, .25); } }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(255, 122, 69, .22), transparent); border-bottom: 1px solid rgba(255, 141, 133, .7); animation: scan 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-60px); } 100% { transform: translateY(330px); } }
.cloud-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.cloud-foot strong { display: block; font-size: .95rem; }
.cloud-foot span { font-size: .8rem; color: var(--ink-400); }
.cloud-shield { position: relative; width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.cloud-shield .icon { width: 24px; height: 24px; color: #fff; }
.cloud-shield .ring { position: absolute; inset: 0; border-radius: 14px; border: 2px solid rgba(255, 141, 133, .7); animation: hubPulse 2.4s ease-out infinite; }

/* analytics dashboard */
.anim-dash { padding: clamp(16px, 2.6vw, 24px); display: grid; gap: 14px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 600; }
.dash-title { display: inline-flex; gap: 8px; align-items: center; }
.dash-title .icon { color: #ff8d85; }
.dash-live { font-size: .72rem; color: #4fd1b5; background: rgba(14, 165, 140, .15); padding: 3px 10px; border-radius: 999px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-kpis div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.dash-kpis small { display: block; font-size: .7rem; color: var(--ink-400); }
.dash-kpis b { display: block; font-size: 1.15rem; margin: 2px 0; }
.dash-kpis em { font-style: normal; font-size: .72rem; font-weight: 600; color: #4fd1b5; }
.dash-charts { position: relative; height: 170px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.dash-bars { position: absolute; inset: 14px; display: flex; align-items: flex-end; gap: 6%; }
.dash-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(255, 122, 69, .85), rgba(238, 62, 56, .35)); transform-origin: bottom; animation: barGrow 3.2s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes barGrow { 0% { transform: scaleY(.35); } 60%, 100% { transform: scaleY(1); } }
.dash-line { position: absolute; left: 14px; top: 14px; width: calc(100% - 28px); height: calc(100% - 28px); overflow: visible; }
.dash-line path { fill: none; stroke: #4fd1b5; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawLine 4s ease-in-out infinite; }
@keyframes drawLine { 0% { stroke-dashoffset: 1200; opacity: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.dash-insight { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(238, 62, 56, .12); border: 1px solid rgba(238, 62, 56, .3); font-size: .84rem; color: var(--ink-200); animation: insight 4s ease-in-out infinite; }
.dash-insight .icon { color: #ff8d85; margin-top: 2px; }
.dash-insight b { color: #fff; }
@keyframes insight { 0%, 40% { opacity: .35; } 60%, 100% { opacity: 1; } }

/* animated roadmap: step badges light up in turn */
.steps.roadmap li::before { animation: stepLit 5s ease-in-out infinite; }
.steps.roadmap li:nth-child(2)::before { animation-delay: 1s; }
.steps.roadmap li:nth-child(3)::before { animation-delay: 2s; }
.steps.roadmap li:nth-child(4)::before { animation-delay: 3s; }
.steps.roadmap li:nth-child(5)::before { animation-delay: 4s; }
@keyframes stepLit { 0%, 30%, 100% { background-color: var(--ink-900); transform: none; } 8%, 20% { background-color: var(--brand); transform: scale(1.08); box-shadow: 0 8px 20px -6px rgba(238, 62, 56, .7); } }

/* consulting pillars + free POC band */
.pillars { display: grid; gap: 10px; margin: 22px 0 6px; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--ink-200); background: #fff; color: var(--ink-600); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pillar:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-600); }
.pillar .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
.pillar .icon-tile .icon { width: 20px; height: 20px; }
.pillar strong { display: block; font-size: .95rem; color: var(--ink-900); line-height: 1.3; }
.pillar span:not(.icon-tile) { display: block; font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.poc-band { display: grid; gap: 20px; align-items: center; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.5vw, 40px); border-radius: 22px; color: var(--ink-300);
  background: radial-gradient(60% 120% at 100% 0%, rgba(238, 62, 56, .35), transparent 60%), var(--ink-900); }
@media (min-width: 1024px) { .poc-band { grid-template-columns: auto 1fr auto; gap: 36px; } }
.poc-band h2 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.poc-band h2 small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ff8d85; margin-bottom: 6px; }
.poc-steps { list-style: none; display: grid; gap: 10px; counter-reset: poc; }
@media (min-width: 640px) { .poc-steps { grid-template-columns: repeat(3, 1fr); } }
.poc-steps li { counter-increment: poc; display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--ink-200); }
.poc-steps li::before { content: counter(poc); flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; background: rgba(238, 62, 56, .35); }
.grid-4 .card { padding: 22px; }
.grid-4 .card p { font-size: .92rem; }
.anim-cloud strong, .anim-net strong, .anim-dash strong { color: #fff; }

/* mega menu promo: content from the top, with an animated POC timeline */
.mega-feature { justify-content: flex-start; gap: 12px; }
.mega-feature .eyebrow { align-self: flex-start; margin-top: 4px; }
.poc-mini { display: grid; gap: 8px; padding: 14px; margin-bottom: 6px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.poc-mini-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-300); line-height: 1.3; }
.poc-mini-row b { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-400); }
.poc-mini-row i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: transparent; animation: pocTick 6s ease-in-out infinite; }
.poc-mini-row i .icon { width: 13px; height: 13px; stroke-width: 3; }
.poc-mini-row:nth-child(2) i { animation-delay: 1.5s; }
.poc-mini-row:nth-child(3) i { animation-delay: 3s; }
@keyframes pocTick { 0%, 8% { background: rgba(255, 255, 255, .08); color: transparent; } 18%, 85% { background: var(--grad); color: #fff; box-shadow: 0 0 0 4px rgba(238, 62, 56, .2); } 100% { background: rgba(255, 255, 255, .08); color: transparent; } }
.poc-mini-bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 2px; }
.poc-mini-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: pocBar 6s linear infinite; }
@keyframes pocBar { 0%, 8% { transform: scaleX(0); opacity: 1; } 18% { transform: scaleX(.33); } 43% { transform: scaleX(.66); } 68%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ─── Animated transformation journey (home + digital transformation) ─── */
.journey { position: relative; }
.journey-steps { list-style: none; display: grid; gap: 18px; position: relative; z-index: 1; }
.journey-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.journey-node { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--ink-200); color: var(--ink-400); position: relative; z-index: 2; }
.journey-node .icon { width: 24px; height: 24px; }
.journey-card { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ink-200); transition: none; }
.journey-num { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 4px; }
.journey-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.journey-card p { margin: 0; font-size: .93rem; }
/* track: vertical on small screens */
.journey-track { position: absolute; left: 26.5px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; background: var(--ink-200); }
.journey-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--grad); animation: jFillY 10s linear infinite; }
@keyframes jFillY { 0% { height: 0; opacity: 1; } 72%, 92% { height: 100%; opacity: 1; } 100% { height: 100%; opacity: 0; } }
@media (min-width: 1024px) {
  .journey-steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .journey-steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .journey-card { width: 100%; height: 100%; }
  .journey-track { left: 10%; right: 10%; top: 26.5px; bottom: auto; width: auto; height: 3px; }
  .journey-fill { height: 100%; width: 0; animation-name: jFillX; }
  .journey-fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(238, 62, 56, .35), 0 0 18px 4px rgba(255, 122, 69, .8); }
}
@keyframes jFillX { 0% { width: 0; opacity: 1; } 72%, 92% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@keyframes jNode0 { 0%, 0% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } 3%, 92% { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(238, 62, 56, .14), 0 12px 24px -8px rgba(238, 62, 56, .7); transform: scale(1.06); } 100% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } }
@keyframes jCard0 { 0%, 0% { border-color: var(--ink-200); box-shadow: none; transform: none; } 3%, 92% { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-4px); } 100% { border-color: var(--ink-200); box-shadow: none; transform: none; } }
.journey .j0 .journey-node { animation: jNode0 10s linear infinite; }
.journey .j0 .journey-card { animation: jCard0 10s linear infinite; }
@keyframes jNode1 { 0%, 17% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } 20%, 92% { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(238, 62, 56, .14), 0 12px 24px -8px rgba(238, 62, 56, .7); transform: scale(1.06); } 100% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } }
@keyframes jCard1 { 0%, 17% { border-color: var(--ink-200); box-shadow: none; transform: none; } 20%, 92% { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-4px); } 100% { border-color: var(--ink-200); box-shadow: none; transform: none; } }
.journey .j1 .journey-node { animation: jNode1 10s linear infinite; }
.journey .j1 .journey-card { animation: jCard1 10s linear infinite; }
@keyframes jNode2 { 0%, 35% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } 38%, 92% { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(238, 62, 56, .14), 0 12px 24px -8px rgba(238, 62, 56, .7); transform: scale(1.06); } 100% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } }
@keyframes jCard2 { 0%, 35% { border-color: var(--ink-200); box-shadow: none; transform: none; } 38%, 92% { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-4px); } 100% { border-color: var(--ink-200); box-shadow: none; transform: none; } }
.journey .j2 .journey-node { animation: jNode2 10s linear infinite; }
.journey .j2 .journey-card { animation: jCard2 10s linear infinite; }
@keyframes jNode3 { 0%, 53% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } 56%, 92% { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(238, 62, 56, .14), 0 12px 24px -8px rgba(238, 62, 56, .7); transform: scale(1.06); } 100% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } }
@keyframes jCard3 { 0%, 53% { border-color: var(--ink-200); box-shadow: none; transform: none; } 56%, 92% { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-4px); } 100% { border-color: var(--ink-200); box-shadow: none; transform: none; } }
.journey .j3 .journey-node { animation: jNode3 10s linear infinite; }
.journey .j3 .journey-card { animation: jCard3 10s linear infinite; }
@keyframes jNode4 { 0%, 71% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } 74%, 92% { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(238, 62, 56, .14), 0 12px 24px -8px rgba(238, 62, 56, .7); transform: scale(1.06); } 100% { background: #fff; color: var(--ink-400); border-color: var(--ink-200); box-shadow: none; transform: none; } }
@keyframes jCard4 { 0%, 71% { border-color: var(--ink-200); box-shadow: none; transform: none; } 74%, 92% { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-4px); } 100% { border-color: var(--ink-200); box-shadow: none; transform: none; } }
.journey .j4 .journey-node { animation: jNode4 10s linear infinite; }
.journey .j4 .journey-card { animation: jCard4 10s linear infinite; }

/* Display font: Manrope for headings and big numbers, Inter for body and UI */
h1, h2, h3, h4, .stat b, .case-stats b, .case-metrics b, .dash-kpis b, .net-hub strong, .glance strong, .journey-card h3, .mega-feature strong, .cta-band h2, .poc-band h2 { font-family: var(--font-display); }
h1 { font-weight: 800; letter-spacing: -.03em; }
h2 { font-weight: 800; letter-spacing: -.025em; }
h3, h4 { font-weight: 700; letter-spacing: -.01em; }
.poc-band h2 small { font-family: var(--font); }

@media (prefers-reduced-motion: reduce) {
  .journey-fill { animation: none !important; width: 100%; height: 100%; opacity: 1; }
  .journey .journey-node { animation: none !important; background: var(--grad); color: #fff; border-color: transparent; }
  .journey .journey-card { animation: none !important; }
}

@media (max-width: 520px) {
  .anim-net .net-node[style*="--x:82%"] { left: 76% !important; }
  .anim-net .net-node[style*="--x:18%"] { left: 24% !important; }
}

/* ═══════════════ Appeal pass: chat extras, motion, mobile spacing ═══════════════ */

/* chat: stock list, mini bars, typed input */
.stock-list { list-style: none; display: grid; gap: 8px; margin: 4px 0 8px; min-width: 220px; }
.stock-list li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; font-size: .8rem; color: var(--ink-800); }
.stock-list li::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--ink-100); }
.stock-list li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: var(--w); border-radius: 4px; background: var(--grad); }
.msg.shown .stock-list li::after { animation: barGrowX 1s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
@keyframes barGrowX { from { transform: scaleX(0); } }
.stock-list em { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--brand-700); }
.mini-bars { display: flex; gap: 22px; align-items: flex-end; padding: 6px 8px 0; margin-bottom: 6px; }
.mini-bars div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mini-bars i { display: block; width: 38px; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--ink-300); }
.mini-bars i.now { background: var(--grad); }
.msg.shown .mini-bars i { animation: barRise .9s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }
.msg.shown .mini-bars div + div i { animation-delay: .15s; }
@keyframes barRise { from { transform: scaleY(0); } }
.mini-bars span { font-size: .68rem; color: var(--ink-500); }
.mini-bars b { font-size: .74rem; color: var(--ink-900); }
.up { color: var(--teal) !important; }
.chat-typed { min-height: 1.4em; }
.chat-typed.is-typing { color: var(--ink-900); }
.chat-typed.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--brand); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat-anim.sending .send { animation: sendPop .26s ease; }
@keyframes sendPop { 50% { transform: scale(.82); } }

/* hero aurora */
.hero { overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 520px; height: 520px; left: 52%; top: -12%; background: rgba(238, 62, 56, .55); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 420px; height: 420px; left: -8%; bottom: -20%; background: rgba(255, 122, 69, .35); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 300px; height: 300px; left: 30%; top: 40%; background: rgba(14, 165, 140, .18); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(140px, -60px) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-80px, -90px) scale(.85); } }

/* shimmering gradient text */
.grad-text { background-size: 200% auto; background-image: linear-gradient(110deg, #ff6b5e 0%, #ff9a5a 30%, #ffd0a8 45%, #ff9a5a 60%, #ff6b5e 100%); animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% center; } }

/* technology marquee */
.trust-inner { flex-wrap: nowrap; gap: 24px; justify-content: flex-start; }
.trust-label { flex: none; }
.marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .trust-item { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* featured card: rotating glow border */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.card-featured { border: 1px solid transparent; background:
  radial-gradient(90% 70% at 100% 0%, rgba(238, 62, 56, .28), transparent 60%) padding-box,
  linear-gradient(var(--ink-900), var(--ink-900)) padding-box,
  conic-gradient(from var(--spin), rgba(238, 62, 56, .1), #ff7a45, rgba(238, 62, 56, .1) 40%, rgba(238, 62, 56, .1)) border-box;
  animation: spin 6s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }

/* cards & icons: livelier hover */
a.card .icon-tile, .pillar .icon-tile, .option .icon-tile { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
a.card:hover .icon-tile, .pillar:hover .icon-tile { transform: translateY(-3px) rotate(-8deg) scale(1.08); }
.icon-tile { position: relative; }

/* primary button shine */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* CTA band: moving gradient */
.cta-band { background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, #ee3e38, #ff7a45, #e8355f, #ee3e38); background-size: 100% 100%, 300% 300%; animation: ctaFlow 12s ease-in-out infinite; }
@keyframes ctaFlow { 0%, 100% { background-position: 0 0, 0% 50%; } 50% { background-position: 0 0, 100% 50%; } }

/* scroll progress */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 150; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* section eyebrow pop on reveal */
.js .reveal .eyebrow { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .15s; }
.js .reveal:not(.in) .eyebrow { transform: scale(.9); }

/* ───────────── Mobile: breathing room, less text ───────────── */
@media (max-width: 639.98px) {
  body { font-size: .97rem; line-height: 1.65; }
  .container { width: min(100% - 40px, 1200px); }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: .97rem; }
  h2 { font-size: 1.6rem; line-height: 1.2; }
  .lead { font-size: 1rem; }
  .eyebrow { font-size: .74rem; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 auto; }

  /* hero */
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero h1 { font-size: 2.05rem; }
  .hero-proof { gap: 8px 16px; font-size: .82rem; }
  .hero-grid { gap: 40px; }
  .chat-body { height: 330px; }

  /* trust strip */
  .trust-label { display: none; }
  .trust-inner { padding-block: 18px; }

  /* services: 2-column icon tiles */
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-grid .card { padding: 18px 14px; gap: 10px; border-radius: 16px; }
  .svc-grid .card h3 { font-size: .9rem; line-height: 1.3; margin: 0; }
  .svc-grid .card p, .svc-grid .card .link-arrow { display: none; }
  .svc-grid .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
  .svc-grid .icon-tile .icon { width: 21px; height: 21px; }

  /* pillars & ERP options: compact */
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { flex-direction: column; gap: 10px; padding: 14px; }
  .pillar span:not(.icon-tile) span { display: none; }
  .pillar strong { font-size: .86rem; }
  .erp-options { grid-template-columns: 1fr 1fr; gap: 12px; }
  .option { padding: 16px 14px; }
  .option p { display: none; }
  .option h3 { font-size: .95rem; }

  /* horizontal swipe carousels */
  .carousel, .region-cards, .ai-screens .tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 4px 20px 12px; scrollbar-width: none; }
  .carousel::-webkit-scrollbar, .region-cards::-webkit-scrollbar, .ai-screens .tabs::-webkit-scrollbar { display: none; }
  .carousel > *, .region-cards > * { flex: 0 0 78%; scroll-snap-align: start; }
  .region-cards > * { flex-basis: 62%; }
  .ai-screens .tabs { flex-wrap: nowrap; }
  .ai-screens .tab { flex: none; }

  /* stats: tighter */
  .stat { padding: 20px 10px; }
  .stat b { font-size: 1.7rem; }
  .stat span { font-size: .78rem; }

  /* lists & FAQ */
  .check-list { gap: 10px; font-size: .94rem; }
  .faq-item summary { font-size: .97rem; padding: 18px 2px; }

  /* footer: two columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { font-size: .88rem; }

  /* map: let it breathe */
  .map-wrap { margin-inline: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora i, .marquee-track, .grad-text, .card-featured, .btn-primary::after, .cta-band { animation: none !important; }
}
