/* ==========================================================================
   Pinakexa Systems · Design system v2
   Light, airy SaaS look: floating pill nav, 3D product stage, bento cards with
   mini UIs, photo cards. Mobile-first. Blue is dominant, red is the accent.
   ========================================================================== */

/* Self-hosted variable fonts (latin subset), preloaded in <head>. Licensed under the SIL Open Font License. */
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin.woff2') format('woff2'); font-weight: 600 800; font-style: normal; font-display: swap; }

/* ---------- 1. Tokens ---------- */
:root {
    --brand-blue: #0007b0;
    --brand-red: #f20000;

    --blue-50: #eef0ff;
    --blue-100: #dfe2ff;
    --blue-200: #c2c7ff;
    --blue-300: #959dff;
    --blue-400: #5f69f5;
    --blue-500: #2f39e0;
    --blue-600: #0007b0;
    --blue-700: #00058f;
    --blue-800: #000470;
    --blue-900: #000352;
    --blue-950: #00023a;

    --red-50: #fff1f1;
    --red-100: #ffdede;
    --red-500: #f20000;
    --red-cta: #e00000;   /* button fill: white text passes WCAG AA (5.0:1) at any size */
    --red-600: #cc0000;
    --red-700: #a30000;

    --green-50: #e9faf0;
    --green-500: #16a34a;
    --green-700: #0f6f43;
    --amber-50: #fff8e1;
    --wa-green: #25d366;

    --white: #fff;
    --off-white: #f7f8fd;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --text: var(--slate-700);
    --text-muted: var(--slate-600);
    --heading: var(--blue-950);
    --line: #e6e8f3;

    --grad-blue: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 55%, var(--blue-800) 100%);
    --grad-red: linear-gradient(135deg, var(--red-cta) 0%, var(--red-600) 100%);
    --grad-dark: radial-gradient(900px 500px at 85% 0%, rgba(95, 105, 245, .45), transparent 60%),
                 radial-gradient(700px 420px at 0% 100%, rgba(242, 0, 0, .22), transparent 60%),
                 linear-gradient(160deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-600) 130%);
    --grad-soft: radial-gradient(1000px 520px at 50% -10%, rgba(95, 105, 245, .22), transparent 65%),
                 radial-gradient(600px 400px at 100% 30%, rgba(242, 0, 0, .08), transparent 65%),
                 radial-gradient(600px 400px at 0% 40%, rgba(47, 57, 224, .10), transparent 65%), #fbfbff;

    --font-head: 'Sora', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;

    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: clamp(1rem, .97rem + .15vw, 1.0625rem);
    --fs-lg: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
    --fs-h4: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
    --fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
    --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 3rem);
    --fs-h1: clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem);

    --space-1: .25rem;  --space-2: .5rem;  --space-3: .75rem; --space-4: 1rem;
    --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem;   --space-10: 2.5rem;
    --space-12: 3rem;   --space-16: 4rem;  --space-20: 5rem;  --space-24: 6rem;
    --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
    --gutter: 1rem;
    --container: 1200px;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 3, 82, .05), 0 2px 8px -2px rgba(0, 3, 82, .06);
    --shadow-md: 0 2px 4px rgba(0, 3, 82, .04), 0 14px 34px -14px rgba(0, 3, 82, .2);
    --shadow-lg: 0 4px 8px rgba(0, 3, 82, .04), 0 30px 60px -22px rgba(0, 3, 82, .32);
    --shadow-xl: 0 50px 100px -30px rgba(0, 3, 82, .45), 0 20px 40px -20px rgba(0, 3, 82, .25);
    --shadow-red: 0 10px 28px -10px rgba(224, 0, 0, .55);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 1.5rem; --header-h: 84px; } }
@media (min-width: 1280px) { :root { --gutter: 2rem; } }

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; color: var(--text);
    background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
