/* ==========================================================================
   NextGenAI Infotech — style.css
   Structure: 1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Sections · 6 Motion · 7 Media
   Mobile-first. Bootstrap 5 supplies grid + navbar collapse only; everything else is custom.
   ========================================================================== */

/* Self-hosted Inter + Space Grotesk (SIL Open Font License), latin + latin-ext (for ₹). Latin files are preloaded in each page head. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Self-hosted Montserrat (variable 400–800, SIL Open Font License); latin is preloaded in every page head. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 112.83%; ascent-override: 85.79%; descent-override: 22.25%; line-gap-override: 0%; }
/* Metric-matched fallbacks (measured against Arial in Chrome): text keeps its size and line breaks while the
   Google fonts load, so headings don't re-wrap and push the page down (CLS). */
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 100.63%; ascent-override: 97.39%; descent-override: 28.82%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 106.22%; ascent-override: 91.32%; descent-override: 22.59%; line-gap-override: 0%; }

/* Icons load without blocking the page: reserve their 1em box so text never shifts when the icon font arrives. */
:where(i.bi) { display: inline-block; width: 1em; height: 1em; line-height: 1; }

/* 1. TOKENS ---------------------------------------------------------------- */
/* Palette v6 "Black · White panels · Magenta", measured from the reference (webstart.am) computed styles:
   page #000, panels #fff, panel tints #fdf5fe / #f6f5f8, dark cards #111 / #2a2a2a, accent rgb(255,41,208) = #ff29d0,
   muted text #848385, ink #0e0f11, font Montserrat. Token NAMES are kept from v5 so every component re-skins from here.
   Contrast (WCAG): #fff on #000 21:1 · --muted 11.6:1 · --faint 6.4:1 · magenta on #000 6.5:1 · ink on magenta 5.8:1.
   Use the --rgb-* channels for translucent tints: rgba(var(--rgb-blue), .2). */
:root {
  color-scheme: dark;
  --rgb-blue: 255, 41, 208;        /* #ff29d0 magenta: the single accent */
  --rgb-cyan: 255, 41, 208;
  --rgb-violet: 139, 92, 246;      /* #8b5cf6: secondary, mockup art only */
  --rgb-saffron: 255, 41, 208;
  --rgb-line: 255, 255, 255;       /* hairlines are white at low alpha */
  --rgb-ink: 0, 0, 0;
  --rgb-raise: 17, 17, 17;         /* #111 dark card */
  --rgb-ok: 74, 222, 128;
  --rgb-err: 255, 107, 129;
  --rgb-wa: 37, 211, 102;
  /* surfaces */
  --bg: #000000;
  --bg-2: #0a0a0a;
  --bg-3: #141414;
  --bg-deep: #0b0b0c;
  --bg-deeper: #000000;
  --surface: #111111;
  --surface-2: #1c1c1e;            /* raised dark card (reference #2a2a2a family) */
  --panel: #ffffff;                /* white rounded panels on the black page */
  --panel-pink: #fdf5fe;
  --panel-grey: #f6f5f8;
  --line: rgba(var(--rgb-line), 0.1);
  --line-strong: rgba(var(--rgb-line), 0.22);
  --line-control: #6f6e72;         /* form controls: 3.9:1 on #000 */
  /* brand */
  --accent: #ff29d0;
  --accent-hover: #ff5edc;
  --accent-ink: #c4009c;           /* magenta for text on white: 5.5:1 */
  --blue: var(--accent);
  --blue-strong: var(--accent);
  --blue-deep: var(--accent);
  --blue-soft: var(--accent);      /* links on black: 6.5:1 */
  --cyan: var(--accent);           /* eyebrows, icons, focus ring */
  --violet: #8b5cf6;
  --saffron: var(--accent);
  --amber: #ff8ee8;
  --saffron-hi: #ffc2f3;
  --saffron-grad: linear-gradient(100deg, var(--accent), var(--accent));
  --saffron-line: rgba(var(--rgb-blue), 0.4);
  /* text */
  --text: #ffffff;
  --muted: #bdbcc0;
  --faint: #8e8d91;
  --ink: #0e0f11;
  /* status + "on" colours */
  --ok: #4ade80;
  --err: #ff8fa0;
  --err-line: #ff6b81;
  --wa: #25d366;
  --on-wa: #04210f;
  --on-saffron: #0e0f11;           /* 5.8:1 on magenta */
  --on-cyan: #0e0f11;
  /* shape + type */
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;               /* reference panel radius */
  --radius-btn: 22px;
  --font-body: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --nav-h: 68px;
  --gutter: 16px;
  --section-y: clamp(64px, 8vw, 120px);
  --bar-h: 0px;
}
/* Light scope: white panels. Redefines the same tokens so components inside render dark-on-light. */
.is-light {
  color-scheme: light;
  --rgb-line: 14, 15, 17;
  --rgb-ink: 246, 245, 248;
  --rgb-raise: 255, 255, 255;
  --bg: #ffffff; --bg-2: #fafafa; --bg-3: var(--panel-grey); --bg-deep: var(--panel-pink);
  --surface: var(--panel-grey); --surface-2: #ffffff;
  --line: rgba(var(--rgb-line), 0.1); --line-strong: rgba(var(--rgb-line), 0.2); --line-control: #8a898d;
  --blue-soft: var(--accent-ink); --cyan: var(--accent-ink); --saffron: var(--accent-ink);
  --text: var(--ink); --muted: #47464a; --faint: #646367;
  color: var(--text);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* 2. BASE ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); scroll-padding-bottom: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: var(--bar-h);
}
body.menu-locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { color: var(--muted); text-wrap: pretty; }
a { color: var(--blue-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
img, svg { max-width: 100%; }
a, button, label, select, input, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(var(--rgb-cyan), .15); }
::selection { background: rgba(var(--rgb-cyan), .3); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--cyan); color: var(--on-cyan); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--on-cyan); }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { max-width: 1240px; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.section-title { font-size: clamp(1.75rem, 4.6vw, 3.1rem); margin-bottom: 16px; }
.section-lead { font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 640px; }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }
.hindi { display: block; margin-top: 10px; font-size: .95rem; font-style: italic; color: var(--amber); letter-spacing: .01em; }

/* very subtle grid that slowly drifts */
.grid-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.grid-bg::before { content: ""; position: absolute; inset: -48px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .55; animation: gridDrift 28s linear infinite; }
.section > .container, .hero > .container { position: relative; z-index: 2; }

/* 4. COMPONENTS ------------------------------------------------------------ */

/* Buttons (magnetic offset via --bx/--by set by main.js) */
.btn-nx { --_bg: transparent; --_bd: var(--line-strong); --_fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.2; text-align: center;
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  position: relative; cursor: pointer; isolation: isolate;
  transform: translate(var(--bx, 0px), var(--by, 0px));
  transition: transform .25s var(--ease), box-shadow .3s, border-color .3s, background .3s, color .3s; }
.btn-nx i { transition: transform .25s var(--ease); }
.btn-nx:hover { color: var(--_fg); transform: translate(var(--bx, 0px), calc(var(--by, 0px) - 2px)); }
.btn-nx:hover .bi-arrow-right { transform: translateX(4px); }
.btn-nx--primary { --_bg: linear-gradient(135deg, var(--blue-strong), var(--blue-deep)); --_bd: rgba(var(--rgb-line),.5); --_fg: #fff; box-shadow: 0 10px 30px -12px rgba(var(--rgb-blue),.7); }
.btn-nx--primary:hover { box-shadow: 0 0 0 4px rgba(var(--rgb-blue),.18), 0 14px 40px -10px rgba(var(--rgb-cyan),.55); border-color: var(--cyan); }
.btn-nx--saffron { --_bg: var(--saffron-grad); --_bd: transparent; --_fg: var(--on-saffron); box-shadow: 0 10px 30px -14px rgba(var(--rgb-saffron),.8); }
.btn-nx--saffron:hover { box-shadow: 0 0 0 4px rgba(var(--rgb-saffron),.18), 0 14px 40px -10px rgba(var(--rgb-saffron),.6); }
.btn-nx--ghost:hover { border-color: var(--cyan); background: rgba(var(--rgb-cyan),.06); }
.btn-nx--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.btn-nx--block { width: 100%; }

/* Glass card with cursor spotlight (vars --mx/--my set by main.js) */
.card-nx { position: relative; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease), background .35s; transform-style: preserve-3d; overflow: hidden; }
.card-nx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--rgb-cyan),.13), transparent 60%); }
.card-nx::after { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--rgb-line),.6), transparent); opacity: .5; }
.card-nx:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(var(--rgb-blue),.55); }
.card-nx:hover::before { opacity: 1; }
.card-nx.is-tilting { transition: border-color .35s, box-shadow .35s, background .35s; }
.card-nx h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-nx p { font-size: .95rem; margin-bottom: 0; }

.icon-box { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(var(--rgb-blue),.16), rgba(var(--rgb-violet),.08)); color: var(--cyan); font-size: 1.3rem; transition: box-shadow .35s, color .35s; flex: none; }
.card-nx:hover .icon-box { box-shadow: 0 0 28px -4px rgba(var(--rgb-cyan),.45); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--blue-soft); min-height: 24px; }
.link-arrow span { transition: transform .25s var(--ease); display: inline-block; }
.card-nx:hover .link-arrow, .link-arrow:hover { color: var(--cyan); }
.card-nx:hover .link-arrow span, .link-arrow:hover span { transform: translateX(5px); }
.card-nx .stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.start-price { display: block; margin-top: 16px; font-size: .8rem; color: var(--faint); }
.start-price b { color: var(--saffron); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-left: 4px; }

.badge-nx { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--blue-soft); background: rgba(var(--rgb-blue),.08); }
.badge-nx .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 10px var(--saffron); animation: pulse 2.4s ease-in-out infinite; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; padding: 6px 0; color: var(--muted); font-size: .95rem; }
.check-list i { color: var(--cyan); flex: none; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); background: rgba(255,255,255,.02); }

/* Placeholder slots (testimonials, logos): dashed so they can't be mistaken for real content */
.slot { border: 1px dashed var(--saffron-line); border-radius: var(--radius-lg); padding: 24px; color: var(--faint); font-size: .9rem; background: rgba(var(--rgb-saffron),.03); height: 100%; }
.slot b { display: block; color: var(--amber); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.ph { color: var(--amber); border-bottom: 1px dashed var(--saffron-line); }   /* inline placeholder text */

/* Navbar (blur lives on ::before so the fixed mobile menu isn't trapped by backdrop-filter) */
.nx-nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; }
.nx-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; border-bottom: 1px solid var(--line); background: rgba(var(--rgb-ink),.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transition: opacity .4s; }
.nx-nav.is-scrolled::before, .nx-nav.menu-open::before { opacity: 1; }
.nx-nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 46px; height: 46px; flex: none; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.brand-text strong em { font-style: normal; color: var(--cyan); }
.brand-text small { font-size: .58rem; letter-spacing: .42em; color: var(--faint); margin-top: 5px; font-weight: 600; }
.nx-toggler { width: 46px; height: 46px; border: 1px solid var(--line-control); border-radius: var(--radius); background: rgba(255,255,255,.03); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nx-toggler span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nx-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nx-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link-nx { display: block; color: var(--muted); font-weight: 500; }
.nav-link-nx:hover, .nav-link-nx.active { color: #fff; }
.menu-ctas { display: grid; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 28px) 0 80px; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px 420px at 78% 42%, rgba(var(--rgb-blue),.2), transparent 70%), radial-gradient(420px 320px at 92% 75%, rgba(var(--rgb-saffron),.1), transparent 70%), radial-gradient(500px 300px at 10% 0%, rgba(var(--rgb-cyan),.08), transparent 70%); }
.hero h1 { font-size: clamp(2.3rem, 7vw, 5.4rem); line-height: 1.02; margin: 20px 0; letter-spacing: -.035em; }
.hero h1 .accent { background: var(--saffron-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1rem, 1.7vw, 1.18rem); max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-nx { flex: 1 1 200px; }
.hero-sub { margin-top: 18px; font-size: .92rem; color: var(--faint); }
.hero-sub a { font-weight: 600; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: .84rem; }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta i { color: var(--cyan); }
.hero-visual { perspective: 1400px; position: relative; width: 100%; height: clamp(300px, 78vw, 440px); margin-top: 36px; will-change: transform, opacity; }
.hero-visual > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Floating laptop + phone mockups (pure CSS/SVG) layered over the canvas */
.mockups { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; transform-style: preserve-3d;
  transform: rotateX(calc(var(--py, 0) * -7deg)) rotateY(calc(var(--px, 0) * 9deg)); transition: transform .25s ease-out; }
.laptop { position: relative; width: min(82%, 470px); transform: rotateY(-15deg) rotateX(6deg) rotateZ(1deg); animation: floatA 7s ease-in-out infinite; }
.laptop-screen { aspect-ratio: 16 / 10; padding: 6px; border: 1px solid var(--line-strong); border-radius: 8px 8px 2px 2px; background: var(--bg-deep);
  box-shadow: 0 40px 80px -30px rgba(var(--rgb-blue),.65), 0 0 0 1px rgba(255,255,255,.03); }
.laptop-screen svg, .phone-screen svg { width: 100%; height: 100%; display: block; border-radius: 4px; }
.laptop-base { height: 10px; margin: 0 -4%; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: linear-gradient(var(--bg-3), var(--bg-deep)); }
.phone { position: absolute; right: 9%; bottom: 10%; width: clamp(84px, 21%, 124px); aspect-ratio: 9 / 18.5; padding: 5px; border: 2px solid rgba(var(--rgb-line),.4); border-radius: 18px; background: var(--bg-deep);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 40px -10px rgba(var(--rgb-saffron),.35); transform: rotateY(-15deg) rotateX(6deg) translateZ(70px); animation: floatB 6s ease-in-out infinite; }
.phone-screen { height: 100%; }
.phone-screen svg { border-radius: 13px; }

.light-bridge { position: absolute; left: 0; right: 0; bottom: -1px; height: 220px; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(var(--rgb-cyan),.28), rgba(var(--rgb-blue),.12) 45%, transparent 75%), linear-gradient(180deg, transparent, var(--bg));
  opacity: calc(.15 + var(--p, 0) * .85); transform: scaleY(calc(.7 + var(--p, 0) * .5)); transform-origin: bottom; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px; transform: translateX(-50%); display: none; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: cue 2s var(--ease) infinite; }

/* Inner-page hero */
.page-hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 56px; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 5.6vw, 3.8rem); max-width: 760px; margin-bottom: 18px; letter-spacing: -.03em; }
.page-hero .lead { max-width: 640px; font-size: 1.08rem; }
.page-hero .hero-glow { background: radial-gradient(600px 300px at 85% 20%, rgba(var(--rgb-blue),.2), transparent 70%), radial-gradient(400px 260px at 5% 0%, rgba(var(--rgb-saffron),.08), transparent 70%); }

/* 5. SECTIONS -------------------------------------------------------------- */

/* Technology marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(var(--rgb-ink),.6); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 14px; padding-right: 14px; }
.marquee-set span { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--muted); padding: 8px 20px; border: 1px solid var(--line); border-radius: 100px; white-space: nowrap; }

/* Free-consultation banner */
.offer { position: relative; display: grid; gap: 18px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--saffron-line); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(420px 200px at 100% 0%, rgba(var(--rgb-saffron),.16), transparent 70%), linear-gradient(160deg, rgba(var(--rgb-raise),.85), rgba(var(--rgb-ink),.85)); }
.offer h2, .offer h3 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 8px; }
.offer p { margin: 0; }
.offer .tag { color: var(--saffron); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; display: block; }

/* Trust tiles */
.trust-tile { height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.trust-tile i { color: var(--saffron); font-size: 1.3rem; display: block; margin-bottom: 10px; }
.trust-tile strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }
.trust-tile > span { font-size: .85rem; color: var(--faint); line-height: 1.5; display: block; }