svg.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.ic.ic-sm { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; margin: 0 0 var(--space-4); letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); letter-spacing: -.035em; line-height: 1.1; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
::selection { background: var(--blue-600); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #fff; }
main { overflow-x: clip; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--alt { background: var(--off-white); }
.section--tint { background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); }
.section--soft { background: var(--grad-soft); }
.section--dark { background: var(--grad-dark); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } }
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) {
    .split { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
    .split--wide-left { grid-template-columns: 1.15fr .85fr; }
    .split--wide-right { grid-template-columns: .85fr 1.15fr; }
    .split--flip > :first-child { order: 2; }
}
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; color: var(--blue-700); margin-bottom: var(--space-5);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px var(--red-50); margin-left: 4px; }
.section--dark .eyebrow, .cta-band .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.section--dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(242, 0, 0, .25); }
.lead { font-size: var(--fs-lg); color: var(--text-muted); line-height: 1.6; }
.section--dark .lead { color: rgba(255, 255, 255, .76); }
.text-gradient { background: linear-gradient(100deg, var(--blue-600), var(--blue-400) 55%, var(--red-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--space-4); }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
    --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: transparent;
    position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 50px; padding: .8rem 1.5rem; border-radius: var(--r-pill); border: 2px solid var(--btn-bd);
    background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:hover .ic:last-child { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-primary { --btn-bg: var(--blue-600); box-shadow: 0 10px 24px -12px rgba(0, 7, 176, .7); }
.btn-primary:hover { --btn-bg: var(--blue-700); box-shadow: 0 16px 32px -12px rgba(0, 7, 176, .75); }
.btn-accent { --btn-bg: var(--red-cta); box-shadow: var(--shadow-red); }
.btn-accent:hover { --btn-bg: var(--red-600); box-shadow: 0 16px 34px -10px rgba(224, 0, 0, .6); }
.btn-outline { --btn-bg: #fff; --btn-fg: var(--blue-700); --btn-bd: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { --btn-bd: var(--blue-300); --btn-fg: var(--blue-700); }
.btn-outline::after { display: none; }
.btn-ghost-light { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .16); --btn-bd: rgba(255, 255, 255, .6); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--blue-700); }
.btn-white:hover { --btn-fg: var(--blue-800); }
.btn-wa { --btn-bg: var(--wa-green); --btn-fg: #06341a; }
.btn-wa:hover { --btn-bg: #1fbe5a; }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.btn-row.center { justify-content: center; }
@media (max-width: 479px) { .btn-row--stack > .btn { width: 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--blue-600); }
.link-arrow .ic { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }
.link-arrow:hover .ic, .card:hover .link-arrow .ic, .photo-card:hover .link-arrow .ic { transform: translateX(4px); }

/* ---------- 6. Badges, chips, placeholders ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; background: var(--blue-50); color: var(--blue-700); }
.badge--red { background: var(--red-50); color: var(--red-700); }
.badge--white { background: rgba(255, 255, 255, .94); color: var(--blue-800); box-shadow: var(--shadow-sm); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); animation: ping 2s infinite; flex-shrink: 0; }
.pulse-dot--red { background: var(--red-500); animation-name: pingRed; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
@keyframes pingRed { 0% { box-shadow: 0 0 0 0 rgba(242, 0, 0, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(242, 0, 0, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--slate-800); }
.chip .ic { width: 16px; height: 16px; color: var(--blue-600); }
.confirm-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: #fff7d6; color: #7a5a00; vertical-align: middle; }
.placeholder {
    display: grid; place-items: center; text-align: center; min-height: 72px; padding: var(--space-4); border-radius: var(--r-md);
    border: 1.5px dashed var(--blue-200); background: repeating-linear-gradient(-45deg, #fff 0 10px, var(--blue-50) 10px 20px);
    color: var(--blue-700); font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ph-text { background: #fff7d6; color: #6b4e00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---------- 7. Header (floating pill) & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); padding-top: 12px; transition: transform .5s var(--ease); pointer-events: none; }
.site-header.is-hidden { transform: translateY(-120%); }
.site-header .container { max-width: calc(var(--container) + 80px); }
.header-inner {
    pointer-events: auto; height: calc(var(--header-h) - 20px); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    padding: 0 8px 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .72); border: 1px solid rgba(230, 232, 243, .9);
    backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 6px 24px -14px rgba(0, 3, 82, .25);
    transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled .header-inner { background: rgba(255, 255, 255, .92); box-shadow: 0 14px 40px -18px rgba(0, 3, 82, .35); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .6s var(--ease); }
.brand-mark img { width: 28px; height: 28px; }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--blue-700); letter-spacing: -.02em; line-height: 1; }
.brand-name small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--red-600); margin-top: 4px; }

.nav-desktop { display: none; }
.header-cta { display: none; }
@media (min-width: 1080px) {
    .nav-desktop { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
    .header-cta { display: inline-flex; }
    .nav-toggle { display: none !important; }
}
.nav-link {
    position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--r-pill);
    font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--slate-800); text-decoration: none; background: none; border: 0; transition: color .2s, background-color .2s;
}
.nav-link .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.has-mega { position: relative; }

/* mega menu with photo thumbnails */
.mega {
    position: absolute; left: 50%; top: calc(100% + 18px); width: min(900px, 94vw); padding: var(--space-4); border-radius: var(--r-lg);
    background: #fff; box-shadow: var(--shadow-xl); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 250px; gap: var(--space-4);
    opacity: 0; visibility: hidden; transform: translate(-50%, 12px) scale(.98); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.mega-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-md); text-decoration: none; color: var(--slate-800); transition: background-color .2s; }
.mega-item:hover { background: var(--blue-50); color: var(--slate-900); }
.mega-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-item:hover .mega-thumb img { transform: scale(1.12); }
.mega-item strong { display: block; font-family: var(--font-head); font-size: .9375rem; color: var(--blue-950); }
.mega-item span span { display: block; font-size: var(--fs-xs); color: var(--slate-600); line-height: 1.4; }
.mega-feature { position: relative; border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: var(--space-5); color: #fff; text-decoration: none; min-height: 260px; isolation: isolate; }
.mega-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(0, 2, 58, .92)); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature strong { font-family: var(--font-head); font-size: 1.05rem; }
.mega-feature small { opacity: .85; font-size: var(--fs-xs); line-height: 1.45; }
.mega-feature:hover { color: #fff; }

/* hamburger */
.nav-toggle { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; z-index: 120; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--blue-700); transition: transform .45s var(--ease), opacity .2s, top .45s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 21.5px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-toggle span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
    position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 12px) var(--gutter) max(24px, env(safe-area-inset-bottom));
    background: var(--grad-soft); overflow-y: auto; overscroll-behavior: contain;
    clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .7s var(--ease); }
.nav-open { overflow: hidden; }
.nav-open .site-header { transform: none; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > nav > ul > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.nav-open .mobile-nav > nav > ul > li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .05s); }
.m-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 4px; min-height: 58px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--blue-950); text-decoration: none; background: none; border: 0; text-align: left; }
.m-link[aria-current="page"] { color: var(--blue-600); }
.m-link .ic { transition: transform .35s var(--ease); color: var(--slate-500); }
.m-link[aria-expanded="true"] .ic { transform: rotate(180deg); color: var(--red-500); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.m-sub > div { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-sub.is-open { grid-template-rows: 1fr; }
.m-sub > div > :last-child { margin-bottom: 14px; }
.m-ind { position: relative; display: flex; align-items: flex-end; min-height: 86px; padding: 10px; border-radius: 14px; overflow: hidden; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; line-height: 1.2; text-decoration: none; isolation: isolate; }
.m-ind img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.m-ind::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgba(0, 2, 58, .88)); }
.m-ind:hover { color: #fff; }
.m-ind--all { grid-column: 1 / -1; min-height: 0; padding: 12px 14px; background: var(--blue-600); align-items: center; justify-content: space-between; }
.m-ind--all::after { display: none; }
.mobile-nav .m-actions { display: grid; gap: 10px; margin-top: var(--space-6); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.nav-open .mobile-nav .m-actions { opacity: 1; transform: none; transition-delay: .45s; }
.m-contact { margin-top: auto; padding-top: var(--space-6); font-size: var(--fs-sm); color: var(--slate-600); }
.m-contact a { color: var(--blue-700); font-weight: 600; text-decoration: none; }

/* ---------- 8. Icon tiles & cards ---------- */
.ic-tile { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(145deg, var(--blue-50), var(--blue-100)); color: var(--blue-600); transition: transform .5s var(--ease), background .4s, color .4s; }
.ic-tile .ic { width: 24px; height: 24px; }
.ic-tile--red { background: linear-gradient(145deg, var(--red-50), var(--red-100)); color: var(--red-600); }
.ic-tile--green { background: var(--green-50); color: var(--green-700); }
.ic-tile--solid { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(0, 7, 176, .6); }
.ic-tile--glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }

.card {
    position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card h3 { font-size: var(--fs-h4); margin: var(--space-2) 0 0; }
.card p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.card--hover:hover .ic-tile { transform: scale(1.08) rotate(-4deg); background: var(--grad-blue); color: #fff; }
.card .link-arrow { margin-top: auto; padding-top: var(--space-3); }
.card-link { text-decoration: none; color: inherit; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.card-link:hover { color: inherit; }
.link-arrow.card-link { color: var(--blue-600); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: var(--fs-sm); color: var(--slate-700); }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230007b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .ticks li { color: rgba(255, 255, 255, .86); }
.section--dark .ticks li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.feature { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.section--dark .feature p { color: rgba(255, 255, 255, .72); }
.section--dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--dark .card p { color: rgba(255, 255, 255, .72); }
.module { padding: var(--space-6); }
.module h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
@media (max-width: 639px) {
    .module { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; border-radius: var(--r-md); align-items: start; }
    .module .ic-tile { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
    .module .ic-tile .ic { width: 21px; height: 21px; }
    .module h3 { margin: 0; }
    .module .ticks { grid-column: 1 / -1; margin-top: 10px; }
}

/* spotlight that follows the cursor (JS sets --mx / --my) */
.spot { isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 105, 245, .16), transparent 45%); border-radius: inherit; }
.spot:hover::before { opacity: 1; }

/* ---------- 9. Photo cards ---------- */
.photo-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.photo-card .pc-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--blue-50); }
.photo-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-card:hover .pc-img img { transform: scale(1.07); }
.photo-card .pc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 2, 58, .35)); }
.photo-card .pc-chip { position: absolute; right: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-md); font-size: 12px; font-weight: 700; color: var(--blue-900); }
.photo-card .pc-icon { position: absolute; left: 18px; top: -26px; z-index: 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; box-shadow: 0 12px 24px -10px rgba(0, 7, 176, .6); transition: transform .5s var(--ease); }
.photo-card:hover .pc-icon { transform: rotate(-8deg) scale(1.06); }
.photo-card .pc-icon .ic { width: 24px; height: 24px; }
.photo-card .pc-body { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 38px 22px 22px; }
.photo-card h3 { font-size: 1.125rem; margin: 0; }
.photo-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.photo-card .ticks { margin-top: 6px; }
.photo-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* overlay photo tile (text on image) */
.photo-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-md); transition: box-shadow .5s, transform .5s var(--ease); }
.photo-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 2, 58, .02) 25%, rgba(0, 2, 58, .9) 100%); }
.photo-tile:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo-tile:hover img { transform: scale(1.07); }
.photo-tile .pt-body { padding: var(--space-6); }
.photo-tile h3 { color: #fff; margin: 0 0 6px; font-size: 1.125rem; }
.photo-tile p { margin: 0; color: rgba(255, 255, 255, .84); font-size: var(--fs-sm); }
.photo-tile .chips { margin-top: var(--space-4); }
.photo-tile .chip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); color: #fff; font-size: var(--fs-xs); padding: 5px 11px; }
.photo-tile .badge { position: absolute; top: 16px; left: 16px; }
.photo-tile .pt-go { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--blue-700); transform: rotate(-45deg) scale(.85); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.photo-tile .pt-go .ic { width: 20px; height: 20px; }
.photo-tile:hover .pt-go, .photo-tile:focus-visible .pt-go { transform: none; opacity: 1; }
@media (hover: none) { .photo-tile .pt-go { opacity: 1; transform: none; } }
.photo-tile--lg { min-height: 420px; }
.photo-tile--lg h3 { font-size: var(--fs-h3); }

/* rounded photo frame with floating chips */
.photo-frame { position: relative; }
.photo-frame > img { width: 100%; border-radius: var(--r-xl); object-fit: cover; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.photo-frame .pf-small { position: absolute; right: -4%; bottom: -10%; width: 42%; aspect-ratio: 1; border-radius: var(--r-lg); object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.photo-frame .fchip { position: absolute; }
.photo-frame .fc-tl { left: -4%; top: 10%; }
.photo-frame .fc-br { right: -3%; bottom: 12%; }
.photo-frame .fc-bl { left: -3%; bottom: -5%; }
@media (max-width: 767px) {
    .photo-frame .pf-small { right: 2%; bottom: -8%; width: 38%; border-width: 4px; }
    .photo-frame .fc-tl { left: 2%; top: 4%; } .photo-frame .fc-br { right: 2%; } .photo-frame .fc-bl { left: 2%; }
}
.fchip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .97); color: var(--slate-800); box-shadow: var(--shadow-lg); font-size: 12px; line-height: 1.3; z-index: 3; white-space: nowrap; text-align: left; }
.fchip strong { display: block; font-family: var(--font-head); font-size: 13px; color: var(--blue-950); }
.fchip .ic-tile { width: 34px; height: 34px; border-radius: 10px; }
.fchip .ic-tile .ic { width: 17px; height: 17px; }
.fchip .av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.float { animation: floatY 6s var(--ease-in-out) infinite alternate; }
.float--slow { animation-duration: 8s; }
.float--delay { animation-delay: -3s; }
@keyframes floatY { from { translate: 0 0; } to { translate: 0 -12px; } }