/* Industry tiles */
.tile { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(var(--rgb-blue),.6); }
.tile i { font-size: 1.5rem; color: var(--cyan); }
.tile h3 { font-size: 1.02rem; margin: 0; }
.tile p { font-size: .85rem; margin: 0; line-height: 1.5; }


/* Work / portfolio */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin: 0 calc(var(--gutter) * -1) 18px; padding-inline: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; min-height: 44px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-control); background: transparent; color: var(--muted); font-weight: 500; font-size: .9rem; cursor: pointer; transition: color .25s, border-color .25s, background-color .25s; }
.filter-btn:hover { color: #fff; border-color: var(--cyan); }
.filter-btn[aria-pressed="true"] { background: rgba(var(--rgb-cyan),.12); border-color: var(--cyan); color: #fff; }
.work-item { transition: opacity .35s, transform .35s var(--ease); }
.work-item.is-hidden { display: none; }
.work-item.is-fading { opacity: 0; transform: scale(.97); }
.project-card { padding: 0; display: flex; flex-direction: column; }
.project-art { position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-3); }
.project-art svg { width: 100%; height: 100%; display: block; transition: transform .8s var(--ease); }
.project-card:hover .project-art svg { transform: scale(1.05); }
.project-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.project-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); font-weight: 600; margin-bottom: 8px; }
.project-body h3 { font-size: 1.15rem; }
.project-body .link-arrow { margin-top: auto; padding-top: 16px; }

/* Pricing */
.switch-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.switch-wrap .on { color: var(--text); font-weight: 500; }
.switch { position: relative; width: 56px; height: 32px; border-radius: 100px; border: 1px solid var(--line-control); background: rgba(255,255,255,.04); cursor: pointer; padding: 0; transition: background .3s, border-color .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); transition: transform .3s var(--ease), background .3s; }
.switch[aria-checked="true"] { background: rgba(var(--rgb-saffron),.18); border-color: var(--saffron); }
.switch[aria-checked="true"]::after { transform: translateX(24px); background: var(--saffron); }
.price-card { padding: clamp(24px, 4vw, 38px); display: flex; flex-direction: column; }
.price-card--featured { border-color: var(--saffron-line); background: linear-gradient(160deg, rgba(var(--rgb-raise),.85), rgba(var(--rgb-ink),.85)); box-shadow: 0 30px 80px -40px rgba(var(--rgb-saffron),.35); }
.price-card .tier { min-height: 26px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; color: var(--cyan); }
.price-card .pop { font-size: .65rem; letter-spacing: .12em; padding: 4px 10px; border-radius: 100px; color: var(--on-saffron); background: var(--saffron-grad); }
.price { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 600; letter-spacing: -.03em; margin: 14px 0 4px; color: var(--saffron); line-height: 1.1; }
.price small { font-size: .8rem; font-weight: 400; color: var(--faint); letter-spacing: 0; display: block; margin-bottom: 2px; }
.price-sub { font-size: .84rem; color: var(--faint); min-height: 2.6em; margin-bottom: 14px; }
.price-card .desc { margin-bottom: 18px; }
.price-card .check-list { margin-bottom: 26px; flex: 1; }
.price-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.price-meta span { display: inline-flex; gap: 8px; align-items: center; }
.price-meta i { color: var(--cyan); }
.start-price[hidden], [hidden] { display: none !important; }
.price-note { text-align: center; color: var(--faint); font-size: .86rem; margin-top: 14px; }

/* FAQ accordion (smooth height via grid-template-rows) */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 56px; background: none; border: 0; color: var(--text); text-align: left; font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; cursor: pointer; }
.faq-q i { flex: none; color: var(--cyan); transition: transform .35s var(--ease); }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); color: var(--saffron); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 20px; margin: 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* CTA */
.cta-section { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 12vw, 160px) 0; background: radial-gradient(700px 380px at 50% 50%, rgba(var(--rgb-blue),.22), transparent 70%), var(--bg); }
.cta-section h2 { font-size: clamp(1.9rem, 5.4vw, 3.6rem); max-width: 860px; margin: 0 auto 20px; letter-spacing: -.03em; }
.cta-section p { max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-section .hero-cta { justify-content: center; }
.cta-section .hero-cta .btn-nx { flex: 0 1 240px; }
.cta-section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .5; }
.cta-section canvas.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; pointer-events: none; }

/* Forms */
.form-nx { padding: clamp(22px, 4vw, 40px); }
.form-nx label { display: block; font-size: .85rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.form-nx label .opt { color: var(--faint); font-weight: 400; }
.field { margin-bottom: 18px; }
.input-nx { width: 100%; min-height: 52px; padding: 12px 16px; color: var(--text); font: inherit; font-size: 1rem; background: rgba(var(--rgb-ink),.7); border: 1px solid var(--line-control); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
textarea.input-nx { min-height: 130px; resize: vertical; }
select.input-nx { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%237aa7ff' stroke-width='1.8'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.input-nx option { background: var(--bg-deep); color: var(--text); }
.input-nx::placeholder { color: var(--faint); }
.input-nx:hover { border-color: var(--blue-soft); }
.input-nx:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--rgb-cyan),.18); }
.input-nx[aria-invalid="true"] { border-color: var(--err-line); }
.phone-group { display: flex; }
.phone-group .prefix { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line-control); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: rgba(var(--rgb-blue),.1); color: var(--text); font-weight: 500; }
.phone-group .input-nx { border-radius: 0 var(--radius) var(--radius) 0; }
.field-error { display: none; margin-top: 6px; font-size: .84rem; color: var(--err); }
.field-error.show { display: flex; gap: 6px; align-items: center; }
.form-status { display: none; margin-top: 18px; padding: 16px; border-radius: var(--radius); font-size: .94rem; border: 1px solid; }
.form-status.show { display: block; }
.form-status.ok { color: var(--ok); border-color: rgba(var(--rgb-ok),.4); background: rgba(var(--rgb-ok),.07); }
.form-status.err { color: var(--err); border-color: rgba(var(--rgb-err),.4); background: rgba(var(--rgb-err),.07); }
.form-status .btn-nx { margin-top: 12px; }
.contact-info { padding: 0; margin: 24px 0 0; list-style: none; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 18px; color: var(--muted); }
.contact-info i { color: var(--cyan); font-size: 1.15rem; margin-top: 2px; }
.contact-info strong { display: block; color: var(--text); font-weight: 500; font-size: .95rem; }

/* Detail blocks (services page) */
.detail { padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; }
.detail h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: 6px 0 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: linear-gradient(180deg, var(--bg), var(--bg-deeper)); position: relative; z-index: 2; }
.footer h2 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li a { display: inline-block; padding: 7px 0; color: var(--muted); font-size: .94rem; }
.footer li a:hover { color: var(--cyan); }
.footer .tagline { color: var(--amber); letter-spacing: .06em; font-size: .85rem; margin: 14px 0 0; font-weight: 500; }
.footer-contact li { display: flex; gap: 12px; padding: 5px 0; color: var(--muted); font-size: .92rem; }
.footer-contact i { color: var(--cyan); margin-top: 3px; flex: none; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--muted); font-size: 1.1rem; transition: color .25s, border-color .25s, box-shadow .25s, transform .25s; }
.social a:hover { color: #fff; border-color: var(--cyan); box-shadow: 0 0 20px -4px rgba(var(--rgb-cyan),.5); transform: translateY(-2px); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .85rem; color: var(--faint); }
.footer-bottom p { margin: 0; color: var(--faint); }

/* Quick-contact: floating WhatsApp (desktop) + sticky action bar (mobile) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; display: none; place-items: center; border-radius: 50%; background: var(--wa); color: var(--on-wa); font-size: 1.8rem; box-shadow: 0 12px 30px -8px rgba(var(--rgb-wa),.6); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover { color: var(--on-wa); transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px -8px rgba(var(--rgb-wa),.8); }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(var(--rgb-ink),.92); border-top: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); font-weight: 600; font-size: .92rem; color: var(--text); border: 1px solid var(--line-strong); }
.mobile-bar a i { font-size: 1.1rem; }
.mobile-bar .mb-wa { background: var(--wa); color: var(--on-wa); border-color: transparent; }
.mobile-bar .mb-quote { background: linear-gradient(135deg, var(--blue-strong), var(--blue-deep)); border-color: transparent; color: #fff; }

/* Cursor glow (desktop pointer only) */
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(var(--rgb-blue),.1), transparent 65%); opacity: 0; transition: opacity .4s; will-change: transform; }
.cursor-glow.on { opacity: 1; }

/* ----- Premium layer: scroll progress, grain, aurora, glow borders ----- */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 1100; background: var(--saffron-grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.cursor-ring { position: fixed; left: 0; top: 0; z-index: 1600; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(var(--rgb-cyan),.6); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, border-color .25s; will-change: transform; }
.cursor-ring.on { opacity: 1; }
.cursor-ring.grow { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(var(--rgb-cyan),.08); border-color: var(--cyan); }
.footer-mark { margin-top: 36px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.6rem, 16vw, 14rem); line-height: .78; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(var(--rgb-line),.2); user-select: none; overflow: hidden; height: .62em;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.glow-ring { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2; background: conic-gradient(from var(--ang), transparent 0 62%, var(--saffron) 82%, var(--cyan) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinAng 6s linear infinite; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; will-change: transform; }
.aurora .au1 { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; left: -10%; top: -20%; background: radial-gradient(circle, rgba(var(--rgb-blue),.2), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora .au2 { width: 46vw; height: 46vw; max-width: 600px; max-height: 600px; right: -8%; bottom: -10%; background: radial-gradient(circle, rgba(var(--rgb-saffron),.13), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora .au3 { width: 36vw; height: 36vw; max-width: 460px; max-height: 460px; left: 38%; top: 8%; background: radial-gradient(circle, rgba(var(--rgb-violet),.14), transparent 65%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
.section--alt::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* Hero extras: rotating word, cycling laptop screens, floating notification chips */
.rotator { margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 500; color: var(--text); display: flex; align-items: center; gap: .45em; }
.rotator .rot-label { color: var(--faint); }
.rot-window { display: inline-block; height: 1.45em; overflow: hidden; vertical-align: bottom; }
.rot-track { display: flex; flex-direction: column; animation: rot 15s cubic-bezier(.6, 0, .2, 1) infinite; }
.rot-track span { height: 1.45em; line-height: 1.45em; white-space: nowrap; background: var(--saffron-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.screen-stack { position: relative; width: 100%; height: 100%; }
.screen-stack > svg { position: absolute; inset: 0; opacity: 0; animation: screenFade 15s infinite; }
.screen-stack > svg:nth-child(1) { opacity: 1; animation-delay: 0s; }
.screen-stack > svg:nth-child(2) { animation-delay: 5s; }
.screen-stack > svg:nth-child(3) { animation-delay: 10s; }
.fchip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(var(--rgb-ink),.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.8); font-size: .72rem; line-height: 1.25; color: var(--faint); white-space: nowrap; transform: translateZ(110px); }
.fchip b { display: block; color: var(--text); font-size: .78rem; font-weight: 600; }
.fchip i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: .95rem; color: var(--on-wa); background: var(--wa); flex: none; }
.fchip.fc2 i { background: var(--saffron-grad); color: var(--on-saffron); }
.fchip.fc3 i { background: var(--cyan); color: var(--on-cyan); }
.fchip.fc1 { left: 34%; top: 3%; animation: floatA 6s ease-in-out infinite; }
.fchip.fc2 { left: 4%; bottom: 12%; animation: floatB 7s ease-in-out infinite; }
.fchip.fc3 { right: 6%; top: 20%; animation: floatB 8s ease-in-out infinite; }

/* Services bento grid */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bento-item { display: flex; }
.bento-item > .card-nx { flex: 1; }
.svc { padding: 0; display: flex; flex-direction: column; }
.svc-art { position: relative; height: 150px; border-bottom: 1px solid var(--line); overflow: hidden; background: radial-gradient(260px 140px at 70% 20%, rgba(var(--rgb-blue),.22), transparent 70%), radial-gradient(200px 120px at 10% 100%, rgba(var(--rgb-saffron),.1), transparent 70%), var(--bg-3); }
.svc-art svg { width: 100%; height: 100%; display: block; }
.svc-art--solo { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.svc-head .icon-box { margin: 0; width: 42px; height: 42px; font-size: 1.1rem; }
.svc-head h3 { margin: 0; font-size: 1.15rem; }
.svc .start-price { margin-top: 14px; }
.svc .link-arrow { margin-top: auto; padding-top: 14px; }
.js .reveal:not(.is-in) .svc-art * { animation-play-state: paused; }

/* animated mini-scenes inside the bento art (transform / opacity only) */
.a-grow { transform-box: fill-box; transform-origin: left center; animation: aGrow 6s ease-in-out infinite; }
.a-grow.g2 { animation-delay: .3s; } .a-grow.g3 { animation-delay: .6s; }
.a-pop { transform-box: fill-box; transform-origin: center; animation: aPop 6s ease-in-out infinite; }
.a-pop.p2 { animation-delay: 1.2s; }
.a-cursor { transform: translate(70px, 98px); animation: aCursor 6s ease-in-out infinite; }
.a-lift { transform-box: fill-box; animation: aLift 4s ease-in-out infinite; }
.a-lift.l2 { animation-delay: .5s; } .a-lift.l3 { animation-delay: 1s; }
.a-wgrow { transform-box: fill-box; transform-origin: center; animation: aWgrow 5s ease-in-out infinite; }
.a-wgrow.w2 { animation-delay: .25s; } .a-wgrow.w3 { animation-delay: .5s; } .a-wgrow.w4 { animation-delay: .75s; }
.a-bar { transform-box: fill-box; transform-origin: bottom center; animation: aBar 5s ease-in-out infinite; }
.a-bar.b2 { animation-delay: .2s; } .a-bar.b3 { animation-delay: .4s; } .a-bar.b4 { animation-delay: .6s; } .a-bar.b5 { animation-delay: .8s; } .a-bar.b6 { animation-delay: 1s; }
.a-draw { stroke-dasharray: 260; animation: aDraw 5s ease-in-out infinite; }
.a-slide { animation: aSlide 9s cubic-bezier(.6, 0, .2, 1) infinite; }
.a-ring { transform-box: fill-box; transform-origin: center; animation: aRing 3s ease-out infinite; }
.a-ring.r2 { animation-delay: 1.5s; }
.a-rise { animation: aRise 6s ease-out infinite; }
.a-rise.s2 { animation-delay: .4s; } .a-rise.s3 { animation-delay: .8s; }
.a-bub { animation: aBub 9s ease-out infinite; }
.a-bub.u2 { animation-delay: 1.6s; } .a-bub.u3 { animation-delay: 3.2s; }
.a-dot { animation: aDot 1.2s ease-in-out infinite; } .a-dot.d2 { animation-delay: .2s; } .a-dot.d3 { animation-delay: .4s; }
.a-spin { transform-box: fill-box; transform-origin: center; animation: aSpin 14s linear infinite; }
.a-check { stroke-dasharray: 50; animation: aCheck 5s ease-in-out infinite; }
.a-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }

/* How it works: sticky intro + steps with a scroll-progress line */
.sticky-col { position: relative; }
.steps { --prog: 0; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--cyan), var(--saffron)); transform-origin: top; transform: scaleY(var(--prog)); }
.step { position: relative; padding: 0 0 36px 80px; opacity: .45; transition: opacity .5s; }
.step:last-child { padding-bottom: 0; }
.step.is-active, .step.is-done { opacity: 1; }
.step-num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--faint); font-family: var(--font-display); font-weight: 600; transition: color .5s, border-color .5s, box-shadow .5s; z-index: 2; }
.step.is-active .step-num, .step.is-done .step-num { border-color: var(--saffron); color: var(--saffron); box-shadow: 0 0 0 6px rgba(var(--rgb-saffron),.08), 0 0 30px -6px var(--saffron); }
.step-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .5s, transform .5s var(--ease); }
.step.is-active .step-card { border-color: var(--saffron-line); transform: translateX(6px); }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .96rem; }

/* Second marquee: industries, reversed */
.marquee--rev { border-top: 0; background: transparent; padding: 14px 0 18px; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee--rev .marquee-set span { font-size: .85rem; color: var(--faint); border-style: dashed; }

/* ----- Hero v4: cursor flashlight, orbiting tech icons, intro curtain ----- */
.hero-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background-image: linear-gradient(rgba(var(--rgb-cyan),.4) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--rgb-cyan),.4) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(260px circle at var(--hx, 70%) var(--hy, 40%), #000, transparent 72%); mask-image: radial-gradient(260px circle at var(--hx, 70%) var(--hy, 40%), #000, transparent 72%); }
.hero.is-lit .hero-spot { opacity: 1; }
.orbit { position: absolute; z-index: 1; left: 50%; top: 50%; width: 0; height: 0; --r: clamp(104px, 28vw, 330px); animation: orbitSpin 60s linear infinite; pointer-events: none; }
.orbit-ring { position: absolute; left: calc(var(--r) * -1); top: calc(var(--r) * -1); width: calc(var(--r) * 2); height: calc(var(--r) * 2); border: 1px dashed rgba(var(--rgb-line),.24); border-radius: 50%; }
.orbit-item { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateX(var(--r)); }
.orbit-item i { position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--rgb-ink),.9); border: 1px solid var(--line-strong);
  color: var(--cyan); font-size: 1rem; box-shadow: 0 0 24px -6px rgba(var(--rgb-cyan),.6); rotate: calc(var(--a) * -1); animation: orbitSpinRev 60s linear infinite; }
.orbit-item:nth-child(even) i { color: var(--saffron); box-shadow: 0 0 24px -6px rgba(var(--rgb-saffron),.6); }
.intro { position: fixed; inset: 0; z-index: 3000; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--bg); animation: introOut 1.5s cubic-bezier(.7, 0, .2, 1) .35s forwards; }
.intro .brand-mark { width: 76px; height: 76px; animation: introPop .8s var(--ease) both; }
.intro-bar { position: relative; width: 150px; height: 2px; overflow: hidden; background: var(--line); }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: var(--saffron-grad); transform: translateX(-100%); animation: introBar 1s ease-in-out .1s forwards; }
.no-intro .intro { display: none; }