/* ---------- 10. Hero (light, centered, 3D product stage) ---------- */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem)); background: var(--grad-soft); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0, 7, 176, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 7, 176, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000 30%, transparent 75%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, #fff); pointer-events: none; z-index: 4; }
.hero-center { position: relative; z-index: 5; text-align: center; max-width: 980px; margin-inline: auto; }
.hero h1 { margin: var(--space-6) auto var(--space-5); max-width: 16ch; }
.hero .lead { max-width: 660px; margin: 0 auto var(--space-8); }
.hero .btn-row { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: var(--space-6) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--slate-600); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--green-500); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--slate-700); font-size: var(--fs-sm); font-weight: 600; transition: box-shadow .3s, transform .4s var(--ease); max-width: 100%; }
.hero-pill:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--blue-700); }
.hero-pill .stack { display: flex; }
.hero-pill .stack img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -8px; }
.hero-pill .stack img:first-child { margin-left: 0; }
.hero-pill .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); flex-shrink: 0; }
.hero-pill:hover .ic { transform: translateX(3px); }
.hero-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the stage: perspective dashboard that flattens as you scroll (JS sets --tilt 0→1) */

/* split-word headline animation */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .7s var(--ease) forwards; animation-delay: calc(.05s + var(--wi) * .04s); }
.split-words .grad { background: linear-gradient(100deg, var(--blue-600), var(--blue-400) 60%, var(--red-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes wordUp { to { transform: none; } }
.hero-fade { opacity: 0; transform: translateY(18px); animation: fadeUp .7s var(--ease) forwards; animation-delay: calc(var(--d, .5s) * .6); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- 11. Dashboard mockup (CSS/SVG, sample data) ---------- */
.mockup { position: relative; border-radius: 18px; background: #fff; color: var(--slate-700); overflow: hidden; box-shadow: var(--shadow-lg); text-align: left; }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.mk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mk-bar i:nth-child(2) { background: #febc2e; } .mk-bar i:nth-child(3) { background: #28c840; }
.mk-url { flex: 1; max-width: 360px; margin: 0 auto; height: 22px; border-radius: 6px; background: #fff; font-size: 10.5px; color: var(--slate-500); display: flex; align-items: center; justify-content: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.mk-body { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
@media (min-width: 480px) { .mk-body { grid-template-columns: 160px 1fr; } }
.mk-side { background: var(--blue-950); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.mk-side .mk-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12px; }
.mk-side .mk-logo b { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-red); flex-shrink: 0; }
.mk-nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.mk-nav .ic { width: 15px; height: 15px; flex-shrink: 0; }
.mk-nav.on { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 479px) { .mk-side .mk-logo span, .mk-nav span { display: none; } }
.mk-main { padding: 14px; display: grid; gap: 12px; background: var(--off-white); min-width: 0; }
.mk-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-head strong { font-family: var(--font-head); font-size: 13px; color: var(--blue-950); }
.mk-head span { font-size: 9.5px; font-weight: 700; color: #7a5a00; background: #fff7d6; padding: 2px 8px; border-radius: 99px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-kpis--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .mk-kpis--4 { grid-template-columns: repeat(4, 1fr); } }
.mk-kpi { background: #fff; border-radius: 10px; padding: 9px 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.mk-kpi small { display: block; font-size: 9.5px; color: var(--slate-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpi b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--blue-950); margin-top: 2px; }
.mk-kpi em { font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--green-500); }
.mk-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.mk-card { background: #fff; border-radius: 10px; padding: 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.mk-card small { font-size: 9.5px; font-weight: 700; color: var(--slate-600); }
.mk-bars { display: flex; align-items: flex-end; gap: 5px; height: 78px; margin-top: 8px; }
.mk-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--grad-blue); height: var(--h); transform-origin: bottom; animation: barUp 1s var(--ease) both; animation-delay: calc(1s + var(--i) * .08s); }
.mk-bars i:nth-child(5) { background: var(--grad-red); }
@keyframes barUp { from { transform: scaleY(0); } }
.mk-line { width: 100%; height: 78px; margin-top: 8px; }
.mk-line path.ln { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2s var(--ease) 1.3s forwards; }
.mk-line path.ar { opacity: 0; animation: fadeIn 1s ease 2.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.mk-rows { display: grid; gap: 6px; }
.mk-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 10.5px; box-shadow: var(--shadow-sm); }
.mk-row b { font-weight: 600; color: var(--slate-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-pill { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--blue-50); color: var(--blue-700); }
.mk-pill.ok { background: #e3f7ec; color: #11834f; }
.mk-pill.warn { background: var(--red-50); color: var(--red-700); }

/* ---------- 12. Industry photo marquee + trust strip ---------- */
.ind-marquee { padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 clamp(1rem, 1rem + 1vw, 2rem); }
.ind-marquee > p { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--slate-600); margin-bottom: var(--space-6); padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 55s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 65s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.mq-pill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--blue-950); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; white-space: nowrap; transition: border-color .3s, box-shadow .3s, color .3s; }
.mq-pill:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); color: var(--blue-700); }
.mq-pill img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mq-logo { width: 170px; min-height: 56px; }
.trust-note { text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin: var(--space-10) 0 var(--space-4); padding-inline: var(--gutter); }

/* ---------- 14. Bento grid with mini UIs ---------- */
.bento { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .b-wide { grid-column: span 2; } .bento .b-tall { grid-row: span 2; } }
.bento-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bento-card .b-text { padding: var(--space-6) var(--space-6) var(--space-4); }
.bento-card h3 { font-size: 1.15rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bento-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.b-ui { position: relative; flex: 1; min-height: 210px; margin: 0 var(--space-4) var(--space-4); border-radius: var(--r-lg); padding: var(--space-4); background: var(--blue-50); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.b-ui--red { background: var(--red-50); }
.b-ui--green { background: var(--green-50); }
.b-ui--amber { background: var(--amber-50); }
.b-ui--grad { background: linear-gradient(160deg, var(--blue-100), var(--blue-50) 60%, #fff); }
.ui-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 12px; }
.ui-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--blue-950); }
.ui-title span { font-family: var(--font-body); font-size: 10px; font-weight: 700; color: #7a5a00; background: #fff7d6; padding: 2px 7px; border-radius: 99px; }
.stock-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 50px; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--slate-100); }
.stock-row:first-of-type { border-top: 0; }
.stock-row b { display: block; font-weight: 600; color: var(--slate-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock-row small { display: block; color: var(--slate-500); font-size: 10px; }
.meter { height: 7px; border-radius: 9px; background: var(--slate-100); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad-blue); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.meter i.low { background: var(--grad-red); }
.is-visible .meter i { transform: scaleX(1); }
.stock-row em { font-style: normal; text-align: right; font-weight: 700; color: var(--blue-900); }
.loom-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.loom-bars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 9.5px; color: var(--slate-500); font-weight: 600; }
.loom-bars i { width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--grad-blue); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * .07s); }
.loom-bars span:nth-child(4) i { background: var(--grad-red); }
.is-visible .loom-bars i { transform: scaleY(1); }
.invoice { position: relative; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.inv-head b { font-family: var(--font-head); font-size: 13px; color: var(--blue-950); }
.inv-head small { display: block; color: var(--slate-500); font-size: 10px; }
.inv-line { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px dashed var(--slate-200); color: var(--slate-600); }
.inv-line.total { font-weight: 800; color: var(--blue-950); font-size: 13px; }
.stamp { position: absolute; right: 10px; bottom: 38px; padding: 4px 10px; border: 2px solid var(--green-500); color: var(--green-500); border-radius: 8px; font-weight: 800; font-size: 11px; letter-spacing: .08em; transform: rotate(-12deg) scale(1.6); opacity: 0; transition: transform .6s var(--ease) .8s, opacity .4s .8s; background: rgba(255, 255, 255, .8); }
.is-visible .stamp { transform: rotate(-12deg) scale(1); opacity: 1; }
.phone { width: 214px; margin: 10px auto -70px; border-radius: 36px; padding: 10px; background: var(--blue-950); box-shadow: var(--shadow-xl); transform: translateY(30px); transition: transform 1s var(--ease); }
.is-visible .phone { transform: none; }
.phone-screen { border-radius: 28px; background: #fff; overflow: hidden; padding: 12px 12px 80px; }
.phone-notch { width: 72px; height: 18px; margin: -4px auto 12px; border-radius: 0 0 12px 12px; background: var(--blue-950); }
.phone h4 { font-size: 13px; margin: 0 0 10px; }
.p-field { margin-bottom: 9px; }
.p-field small { display: block; font-size: 9.5px; color: var(--slate-500); font-weight: 600; margin-bottom: 3px; }
.p-field div { padding: 8px 10px; border-radius: 9px; background: var(--slate-100); font-size: 11.5px; font-weight: 600; color: var(--slate-800); }
.p-btn { margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--red-cta); color: #fff; text-align: center; font-weight: 700; font-size: 12px; }
.p-toast { margin-top: 10px; display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--green-50); color: var(--green-700); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .5s 1.2s, transform .6s var(--ease) 1.2s; }
.p-toast .ic { width: 14px; height: 14px; }
.is-visible .p-toast { opacity: 1; transform: none; }
.att { display: grid; gap: 8px; }
.att-row { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; }
.att-row .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800; background: var(--grad-blue); }
.att-row:nth-child(3) .av { background: linear-gradient(135deg, #7c4dff, #4527a0); }
.att-row:nth-child(4) .av { background: var(--grad-red); }
.att-row:nth-child(5) .av { background: linear-gradient(135deg, #16a34a, #0f6f43); }
.att-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.att-days i { aspect-ratio: 1; border-radius: 5px; background: var(--blue-100); transform: scale(0); transition: transform .4s var(--ease); transition-delay: calc(var(--i, 0) * .02s); }
.att-days i.p { background: var(--blue-600); }
.att-days i.l { background: var(--red-100); }
.is-visible .att-days i { transform: none; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { width: 120px; height: 120px; flex-shrink: 0; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; }
.donut .seg { stroke-dasharray: 0 314; transition: stroke-dasharray 1.4s var(--ease); }
.is-visible .donut .s1 { stroke-dasharray: 125 314; }
.is-visible .donut .s2 { stroke-dasharray: 94 314; stroke-dashoffset: -125; }
.is-visible .donut .s3 { stroke-dasharray: 60 314; stroke-dashoffset: -219; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--slate-700); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.perm { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--slate-100); font-weight: 600; color: var(--slate-800); }
.perm:first-of-type { border-top: 0; }
.tgl { width: 34px; height: 20px; border-radius: 20px; background: var(--slate-300); position: relative; transition: background .4s; flex-shrink: 0; }
.tgl::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.is-visible .tgl.on { background: var(--blue-600); }
.is-visible .tgl.on::after { transform: translateX(14px); }
.perm:nth-of-type(3) .tgl, .perm:nth-of-type(3) .tgl::after { transition-delay: .25s; }
.perm:nth-of-type(4) .tgl, .perm:nth-of-type(4) .tgl::after { transition-delay: .5s; }

/* ---------- 16. Sticky steps ---------- */
.sticky-steps { display: grid; gap: var(--space-8); }
@media (min-width: 960px) { .sticky-steps { grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; } }
.ss-visual { display: none; }
@media (min-width: 960px) {
    .ss-visual { display: block; position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 1 / 1; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--blue-950); }
    .ss-visual > figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
    .ss-visual > figure.on { opacity: 1; transform: none; }
    .ss-visual figure > img { width: 100%; height: 100%; object-fit: cover; }
    .ss-visual figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 2, 58, .6)); }
    .ss-visual figcaption { position: absolute; left: 22px; bottom: 22px; z-index: 1; }
}
.ss-list { list-style: none; padding: 0; margin: 0; counter-reset: ss; }
.ss-step { position: relative; padding: var(--space-5) 0 var(--space-8) 72px; }
@media (min-width: 960px) { .ss-step { min-height: 40vh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--space-10); } }
.ss-step::before { counter-increment: ss; content: '0' counter(ss); position: absolute; left: 0; top: var(--space-5); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--blue-400); background: #fff; border: 1px solid var(--line); transition: background .5s, color .5s, box-shadow .5s; }
@media (min-width: 960px) { .ss-step::before { top: 50%; transform: translateY(-50%); } }
.ss-step.on::before { background: var(--grad-blue); color: #fff; box-shadow: 0 12px 24px -10px rgba(0, 7, 176, .6); border-color: transparent; }
.ss-step:last-child.on::before { background: var(--grad-red); }
.ss-step h3 { margin-bottom: 8px; }
.ss-step p { color: var(--text-muted); margin: 0; }
.ss-step .ss-img { margin-top: var(--space-4); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-md); }
.ss-step .ss-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .ss-step .ss-img { display: none; } .ss-step h3, .ss-step p { transition: opacity .5s; } .ss-step:not(.on) h3, .ss-step:not(.on) p { opacity: .4; } }