/* Pinned scroll story: the laptop screen changes as you scroll */
.showcase { position: relative; }
.showcase-track { position: relative; }
.showcase-sticky { position: relative; padding: var(--section-y) 0; }
.sc-list { list-style: none; margin: 28px 0 0; padding: 0; }
.sc-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); opacity: .5; transition: opacity .4s; }
.sc-item.on { opacity: 1; }
.sc-item .n { font-family: var(--font-display); font-size: .85rem; color: var(--faint); padding-top: 3px; transition: color .4s; }
.sc-item.on .n { color: var(--saffron); }
.sc-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.sc-item p { margin: 0; font-size: .93rem; }
.sc-bar { height: 2px; background: var(--line); margin-top: 18px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: var(--saffron-grad); transform-origin: left; transform: scaleX(var(--scp, .25)); transition: transform .3s; }
.sc-device { position: relative; margin-top: 36px; perspective: 1400px; }
.sc-device .laptop { width: min(100%, 640px); margin: 0 auto; animation: none; transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease); }
.sc-device::before { content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--rgb-blue),.35), transparent 65%); filter: blur(20px); z-index: -1; }
.sc-screens > svg { position: absolute; inset: 0; opacity: 0; animation: scFade 20s infinite; }
.sc-screens > svg:nth-child(1) { opacity: 1; animation-delay: 0s; }
.sc-screens > svg:nth-child(2) { animation-delay: 5s; } .sc-screens > svg:nth-child(3) { animation-delay: 10s; } .sc-screens > svg:nth-child(4) { animation-delay: 15s; }

/* 6. MOTION ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-word > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--w) * .07s + .1s); }
.js .is-in .split-word > span, .js .split-ready .split-word > span, .js .split-word.is-in > span { transform: none; }
/* gradient accent must be clipped per split word (inline-blocks don't inherit the parent clip) */
.js .hero h1 .accent { background: none; color: inherit; }
.js .hero h1 .accent .split-word > span { background: linear-gradient(100deg, var(--saffron), var(--saffron-hi), var(--saffron)); background-size: 200% 100%; animation: shimmer 6s linear infinite; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }

@keyframes gridDrift { to { transform: translate(48px, 48px); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes floatA { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatB { 0%,100% { translate: 0 0; } 50% { translate: 0 12px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@keyframes spinAng { to { --ang: 360deg; } }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-6vw, -8vh) scale(1.2); } }
@keyframes rot { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-1.45em); } 40%, 56% { transform: translateY(-2.9em); } 60%, 76% { transform: translateY(-4.35em); } 80%, 96% { transform: translateY(-5.8em); } 100% { transform: translateY(-7.25em); } }
@keyframes screenFade { 0% { opacity: 0; } 4% { opacity: 1; } 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes aGrow { 0% { transform: scaleX(0); } 15%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes aPop { 0%, 20% { transform: scale(0); } 28% { transform: scale(1.18); } 34%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes aCursor { 0% { transform: translate(230px, 130px); } 40% { transform: translate(70px, 98px); } 50%, 58% { transform: translate(72px, 100px) scale(.88); } 100% { transform: translate(230px, 130px); } }
@keyframes aLift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes aWgrow { 0%, 100% { transform: scaleX(.3); } 40%, 70% { transform: scaleX(1); } }
@keyframes aBar { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes aDraw { 0% { stroke-dashoffset: 260; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }
@keyframes aSlide { 0%, 28% { transform: translateY(0); } 36%, 62% { transform: translateY(-106px); } 70%, 96% { transform: translateY(-212px); } 100% { transform: translateY(-318px); } }
@keyframes aRing { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes aRise { 0% { opacity: 0; transform: translateY(14px); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes aBub { 0% { opacity: 0; transform: translateY(10px); } 8%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes aDot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes aSpin { to { transform: rotate(360deg); } }
@keyframes aCheck { 0% { stroke-dashoffset: 50; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 50; } }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinRev { to { transform: rotate(-360deg); } }
@keyframes introOut { 0%, 50% { clip-path: inset(0 0 0 0); } 99% { visibility: visible; } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes introPop { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
@keyframes introBar { to { transform: translateX(0); } }
@keyframes scFade { 0% { opacity: 0; } 3% { opacity: 1; } 24% { opacity: 1; } 28%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .split-word > span { transform: none !important; }
  .cursor-glow, .cursor-ring, .scroll-cue, .intro, .hero-spot { display: none !important; }
  .sc-screens > svg:not(:first-child) { display: none; }
  .step { opacity: 1 !important; }
  .rot-track { transform: none !important; }
  .screen-stack > svg:not(:first-child) { display: none; }
  .hero-visual, .mockups { transform: none !important; opacity: 1 !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 10px; }
  .marquee-set[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* 7. MEDIA (mobile-first, widening) ---------------------------------------- */

/* < 992: full-screen mobile menu overlay */
@media (max-width: 991.98px) {
  .nx-menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999; display: none; flex-direction: column; overflow-y: auto; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--bg); }
  .nx-menu.show, .nx-menu.collapsing { display: flex; height: auto !important; transition: none !important; }
  .nav-list { flex: 1; padding-top: 12px; }
  .nav-link-nx { font-family: var(--font-display); font-size: 1.7rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-ctas { padding-top: 24px; }
  .menu-ctas .btn-nx, .menu-ctas .btn-nx--sm { min-height: 54px; padding: 0 24px; font-size: 1rem; }
}

/* < 768: sticky bottom action bar */
@media (max-width: 767.98px) {
  :root { --bar-h: calc(64px + env(safe-area-inset-bottom)); }
}

@media (min-width: 576px) {
  :root { --gutter: 20px; }
  .offer { grid-template-columns: 1fr auto; }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --nav-h: 72px; }
  .mobile-bar { display: none; }
  .wa-float { display: grid; }
}

@media (min-width: 992px) {
  :root { --nav-h: 80px; }
  .nx-toggler { display: none; }
  .nx-menu, .nx-menu.collapse:not(.show) { display: flex; align-items: center; gap: 24px; }  /* beats Bootstrap's .collapse:not(.show) */
  .nav-list { display: flex; gap: 2px; }
  .nav-link-nx { padding: 10px 14px; font-size: .94rem; position: relative; }
  .nav-link-nx::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav-link-nx:hover::after, .nav-link-nx.active::after { transform: scaleX(1); }
  .menu-ctas { display: flex; }
  .menu-call { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero > .container { position: static; }
  .hero-text { max-width: 600px; position: relative; z-index: 3; }
  .hero-cta .btn-nx { flex: 0 1 auto; }
  .hero-visual { position: absolute; z-index: 1; right: -2vw; top: 50%; width: 54%; height: min(80vh, 740px); margin: 0; transform: translateY(-50%); }
  .scroll-cue { display: block; }

}

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .bento .s-6 { grid-column: 1 / -1; }
  .svc-art { height: 170px; }
  body::after { content: ""; position: fixed; inset: 0; z-index: 1500; pointer-events: none; opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
}
@media (min-width: 992px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .bento .s-6 { grid-column: span 6; } .bento .s-4 { grid-column: span 4; } .bento .s-3 { grid-column: span 3; }
  .svc-art { height: 180px; }
  .sticky-col { position: sticky; top: calc(var(--nav-h) + 40px); }
  .fchip { font-size: .78rem; }
}
@media (max-width: 575.98px) {
  .fchip.fc3 { display: none; }
  .fchip { padding: 6px 12px 6px 8px; }
  .step { padding-left: 68px; }
  .steps::before, .steps::after { left: 21px; }
  .step-num { width: 44px; height: 44px; }
}

@media (min-width: 992px) {
  .hero-text { max-width: 720px; }
  /* pinned story: tall track, sticky stage, screens switched by scroll (JS adds .on) */
  .showcase-track { height: 340vh; }
  .showcase-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 10px) 0 30px; overflow: hidden; }
  .sc-device { margin-top: 0; }
  .sc-device .laptop { transform: rotateY(-10deg) rotateX(5deg); }
  .sc-screens > svg { animation: none; opacity: 0; transition: opacity .6s, transform .6s var(--ease); transform: scale(1.04); }
  .sc-screens > svg.on { opacity: 1; transform: none; }
}
@media (max-width: 575.98px) {
  .orbit-item i { width: 32px; height: 32px; left: -16px; top: -16px; font-size: .85rem; }
}

@media (min-width: 1600px) {
  .container { max-width: 1360px; }
  .hero-visual { width: 50%; }
}

@media (hover: none) {
  .card-nx::before { display: none; }
}

/* contact form: action buttons shown after submit */
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.status-actions .btn-nx { margin-top: 0; }

/* 8. V5: AI automation, integrations, enterprise, estimator ----------------- */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .nav-link-nx { padding: 10px 9px; font-size: .86rem; }
  .nav-link-nx::after { left: 9px; right: 9px; }
  .nx-menu, .nx-menu.collapse:not(.show) { gap: 12px; }
  .menu-ctas .btn-nx { padding: 0 14px; font-size: .84rem; }
}

/* segmented tabs (flow scenarios, hub filters) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.02); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 100px; background: transparent; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .25s, color .25s; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: rgba(var(--rgb-blue),.2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(var(--rgb-line),.45); }
.seg button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* automation flow demo */
.flow { padding: clamp(18px, 3vw, 28px); }
.flow-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.flow-board { display: grid; grid-template-columns: 1fr; gap: 12px; position: relative; list-style: none; padding: 0; margin: 0; }
.fnode { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(var(--rgb-ink),.55); transition: border-color .4s, box-shadow .4s, background .4s, opacity .4s; opacity: .6; }
.fnode > i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--cyan); font-size: 1.05rem; background: rgba(var(--rgb-cyan),.06); transition: color .4s, border-color .4s; }
.fnode b { display: block; color: var(--text); font-size: .95rem; font-weight: 600; }
.fnode span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.fnode .ftag { display: inline-block; margin-top: 6px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--blue-soft); }
.fnode.is-run { opacity: 1; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--rgb-cyan),.12), 0 18px 50px -30px rgba(var(--rgb-cyan),.7); background: rgba(var(--rgb-raise),.8); }
.fnode.is-done { opacity: 1; border-color: rgba(var(--rgb-ok),.45); }
.fnode.is-done > i { color: var(--ok); border-color: rgba(var(--rgb-ok),.5); }
.fnode::after { content: ""; position: absolute; left: 34px; bottom: -13px; width: 2px; height: 12px; background: var(--line-strong); }
.fnode:last-child::after { display: none; }
.fnode.is-done::after { background: var(--ok); }
.flow-log { margin-top: 18px; padding: 14px 16px; height: 168px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-deeper); font: 500 .8rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.flow-log p { margin: 0; color: inherit; font: inherit; }
.flow-log .t { color: var(--faint); margin-right: 8px; }
.flow-log .ok { color: var(--ok); }
.flow-log .ai { color: var(--cyan); }
.flow-log .crm { color: var(--saffron); }
.flow-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 16px; font-size: .84rem; color: var(--faint); }
@media (min-width: 768px) {
  .flow-board { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .fnode { flex-direction: column; min-height: 176px; }
  .fnode::after { left: auto; right: -15px; top: 38px; bottom: auto; width: 16px; height: 2px; }
}

/* capability cards */
.cap { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 30px); }
.cap .chips { margin-top: auto; padding-top: 18px; }
.cap-kicker { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 10px; }

/* project estimator */
.est { padding: clamp(20px, 3.5vw, 36px); }
.est fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.est legend { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 10px; float: none; width: auto; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; margin: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-control); border-radius: var(--radius); color: var(--muted); font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; user-select: none; }
.opt span:hover { border-color: var(--blue-soft); color: var(--text); }
.opt input:checked + span { border-color: var(--cyan); background: rgba(var(--rgb-cyan),.09); color: var(--text); }
.opt input[type=checkbox]:checked + span::before { content: "\2713"; color: var(--cyan); font-weight: 700; }
.opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.est-out { padding: clamp(22px, 3vw, 30px); }
@media (min-width: 992px) { .est-out { position: sticky; top: calc(var(--nav-h) + 20px); height: auto; } }
.est-out .lbl { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.est-out .est-range { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--text); margin: 6px 0 4px; line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.est-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.est-meta div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.est-meta b { display: block; color: var(--text); font-size: 1.05rem; }
.est-meta small { color: var(--faint); font-size: .78rem; }
.est-out .est-team { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.est-out .est-note { font-size: .78rem; color: var(--faint); margin: 12px 0 0; }

/* range sliders (ROI) */
.rng { margin-bottom: 20px; }
.rng label { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.rng output { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rng input[type=range] { width: 100%; accent-color: var(--saffron); height: 28px; cursor: pointer; }
.roi-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-big div { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(var(--rgb-ink),.55); min-width: 0; }
.roi-big b { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 1.8rem); color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.roi-big div:first-child b { color: var(--saffron); }
.roi-big small { color: var(--faint); font-size: .8rem; }

/* integration hub */
.hub-wrap { display: grid; gap: 28px; align-items: center; }
.hub { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.hub svg.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines line { stroke: rgba(var(--rgb-line),.28); stroke-width: .5; stroke-dasharray: 1.5 2; transition: stroke .3s, stroke-width .3s; }
.hub-lines line.on { stroke: var(--cyan); stroke-width: .8; stroke-dasharray: none; }
.hub-core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; border-radius: 50%; border: 1px solid rgba(var(--rgb-cyan),.5); background: radial-gradient(circle, rgba(var(--rgb-blue),.35), rgba(var(--rgb-ink),.92) 70%); box-shadow: 0 0 60px -10px rgba(var(--rgb-blue),.7); font-family: var(--font-display); font-weight: 700; font-size: clamp(.68rem, 2vw, .95rem); color: var(--text); line-height: 1.2; padding: 8px; }
.hub-core::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(var(--rgb-cyan),.35); animation: hubSpin 30s linear infinite; }
@keyframes hubSpin { to { transform: rotate(360deg); } }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: clamp(.6rem, 1.6vw, .78rem); line-height: 1.2; cursor: pointer; white-space: nowrap; }
.hub-node i { width: clamp(36px, 8vw, 50px); height: clamp(36px, 8vw, 50px); display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--blue-soft); font-size: clamp(.9rem, 2.4vw, 1.2rem); transition: border-color .25s, box-shadow .25s, color .25s, transform .25s var(--ease); }
.hub-node:hover i, .hub-node[aria-selected="true"] i { border-color: var(--cyan); color: #fff; box-shadow: 0 0 26px -4px rgba(var(--rgb-cyan),.6); transform: scale(1.08); }
.hub-node[aria-selected="true"] { color: var(--text); }
.hub-node:focus-visible { outline: none; }
.hub-node:focus-visible i { outline: 2px solid var(--cyan); outline-offset: 3px; }
.hub-detail { padding: clamp(20px, 3vw, 28px); }
.hub-detail:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.hub-tour { margin: 14px auto 0; display: flex; }
.flow-log:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hub-detail h3 { font-size: 1.35rem; margin: 6px 0 10px; }
.hub-detail .cat { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-soft); }
.hub-detail .check-list { margin-top: 14px; }
@media (min-width: 992px) { .hub-wrap { grid-template-columns: 1.05fr .95fr; gap: 48px; } }

/* engagement models, tables, honesty notes, kpis */
.model { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); }
.model .best { font-size: .84rem; color: var(--faint); margin: 2px 0 6px; }
.model .check-list { margin: 14px 0 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-family: var(--font-display); color: var(--text); font-weight: 600; background: rgba(var(--rgb-blue),.06); }
.tbl tbody th { color: var(--text); font-weight: 500; }
.tbl td { color: var(--muted); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.honest { display: flex; gap: 12px; padding: 16px 18px; border: 1px dashed var(--saffron-line); border-radius: var(--radius-lg); font-size: .88rem; color: var(--muted); }
.honest i { color: var(--saffron); flex: none; margin-top: 2px; }
.honest p { margin: 0; font-size: inherit; }
.mini { padding: 20px; }
.mini h3 { font-size: 1.02rem; margin: 0 0 6px; }
.mini p { font-size: .88rem; }
.mini > i { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--cyan); font-size: 1.1rem; }
.sec-anchor { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { .fnode { opacity: 1; } .hub-core::before { animation: none; } }
.hub-nodes { position: absolute; inset: 0; }

/* ---- V5 motion: automation demo as the one orchestrated moment ------------- */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.fnode > i { position: relative; }
.fnode.is-run > i { color: #fff; border-color: var(--cyan); }
.fnode.is-run > i::after { content: ""; position: absolute; inset: -1px; border-radius: 8px; border: 1px solid var(--cyan); animation: nodePing 1.1s var(--ease-out) infinite; }
/* data packet crossing the connector once a step completes */
.fnode::before { content: ""; position: absolute; z-index: 2; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); opacity: 0; left: 32px; bottom: -14px; pointer-events: none; }
.fnode:last-child::before { display: none; }
.fnode.is-done::before { animation: packetY .55s var(--ease-out) both; }
.flow-log p:last-child { animation: logIn .2s var(--ease-out) both; }
.flow-log p:last-child::after { content: ""; display: inline-block; width: .55em; height: 1em; margin-left: 6px; vertical-align: -2px; background: var(--cyan); animation: caret 1s steps(1) infinite; }
@keyframes nodePing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
@keyframes packetY { 0% { opacity: 0; transform: translateY(-8px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes packetX { 0% { opacity: 0; transform: translateX(-6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(14px); } }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } }
@keyframes caret { 50% { opacity: 0; } }
@media (min-width: 768px) {
  .fnode::before { left: auto; right: -16px; bottom: auto; top: 36px; }
  .fnode.is-done::before { animation-name: packetX; }
}

/* hero: affordability line read from CONFIG */
.hero-price { max-width: 560px; position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -8px 0 26px; font-size: .92rem; color: var(--muted); }
.hero-price b { color: var(--saffron); font-family: var(--font-display); font-weight: 600; }
.hero-price .pchip { padding: 4px 12px; border: 1px solid var(--saffron-line); border-radius: 100px; background: rgba(var(--rgb-saffron), .06); white-space: nowrap; }
@media (max-width: 575.98px) { .hero-price { gap: 8px; } .hero-price > span:first-child { flex-basis: 100%; } }

/* ---- V5 responsive ------------------------------------------------------- */
/* Bootstrap g-5 (3rem) gutters overhang the 16-20px phone gutter: keep row margins inside the container */
@media (max-width: 767.98px) { .g-5, .gx-5 { --bs-gutter-x: calc(var(--gutter) * 2); } }
/* SLA table on phones: sticky row labels so every column keeps its context, plus a swipe hint */
.tbl-hint { display: none; margin: 0 0 8px; font-size: .8rem; color: var(--faint); }
.tbl-wrap:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 767.98px) {
  .tbl-hint { display: flex; gap: 8px; align-items: center; }
  .tbl { min-width: 560px; font-size: .84rem; }
  .tbl th, .tbl td { padding: 12px; }
  .tbl th:first-child { position: sticky; left: 0; z-index: 1; width: 128px; background: var(--bg-3); box-shadow: 1px 0 0 var(--line); }
}
/* integration hub on small phones: leave room for edge labels and let them wrap */
@media (max-width: 575.98px) {
  .hub { width: calc(100% - 56px); }
  .hub-node span { max-width: 10ch; white-space: normal; text-align: center; }
  .hub-core { font-size: .62rem; }
}
/* estimator on phones: two-column option grid halves the scroll before the result */
@media (max-width: 575.98px) {
  .est .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .est .opt span { width: 100%; height: 100%; padding: 8px 10px; font-size: .84rem; line-height: 1.25; }
}
/* off-screen sections: freeze decorative loops (set by initOffscreenPause) */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
/* hero headline: quicker word stagger so the LCP text settles sooner */
.js .hero .split-word > span { transition-duration: .7s; transition-delay: calc(var(--w) * .035s + .05s); }

/* ---- V5 photography (CC0 stock, graded to the navy palette) --------------- */
.tile--photo { padding-top: 0; overflow: hidden; }
.tile-img { display: block; width: calc(100% + 40px); max-width: none; margin: 0 -20px 6px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-bottom: 1px solid var(--line); opacity: .88; transition: opacity .3s, transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile--photo:hover .tile-img { opacity: 1; transform: scale(1.03); } }
.tile--photo > i { margin-top: -30px; position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line-strong); font-size: 1.25rem; }
.ph-media { position: relative; margin: 32px 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(var(--rgb-blue), .55); }
.ph-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--rgb-ink), .7)), linear-gradient(90deg, rgba(var(--rgb-ink), .35), transparent 40%); pointer-events: none; }
.ph-media figcaption { position: absolute; z-index: 1; right: 10px; bottom: 8px; font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
@media (min-width: 992px) {
  .page-hero--media .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
  .page-hero--media .ph-media { margin: 0; }
}
@media (max-width: 575.98px) { .ph-media img { aspect-ratio: 16 / 10; } }
/* capability cards: photo strip on top */
.cap-img { display: block; width: calc(100% + 2 * clamp(22px, 3vw, 30px)); max-width: none; margin: calc(-1 * clamp(22px, 3vw, 30px)) calc(-1 * clamp(22px, 3vw, 30px)) 18px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-bottom: 1px solid var(--line); opacity: .9; transition: opacity .3s, transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cap:hover .cap-img { opacity: 1; transform: scale(1.03); } }
/* section photos: beside the section head on desktop, under it on phones */
.sec-media { position: relative; margin: 24px 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -40px rgba(var(--rgb-blue), .5); }
.sec-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sec-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(var(--rgb-ink), .65)); pointer-events: none; }
.sec-media figcaption { position: absolute; z-index: 1; right: 10px; bottom: 8px; font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
@media (min-width: 992px) {
  .section-head--media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
  .section-head--media .sec-media { margin: 0; }
  .sticky-col .section-head--media { display: block; }
  .sticky-col .section-head--media .sec-media { margin-top: 24px; }
}

/* ---- V5 photography on the home page + shared sections --------------------- */
.hero-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.mq-chip { display: inline-flex; align-items: center; gap: 8px; }
.marquee--rev .marquee-set .mq-chip { padding-left: 6px; }
.mq-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.sc-item { align-items: flex-start; }
.sc-thumb { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-strong); opacity: .75; transition: opacity .4s; }
.sc-item.on .sc-thumb { opacity: 1; }
.svc-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .5; pointer-events: none; }
.svc-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--rgb-ink), .05), rgba(var(--rgb-ink), .45)); pointer-events: none; }
.svc-art > svg { position: relative; z-index: 1; }
.offer > div, .offer > a { position: relative; z-index: 1; }
.offer-photo { position: absolute; right: 0; top: 0; width: 46%; height: 100%; max-width: none; object-fit: cover; opacity: .35; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .16; pointer-events: none; }
.cta-section > .container { position: relative; z-index: 2; }
@media (max-width: 575.98px) { .sc-thumb { width: 56px; height: 42px; } .offer-photo { width: 100%; opacity: .16; -webkit-mask-image: none; mask-image: none; } }
.section-head--center .sec-media { max-width: 760px; margin: 28px auto 0; }
/* section heads inside a column (not full width): photo stacks under the text */
[class*="col-"] .section-head--media { display: block; }
[class*="col-"] .section-head--media .sec-media { margin-top: 24px; }