/* ---------- 17. Steps (compact) ---------- */
.steps { position: relative; display: grid; gap: var(--space-6); list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: var(--space-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-blue); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: var(--space-4); box-shadow: 0 0 0 6px var(--blue-50); }
.step:last-child .step-num { background: var(--grad-red); box-shadow: 0 0 0 6px var(--red-50); }
.step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.step .ic-tile { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; }
.step .ic-tile .ic { width: 20px; height: 20px; }

/* ---------- 18. Tabs (product preview) ---------- */
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: max-content; max-width: 100%; overflow-x: auto; margin: 0 auto var(--space-8); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; min-height: 44px; padding: 10px 18px; border: 0; border-radius: var(--r-pill); background: none; color: var(--slate-600); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; white-space: nowrap; transition: color .3s, background-color .3s; }
.tab:hover { color: var(--blue-700); }
.tab[aria-selected="true"] { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 7, 176, .7); }
.section--dark .tabs { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section--dark .tab { color: rgba(255, 255, 255, .78); }
.section--dark .tab[aria-selected="true"] { background: #fff; color: var(--blue-700); }
.tab-panel { animation: panelIn .6s var(--ease); }
.tab-panel[hidden] { display: none; }
.preview { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .preview { grid-template-columns: .8fr 1.2fr; gap: var(--space-12); } }

/* ---------- 19. Testimonials (placeholders, fanned cards) ---------- */
.fan { display: grid; gap: var(--space-5); }
@media (min-width: 900px) {
    .fan { grid-template-columns: repeat(3, 1fr); align-items: center; }
    .fan > :nth-child(1) { rotate: -4deg; translate: 0 18px; }
    .fan > :nth-child(3) { rotate: 4deg; translate: 0 18px; }
    .fan > * { transition: rotate .6s var(--ease), translate .6s var(--ease), opacity .9s var(--ease), transform 1s var(--ease); }
    .fan:hover > * { rotate: 0deg; translate: 0 0; }
}
.quote-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); border-radius: var(--r-lg); background: #fff; border: 1.5px dashed var(--blue-200); box-shadow: var(--shadow-md); margin: 0; }
.quote-card .ic { width: 32px; height: 32px; color: var(--blue-200); }
.quote-card p { color: var(--slate-600); font-style: italic; margin: 0; }
.quote-who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.quote-who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); border: 1.5px dashed var(--blue-200); }
.quote-who strong { display: block; font-family: var(--font-head); color: var(--blue-950); font-size: .9375rem; }
.quote-who small { color: var(--slate-500); }

/* ---------- 20. FAQ ---------- */
.faq-layout { display: grid; gap: var(--space-8); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: var(--space-12); align-items: start; } .faq-layout > :first-child { position: sticky; top: calc(var(--header-h) + 30px); } }
.faq-layout .section-head { margin-bottom: 0; }
.help-card { position: relative; margin-top: var(--space-6); border-radius: var(--r-lg); overflow: hidden; color: #fff; padding: var(--space-6); isolation: isolate; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.help-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.help-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 2, 58, .05), rgba(0, 2, 58, .92)); }
.help-card h3 { color: #fff; margin-bottom: 6px; }
.help-card p { color: rgba(255, 255, 255, .84); font-size: var(--fs-sm); }
.faq { display: grid; gap: var(--space-3); max-width: 860px; margin-inline: auto; width: 100%; }
.faq-item { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, border-color .35s; }
.faq-item.is-open { border-color: var(--blue-200); box-shadow: var(--shadow-md); }
.faq-q { margin: 0; font-size: 1rem; }
.faq-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 18px 20px; min-height: 62px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--blue-950); border-radius: var(--r-md); }
.faq-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); flex-shrink: 0; transition: background-color .3s, transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue-600); border-radius: 2px; transition: transform .5s var(--ease), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--red-cta); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; margin: 0; color: var(--text-muted); }
.no-js .faq-a { grid-template-rows: 1fr; }

/* ---------- 21. CTA band (photo background) ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(22px, 3vw, 36px); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4.5rem); color: rgba(255, 255, 255, .85); background: var(--blue-950); }
.cta-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.08); transition: transform 6s ease-out; }
.cta-band.is-visible > img { transform: scale(1); }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 2, 58, .96) 0%, rgba(0, 4, 112, .86) 50%, rgba(0, 7, 176, .45) 100%); }
.cta-band::after { content: ''; position: absolute; width: 300px; height: 300px; right: -80px; bottom: -140px; z-index: -1; border-radius: 50%; background: var(--red-500); filter: blur(90px); opacity: .45; }
.cta-band-inner { position: relative; display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); font-size: var(--fs-lg); }
.cta-band .eyebrow { font-size: var(--fs-xs); margin-bottom: var(--space-4); }

/* ---------- 22. Page hero (inner pages, light with photo) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-soft); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem)) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0, 7, 176, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 7, 176, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 0 0 var(--space-4); font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.75rem); }
.page-hero .lead { max-width: 640px; }
.page-hero .btn-row { margin-top: var(--space-8); }
.page-hero-grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.page-hero .photo-frame > img { aspect-ratio: 4 / 3.3; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 var(--space-5); list-style: none; font-size: var(--fs-sm); color: var(--slate-500); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; opacity: .5; }
.crumbs a { color: var(--slate-600); text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.crumbs [aria-current] { color: var(--blue-700); font-weight: 600; }

/* ---------- 23. Industry page ---------- */
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red-500); transition: transform .4s var(--ease), box-shadow .4s; }
.pain-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.pain-list li .ic { width: 20px; height: 20px; color: var(--red-500); margin-top: 3px; }
.pain-list strong { display: block; color: var(--blue-950); font-family: var(--font-head); font-size: .9875rem; margin-bottom: 2px; }
.pain-list span { font-size: var(--fs-sm); color: var(--text-muted); }
.solve-list li { border-left-color: var(--blue-600); }
.solve-list li .ic { color: var(--blue-600); }
.workflow { width: 100%; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.workflow svg { min-width: 720px; width: 100%; height: auto; }
.workflow .wf-line { stroke-dasharray: 8 8; animation: dash 1.2s linear infinite; }
.workflow .wf-node { opacity: 0; transform: translateY(14px); transform-box: fill-box; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * .15s); }
.workflow.is-visible .wf-node { opacity: 1; transform: none; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.workflow-vertical { display: none; }
@media (max-width: 767px) {
    .workflow { display: none; }
    .workflow-vertical { display: grid; list-style: none; padding: 0; margin: 0; counter-reset: wf; }
    .workflow-vertical li { position: relative; padding: 0 0 22px 52px; }
    .workflow-vertical li::before { counter-increment: wf; content: counter(wf); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-blue); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .875rem; }
    .workflow-vertical li:last-child::before { background: var(--grad-red); }
    .workflow-vertical li::after { content: ''; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--blue-100); }
    .workflow-vertical li:last-child::after { display: none; }
    .workflow-vertical strong { display: block; font-family: var(--font-head); color: var(--blue-950); }
    .workflow-vertical span { font-size: var(--fs-sm); color: var(--text-muted); }
}

/* services rows */
.svc + .svc { margin-top: clamp(4.5rem, 3rem + 5vw, 8rem); }

/* ---------- 24. About ---------- */
.vm-card { padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); border-radius: var(--r-xl); background: var(--grad-blue); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.vm-card h3 { color: #fff; }
.vm-card p { margin: 0; font-size: var(--fs-lg); }
.vm-card--red { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); }
.vm-card::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .07); }
.team-card { text-align: center; padding: var(--space-6); }
.team-card .placeholder { width: 120px; height: 120px; min-height: 0; border-radius: 50%; margin: 0 auto var(--space-4); }
.story-visual { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--off-white); border: 1px solid var(--line); }
.story-visual .feature + .feature { margin-top: var(--space-6); }

/* ---------- 25. Forms ---------- */
.form-card { padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xl); color: var(--text); }
.form-card > h3, .form-card > h2 { margin-bottom: var(--space-5); color: var(--heading); }
.section--dark .form-card :focus-visible { outline-color: var(--blue-400); }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--blue-950); }
.field label .req { color: var(--red-600); }
.field label .opt { color: var(--slate-500); font-weight: 500; font-family: var(--font-body); font-size: var(--fs-xs); }
.input { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--slate-200); background: var(--slate-50); font-size: 16px; color: var(--slate-900); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.input::placeholder { color: var(--slate-400); }
.input:hover { border-color: var(--slate-300); }
.input:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 57, 224, .14); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { padding-right: 40px; background: var(--slate-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field.has-error .input { border-color: var(--red-600); background: #fffafa; }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(242, 0, 0, .12); }
.field-error { font-size: var(--fs-xs); font-weight: 600; color: var(--red-700); }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-xs); color: var(--slate-500); margin: var(--space-3) 0 0; }
.form-note .ic { margin-right: 2px; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.form-alert--error { background: var(--red-50); color: var(--red-700); }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .ic { display: none; }
.form-success { text-align: center; padding: var(--space-8) var(--space-4); animation: panelIn .6s var(--ease); }
.form-success .check-anim { width: 84px; height: 84px; margin: 0 auto var(--space-5); }
.check-anim circle { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .7s forwards; }
.contact-grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: var(--space-12); align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: var(--space-3); }
.contact-list a, .contact-list .ci { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--slate-800); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.contact-list a:hover { border-color: var(--blue-200); transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--slate-900); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-list strong { font-weight: 600; font-size: .9875rem; word-break: break-word; }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--off-white); }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-box .placeholder { height: 100%; border-radius: 0; border: 0; }

/* ---------- 26. Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-10); }
.prose li { margin-bottom: 6px; }
.draft-note { display: flex; gap: 12px; padding: var(--space-4) var(--space-5); border-radius: var(--r-md); background: #fff7d6; color: #5c4400; border: 1px solid #f3dd8a; margin-bottom: var(--space-8); font-size: var(--fs-sm); }
.draft-note .ic { color: #a17700; margin-top: 2px; }

/* ---------- 27. Footer ---------- */
.site-footer { position: relative; background: var(--blue-950); color: rgba(255, 255, 255, .72); padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0 0; overflow: hidden; font-size: var(--fs-sm); }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-400) 50%, var(--red-500)); }
.site-footer::after { content: ''; position: absolute; width: 500px; height: 500px; right: -200px; top: -250px; border-radius: 50%; background: var(--blue-600); filter: blur(120px); opacity: .5; pointer-events: none; }
.footer-grid { position: relative; z-index: 1; display: grid; gap: var(--space-10); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr .9fr 1fr 1.1fr 1.3fr; } .footer-brand { grid-column: auto; } }
@media (max-width: 1023px) { .footer-grid > div:last-child { grid-column: 1 / -1; } }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: var(--space-4); }
.footer-logo span:first-child { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.footer-logo img { width: 36px; height: 36px; }
.footer-logo .brand-name { color: #fff; }
.footer-logo .brand-name small { color: #ff9b9b; }
.site-footer h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-5); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, transform .3s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; color: #ff8a8a; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-5); }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--red-cta); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.footer-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); padding: var(--space-6) 0 calc(var(--space-6) + 80px); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); color: rgba(255, 255, 255, .6); }
@media (min-width: 768px) { .footer-bottom { padding-bottom: var(--space-6); } }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 28. Floating contact ---------- */
.mobile-bar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 16px 40px -14px rgba(0, 3, 82, .45); transform: translateY(150%); transition: transform .5s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; font-family: var(--font-head); font-weight: 700; font-size: .875rem; text-decoration: none; }
.mobile-bar .mb-call { background: var(--blue-50); color: var(--blue-700); }
.mobile-bar .mb-wa { background: var(--wa-green); color: #06341a; }
.mobile-bar .mb-demo { background: var(--red-cta); color: #fff; font-size: 1rem; }
.mobile-bar .ic { width: 18px; height: 18px; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center; background: var(--wa-green); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .4s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa-green); animation: waPulse 2.4s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ic { width: 30px; height: 30px; }
.wa-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: var(--blue-950); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 768px) { .wa-float { display: grid; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 200; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue-600), var(--red-500)); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- 29. 404 ---------- */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + var(--section-y)) 0 var(--section-y); background: var(--grad-soft); margin-top: calc(var(--header-h) * -1); }
.nf-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 4rem + 12vw, 12rem); line-height: 1; letter-spacing: -.06em; background: linear-gradient(120deg, var(--blue-600), var(--blue-400) 50%, var(--red-500)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: floatY 5s var(--ease-in-out) infinite alternate; }