/* ==========================================================================
   9. V6 — reference-led redesign (black page · white rounded panels · magenta)
   Overrides the earlier layers at equal specificity, so it must stay last.
   ========================================================================== */

/* ---- base + type -------------------------------------------------------- */
body { background: var(--bg); font-size: 1rem; line-height: 1.6; letter-spacing: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
h1, h2 { font-weight: 700; text-transform: uppercase; line-height: 1.08; }
h3, h4 { font-weight: 600; }
p { color: var(--muted); }
a { color: var(--blue-soft); }
a:hover { color: var(--accent-hover); }
.is-light a:hover { color: var(--ink); }
::selection { background: rgba(var(--rgb-blue), .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.is-light :focus-visible { outline-color: var(--accent-ink); }
.skip-link { background: var(--accent); color: var(--ink); border-radius: var(--radius-btn); }

/* retired v5 decoration: glows, aurora, grain, cursor effects, intro curtain, shimmer */
body::after, .cursor-glow, .cursor-ring, .aurora, .hero-glow, .hero-spot, .orbit, .light-bridge, .glow-ring, .intro, .footer-mark, .scroll-cue { display: none !important; }
.section--alt { background: var(--bg); }
.section--alt::before, .cta-section::before, .card-nx::after { display: none; }
.scroll-progress { height: 2px; background: var(--accent); }

/* section heads: reference eyebrow is a short magenta line of normal-case text */
.eyebrow { font-size: .92rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--cyan); margin-bottom: 12px; gap: 0; }
.eyebrow::before { display: none; }
.section-title { font-size: clamp(1.7rem, 3.8vw, 2.75rem); margin-bottom: 14px; letter-spacing: -0.025em; }
.section-lead { color: var(--muted); }
.hindi { color: var(--faint); font-size: .9rem; }

/* hairline grid like the reference hero (static, fades out) */
.grid-bg { -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%); }
.grid-bg::before { inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 101px 101px; opacity: 1; animation: none; }

/* ---- buttons: magenta pill, uppercase, ↗ arrow ---------------------------- */
.btn-nx { min-height: 48px; padding: 0 22px; border-radius: var(--radius-btn); font-weight: 500; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; transform: none; box-shadow: none; }
.btn-nx:hover { transform: translateY(-2px); }
.btn-nx .bi-arrow-right { transform: rotate(-45deg); }
.btn-nx:hover .bi-arrow-right { transform: rotate(-45deg) translate(2px, 0); }
.btn-nx--primary, .btn-nx--saffron { --_bg: var(--accent); --_bd: var(--accent); --_fg: var(--ink); box-shadow: none; }
.btn-nx--primary:hover, .btn-nx--saffron:hover { --_bg: var(--accent-hover); --_bd: var(--accent-hover); box-shadow: none; color: var(--ink); }
.btn-nx--ghost { --_bd: rgba(var(--rgb-line), .35); }
.btn-nx--ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn-nx--sm { min-height: 44px; padding: 0 18px; font-size: .76rem; }
.btn-nx[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-text { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px; color: var(--text); font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.btn-text i { transform: rotate(-45deg); transition: transform .25s var(--ease); }
.btn-text:hover { color: var(--accent); }
.btn-text:hover i { transform: rotate(-45deg) translateX(3px); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin6 .7s linear infinite; }
@keyframes spin6 { to { transform: rotate(360deg); } }

/* ---- cards: flat dark #111, 24px radius, no glow / tilt ------------------- */
.card-nx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
.card-nx::before { display: none; }
.card-nx:hover { border-color: var(--line-strong); box-shadow: none; }
.is-light .card-nx { border-color: transparent; }
.is-light .card-nx:hover { border-color: var(--line-strong); }
.icon-box { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); }
.card-nx:hover .icon-box { box-shadow: none; border-color: var(--accent); color: var(--accent); }
.is-light .card-nx:hover .icon-box { color: var(--accent-ink); border-color: var(--accent-ink); }
.link-arrow { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.card-nx:hover .link-arrow, .link-arrow:hover { color: var(--accent-hover); }
.is-light .card-nx:hover .link-arrow, .is-light .link-arrow:hover { color: var(--ink); }
.chip { border-color: var(--line-strong); color: var(--muted); background: transparent; }
.badge-nx { border-color: var(--line-strong); color: var(--muted); background: transparent; letter-spacing: .08em; }
.check-list i { color: var(--cyan); }
.tile, .trust-tile, .step-card, .mini { border-radius: var(--radius-lg); }
.tile:hover { box-shadow: none; transform: translateY(-3px); }
img.tile-img, .cap-img, .ph-media img, .sec-media img, .svc-photo, .offer-photo, .cta-photo, .hero-photo { filter: saturate(.6) contrast(1.04); }   /* neutralise the old navy grade */
.ph-media, .sec-media { border-radius: var(--radius-lg); border-color: var(--line); box-shadow: none; }
.ph-media::after, .sec-media::after { background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); }

/* ---- white rounded panels (signature layout) ----------------------------- */
.panel { padding: clamp(20px, 3vw, 40px) 0; }
.panel > .container { background: var(--panel); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 64px); width: calc(100% - 2 * var(--gutter)); }
.panel > .container.is-light { box-shadow: 0 1px 0 rgba(255,255,255,.04); }
@media (max-width: 575.98px) { .panel > .container { width: calc(100% - 16px); border-radius: 28px; } }
.panel .section-head { margin-bottom: clamp(24px, 4vw, 44px); }
.head-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 4vw, 40px); }
.head-row .section-head { margin: 0; }
.head-row .section-title { margin: 0; }