/* ---------- 30. Industry tiles grid ---------- */
.grid-ind { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid-ind { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
@media (min-width: 1200px) { .grid-ind { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-ind .photo-tile { min-height: 260px; }
@media (max-width: 479px) {
    .grid-ind .photo-tile { min-height: 190px; border-radius: var(--r-md); }
    .grid-ind .photo-tile .pt-body { padding: var(--space-4); }
    .grid-ind .photo-tile h3 { font-size: .95rem; margin: 0; }
    .grid-ind .photo-tile p { display: none; }
    .grid-ind .photo-tile .pt-go { width: 32px; height: 32px; top: 10px; right: 10px; }
    .grid-ind .photo-tile .badge { top: 10px; left: 10px; font-size: 11px; padding: 3px 8px; }
}

/* ---------- 31. Horizontal carousel ---------- */
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 330px); gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; scroll-behavior: smooth; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-nav { display: flex; gap: 10px; }
.car-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--blue-700); box-shadow: var(--shadow-sm); transition: background-color .3s, color .3s, transform .3s var(--ease), opacity .3s; }
.car-btn:hover { background: var(--blue-600); color: #fff; transform: scale(1.05); }
.car-btn:disabled { opacity: .35; pointer-events: none; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.head-row .section-head { margin-bottom: 0; }

/* ---------- 32. Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1s var(--ease), rotate .6s var(--ease), translate .6s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal="up"], .js [data-reveal=""] { transform: translateY(36px); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 767px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(28px); } }

/* ---------- 33. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .split-words .w > span, .hero-fade { transform: none !important; opacity: 1 !important; }
    .stage-screen { transform: none !important; }
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .mk-line path.ln { stroke-dashoffset: 0; }
    .mk-line path.ar, .ps-visual .tag-float, .p-toast, .stamp { opacity: 1; transform: none; }
    .meter i, .loom-bars i, .att-days i { transform: none; }
}

/* ---------- 34. Print ---------- */
@media print {
    .site-header, .mobile-bar, .wa-float, .site-footer, .cta-band, .scroll-progress { display: none !important; }
    .hero, .page-hero { background: none; margin: 0; padding: 1rem 0; }
}

/* section-head body + CTA (copy from /app/data/home.php) */
.section-head .sh-body { margin: var(--space-4) 0 0; color: var(--text-muted); font-size: var(--fs-sm); max-width: 620px; }
.section-head.center .sh-body { margin-inline: auto; }
.section-head .sh-cta { margin-top: var(--space-4); }
.section--dark .section-head .sh-body { color: rgba(255, 255, 255, .7); }
.section--dark .section-head .sh-cta { color: #fff; }
.section--dark .section-head .sh-cta:hover { color: var(--blue-200); }
.cta-band .text-gradient, .section--dark .text-gradient { background: linear-gradient(100deg, #fff, var(--blue-200) 55%, #ffb3b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-lg); color: var(--blue-800); margin: 0 auto var(--space-3); max-width: 620px; }

/* ==========================================================================
   v3 home (industry-ready ERP): hero photo, industry groups, before/after,
   one view, ERP modules, roles, ROI, proof
   ========================================================================== */
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(24px) scale(.92); } }

/* 3D screen that flattens as it scrolls into view (JS sets --tilt 0 → 1 on [data-stage]) */
.stage-glow { position: absolute; left: 8%; right: 8%; top: 15%; height: 75%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 57, 224, .4), transparent); filter: blur(40px); z-index: -1; }
.stage-screen { position: relative; border-radius: 24px; padding: 10px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-xl); transform-origin: 50% 0; transform: rotateX(calc(16deg * (1 - var(--tilt, 0)))) scale(calc(.93 + .07 * var(--tilt, 0))); will-change: transform; }
.stage-screen .mockup { box-shadow: none; border-radius: 16px; }
@media (max-width: 767px) { .stage-screen { padding: 5px; border-radius: 16px; } }

/* hero */
.hero { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.hero::after { display: none; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { max-width: 18ch; }
.hero-trust { display: inline-flex; align-items: center; gap: 8px; margin: var(--space-5) auto 0; padding: 8px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 600; color: var(--slate-700); box-shadow: var(--shadow-sm); }
.hero-trust .ic { width: 16px; height: 16px; color: var(--green-500); flex-shrink: 0; }
.hero-photo { position: relative; z-index: 3; max-width: 1100px; margin: clamp(2.5rem, 2rem + 3vw, 4rem) auto 0; }
.hp-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 16 / 8; background: var(--blue-950); }
.hp-frame img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hp-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-lg); text-align: left; animation: chipIn .9s var(--ease) both, floatY 6s var(--ease-in-out) infinite alternate; animation-delay: var(--d), calc(var(--d) + .9s); }
.hp-card small { display: block; font-size: 11.5px; font-weight: 600; color: var(--slate-500); }
.hp-card b { font-family: var(--font-head); font-size: 1.35rem; color: var(--blue-950); line-height: 1.1; }
.hp-card em { margin-left: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--green-500); }
.hp-card--1 { left: -3%; top: 14%; --d: 1s; }
.hp-card--2 { right: -3%; top: 8%; --d: 1.2s; }
.hp-card--3 { left: 6%; bottom: -7%; --d: 1.4s; }
.hp-card--4 { right: 8%; bottom: -6%; --d: 1.6s; }
.hp-sample { position: absolute; right: 18px; top: 16px; z-index: 2; padding: 3px 9px; border-radius: 99px; background: #fff7d6; color: #7a5a00; font-size: 10.5px; font-weight: 700; }
@media (max-width: 1199px) { .hp-card--1 { left: 2%; } .hp-card--2 { right: 2%; } }
@media (min-width: 768px) { .hp-sample { right: auto; left: 50%; transform: translateX(-50%); top: auto; bottom: 14px; } }
@media (max-width: 767px) {
    .hp-frame { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); }
    .hero-photo { margin-bottom: 70px; }
    .hp-card { padding: 8px 11px; gap: 8px; border-radius: 14px; }
    .hp-card .ic-tile { width: 30px; height: 30px; border-radius: 9px; }
    .hp-card .ic-tile .ic { width: 15px; height: 15px; }
    .hp-card b { font-size: 1rem; }
    .hp-card em { font-size: 10.5px; }
    .hp-card--1 { left: 8px; top: 10px; } .hp-card--2 { right: 8px; top: auto; bottom: 34%; }
    .hp-card--3 { left: 8px; bottom: -40px; } .hp-card--4 { right: 8px; bottom: -40px; }
    .hp-sample { top: auto; bottom: 12px; right: auto; left: 50%; transform: translateX(-50%); }
}
.trust-strip { padding: var(--space-6) 0 var(--space-4); }
.trust-strip .trust-note { margin-top: 0; }

/* industry groups */
.ig-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
.ig-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; border-radius: var(--r-xl); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ig-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 2, 58, .15) 0%, rgba(0, 2, 58, .35) 40%, rgba(0, 2, 58, .94) 100%); transition: background .5s; }
.ig-card:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.ig-card:hover > img { transform: scale(1.08); }
.ig-card:hover::after { background: linear-gradient(180deg, rgba(0, 7, 176, .25) 0%, rgba(0, 4, 112, .55) 40%, rgba(0, 2, 58, .96) 100%); }
.ig-top { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; justify-content: space-between; }
.ig-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ig-icon .ic { width: 24px; height: 24px; }
.ig-card .pt-go { position: static; }
.ig-body { padding: var(--space-6); }
.ig-body h3 { color: #fff; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; margin-bottom: var(--space-3); }
.ig-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ig-body li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, .9); }
.ig-body li .ic { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--red-cta); color: #fff; }
@media (max-width: 639px) { .ig-card { min-height: 300px; } }
.ig-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: var(--space-8); }
.ig-more > span { font-family: var(--font-head); font-weight: 700; color: var(--slate-600); margin-right: 4px; }
.mq-pill--sm { padding: 4px 14px 4px 4px; font-size: .875rem; }
.mq-pill--sm img { width: 32px; height: 32px; }

/* before → after */
.ba-head { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 12px; margin-bottom: var(--space-4); }
.ba-tag { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }
.ba-tag .ic { width: 16px; height: 16px; }
.ba-tag--bad { background: var(--red-50); color: var(--red-700); }
.ba-tag--good { background: var(--blue-600); color: #fff; }
.ba-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ba-row { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 12px; align-items: stretch; }
.ba-before, .ba-after { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); font-weight: 600; }
.ba-before { background: #fff; border: 1px dashed var(--red-100); color: var(--slate-500); text-decoration: line-through; text-decoration-color: rgba(204, 0, 0, .45); }
.ba-x { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); flex-shrink: 0; }
.ba-x .ic { width: 14px; height: 14px; }
.ba-after { background: #fff; border: 1px solid var(--blue-200); color: var(--blue-950); font-family: var(--font-head); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.ba-row:hover .ba-after { transform: translateX(4px); box-shadow: var(--shadow-md); }
.ba-after .ic-tile { width: 36px; height: 36px; border-radius: 11px; }
.ba-after .ic-tile .ic { width: 18px; height: 18px; }
.ba-arrow { display: grid; place-items: center; color: var(--blue-400); }
.ba-arrow .ic { width: 22px; height: 22px; }
.ba-row.is-visible .ba-arrow .ic { animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
@media (max-width: 599px) {
    .ba-head, .ba-row { grid-template-columns: 1fr 26px 1fr; gap: 6px; }
    .ba-before, .ba-after { padding: 11px 10px; gap: 8px; font-size: var(--fs-xs); border-radius: 12px; }
    .ba-x, .ba-after .ic-tile { display: none; }
    .ba-tag { font-size: var(--fs-xs); padding: 8px 4px; }
    .ba-arrow .ic { width: 16px; height: 16px; }
}

/* one view */
.one-view { position: relative; perspective: 1800px; max-width: 1080px; margin-inline: auto; }
.kpi-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-xl); border: 1px solid var(--line); }
.kpi-float small { display: block; font-size: 12px; font-weight: 600; color: var(--slate-500); }
.kpi-float b { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue-950); line-height: 1.1; }
.kpi-float em { margin-left: 6px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--green-500); }
.kpi-float--1 { left: -6%; top: 18%; }
.kpi-float--2 { right: -6%; top: 10%; }
.kpi-float--3 { left: -4%; bottom: 10%; }
.kpi-float--4 { right: -4%; bottom: 18%; }
@media (max-width: 1199px) { .kpi-float--1, .kpi-float--3 { left: 1%; } .kpi-float--2, .kpi-float--4 { right: 1%; } }
@media (max-width: 767px) {
    .one-view { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .one-view .stage-screen { grid-column: 1 / -1; margin-bottom: 6px; }
    .kpi-float { position: static; padding: 10px 12px; gap: 8px; border-radius: 14px; box-shadow: var(--shadow-md); }
    .kpi-float .ic-tile { width: 32px; height: 32px; border-radius: 10px; }
    .kpi-float .ic-tile .ic { width: 16px; height: 16px; }
    .kpi-float b { font-size: 1.05rem; }
    .kpi-float em { display: block; margin: 0; font-size: 11px; }
}

/* ERP modules */
.mod-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px; margin: 0 auto var(--space-6); width: max-content; max-width: 100%; border-radius: var(--r-pill); background: var(--off-white); border: 1px solid var(--line); scrollbar-width: none; }
.mod-tabs::-webkit-scrollbar { display: none; }
.mod-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 0; border-radius: var(--r-pill); background: none; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: var(--slate-600); white-space: nowrap; flex-shrink: 0; transition: background-color .3s, color .3s, box-shadow .3s; }
.mod-tab .ic { width: 18px; height: 18px; }
.mod-tab:hover { color: var(--blue-700); background: #fff; }
.mod-tab[aria-selected="true"] { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 7, 176, .7); }
.mod-panel { display: grid; gap: var(--space-8); align-items: center; padding: var(--space-5); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--blue-50), #fff 60%); border: 1px solid var(--line); animation: panelIn .6s var(--ease); }
.mod-panel[hidden] { display: none; }
@media (min-width: 960px) { .mod-panel { grid-template-columns: .7fr 1.3fr; padding: var(--space-8); gap: var(--space-10); } }
.mod-copy h3 { font-size: var(--fs-h3); margin: var(--space-4) 0 var(--space-3); }
.mod-copy p { color: var(--text-muted); }
.mod-screen .mockup { box-shadow: var(--shadow-xl); }
.flow-strip { margin-top: var(--space-8); text-align: center; }
.flow-strip p { font-family: var(--font-head); font-weight: 700; color: var(--blue-950); margin-bottom: var(--space-4); }
.flow-strip ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 4px; }
.flow-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: var(--fs-sm); color: var(--slate-800); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i) * .1s); }
.flow-strip li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-blue); color: #fff; font-size: 12px; font-weight: 800; }
.flow-strip li:last-child span { background: var(--grad-red); }
.flow-strip.is-visible li { opacity: 1; transform: none; }

/* roles */
.role-card .pc-img { aspect-ratio: 4 / 3.2; }
.role-card .pc-chip { right: auto; left: 14px; top: 14px; bottom: auto; }
.role-card .pc-body { padding-top: 20px; }

/* ROI */
.roi { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .roi { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }
.roi-arrows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.roi-arrows ul { list-style: none; padding: var(--space-5); margin: 0; border-radius: var(--r-lg); display: grid; gap: 12px; }
.roi-down { background: var(--red-50); }
.roi-up { background: var(--green-50); }
.roi-arrows li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--blue-950); }
.roi-arrows li span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; background: #fff; }
.roi-down li span { color: var(--red-600); }
.roi-up li span { color: var(--green-500); }
@media (max-width: 479px) { .roi-arrows { grid-template-columns: 1fr; } }
.roi-calc { padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xl); }
.roi-calc h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.roi-calc h3 .ic { color: var(--blue-600); }
.roi-field { display: block; margin-top: var(--space-5); }
.roi-field > span { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: var(--fs-sm); color: var(--slate-800); margin-bottom: 8px; }
.roi-field output { font-family: var(--font-head); font-weight: 800; color: var(--blue-700); white-space: nowrap; }
.roi-field input[type=range] { width: 100%; height: 28px; accent-color: var(--blue-600); cursor: pointer; }
.roi-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: var(--space-6); }
.roi-result > div { padding: 14px; border-radius: var(--r-md); background: var(--blue-50); }
.roi-result > div:last-child { background: var(--red-50); }
.roi-result small { display: block; font-size: 12px; font-weight: 600; color: var(--slate-600); }
.roi-result b { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--blue-950); }
.roi-calc .btn { margin-top: var(--space-4); }

/* proof */
.case-card h3 { display: inline; }
.link-arrow.is-disabled { color: var(--slate-500); cursor: not-allowed; }
.link-arrow.is-disabled small { font-family: var(--font-body); font-weight: 500; }
.quote-card .stars { font-size: 18px; letter-spacing: 3px; color: var(--slate-300); }

.roi-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: var(--space-5); box-shadow: var(--shadow-lg); }
.roi-photo img { width: 100%; height: 100%; object-fit: cover; }
.roi-arrows li.roi-label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }

/* small green "change" text: #15803d passes WCAG AA on white and tinted cards */
.mk-kpi em, .hp-card em, .kpi-float em, .stat-strip em { color: #15803d; }
.mk-pill.ok { color: #0b5d38; }

/* ---------- v4: hero dashboard screenshot + category slider ---------- */
.hp-frame--screen { aspect-ratio: 1525 / 863; background: #f4f6fb; border: 1px solid var(--line); }
.hp-frame--screen img { object-fit: cover; object-position: left top; animation: none; }
@media (max-width: 767px) { .hp-frame--screen { aspect-ratio: 1525 / 863; border-radius: var(--r-md); } }

.cat-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.cat-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; margin: -4px 0; }
.cat-filters::-webkit-scrollbar { display: none; }
.cat-filter { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .875rem; color: var(--slate-700); white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.cat-filter b { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--blue-50); color: var(--blue-700); }
.cat-filter:hover { border-color: var(--blue-200); color: var(--blue-700); }
.cat-filter[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 7, 176, .7); }
.cat-filter[aria-pressed="true"] b { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 767px) { .cat-bar .car-nav { display: none; } }

.cat-track { grid-auto-columns: min(78%, 290px); gap: var(--space-4); cursor: grab; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.cat-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cat-track.is-dragging .ig-card { pointer-events: none; }
.cat-track .ig-card { min-height: 400px; }
.cat-track .ig-card[hidden] { display: none; }
.cat-track .ig-card > img { -webkit-user-drag: none; }
.cat-track .ig-body h3 { font-size: 1.15rem; text-transform: none; letter-spacing: -.01em; line-height: 1.2; }
.ig-group { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; }
.cat-track .ig-body li { font-size: .85rem; }
.cat-track:focus-visible { outline-offset: 4px; }
.cat-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: var(--space-2) 0 0; font-size: var(--fs-xs); font-weight: 600; color: var(--slate-500); }
@media (min-width: 1100px) { .cat-track { grid-auto-columns: calc((100% - 3 * var(--space-4)) / 4); padding-inline: 0; margin-inline: 0; scroll-padding-inline: 0; } }

/* industries hub: all categories grid */
.cat-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-grid .photo-tile { min-height: 230px; }
.cat-grid .photo-tile h3 { font-size: 1rem; }
@media (max-width: 479px) { .cat-grid .photo-tile { min-height: 180px; } .cat-grid .photo-tile p { display: none; } .cat-grid .photo-tile .pt-body { padding: var(--space-4); } }

.cat-group-title { font-size: var(--fs-h4); margin: var(--space-10) 0 var(--space-4); display: flex; align-items: center; gap: 10px; }
.cat-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* uncropped designed graphic in a page hero */
.page-hero .photo-frame--natural > img { aspect-ratio: auto; object-fit: contain; background: #fff; }

/* designed illustration on white: shown whole, no frame */
.illustration img { width: 100%; height: auto; }
/* phones: long button labels (e.g. industry CTAs) wrap instead of overflowing */
@media (max-width: 479px) { .btn-row--stack > .btn { white-space: normal; text-align: center; line-height: 1.25; } }

/* ---------- logo strip (demo business-type badges / client logos) ---------- */
.trust-strip .marquee-track { gap: clamp(28px, 4vw, 56px); align-items: center; padding: 6px 0; }
.client-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--slate-400); white-space: nowrap; transition: color .35s, transform .35s var(--ease); cursor: default; }
.client-logo:hover { color: var(--blue-600); transform: translateY(-2px); }
.cl-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 2px solid currentColor; }
.cl-mark .ic { width: 20px; height: 20px; }
.cl-text { display: flex; flex-direction: column; line-height: 1.05; }
.cl-text b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.cl-text small { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.cl-2 .cl-mark { border-radius: 50%; }
.cl-2 .cl-text b { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; font-size: 1.3rem; }
.cl-3 .cl-mark { border-radius: 4px; background: currentColor; }
.cl-3 .cl-mark .ic { color: #fff; }
.cl-3 .cl-text b { letter-spacing: .14em; font-size: 1.05rem; }
.cl-4 .cl-mark { border: 0; border-radius: 12px 2px 12px 2px; background: color-mix(in srgb, currentColor 18%, transparent); }
.cl-4 .cl-text b { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.role-card .pc-body { padding-top: 38px; }

/* ---------- 30. Long-form guides, resources, articles (SEO content) ---------- */
.guide-grid { display: grid; gap: var(--space-10); }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.guide-toc { display: none; }
@media (min-width: 1024px) {
    .guide-toc { display: block; position: sticky; top: calc(var(--header-h, 72px) + 24px); padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
}
.guide-toc ol, .article-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: var(--fs-sm); }
.guide-toc a, .article-toc a { color: var(--slate-700); text-decoration: none; }
.guide-toc a:hover, .article-toc a:hover { color: var(--blue-600); text-decoration: underline; }
.guide-body, .article-body { max-width: 760px; color: var(--slate-700); font-size: 1.0625rem; line-height: 1.75; }
.guide-body h2 { margin-top: 0; }
.guide-body h3, .article-body h3 { font-size: var(--fs-h4); margin: var(--space-8) 0 var(--space-3); color: var(--slate-900); scroll-margin-top: 96px; }
.article-body h2 { scroll-margin-top: 96px; }
.guide-body p, .article-body p { margin: 0 0 1.1em; }
.guide-body a:not(.btn), .article-body a:not(.btn) { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.guide-body .ticks, .article-body .ticks { margin: 0 0 1.4em; }
.guide-body .ticks li, .article-body .ticks li { font-size: 1rem; }
.steps-list { padding-left: 1.4em; margin: 0 0 1.4em; display: grid; gap: 8px; }
.steps-list li::marker { color: var(--blue-600); font-weight: 800; }
.guide-cta { margin-top: var(--space-8); }

.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--blue-50); color: var(--blue-800); font-family: var(--font-head); font-size: .875rem; }
.compare-table thead th:last-child { background: var(--blue-600); color: #fff; }
.compare-table tbody th { font-weight: 700; color: var(--slate-900); }
.compare-table tbody td:last-child { color: var(--slate-900); font-weight: 600; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

.note-box { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 1.6em; padding: 18px 20px; border-radius: var(--r-lg); background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-900); }
.note-box .ic { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--blue-600); }
.note-box p { margin: 0; }

.seg-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .seg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .seg-grid { grid-template-columns: repeat(4, 1fr); } }
.seg-card { position: relative; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; padding-right: 44px; }
.seg-card strong { display: block; font-family: var(--font-head); color: var(--slate-900); margin-bottom: 4px; }
.seg-card span span { font-size: var(--fs-sm); color: var(--slate-600); }
.seg-card .seg-go { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; color: var(--blue-600); transition: transform .3s var(--ease); }
.seg-card:hover .seg-go { transform: translate(2px, -2px); }

.article-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ac-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .ac-img img { transform: scale(1.04); }
.ac-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.ac-meta { font-size: .8125rem; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .06em; }
.ac-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--slate-900); }
.ac-excerpt { font-size: var(--fs-sm); color: var(--slate-600); flex: 1; }