/* ---- header -------------------------------------------------------------- */
.nx-nav::before { background: rgba(0,0,0,.86); border-bottom-color: var(--line); }
.brand-mark { width: 40px; height: 40px; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: -.03em; }
.brand-text strong em { color: var(--accent); }
.brand-text small { letter-spacing: .38em; color: var(--faint); font-weight: 500; }
.nx-toggler { border-radius: 50%; border-color: var(--line-strong); background: transparent; }
.nav-link-nx { color: #d4d3d7; font-weight: 500; background: none; border: 0; font-family: var(--font-body); cursor: pointer; text-align: left; }
.nav-link-nx:hover, .nav-link-nx.active { color: #fff; }
.sub-toggle i { font-size: .7em; margin-left: 4px; transition: transform .25s var(--ease); display: inline-block; }
.has-sub.is-open .sub-toggle i { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 0; }
.sub a { display: block; color: var(--muted); }
.sub a:hover, .sub a[aria-current="page"] { color: #fff; }
.sub small { display: block; color: var(--faint); font-size: .74rem; font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: 2px; }
@media (max-width: 991.98px) {
  .nx-menu { background: #000; }
  .nav-link-nx { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -.02em; width: 100%; }
  .sub-toggle i { display: none; }
  .sub { padding: 4px 0 12px 2px; border-bottom: 1px solid var(--line); }
  .sub a { padding: 9px 0; font-size: 1rem; }
  .has-sub .sub-toggle { border-bottom: 0; pointer-events: none; }
}
@media (min-width: 992px) {
  :root { --nav-h: 84px; }
  .nav-link-nx { font-size: .74rem !important; letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px !important; }
  .nav-link-nx::after { left: 12px !important; right: 12px !important; bottom: 2px; background: var(--accent); }
  .has-sub { position: relative; }
  .sub { position: absolute; left: 0; top: calc(100% + 10px); min-width: 280px; padding: 10px; background: #111; border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
  .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .sub a { padding: 10px 14px; border-radius: 12px; font-size: .9rem; font-weight: 500; color: #fff; }
  .sub a:hover, .sub a[aria-current="page"] { background: rgba(255,255,255,.06); }
  .menu-ctas .btn-nx { min-height: 46px; }
}

/* ---- hero: grid, uppercase headline left, interface mockups right -------- */
.hero { min-height: min(100svh, 920px); padding: calc(var(--nav-h) + 40px) 0 72px; background: #000; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 22px; max-width: 14ch; }
.hero h1 .accent { color: var(--accent); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.js .hero h1 .accent .split-word > span { background: none; color: var(--accent); animation: none; -webkit-background-clip: border-box; background-clip: border-box; }
.hero .lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 520px; }
.hero-cta { align-items: center; gap: 10px 18px; }
.hero-meta { color: var(--faint); font-size: .8rem; gap: 8px 22px; }
.hero-meta i { color: var(--accent); }
.hero-photo, .fchip { display: none; }
.hero-visual { height: clamp(280px, 70vw, 420px); }
.laptop-screen { border-color: rgba(255,255,255,.16); background: #0b0b0c; box-shadow: 0 50px 90px -40px rgba(var(--rgb-blue), .45); }
.laptop-base { border-color: rgba(255,255,255,.1); background: linear-gradient(#1c1c1f, #0b0b0c); }
.phone { border-color: rgba(255,255,255,.22); background: #0b0b0c; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.mockups { transform: none; }
@media (min-width: 992px) {
  .hero-visual { width: 46%; right: 2vw; height: min(70vh, 600px); }
  .hero h1 { max-width: 15ch; }
}

/* ---- tech marquee: outlined pills on black ------------------------------- */
.marquee { border-color: var(--line); background: #000; }
.marquee-set span { font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-color: var(--line-strong); }

/* ---- services: numbered rows with centred uppercase titles --------------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-h { margin: 0; font-size: inherit; text-transform: none; }
.svc-q { width: 100%; display: grid; grid-template-columns: 44px 1fr 48px; align-items: center; gap: 12px; padding: clamp(16px, 2.4vw, 24px) 0; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; }
.svc-n { font-size: .82rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.svc-t { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: clamp(1.05rem, 3.1vw, 2.35rem); line-height: 1.1; transition: color .25s; }
.svc-ic { justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.05rem; color: var(--ink); transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.svc-q:hover .svc-t { color: var(--accent-ink); }
.svc-q:hover .svc-ic, .svc-row.is-open .svc-ic { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.svc-row.is-open .svc-ic { transform: rotate(-12deg); }
.svc-p { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.js .svc-p { grid-template-rows: 0fr; }
.js .svc-row.is-open .svc-p { grid-template-rows: 1fr; }
.svc-p > div { overflow: hidden; }
.svc-p-in { display: grid; gap: 10px 32px; padding: 0 0 22px 56px; }
.svc-p-in p { margin: 0; font-size: .98rem; }
.svc-ben { color: var(--ink) !important; }
.svc-ben b { color: var(--accent-ink); font-weight: 600; }
.svc-p-in .link-arrow { margin: 4px 0 0; }
@media (min-width: 768px) {
  .svc-q { grid-template-columns: 70px 1fr 56px; }
  .svc-t { text-align: center; }
  .svc-p-in { grid-template-columns: 1.2fr 1fr auto; align-items: start; padding: 0 70px 26px; }
  .svc-p-in .link-arrow { margin: 0; white-space: nowrap; }
}

/* ---- portfolio slider (white panel, pink slides) ------------------------- */
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; column-gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 28px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline-offset: 4px; }
.slide { scroll-snap-align: start; display: grid; gap: 22px; align-items: center; padding: clamp(20px, 4vw, 44px); background: var(--panel-pink); border-radius: 28px; min-width: 0; }
.slide .project-tag { color: var(--accent-ink); }
.slide h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); text-transform: uppercase; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.slide p { font-size: .95rem; margin-bottom: 0; }
.slide .chips { margin-top: 14px; }
.slide-art { border-radius: 22px; overflow: hidden; background: #0b0b0c; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.slide-art svg { width: 100%; height: 100%; display: block; }
.slider-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.slider-ctrl button { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s, opacity .25s; }
.slider-ctrl button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.slider-ctrl button:disabled { opacity: .35; cursor: default; }
.slider-bar { flex: 1; max-width: 520px; height: 2px; margin-left: 12px; background: var(--line); overflow: hidden; }
.slider-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(.33); transition: transform .3s; }
.sample-note { font-size: .82rem; color: var(--faint); margin: 14px 0 0; }
@media (min-width: 992px) { .slide { grid-template-columns: 1fr 1.25fr; gap: 48px; } }

/* ---- industries: dark photo cards ---------------------------------------- */
.ind-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.ind-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ind-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.55) contrast(1.05); }
.ind-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ind-body h3 { font-size: 1.15rem; margin: 0; }
.ind-body p { font-size: .92rem; margin: 0; }
.ind-body .chips { margin-top: auto; padding-top: 10px; }

/* ---- why us: dark raised cards (reference "benefits" row) ---------------- */
.why-card { height: 100%; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid transparent; transition: border-color .3s; }
.why-card:hover { border-color: var(--line-strong); }
.why-card i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 18px; font-size: 1.35rem; color: var(--ink); background: var(--accent); }
.why-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.why-card p { font-size: .9rem; margin: 0; }

/* ---- process (7 steps) inside a white panel ------------------------------ */
.steps::after { background: var(--accent); }
.step { opacity: 1; }   /* text stays fully readable; only the number + line show progress */
.step-num { background: var(--bg); border-color: var(--line-strong); color: var(--faint); font-weight: 700; }
.step.is-active .step-num, .step.is-done .step-num { border-color: var(--accent); color: var(--ink); background: var(--accent); box-shadow: none; }
.step-card { background: var(--surface); border-color: transparent; }
.step.is-active .step-card { border-color: var(--line-strong); transform: none; }
.is-light .step-num { background: #fff; }
.is-light .step.is-active .step-num, .is-light .step.is-done .step-num { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.step h3 { font-size: 1.12rem; }

/* ---- tech + integrations ------------------------------------------------- */
.tech-card { height: 100%; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: transparent; transition: border-color .3s, background .3s; }
.tech-card:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.02); }
.tech-card i { font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 14px; }
.tech-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.tech-card p { font-size: .88rem; margin: 0; }
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.tools span { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tools-note { text-align: center; font-size: .82rem; color: var(--faint); margin: 14px 0 0; }

/* ---- FAQ (works without JS: collapsed only when .js) --------------------- */
.faq-a { grid-template-rows: 1fr; }
.js .faq-a { grid-template-rows: 0fr; }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem); padding: 22px 0; }
.faq-q i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); }
.faq-q[aria-expanded="true"] i { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.faq-item { border-color: var(--line); }

/* ---- contact panel: info card + underline form --------------------------- */
.contact-grid { display: grid; gap: 28px; }
.contact-card { padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--panel-grey); display: flex; flex-direction: column; gap: 14px; }
.contact-card h3 { font-size: 1.25rem; margin: 0; }
.contact-card p { margin: 0; font-size: .94rem; }
.contact-card .contact-info { margin: 6px 0 0; }
.contact-card .contact-info li { margin-bottom: 12px; color: var(--muted); }
.contact-card .contact-info i { color: var(--accent-ink); }
.contact-card .contact-info a { color: var(--ink); font-weight: 500; }
.contact-card .contact-info a:hover { color: var(--accent-ink); }
.contact-form h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin-bottom: 8px; text-transform: none; letter-spacing: -.03em; }
.contact-form > p { margin-bottom: 18px; }
.form-grid { display: grid; gap: 0 22px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(3, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
@media (min-width: 992px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 44px; align-items: start; } }
.form-nx { padding: 0; background: transparent; border: 0; }
.form-nx label { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.form-nx label .req { color: var(--accent-ink); }
.is-light .input-nx, .form-line .input-nx { min-height: 46px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-control); border-radius: 0; background: transparent; color: var(--text); }
.is-light .input-nx:hover { border-color: var(--ink); }
.is-light .input-nx:focus { border-color: var(--accent-ink); box-shadow: 0 1px 0 0 var(--accent-ink); }
.is-light select.input-nx { padding-right: 28px; background-repeat: no-repeat; background-position: right 4px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%230e0f11' stroke-width='1.8'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); }
.is-light select.input-nx option { background: #fff; color: var(--ink); }
.is-light textarea.input-nx { min-height: 110px; }
.is-light .input-nx::placeholder { color: #8a898d; }
.is-light .input-nx[aria-invalid="true"] { border-color: #c0143c; }
.is-light .field-error { color: #b0103a; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 8px; }
.form-foot small { color: var(--faint); font-size: .8rem; max-width: 380px; }
.is-light .form-status.ok { color: #0b6b34; border-color: rgba(11,107,52,.35); background: rgba(11,107,52,.06); }
.is-light .form-status.err { color: #b0103a; border-color: rgba(176,16,58,.35); background: rgba(176,16,58,.05); }

/* ---- closing CTA on inner pages: white panel ------------------------------ */
.cta-section { background: #000; padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); text-align: left; }
.cta-section canvas.bg-canvas, .cta-photo { display: none; }
.cta-section > .container { background: var(--panel); border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 80px) clamp(22px, 5vw, 72px); width: calc(100% - 2 * var(--gutter)); color: var(--ink);
  --text: var(--ink); --muted: #47464a; --faint: #646367; --line-strong: rgba(14,15,17,.25); }
.cta-section h2 { color: var(--ink); margin: 0 0 16px; max-width: 18ch; font-size: clamp(1.8rem, 4.6vw, 3.4rem); }
.cta-section p { margin: 0 0 28px; color: #47464a; max-width: 560px; }
.cta-section .eyebrow { color: var(--accent-ink); }
.cta-section .hero-cta { justify-content: flex-start; }
.cta-section .btn-nx--ghost { --_fg: var(--ink); --_bd: rgba(14,15,17,.3); }
.cta-section .btn-nx--ghost:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 575.98px) { .cta-section > .container { width: calc(100% - 16px); border-radius: 28px; } }

/* ---- inner page hero -------------------------------------------------------- */
.page-hero { padding: calc(var(--nav-h) + 56px) 0 48px; background: #000; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.035em; max-width: 18ch; }
.page-hero .lead { color: var(--muted); }

/* ---- misc components re-tuned for the new palette ------------------------- */
.offer { border-color: var(--line-strong); background: var(--surface); border-radius: var(--radius-lg); }
.offer .tag { color: var(--accent); }
.price-card--featured { border-color: var(--accent); background: var(--surface); box-shadow: none; }
.price { color: var(--text); }
.price-card .tier { color: var(--accent); }
.price-card .pop { background: var(--accent); color: var(--ink); }
.start-price b { color: var(--accent); }
.switch[aria-checked="true"] { background: rgba(var(--rgb-blue), .18); border-color: var(--accent); }
.switch[aria-checked="true"]::after { background: var(--accent); }
.filter-btn { border-color: var(--line-strong); }
.filter-btn:hover { border-color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.project-card { border-radius: var(--radius-lg); }
.project-tag, .cap-kicker, .hub-detail .cat { color: var(--accent); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--accent); color: var(--ink); box-shadow: none; }
.fnode.is-run { border-color: var(--accent); box-shadow: none; background: var(--surface-2); }
.fnode.is-run > i, .fnode.is-run > i::after { border-color: var(--accent); }
.fnode::before, .flow-log p:last-child::after { background: var(--accent); box-shadow: none; }
.flow-log { background: #050505; }
.opt input:checked + span { border-color: var(--accent); background: rgba(var(--rgb-blue), .1); }
.hub-core { background: radial-gradient(circle, rgba(var(--rgb-blue), .22), #000 70%); border-color: rgba(var(--rgb-blue), .5); box-shadow: none; }
.hub-node i { background: #111; color: var(--text); }
.hub-node:hover i, .hub-node[aria-selected="true"] i { box-shadow: none; border-color: var(--accent); background: var(--accent); color: var(--ink); }
.hub-lines line.on { stroke: var(--accent); }
.honest { border-color: var(--line-strong); }
.honest i { color: var(--accent); }
.roi-big div { background: #0b0b0c; }
.tbl thead th { background: rgba(255,255,255,.04); }
.mini > i { border-radius: 50%; color: var(--accent); }
.slot { border-color: var(--line-strong); background: transparent; }
.slot b { color: var(--accent); }
.phone-group .prefix { background: rgba(255,255,255,.04); }
.mobile-bar { background: rgba(0,0,0,.92); }
.mobile-bar a { border-radius: var(--radius-btn); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.mobile-bar .mb-quote { background: var(--accent); color: var(--ink); }
.wa-float { box-shadow: 0 10px 26px -10px rgba(var(--rgb-wa), .6); }

/* ---- footer --------------------------------------------------------------- */
.footer { background: #000; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 90px) 0 28px; }
.footer-word { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; color: #fff; text-transform: none; margin-bottom: 14px; }
.footer-word em { font-style: normal; color: var(--accent); }
.footer-word:hover { color: #fff; }
.footer .tagline { color: var(--muted); font-size: .95rem; letter-spacing: 0; max-width: 340px; font-weight: 400; }
.footer h2 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; color: var(--faint); font-weight: 500; text-transform: uppercase; }
.footer li a { color: #fff; font-size: .98rem; padding: 6px 0; }
.footer li a:hover { color: var(--accent); }
.footer-contact li { color: var(--muted); }
.footer-contact i { color: var(--accent); }
.footer-contact a { color: #fff; }
.social a { border-radius: 50%; border-color: var(--line-strong); color: #fff; }
.social a:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; transform: none; }
.footer-cta { margin-top: 22px; }
.footer-bottom { font-size: .8rem; }
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .svc-p, .faq-a { transition: none; }
  .slider-track { scroll-behavior: auto; }
}

/* ---- V6.1 international: founder card -------------------------------------- */
.founder { display: flex; gap: 20px; align-items: flex-start; margin-top: 28px; padding: clamp(20px, 3vw, 30px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.founder[hidden] { display: none; }
.founder-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.founder h3 { font-size: 1.25rem; margin: 0 0 2px; }
.founder-role { color: var(--accent); font-size: .9rem; margin: 0 0 8px; }
.is-light .founder-role { color: var(--accent-ink); }
.founder-links { display: flex; gap: 16px; margin-top: 10px; font-size: .9rem; }
.panel .why-card { background: var(--panel-grey); }
#genai .sec-media img, #global .sec-media img { aspect-ratio: 21 / 8; }
@media (max-width: 575.98px) { #genai .sec-media img, #global .sec-media img { aspect-ratio: 16 / 9; } }
/* phones: grid/flex children may shrink below their content; long emails and URLs wrap instead of widening the page */
.contact-grid > *, .form-grid > *, .ind-body, .why-card, .tech-card, .founder > div { min-width: 0; }
.contact-card a, .footer-contact a, .contact-info a, .founder a { overflow-wrap: anywhere; }
/* ---- V6.2 mobile polish: 44px touch targets, no text under ~12px ---------- */
.footer h2 { font-size: .8rem; }
.badge-nx { font-size: .72rem; }
.fnode .ftag, .project-tag, .cap-kicker, .hub-detail .cat, .offer .tag { font-size: .75rem; }
.price-card .pop { font-size: .72rem; }
.switch::before { content: ""; position: absolute; inset: -8px -6px; }      /* bigger hit area, same look */
@media (max-width: 767.98px) {
  .link-arrow { min-height: 44px; }
  .footer li a { padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
  .footer-word { padding: 6px 0; }
  .rng input[type=range] { height: 44px; }
  .hub-core { font-size: .7rem; }
  .hub-node { font-size: .68rem; }
}

/* ==========================================================================
   10. V7 — homepage as a scroll-driven presentation (owner-friendly)
   Default (no JS / reduced motion / phones): every slide is a static, readable card.
   js/present.js adds html.pres on desktop with motion allowed; only then are things hidden for animation.
   ========================================================================== */
:root { --glow: #7b2fff; --rgb-glow: 123, 47, 255; }
.ex-note { font-size: .78rem; color: var(--faint); margin: 10px 0 0; }
kbd { font: 600 .74rem var(--font-body); padding: 2px 7px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text); background: rgba(255,255,255,.04); }

/* plain-English tooltip for unavoidable terms */
.tip { position: relative; border-bottom: 1px dashed currentColor; cursor: help; }
.tip-box { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: 220px; padding: 8px 10px; border-radius: 10px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 500; line-height: 1.35; text-transform: none; letter-spacing: 0; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transform: translate(-50%, 4px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; pointer-events: none; }
.tip:hover .tip-box, .tip:focus .tip-box, .tip:focus-visible .tip-box { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s; }

/* ---- 1 hero: tasks fly into the AI core and come out done ------------------ */
.hero--v7 { min-height: min(100svh, 900px); overflow: hidden; }
.hero--v7 h1 { max-width: 16ch; font-size: clamp(2.2rem, 5.4vw, 4.3rem); }
.hero--v7 .hero-meta i { color: var(--accent); }
.core-stage { position: relative; height: 340px; margin-top: 28px; pointer-events: none; }
.core { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; translate: -50% -50%; }
.core-dot { position: absolute; inset: 22px; display: grid; place-content: center; justify-items: center; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff7ae6, var(--accent) 45%, var(--glow) 100%);
  box-shadow: 0 0 60px 10px rgba(var(--rgb-glow), .55), 0 0 120px 30px rgba(var(--rgb-blue), .25); animation: corePulse 3.2s ease-in-out infinite; }
.core-dot i { font-size: 1.4rem; line-height: 1; }
.core-dot b { font-size: .8rem; letter-spacing: .14em; }
.core-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--rgb-glow), .6); animation: ringOut 3.2s ease-out infinite; }
.core-ring.r2 { animation-delay: 1.6s; }
.task { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; white-space: nowrap;
  font-size: .78rem; font-weight: 500; color: var(--text); background: #111; border: 1px solid var(--line-strong); box-shadow: 0 10px 30px -12px rgba(0,0,0,.9);
  opacity: 0; animation: taskIn 6.6s var(--ease) infinite; animation-delay: var(--dl); }
.task i { color: var(--muted); }
.task--done { animation-name: taskOut; border-color: rgba(var(--rgb-blue), .55); }
.task--done i { color: #4ade80; }
@keyframes taskIn { 0% { opacity: 0; transform: translate(var(--sx), var(--sy)); } 10%, 40% { opacity: 1; } 55%, 100% { opacity: 0; transform: translate(0, 0) scale(.35); } }
@keyframes taskOut { 0%, 8% { opacity: 0; transform: translate(0, 0) scale(.35); } 20%, 50% { opacity: 1; } 62%, 100% { opacity: 0; transform: translate(var(--ex), var(--ey)) scale(1); } }
@keyframes corePulse { 50% { transform: scale(1.06); } }
@keyframes ringOut { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@media (min-width: 992px) {
  .hero--v7 .core-stage { position: absolute; right: 2vw; top: 50%; width: 46%; height: 560px; margin: 0; translate: 0 -50%; }
}
@media (max-width: 991.98px) {      /* phones/tablets: shorter flight paths so chips stay on screen */
  .core-stage { scale: .62; height: 300px; margin: 0 -20%; }      /* whole scene shrinks; flight paths shrink with it */
  .task:nth-of-type(4), .task:nth-of-type(5), .task:nth-of-type(10), .task:nth-of-type(11) { display: none; }
}

/* ---- 2 your day today vs. with AI ---------------------------------------- */
.day { position: relative; padding: var(--section-y) 0; background: #000; }
.day-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.day-clock { flex: none; width: 76px; height: 76px; }
.day-clock svg { width: 100%; height: 100%; overflow: visible; }
.day-clock circle { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.day-clock line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; transform-origin: 32px 32px; }
.day-clock .hand-h { stroke: #fff; }
.day-cols { display: none; }
.day-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.day-row { display: grid; gap: 10px; }
.day-time { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--accent); letter-spacing: .04em; }
.day-cell { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); }
.day-cell i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 1rem; }
.day-cell p { margin: 0; font-size: .95rem; }
.day-cell--old { background: #0b0b0c; }
.day-cell--old i { color: #ff8fa0; border: 1px solid rgba(255,143,160,.4); }
.day-cell--old p { color: var(--muted); }
.day-cell--new { position: relative; background: linear-gradient(135deg, rgba(var(--rgb-blue), .14), rgba(var(--rgb-glow), .12)); border-color: rgba(var(--rgb-blue), .4); flex-wrap: wrap; }
.day-cell--new i { color: var(--ink); background: var(--accent); }
.day-cell--new p { color: #fff; flex: 1 1 200px; }
.day-save { margin-left: 48px; font-size: .78rem; font-weight: 600; color: #4ade80; }
.day-total { margin-top: 28px; padding: 24px; border-radius: 24px; background: var(--panel); color: var(--ink); text-align: center; }
.day-total-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.day-total-n b { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.day-total-l { display: block; margin-top: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.day-total .ex-note { color: #646367; }
@media (min-width: 768px) {
  .day-cols { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 14px; margin: 0 0 10px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
  .day-cols span:first-child { grid-column: 2; }
  .day-row { grid-template-columns: 90px 1fr 1fr; gap: 14px; align-items: stretch; }
  .day-time { padding-top: 18px; }
  .day-save { position: absolute; right: 16px; top: -10px; margin: 0; padding: 2px 10px; border-radius: 100px; background: #04210f; border: 1px solid rgba(74,222,128,.45); }
}
/* presentation mode: pinned stage, rows light up as the day plays */
.pres .day { padding: 0; }
.pres .day-stage { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 16px) 0 24px; }
.pres .day .section-head { margin-bottom: 14px; }
.pres .day-list { gap: 8px; }
.pres .day-cell { padding: 10px 14px; }
.pres .day-cell p { font-size: .88rem; }
.pres .day-row { opacity: .18; }
.pres .day-total { margin-top: 14px; padding: 14px; display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pres .day-total-n { font-size: 2.6rem; }
.pres .day-total .ex-note { flex-basis: 100%; margin: 0; }

/* ---- 3 showcase: one slide per automation, 4 beats --------------------- */
.showcase7 { position: relative; background: #000; padding-top: var(--section-y); }
.show-intro .section-head { margin-bottom: 8px; }
.show-keys { font-size: .84rem; color: var(--faint); display: none; }
.sslide { padding: 28px 0; }
.sslide-grid { display: grid; gap: 22px; padding: clamp(22px, 4vw, 44px); border-radius: var(--radius-xl); background: #0b0b0c; border: 1px solid var(--line); position: relative; overflow: hidden; }
.sslide-grid::before { content: ""; position: absolute; right: -20%; top: -40%; width: 70%; height: 120%; background: radial-gradient(circle, rgba(var(--rgb-glow), .2), transparent 65%); pointer-events: none; }
.sslide-grid > * { position: relative; min-width: 0; }
.sslide-num { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--accent); letter-spacing: .06em; margin-bottom: 8px; }
.sslide-title { font-size: clamp(1.6rem, 3.6vw, 2.8rem); text-transform: uppercase; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; }
.beat { margin-bottom: 18px; }
.beat-k { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.beat-1 p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #fff; font-weight: 500; margin: 0; }
.beat-2 p { margin: 0; }
.flow-fig { margin: 0 0 18px; padding: 18px; border-radius: 24px; background: #111; border: 1px solid var(--line); }
.flow-d { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 4px; }
.fd-node { display: flex; align-items: center; gap: 12px; }
.fd-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: #000; color: #fff; font-size: 1.15rem; }
.fd-node.is-ai .fd-ic { border: 0; color: #fff; background: radial-gradient(circle at 35% 30%, #ff7ae6, var(--accent) 50%, var(--glow)); box-shadow: 0 0 24px 2px rgba(var(--rgb-glow), .5); }
.fd-l { font-size: .9rem; font-weight: 500; color: #fff; }
.fd-link { width: 24px; height: 26px; margin-left: 11px; transform: rotate(90deg); overflow: visible; }
.fd-link path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 14px 12px; border-radius: 18px; background: var(--panel); color: var(--ink); min-width: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat small { display: block; margin-top: 4px; font-size: .78rem; color: #47464a; line-height: 1.3; }
.fit { margin: 14px 0 0; font-size: .92rem; }
.fit b { color: #fff; }
.show-dots { display: none; }
@media (min-width: 768px) {
  .flow-d { grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: start; justify-items: center; gap: 0; }
  .fd-node { flex-direction: column; text-align: center; gap: 8px; max-width: 120px; }
  .fd-l { font-size: .8rem; line-height: 1.3; }
  .fd-link { width: 100%; min-width: 26px; height: 24px; margin: 11px 0 0; transform: none; }
}
@media (min-width: 992px) {
  .sslide-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
  .show-keys { display: block; }
}
/* presentation mode */
.pres .sslide { padding: 0; height: 100vh; display: flex; align-items: center; }
.pres .sslide > .container { padding-top: calc(var(--nav-h) + 8px); }
.pres .show-dots { display: flex; position: fixed; z-index: 800; right: 22px; top: 50%; translate: 0 -50%; flex-direction: column; align-items: center; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.pres .show-dots.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.show-dots button { width: 44px; height: 30px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.show-dots button span { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); font-size: 0; transition: background .25s, transform .25s; }
.show-dots button[aria-current="true"] span { background: var(--accent); transform: scale(1.6); }
.show-dots button:hover span { background: #fff; }
.show-count { font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.show-count b { color: #fff; }

/* ---- 4 how we work: path fills as you scroll ------------------------------ */
.hw { position: relative; }
.hw-path { position: absolute; left: 25px; top: 25px; bottom: 25px; width: 2px; background: var(--line); }
.hw-path i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--hw, 1)); }
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.hw-step { position: relative; padding-left: 74px; }
.hw-dot { position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); font-size: 1.2rem; transition: background .3s, color .3s, border-color .3s; }
.hw-step.on .hw-dot, html:not(.pres) .hw-step .hw-dot { background: var(--accent); border-color: var(--accent); }
.hw-n { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.hw-step h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.hw-step p { margin: 0; font-size: .95rem; }
.hw-promises { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hw-promises li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; background: var(--panel-grey); font-size: .88rem; font-weight: 500; color: var(--ink); }
.hw-promises i { color: var(--accent-ink); }
@media (min-width: 992px) {
  .hw-path { left: 26px; right: 26px; top: 25px; bottom: auto; width: auto; height: 2px; }
  .hw-path i { transform-origin: left; transform: scaleX(var(--hw, 1)); }
  .hw-steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .hw-step { padding: 74px 0 0; }
}

/* ---- 5 owner ROI calculator ---------------------------------------------- */
.roi-out { margin-top: 8px; padding: 20px; border-radius: 22px; background: var(--panel); color: var(--ink); }
.roi-lbl { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #646367; }
.roi-total { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; color: var(--accent-ink); font-variant-numeric: tabular-nums; margin: 4px 0 14px; overflow-wrap: anywhere; }
.roi-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.roi-split div { padding: 12px; border-radius: 14px; background: var(--panel-grey); min-width: 0; }
.roi-split b { display: block; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.roi-split small { font-size: .76rem; color: #47464a; }
@media (max-width: 575.98px) { .roi-split { grid-template-columns: 1fr; } }

/* ---- 6 industries tabs ----------------------------------------------------- */
.ind-tablist { margin-bottom: 18px; }
.ind-tablist button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ind-panel { display: grid; gap: 20px; align-items: center; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-xl); background: #0b0b0c; border: 1px solid var(--line); margin-bottom: 14px; }
.ind-panel[hidden] { display: none; }
.ind-panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; filter: saturate(.6) contrast(1.04); }
.ind-panel h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 2.6vw, 1.8rem); text-transform: uppercase; font-weight: 800; letter-spacing: -.02em; }
.ind-panel h3 i { color: var(--accent); }
.ind-panel p { font-size: 1rem; }
.ind-panel p b { color: #fff; }
.ind-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 992px) { .ind-panel { grid-template-columns: 1fr 1.1fr; gap: 40px; } }

/* ---- 7 proof (rendered from CONFIG.proof) ---------------------------------- */
.proof-results { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.proof-results div { padding: 20px; border-radius: 20px; background: var(--panel-grey); }
.proof-results b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-ink); }
.proof-quotes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 18px; }
.proof-quotes blockquote { margin: 0; padding: 22px; border-radius: 20px; background: var(--panel-grey); }
.proof-quotes p { color: var(--ink); }
.proof-quotes footer { font-size: .86rem; color: #47464a; }
.proof-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 24px; }
.proof-logos img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* ---- 9 final CTA ---------------------------------------------------------- */
.cta-book { margin: 4px 0 16px; }

@media (prefers-reduced-motion: reduce) {
  .task { display: none; }
  .core-dot, .core-ring { animation: none; }
}
@media (min-width: 992px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); } }
.contact-card .contact-info a[href^="mailto"] { font-size: .9rem; }
@media (max-width: 575.98px) { .core-stage .task:nth-of-type(3n) { display: none; } }   /* fewer flying chips on phones */
.task::after { content: attr(data-label); }
.pres .day-row { opacity: .5; }   /* rows not reached yet stay legible (was .18) */

/* ---- V8: packages, industry landing pages ------------------------------------ */
.pkg .tier { flex-wrap: wrap; row-gap: 6px; }
.pkg .price span { font-variant-numeric: tabular-nums; }
.pkg .price-sub { min-height: 0; color: #47464a; }
.pkg .price-sub b { color: var(--ink); }
.panel .price-card { background: var(--panel-grey); }
.panel .price-card--featured { background: #fff; border: 2px solid var(--accent); }
.panel .price { color: var(--ink); }
.panel .price-card .tier { color: var(--accent-ink); }
.pkg-more { display: grid; gap: 12px; margin-top: 22px; }
.pkg-more-item { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 20px; background: var(--panel-grey); color: var(--ink); font-size: .95rem; transition: background .2s; }
.pkg-more-item:hover { background: #eeedf2; color: var(--ink); }
.pkg-more-item i { font-size: 1.3rem; color: var(--accent-ink); }
.pkg-more-item b { margin-right: 4px; }
.pkg-note { margin: 16px auto 0; max-width: 760px; text-align: center; font-size: .84rem; color: #646367; }
@media (min-width: 768px) { .pkg-more { grid-template-columns: 1fr 1fr; } }
.sub-sep { padding: 12px 14px 4px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); list-style: none; }
@media (max-width: 991.98px) { .sub-sep { padding: 10px 0 2px; } }
.week-list { list-style: none; margin: 0; padding: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.week-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: #0b0b0c; }
.week-list li span { color: var(--muted); }
.week-list li b { color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.week-list .week-total { background: var(--panel); border: 0; }
.week-list .week-total span, .week-list .week-total b { color: var(--ink); font-weight: 700; }
.week-list .week-total b { color: var(--accent-ink); font-size: 1.15rem; }
.ind-autos .tech-card { border-color: var(--line-strong); }
.is-light .tech-card i { color: var(--accent-ink); }
.is-light .tech-card:hover { background: var(--panel-grey); border-color: var(--line-strong); }
.footer-contact a[href^="mailto"] { font-size: .86rem; }

/* ---- V9: plain-English packages, explainer, research, industries hub ------------ */
.pkg-plain { font-size: .98rem; font-weight: 500; color: var(--ink); line-height: 1.45; margin: 10px 0 4px; min-height: 4.4em; }
.pkg-maint { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 14px; padding: 9px 12px; border-radius: 12px; font-size: .82rem; line-height: 1.35; background: #ececf1; color: #47464a; }
.pkg-maint i { flex: none; margin-top: 1px; }
.pkg-maint.is-free { background: #e8f8ee; color: #0b5a2c; }
.pkg-maint.is-free i { color: #0b6b34; }
.pkg-maint b { color: inherit; }
.pkg-notice { margin: 0 0 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: #47464a; }
.pkg-notice b { color: var(--ink); }
.pkg .check-list { margin-bottom: 14px; }
.maint-explain { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px 22px; border-radius: 20px; background: #e8f8ee; color: #0b3d20; font-size: .95rem; line-height: 1.55; }
.maint-explain i { flex: none; font-size: 1.5rem; color: #0b6b34; }
.maint-explain b { color: #06351b; }
/* "What is an AI employee?" */
.exp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.exp-steps li { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.exp-steps li > i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: var(--ink); font-size: 1.35rem; margin-bottom: 16px; }
.exp-n { position: absolute; right: 22px; top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: rgba(255,255,255,.08); }
.exp-steps h3 { font-size: 1.2rem; margin: 0 0 6px; }
.exp-steps p { margin: 0; }
.exp-compare { display: grid; gap: 12px; margin-top: 18px; }
.exp-compare > div { padding: 20px 24px; border-radius: var(--radius-lg); background: #0b0b0c; border: 1px solid var(--line); }
.exp-compare .is-ai { background: linear-gradient(135deg, rgba(var(--rgb-blue), .16), rgba(var(--rgb-glow), .14)); border-color: rgba(var(--rgb-blue), .45); }
.exp-k { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.exp-compare .is-ai .exp-k { color: var(--accent); }
.exp-compare ul { margin: 0; padding-left: 18px; color: var(--muted); }
.exp-compare .is-ai ul { color: #fff; }
.exp-foot { text-align: center; margin: 22px auto 0; max-width: 640px; color: var(--muted); }
@media (min-width: 768px) { .exp-steps { grid-template-columns: repeat(3, 1fr); } .exp-compare { grid-template-columns: 1fr 1fr; } }
/* industry pages: plain words + research */
.plain-sec { padding: 0 0 8px; }
.plain-box { margin: 0; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--panel); color: var(--ink); font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 500; line-height: 1.5; }
.plain-k { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.research-sec { padding-top: 0; }
.research { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); border: 1px solid rgba(var(--rgb-glow), .45); background: linear-gradient(160deg, rgba(var(--rgb-glow), .12), #0b0b0c 60%); }
.research-h { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 14px; }
.research ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.research li { padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,.4); border: 1px solid var(--line); }
.research li p { margin: 0 0 6px; color: #fff; font-size: 1rem; }
.research li p b { color: var(--accent); }
.research li a { font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.research li a:hover { color: #fff; }
.research-note { margin: 14px 0 0; font-size: .8rem; color: var(--faint); }
@media (min-width: 992px) { .research ul { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
/* industries hub */
.ind-card--link { color: inherit; }
.ind-card--link:hover { color: inherit; }
.ind-card--link .ind-body .link-arrow { margin-top: auto; padding-top: 8px; }
.hub-group { padding: 22px 0; border-top: 1px solid var(--line); }
.hub-group:first-of-type { border-top: 0; padding-top: 0; }
.hub-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; text-transform: none; letter-spacing: -.01em; margin-bottom: 14px; color: var(--ink); }
.hub-h i { color: var(--accent-ink); }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.hub-tile { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 18px; background: var(--panel-grey); }
.hub-tile.has-page { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.hub-tile h3 { font-size: 1rem; margin: 0 0 4px; }
.hub-tile p { font-size: .88rem; margin: 0 0 6px; }
.hub-tile .link-arrow { margin-top: auto; }
.any-biz { display: grid; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: #0b0b0c; border: 1px solid var(--line); }
.any-biz p b { color: #fff; }
.any-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.any-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); color: #fff; font-weight: 500; }
.any-list i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--ink); }
@media (min-width: 992px) { .any-biz { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.ind-card--any { background: linear-gradient(160deg, rgba(var(--rgb-glow), .18), #0b0b0c 70%); border-color: rgba(var(--rgb-blue), .4); }
.ind-card--any .ind-body > i { font-size: 2rem; color: var(--accent); }

/* ---- V10 homepage: industry strip, live conversation demo, problem picker --------- */
.ind-strip { padding: 18px 0 26px; background: #000; }
.ind-strip-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; margin-bottom: 12px; }
.ind-strip-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.marquee--ind { border: 0; background: transparent; padding: 4px 0; }
.marquee--ind .marquee-track { animation-duration: 55s; }
.marquee--ind .marquee-set span { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: .9rem; color: #fff; padding: 10px 18px; background: #0b0b0c; }
.marquee--ind .marquee-set span i { color: var(--accent); }
/* conversation demo */
.chat-demo { display: grid; gap: 28px; align-items: center; margin: 26px 0 8px; padding: clamp(22px, 4vw, 44px); border-radius: var(--radius-xl); background: linear-gradient(150deg, rgba(var(--rgb-glow), .16), #0b0b0c 55%); border: 1px solid var(--line); }
.chat-demo-txt h3 { font-size: clamp(1.4rem, 2.8vw, 2rem); text-transform: uppercase; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.chat-tabs { margin: 8px 0 6px; }
.chat-tabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.phone-demo { display: flex; justify-content: center; }
.phone-frame { width: min(100%, 340px); padding: 14px; border-radius: 34px; background: #111; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(var(--rgb-glow), .6); }
.convo { display: flex; flex-direction: column; }
.convo[hidden] { display: none; }
.convo-top { display: flex; align-items: center; gap: 10px; padding: 6px 6px 12px; border-bottom: 1px solid var(--line); }
.convo-top b { display: block; font-size: .92rem; color: #fff; }
.convo-top small { display: block; font-size: .75rem; color: var(--faint); }
.convo-av { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); flex: none; }
.convo-msgs { list-style: none; margin: 0; padding: 14px 4px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 340px; overflow: hidden; }
.msg { display: flex; }
.msg span { max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: .86rem; line-height: 1.4; }
.msg--in span { background: #26262a; color: #fff; border-bottom-left-radius: 6px; }
.msg--out { justify-content: flex-end; }
.msg--out span { background: var(--accent); color: var(--ink); border-bottom-right-radius: 6px; font-weight: 500; }
.msg--typing { display: none; justify-content: flex-end; }
.msg--typing span { display: inline-flex; gap: 4px; padding: 12px 14px; background: rgba(var(--rgb-blue), .25); }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: dotBlink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
.js-chat .msg:not(.msg--typing):not(.on) { display: none; }
.js-chat .msg.on { animation: msgIn .35s var(--ease) both; }
.msg--typing.on { display: flex; }
.convo-note { display: flex; gap: 8px; align-items: flex-start; margin: 8px 2px 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: #4ade80; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes dotBlink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (min-width: 992px) { .chat-demo { grid-template-columns: 1fr 1fr; gap: 48px; } }
/* problem picker */
.help-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.help-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.help-tabs button i { color: var(--accent-ink); }
.help-tabs button:hover { border-color: var(--ink); transform: translateY(-2px); }
.help-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.help-tabs button[aria-selected="true"] i { color: var(--accent); }
.help-tabs button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.help-panel { display: grid; gap: 22px; padding: clamp(20px, 3.5vw, 36px); border-radius: 28px; background: var(--panel-grey); margin-bottom: 12px; }
.help-panel[hidden] { display: none; }
.help-panel:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.help-quote { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 18px; }
.help-main h3 { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #646367; margin-bottom: 10px; }
.help-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.help-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--ink); font-size: .96rem; }
.help-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .85rem; }
.js .help-panel:not([hidden]) .help-steps li { animation: msgIn .45s var(--ease) both; animation-delay: calc(var(--i) * .09s); }
.help-changes { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; gap: 8px; }
.help-changes li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.help-changes i { color: #0b6b34; margin-top: 2px; }
.help-pkg { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--accent); color: var(--ink); margin-bottom: 14px; transition: transform .2s var(--ease); }
.help-pkg:hover { color: var(--ink); transform: translateY(-2px); }
.help-pkg-k { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.help-pkg b { font-size: 1.1rem; }
.help-pkg > span:last-child { font-size: .88rem; color: #47464a; }
.help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.help-actions .btn-text { color: var(--ink); }
.help-included { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.help-included li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; background: var(--panel-grey); color: var(--ink); font-size: .88rem; font-weight: 500; }
.help-included i { color: var(--accent-ink); }
@media (min-width: 992px) { .help-panel { grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; } }
@media (max-width: 575.98px) { .help-tabs { justify-content: flex-start; } .help-tabs button { font-size: .86rem; padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .js-chat .msg.on, .js .help-panel:not([hidden]) .help-steps li { animation: none; } .marquee--ind .marquee-track { animation: none; } }
@media (max-width: 575.98px) {   /* problem picker: one swipeable row on phones */
  .help-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -20px 16px; padding: 2px 20px 6px; scrollbar-width: none; }
  .help-tabs::-webkit-scrollbar { display: none; }
  .help-tabs button { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

/* ---- V11 hero: beams, halo, no pile-up at the core, demo counter ----------------- */
.beams { position: absolute; left: 50%; top: 50%; width: 720px; height: 560px; translate: -50% -50%; overflow: visible; pointer-events: none; }
.beams path { fill: none; stroke-linecap: round; }
.beam-base { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.beam-in, .beam-out { stroke-width: 2; stroke-dasharray: 10 340; stroke-dashoffset: 350; opacity: 0; animation: beamFlow 6.6s linear infinite; animation-delay: var(--dl); }
.beam-in { stroke: rgba(255,255,255,.55); }
.beam-out { stroke: var(--accent); filter: drop-shadow(0 0 4px rgba(var(--rgb-blue), .8)); }
@keyframes beamFlow { 0% { stroke-dashoffset: 350; opacity: 0; } 6% { opacity: 1; } 40% { stroke-dashoffset: 0; opacity: 1; } 46%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.core-halo { position: absolute; inset: -18px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, rgba(var(--rgb-glow), .9) 75%, var(--accent) 88%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%); mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%); animation: haloSpin 5s linear infinite; }
@keyframes haloSpin { to { transform: rotate(360deg); } }
.core-dot { animation: corePulse 1.1s ease-in-out infinite; }
@keyframes corePulse { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.07); box-shadow: 0 0 80px 18px rgba(var(--rgb-glow), .65), 0 0 140px 40px rgba(var(--rgb-blue), .3); } }
/* chips now fade out well before the core and come out from its edge, so they never pile up on it */
@keyframes taskIn {
  0% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1); }
  10% { opacity: 1; }
  34% { opacity: 1; transform: translate(calc(var(--sx) * .5), calc(var(--sy) * .5)) scale(.88); }
  44%, 100% { opacity: 0; transform: translate(calc(var(--sx) * .34), calc(var(--sy) * .34)) scale(.7); } }
@keyframes taskOut {
  0%, 8% { opacity: 0; transform: translate(calc(var(--ex) * .34), calc(var(--ey) * .34)) scale(.7); }
  18% { opacity: 1; }
  50% { opacity: 1; transform: translate(var(--ex), var(--ey)) scale(1); }
  60%, 100% { opacity: 0; transform: translate(var(--ex), var(--ey)) scale(1); } }
.task--done { box-shadow: 0 0 0 1px rgba(var(--rgb-blue), .25), 0 10px 30px -10px rgba(var(--rgb-blue), .6); }
.core-count { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line-strong); font-size: .84rem; color: var(--muted); }
.core-count[hidden] { display: none; }
.core-count b { color: #fff; font-variant-numeric: tabular-nums; min-width: 2ch; display: inline-block; }
.core-count b.tick { animation: countTick .4s var(--ease); }
.core-count small { color: var(--faint); }
.core-live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: livePing 1.6s ease-out infinite; }
@keyframes countTick { 30% { transform: translateY(-3px) scale(1.15); color: var(--accent); } }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 100% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
@media (prefers-reduced-motion: reduce) { .beam-in, .beam-out, .core-halo, .core-live { animation: none; } .beam-in, .beam-out { opacity: 0; } }
.core-count { display: inline-block; line-height: 1.5; border-radius: 18px; }
.core-live { display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; }
.core-count b { min-width: 0; margin-left: 2px; }

.core-count { visibility: hidden; }   /* space is reserved from the first paint, so showing it never shifts the page */
.core-count.on { visibility: visible; }

/* ---- V12: more compact hero, sections and conversation demo ---------------------- */
:root { --section-y: clamp(48px, 6vw, 88px); }
.hero--v7 { min-height: 0; padding: calc(var(--nav-h) + 28px) 0 40px; }
.hero--v7 h1 { font-size: clamp(2rem, 4.1vw, 3.3rem); line-height: 1.06; margin: 14px 0 16px; max-width: 17ch; }
.hero--v7 .lead { font-size: clamp(.98rem, 1.3vw, 1.08rem); max-width: 500px; margin-bottom: 22px; }
.hero--v7 .badge-nx { padding: 6px 12px; }
.core-count { margin-top: 14px; padding: 6px 12px; font-size: .8rem; }
.hero--v7 .hero-meta { margin-top: 16px; }
@media (min-width: 992px) {
  .hero--v7 { min-height: 640px; display: flex; align-items: center; }
  .hero--v7 .core-stage { width: 44%; height: 500px; }
}
.ind-strip { padding: 10px 0 20px; }
.section-head { margin-bottom: clamp(22px, 3.5vw, 40px); }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.chat-demo { gap: 22px; margin: 20px 0 6px; padding: clamp(18px, 3vw, 30px); border-radius: 28px; }
.chat-demo-txt h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.chat-demo-txt p { font-size: .95rem; margin-bottom: 10px; }
.chat-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; background: none; border-radius: 0; }
.chat-tabs button { min-height: 40px; padding: 0 12px; font-size: .82rem; border: 1px solid var(--line-strong); }
.phone-frame { width: min(100%, 320px); padding: 12px; border-radius: 28px; }
.convo-top { padding: 4px 4px 10px; }
.convo-msgs { height: 260px; padding: 10px 2px 4px; gap: 6px; }
.msg span { font-size: .82rem; padding: 8px 12px; }
.convo-note { font-size: .76rem; padding-top: 8px; margin-top: 6px; }
@media (min-width: 992px) { .chat-demo { grid-template-columns: 1.1fr .9fr; gap: 36px; } }
@media (max-width: 575.98px) {
  .chat-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .chat-tabs::-webkit-scrollbar { display: none; }
  .chat-tabs button { flex: none; }
}
.exp-steps li { padding: 20px; }
.exp-steps li > i { width: 44px; height: 44px; margin-bottom: 12px; font-size: 1.15rem; }
@media (min-width: 992px) { .pkg-more--3 { grid-template-columns: repeat(3, 1fr); } }
/* grid children may shrink: the swipeable rows scroll inside their column instead of widening the page */
.chat-demo > *, .help > *, .help-panel > * { min-width: 0; }

/* ---- V13: Worldwide section with 3D globe --------------------------------------- */
.globe-sec { overflow: hidden; background: radial-gradient(900px 500px at 80% 40%, rgba(var(--rgb-glow), .14), transparent 70%), #000; }
.globe-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 992px) { .globe-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; } }
.globe-stats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.globe-stats li { padding: 16px 18px; border-radius: 18px; background: #0b0b0c; border: 1px solid var(--line); }
.globe-stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: #fff; }
.globe-stats li:nth-child(odd) b { color: var(--accent); }
.globe-stats span { font-size: .84rem; color: var(--muted); }
.globe-stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin-inline: auto; touch-action: pan-y; }
.globe-static { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s; }
.gs-grid polyline { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1; }
.gs-orbit { fill: none; stroke: rgba(200,255,90,.35); stroke-width: 1.2; }
.gs-dot { fill: var(--accent); }
.gs-hub { fill: #4ade80; }
.gs-marks text { fill: #fff; font: 600 10px var(--font-body); paint-order: stroke; stroke: #000; stroke-width: 3px; }
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; cursor: grab; }
.globe-stage.is-dragging .globe-canvas { cursor: grabbing; }
.globe-stage.is-3d .globe-canvas { opacity: 1; }
.globe-stage.is-3d .globe-static { opacity: 0; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.globe-label { position: absolute; left: 0; top: 0; margin: -10px 0 0 10px; padding: 3px 8px; border-radius: 100px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,41,208,.45); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.globe-label.is-hub { border-color: rgba(74,222,128,.6); color: #4ade80; }
.globe-hint { position: absolute; left: 50%; bottom: 2%; translate: -50% 0; margin: 0; font-size: .76rem; color: var(--faint); opacity: 0; transition: opacity .6s; }
.globe-stage.is-3d .globe-hint { opacity: 1; }
.regions-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin: 36px 0 14px; }
.regions-head h3 { font-size: 1.25rem; margin: 0; }
.regions-head h3 span { display: block; font-size: .82rem; font-weight: 500; color: var(--accent); margin-top: 4px; }
.regions-head p { margin: 0; max-width: 520px; font-size: .9rem; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.reg { padding: 16px 18px; border-radius: 18px; background: #0b0b0c; border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.reg:hover { border-color: rgba(var(--rgb-blue), .5); transform: translateY(-2px); }
.reg h3 { display: flex; align-items: center; gap: 8px; font-size: .98rem; margin: 0 0 6px; }
.reg h3 i { color: var(--accent); }
.reg h3 span { margin-left: auto; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: rgba(var(--rgb-blue), .15); color: var(--accent); }
.reg p { margin: 0; font-size: .86rem; line-height: 1.5; }

@media (max-width: 767.98px) { .beams { display: none; } }   /* phones: skip the animated light beams (costly to redraw, tiny on screen) */

/* ---- V14: 3D hero (js/hero3d.js) ------------------------------------------------- */
.core-stage > * { transition: opacity .9s var(--ease); }
.core-stage.is-3d > :not(.hero3d-canvas):not(.hero3d-labels) { opacity: 0; }
.hero3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: h3In 1.1s .1s var(--ease) forwards; }
.hero3d-labels { position: absolute; inset: 0; pointer-events: none; }
.h3-chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: rgba(10,10,12,.86); border: 1px solid var(--line-strong);
  color: #fff; font-size: .8rem; white-space: nowrap; opacity: 0; will-change: transform, opacity; box-shadow: 0 12px 30px -14px rgba(0,0,0,.9); }
.h3-chip b { font-weight: 500; }
.h3-chip i { color: var(--muted); }
.h3-chip.is-done { border-color: rgba(var(--rgb-blue), .65); box-shadow: 0 0 24px -6px rgba(var(--rgb-blue), .85); }
.h3-chip.is-done i { color: #4ade80; }
@keyframes h3In { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@media (min-width: 992px) { .hero--v7 .core-stage { height: 560px; } }

/* CSS hero pieces carry their own opacity animations, so hide them outright once the 3D scene is running */
.core-stage.is-3d > .task, .core-stage.is-3d > .beams, .core-stage.is-3d > .core { visibility: hidden; animation: none; }

/* ---- V15: hero live automation feed --------------------------------------------- */
.live-feed { position: relative; z-index: 4; width: min(100%, 340px); margin: 18px auto 0; padding: 12px; border-radius: 20px; background: rgba(10,10,12,.88); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(var(--rgb-glow), .7); }
.lf-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; font-size: .8rem; }
.lf-head b { color: #fff; font-weight: 600; }
.lf-head small { margin-left: auto; font-size: .7rem; color: var(--faint); border: 1px solid var(--line); padding: 1px 8px; border-radius: 100px; }
.lf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lf-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #141416; border: 1px solid transparent; }
.lf-row.is-new { animation: lfIn .45s var(--ease) both; border-color: rgba(var(--rgb-blue), .45); }
.lf-row.is-done { border-color: transparent; transition: border-color .6s; }
.lf-ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(var(--rgb-blue), .16); color: var(--accent); font-size: .9rem; }
.lf-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.lf-txt b { font-size: .78rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-txt > span { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
.lf-time { font-size: .68rem; color: var(--faint); }
.lf-status { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; color: var(--amber); }
.lf-status .spin { width: 10px; height: 10px; border-width: 2px; }
.lf-row.is-done .lf-status { color: #4ade80; }
@keyframes lfIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@media (min-width: 992px) { .hero--v7 .live-feed { position: absolute; right: calc(2vw + 4px); bottom: 26px; margin: 0; } }
@media (min-width: 1400px) { .hero--v7 .live-feed { right: 4vw; } }
@media (prefers-reduced-motion: reduce) { .lf-row.is-new { animation: none; } }
.lf-list > li { min-width: 0; }   /* long event text truncates instead of widening the card on small phones */
.live-feed { max-width: 100%; }

/* ---- V16: realistic phone / tablet demo ------------------------------------------- */
.device-toggle { display: inline-flex; gap: 6px; margin: 10px 0 4px; }
.device-toggle button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 100px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; }
.device-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.device-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.device { position: relative; width: min(100%, 318px); padding: 11px; border-radius: 50px; background: linear-gradient(145deg, #2a2a30, #0c0c0f 55%, #1d1d22); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 50px 90px -40px rgba(var(--rgb-glow), .8), 0 30px 60px -30px rgba(0,0,0,.9); transition: width .5s var(--ease), border-radius .5s var(--ease); }
.dv-btn { position: absolute; width: 3px; border-radius: 3px; background: #2c2c32; }
.dv-btn--a { left: -3px; top: 110px; height: 30px; } .dv-btn--b { left: -3px; top: 156px; height: 52px; } .dv-btn--c { right: -3px; top: 140px; height: 70px; }
.device-screen { position: relative; display: flex; flex-direction: column; height: 600px; border-radius: 40px; overflow: hidden; background: #0b0b0c; }
.statusbar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 26px; font-size: .78rem; font-weight: 600; color: #fff; }
.island { position: absolute; left: 50%; top: 9px; width: 96px; height: 26px; translate: -50% 0; border-radius: 20px; background: #000; }
.sb-icons { display: inline-flex; gap: 5px; font-size: .8rem; }
.device-body { flex: 1; display: flex; min-height: 0; }
.device-main { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.inbox { display: none; }
.convo { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.convo[hidden] { display: none; }
.convo-msgs { flex: 1; height: auto; min-height: 0; overflow-y: auto; justify-content: flex-start; padding: 10px 10px 6px; gap: 6px; scrollbar-width: none; }
.convo-msgs::-webkit-scrollbar { display: none; }
.convo-msgs > li:first-child { margin-top: auto; }
.msg-day { align-self: center; font-size: .68rem; color: var(--faint); padding: 2px 10px; border-radius: 100px; background: rgba(255,255,255,.06); margin-bottom: 4px; }
.msg span { max-width: 82%; }
.msg-meta { display: block; text-align: right; font-size: .62rem; opacity: .7; margin-top: 2px; }
.msg-meta i { color: #53bdeb; }
/* customer on the right, business / AI on the left (the customer's own phone) */
.device .msg--in { justify-content: flex-end; }
.device .msg--out { justify-content: flex-start; }
.device .msg--typing { justify-content: flex-start; }
.device .msg--in span { border-radius: 18px 18px 6px 18px; }
.device .msg--out span { border-radius: 18px 18px 18px 6px; }
.msg.is-live { animation: msgIn .3s var(--ease) both; }
/* app heads */
.app-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.06); color: #fff; font-size: .8rem; }
.app-head > i { color: var(--muted); font-size: 1rem; }
.app-head b { display: block; font-size: .86rem; }
.app-head small { display: block; font-size: .7rem; color: var(--faint); }
.app-head small.is-typing { color: #4ade80; }
.ah-av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: .72rem; font-weight: 700; }
.ah-id { flex: 1; min-width: 0; }
.ah-wa { background: #1f2c34; } .ah-wa .ah-av { background: #00a884; color: #fff; }
.ch-whatsapp .convo-msgs { background: #0b141a radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 14px 14px; }
.ch-whatsapp .msg--in span { background: #005c4b; color: #e9edef; font-weight: 400; }
.ch-whatsapp .msg--out span { background: #202c33; color: #e9edef; font-weight: 400; }
.ah-sms { justify-content: space-between; background: #1c1c1e; }
.ah-col { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.ah-sms .ah-av { background: #8e8e93; color: #fff; width: 38px; height: 38px; }
.ch-sms .convo-msgs { background: #000; }
.ch-sms .msg--in span { background: #0a84ff; color: #fff; font-weight: 400; }
.ch-sms .msg--out span { background: #3a3a3c; color: #fff; font-weight: 400; }
.ah-ig .ah-ring { background: #111; color: #fff; box-shadow: 0 0 0 2px #000, 0 0 0 4px #e1306c; }
.ch-instagram .convo-msgs { background: #000; }
.ch-instagram .msg--in span { background: linear-gradient(135deg, #7b2fff, #e1306c); color: #fff; font-weight: 400; }
.ch-instagram .msg--out span { background: #262626; color: #fff; font-weight: 400; }
.ah-web { flex-direction: column; align-items: stretch; gap: 8px; background: #141416; }
.ah-url { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: #0b0b0c; color: var(--muted); font-size: .72rem; }
.ah-url i { color: #4ade80; font-size: .7rem; }
.ah-widget { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--glow)); color: #fff; }
.ah-widget .ah-av { background: #fff; color: var(--ink); }
.ah-widget small { color: rgba(255,255,255,.85); }
.ch-web .msg--in span { background: var(--accent); color: var(--ink); }
.ch-web .msg--out span { background: #26262a; color: #fff; font-weight: 400; }
.ah-mail { background: #141416; } .ah-mail b { flex: 1; }
.mail-subject { flex: none; padding: 10px 14px; font-weight: 600; font-size: .9rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.mail-subject small { display: block; font-weight: 400; font-size: .7rem; color: var(--faint); }
.ch-email .msg span { max-width: 100%; }
.mail-card { display: block; width: 100%; padding: 10px 12px !important; border-radius: 14px !important; background: #17171a !important; color: #e9e9ee !important; font-weight: 400 !important; border-left: 3px solid #3a3a3c; }
.ch-email .msg--out .mail-card { border-left-color: var(--accent); }
.mail-from { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.mail-from b { font-size: .78rem; color: #fff; } .mail-from small { font-size: .66rem; color: var(--faint); }
.ah-call { flex-direction: column; justify-content: center; gap: 4px; padding: 18px 12px 14px; background: linear-gradient(180deg, #1a1030, #0b0b0c); text-align: center; }
.ah-big { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 4px; }
.ah-call b { font-size: 1rem; } .ah-call small { color: #4ade80; font-variant-numeric: tabular-nums; }
.ah-wave { display: flex; gap: 3px; height: 18px; align-items: center; margin-top: 4px; }
.ah-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); animation: wave 1s ease-in-out infinite; }
.ah-wave i:nth-child(2) { animation-delay: .1s; } .ah-wave i:nth-child(3) { animation-delay: .2s; } .ah-wave i:nth-child(4) { animation-delay: .3s; } .ah-wave i:nth-child(5) { animation-delay: .4s; }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.ch-call .msg span { max-width: 100%; background: transparent !important; color: #e9e9ee !important; padding: 4px 6px !important; font-weight: 400 !important; }
.ch-call .msg em { display: block; font-style: normal; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ch-call .msg--out em { color: var(--accent); }
.ch-call .msg { justify-content: flex-start !important; }
/* quick replies + composer */
.quick { flex: none; display: flex; gap: 6px; overflow-x: auto; padding: 6px 10px 2px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { flex: none; min-height: 32px; padding: 0 12px; border-radius: 100px; border: 1px solid rgba(var(--rgb-blue), .5); background: rgba(var(--rgb-blue), .1); color: #fff; font: inherit; font-size: .74rem; cursor: pointer; white-space: nowrap; animation: msgIn .3s var(--ease) both; }
.quick button:hover { background: rgba(var(--rgb-blue), .25); }
.composer { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 10px 10px; }
.composer input { flex: 1; min-width: 0; min-height: 38px; padding: 0 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.12); background: #1c1c1e; color: #fff; font: inherit; font-size: .82rem; }
.composer input:focus { outline: none; border-color: var(--accent); }
.composer button { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); cursor: pointer; }
.home-bar { position: absolute; left: 50%; bottom: 18px; width: 110px; height: 4px; translate: -50% 0; border-radius: 4px; background: rgba(255,255,255,.55); pointer-events: none; }
.device-screen { padding-bottom: 14px; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; max-width: 340px; margin: 0; font-size: .82rem; color: #4ade80; }
/* tablet inbox */
.device[data-device="tablet"] { width: min(100%, 720px); border-radius: 34px; padding: 14px; }
.device[data-device="tablet"] .dv-btn { display: none; }
.device[data-device="tablet"] .device-screen { height: 460px; border-radius: 22px; }
.device[data-device="tablet"] .island { width: 8px; height: 8px; top: 16px; border-radius: 50%; background: #1a1a1d; }
.device[data-device="tablet"] .statusbar { height: 34px; }
.device[data-device="tablet"] .inbox { display: flex; flex-direction: column; flex: none; width: 236px; border-right: 1px solid rgba(255,255,255,.07); background: #0f0f11; }
.inbox-head { padding: 8px 14px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.inbox-head b { display: block; color: #fff; font-size: 1rem; } .inbox-head small { color: #4ade80; font-size: .7rem; }
.inbox ul { list-style: none; margin: 0; padding: 4px; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.inbox button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 12px; background: none; color: #fff; text-align: left; font: inherit; cursor: pointer; }
.inbox button[aria-pressed="true"] { background: rgba(var(--rgb-blue), .16); }
.inbox button:hover { background: rgba(255,255,255,.05); }
.ib-av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #26262a; font-size: .7rem; font-weight: 700; }
.inbox button[aria-pressed="true"] .ib-av { background: var(--accent); color: var(--ink); }
.ib-txt { flex: 1; min-width: 0; } .ib-txt b { display: block; font-size: .78rem; }
.ib-txt small { display: flex; gap: 5px; align-items: center; font-size: .68rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-time { flex: none; font-size: .62rem; color: var(--faint); align-self: flex-start; margin-top: 3px; }
.device[data-device="tablet"] .home-bar { display: none; }
.chat-demo.is-tablet { grid-template-columns: 1fr !important; }
.chat-demo.is-tablet .chat-demo-txt { max-width: 760px; }
@media (max-width: 767.98px) { .device-toggle { display: none; } .device-screen { height: 560px; } }
@media (prefers-reduced-motion: reduce) { .ah-wave i { animation: none; } .msg.is-live, .quick button { animation: none; } }
@media (max-width: 767.98px) { .composer input { font-size: 16px; } }   /* iOS zooms the page on inputs smaller than 16px */