.article-narrow { max-width: 840px; }
.article-hero { padding: calc(var(--header-h, 72px) + var(--space-10)) 0 0; background: linear-gradient(180deg, var(--blue-50), transparent 70%); }
.article-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); line-height: 1.15; margin: var(--space-4) 0; }
.article-meta { font-size: var(--fs-sm); color: var(--slate-600); }
.article-cover { margin-top: var(--space-8); }
.article-cover img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl, 24px); box-shadow: var(--shadow-md); }
.article-toc { margin: var(--space-10) 0 var(--space-8); padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.article-body { margin: 0 auto; }
.article-cta { display: grid; gap: 20px; align-items: center; margin: var(--space-12) 0; padding: 28px; border-radius: var(--r-xl, 24px); background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); color: #fff; }
@media (min-width: 768px) { .article-cta { grid-template-columns: 1fr auto; } }
.article-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.article-cta .ac-cta-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; margin: 8px 0; }
.article-cta .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.article-cta .btn-outline { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .4); }
.guide-grid > *, .article-narrow > * { min-width: 0; }
.guide-cta .btn { white-space: normal; text-align: center; max-width: 100%; }

/* ---------- 31. Hero "electric current": pulses running along the 64px grid lines ---------- */
.hero > .container { position: relative; z-index: 1; }
.hero-current { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 22%, #000 35%, transparent 82%); mask-image: radial-gradient(ellipse 80% 62% at 50% 22%, #000 35%, transparent 82%); }
.hc { position: absolute; display: block; opacity: 0; --c: var(--blue-500); --glow: rgba(47, 57, 224, .55); will-change: transform, opacity; }
.hc-r { --c: var(--red-500); --glow: rgba(242, 0, 0, .5); }
.hc::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px 2px var(--glow), 0 0 22px 6px var(--glow); }
.hc-h, .hc-hr { left: 0; top: calc(var(--n) * 64px - 1px); width: 180px; height: 2px; }
.hc-h  { background: linear-gradient(90deg, transparent, var(--c)); animation: hcRight var(--t) linear var(--d) infinite; }
.hc-hr { background: linear-gradient(270deg, transparent, var(--c)); animation: hcLeft var(--t) linear var(--d) infinite; }
.hc-h::after  { right: -3px; top: -2px; }
.hc-hr::after { left: -3px; top: -2px; }
.hc-v, .hc-vr { top: 0; left: calc(var(--n) * 64px - 1px); width: 2px; height: 180px; }
.hc-v  { background: linear-gradient(180deg, transparent, var(--c)); animation: hcDown var(--t) linear var(--d) infinite; }
.hc-vr { background: linear-gradient(0deg, transparent, var(--c)); animation: hcUp var(--t) linear var(--d) infinite; }
.hc-v::after  { bottom: -3px; left: -2px; }
.hc-vr::after { top: -3px; left: -2px; }
@keyframes hcRight { 0% { transform: translateX(-200px); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
@keyframes hcLeft  { 0% { transform: translateX(100vw); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateX(-200px); opacity: 0; } }
@keyframes hcDown  { 0% { transform: translateY(-200px); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateY(900px); opacity: 0; } }
@keyframes hcUp    { 0% { transform: translateY(900px); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateY(-200px); opacity: 0; } }
.hero::before { background-image: linear-gradient(rgba(0, 7, 176, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 7, 176, .07) 1px, transparent 1px); }
@media (max-width: 767px) { .hc:nth-child(n+8) { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-current { display: none; } }

/* ---------- 32. "Get a Call Back" spinning widget (left centre) ---------- */
.cb-widget { position: fixed; left: 14px; top: 50%; z-index: 88; transform: translateY(-50%); }
.cb-trigger { position: relative; display: grid; place-items: center; width: 92px; height: 92px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(0, 3, 82, .45); transition: transform .4s var(--ease); }
.cb-trigger:hover { transform: scale(1.06); }
.cb-trigger:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.cb-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: cbSpin 12s linear infinite; }
.cb-ring text { font-family: var(--font-head); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; fill: var(--blue-700); }
.cb-core { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red-cta); color: #fff; box-shadow: 0 8px 18px -6px rgba(224, 0, 0, .7); }
.cb-core::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red-cta); animation: waPulse 2.4s var(--ease) infinite; }
.cb-core .ic { width: 20px; height: 20px; animation: cbRing 2.4s ease-in-out infinite; }
@keyframes cbSpin { to { transform: rotate(360deg); } }
@keyframes cbRing { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80%, 90% { transform: rotate(14deg); } }
.cb-panel { position: absolute; left: calc(100% + 14px); top: 50%; width: min(320px, calc(100vw - 140px)); padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 3, 82, .45); transform: translateY(-50%); animation: cbIn .35s var(--ease); }
.cb-panel[hidden] { display: none; }
@keyframes cbIn { from { opacity: 0; } }
.cb-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--slate-900); margin: 0 0 4px; }
.cb-sub { font-size: var(--fs-sm); color: var(--slate-600); margin: 0 0 14px; padding-right: 30px; }
.cb-panel .field { margin-bottom: 12px; }
.cb-panel .form-note { font-size: .8125rem; margin-top: 10px; }
.cb-panel .form-success h3 { font-size: 1.05rem; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--slate-100); color: var(--slate-700); cursor: pointer; }
.cb-close .ic { width: 16px; height: 16px; }
@media (max-width: 767px) {
    .cb-widget { left: 8px; top: auto; bottom: 96px; transform: none; }
    .cb-trigger { width: 62px; height: 62px; }
    .cb-ring text { font-size: 12px; }
    .cb-core { width: 32px; height: 32px; }
    .cb-core .ic { width: 16px; height: 16px; }
    .cb-panel { position: fixed; left: 12px; right: 12px; top: auto; bottom: 96px; width: auto; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cb-ring, .cb-core::before, .cb-core .ic { animation: none; } }
@media print { .cb-widget { display: none; } }

/* ---------- 33. Footer: slogan, social handle, rainbow line ---------- */
.footer-slogan { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; }
.socials-handle { margin: var(--space-5) 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
.socials-handle b { color: #fff; }
.socials { margin-top: 10px; gap: 8px; max-width: 340px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; }
.footer-demo { margin-top: var(--space-6); }
.rainbow-line { display: flex; height: 6px; margin-top: var(--space-6); }
.rainbow-line span { flex: 1; }
.rainbow-line span:nth-child(1) { background: #e40303; }
.rainbow-line span:nth-child(2) { background: #ff8c00; }
.rainbow-line span:nth-child(3) { background: #ffd800; }
.rainbow-line span:nth-child(4) { background: #00a03e; }
.rainbow-line span:nth-child(5) { background: #0050ff; }

/* ---------- 34. About: founding story ---------- */
.founding-grid { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) { .founding-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; } }
.founding-photos { margin: 0 0 var(--space-12); }
.founding-photos > img { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.founding-photos .pf-small { border-color: rgba(255, 255, 255, .95); }
@media (min-width: 960px) { .founding-photos { margin-bottom: 0; } }
.founding p { color: rgba(255, 255, 255, .82); }
.founding .lead { color: #fff; }
.founding-points { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: 10px; }
.founding-points li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.founding-points .ic { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .1); }

/* ---------- 35. Case study cards ---------- */
.case-card .pc-body { display: flex; flex-direction: column; }
.case-card .pc-body p { flex: 1; font-size: var(--fs-sm); color: var(--slate-600); margin: 0 0 var(--space-5); }
.case-btn { align-self: flex-start; gap: 8px; }
.case-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.case-btn small { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--slate-100); color: var(--slate-600); }
