/*
 * Wemacx — Redesigned Main Stylesheet v4
 * Design direction: Modern enterprise, bold geometric, light-first
 * Palette: Deep navy #0f0f3d, Electric orange #ff6b00, Indigo #5b4fff, White #ffffff
 * Type: Plus Jakarta Sans (display) + Inter (body)
 */

/* ── Fonts ───────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    /* Core palette */
    --navy:         #0f0f3d;   /* deeper, richer navy */
    --navy-mid:     #1a1a5e;
    --navy-light:   #2d2d7f;
    --orange:       #ff6b00;   /* electric orange */
    --orange-hover: #e55c00;
    --orange-pale:  #fff4ee;
    --orange-glow:  rgba(255,107,0,0.15);
    --indigo:       #5b4fff;   /* accent from favicon gradient */
    --indigo-pale:  #f0eeff;
    --indigo-mid:   #8b7fff;
    --cyan:         #00c2ff;
    --cyan-pale:    #e8f9ff;
    --magenta:      #e6007e;

    /* Surfaces */
    --white:        #ffffff;
    --bg:           #fafbff;
    --bg-alt:       #eae7ff;   /* lavender-tinted sections — more distinct */
    --bg-warm:      #fff8f3;   /* warm orange-tinted */
    --surface:      #ffffff;
    --card-bg:      #ffffff;

    /* Text */
    --text-heading: #0f0f3d;
    --text-body:    #3a3a5c;
    --text-muted:   #6b6b8f;
    --text-subtle:  #9999bb;

    /* Borders */
    --border:       #d4d2ee;
    --border-light: #e2e0f8;

    /* Status */
    --success:      #0d9e63;
    --error:        #c22e2e;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Type scale */
    --fs-xs:   1rem;        /* 16px — micro labels, badges, tags, breadcrumbs, kickers */
    --fs-sm:   1.0625rem;   /* 17px — supporting body, captions, card descriptions */
    --fs-base: 1.125rem;    /* 18px — primary body, nav, buttons, form controls */
    --fs-md:   1.25rem;     /* 20px — emphasis, metric labels, large buttons, callouts */
    --fs-lg:   1.5rem;      /* 24px — small headings, card titles, pillar titles */
    --fs-xl:   1.875rem;    /* 30px — section titles, CTA banner, h3 */
    --fs-2xl:  2.5rem;      /* 40px — page hero headings, h2, stat values */
    --fs-3xl:  3.25rem;     /* 52px — large stats, benefits panel */
    --fs-4xl:  4rem;        /* 64px — display / hero headline */

    /* Spacing */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-7:  1.75rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-14: 3.5rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* Radii */
    --r-sm:   0.25rem;
    --r-md:   0.5rem;
    --r-lg:   0.875rem;
    --r-xl:   1.25rem;
    --r-2xl:  1.75rem;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(15,15,61,0.09);
    --shadow-md:  0 4px 20px rgba(15,15,61,0.12);
    --shadow-lg:  0 8px 32px rgba(15,15,61,0.14);
    --shadow-xl:  0 16px 56px rgba(15,15,61,0.16);
    --shadow-orange: 0 8px 28px rgba(255,107,0,0.28);
    --shadow-indigo: 0 8px 28px rgba(91,79,255,0.22);

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-base: 0.22s ease;
    --t-slow: 0.38s ease;

    /* Layout */
    --max-w: 86rem;
    --px:    2.5rem;
    --px-mob:1.25rem;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

/* ── Material Symbols ────────────────────────────────────────────────────── */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    white-space: nowrap;
    letter-spacing: normal;
    text-transform: none;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--px);
}
.container--narrow { max-width: 52rem; }
.container--wide   { max-width: 90rem; }

/* ── Section ─────────────────────────────────────────────────────────────── */
.section { padding-block: var(--sp-16); }
.section--sm { padding-block: var(--sp-10); }
.section--lg { padding-block: var(--sp-20); }

/* ── Typography ──────────────────────────────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-family: var(--font-display); font-size: var(--fs-xs);
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--orange);
    background: var(--orange-pale);
    border: 1px solid rgba(255,107,0,0.2);
    padding: 0.3rem 0.875rem;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-5);
}

.section-label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--indigo);
    margin-bottom: var(--sp-3);
}

.display-title {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-heading);
}

/* Single authoritative section-title — used on all pages */
.section-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-4);
}

/* section-body (homepage) and section-subtitle (inner pages) — identical */
.section-body,
.section-subtitle {
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

.section-head { margin-bottom: var(--sp-8); }
.section-head--center { text-align: center; }
.section-head--center .section-body,
.section-head--center .section-subtitle { margin-inline: auto; }

/* Text accents */
.text-orange  { color: var(--orange); }
.text-indigo  { color: var(--indigo); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--text-muted); }
.text-subtle  { color: var(--text-subtle); }
.text-success { color: var(--success); }
.text-sm   { font-size: var(--fs-sm); }
.text-xs   { font-size: var(--fs-xs); }
.text-base { font-size: var(--fs-base); }
.text-md   { font-size: var(--fs-md); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semi { font-weight: 600; }
.font-med  { font-weight: 500; }
.font-display { font-family: var(--font-display); }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--sp-2);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: 700;
    border-radius: var(--r-lg);
    transition: all var(--t-base);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255,107,0,0.35), 0 1px 3px rgba(255,107,0,0.15);
    border-color: var(--orange);
}
.btn--primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    box-shadow: 0 12px 36px rgba(255,107,0,0.38);
    transform: translateY(-1px);
}

.btn--indigo {
    background: var(--indigo);
    color: var(--white);
    box-shadow: var(--shadow-indigo);
    border-color: var(--indigo);
}
.btn--indigo:hover {
    background: #4a3ef0;
    border-color: #4a3ef0;
    transform: translateY(-1px);
}

.btn--navy {
    background: var(--indigo);
    color: var(--white);
    border-color: var(--indigo);
}
.btn--navy:hover { background: #4a3ef0; border-color: #4a3ef0; }

.btn--outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-heading);
}
.btn--outline:hover {
    border-color: var(--navy);
    background: var(--indigo-pale);
    color: var(--navy);
}

.btn--outline-orange {
    background: transparent;
    border-color: var(--orange);
    color: var(--orange);
}
.btn--outline-orange:hover {
    background: var(--orange);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.btn--lg { padding: 1rem 2.25rem; font-size: var(--fs-md); }
/* Responsive button text — show full on desktop, short on mobile */
.btn-text-short { display: none; }
.btn-text-full  { display: inline; }
.cta-ghost-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: var(--r-full);
    padding: 0 var(--sp-7);
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    font-weight: 600;
    font-size: var(--fs-base);
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}
.cta-ghost-btn:hover { background: rgba(255,255,255,0.14); }

/* Omnichannel proof block */
.omni-proof-block {
    background: var(--navy);
    border-radius: var(--r-xl);
    padding: var(--sp-10) var(--sp-12);
    margin-top: var(--sp-10);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
}
.omni-proof-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: var(--sp-10);
}
.omni-stat-row {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    margin-bottom: var(--sp-2);
}
.omni-stat-num {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    flex-shrink: 0;
}
.omni-stat-label {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.4;
}
.btn--sm { padding: 0.5rem 1.125rem; font-size: var(--fs-sm); }
.btn--full { width: 100%; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--t-base), background var(--t-base);
}
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(15,15,61,0.08);
    background: rgba(255,255,255,0.98);
}
.nav__inner {
    max-width: var(--max-w);
    margin-inline: 0;
    padding-inline: 1.25rem;
    height: 4rem;
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.nav__logo-link { flex-shrink: 0; line-height: 0; }
.nav__logo { height: 2rem; width: auto; display: block; }
.nav__links {
    display: none;
    align-items: center;
    gap: var(--sp-5);
}
.nav__link {
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-body);
    transition: color var(--t-fast);
    white-space: nowrap;
    background: none; border: none; cursor: pointer; padding: 0;
    font: inherit;
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 600;
}
.nav__link:hover, .nav__link.active { color: var(--orange); }
.nav__link.active { color: var(--orange); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }

.nav__contact-link {
    display: none;
    align-items: center; gap: var(--sp-2);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-body);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: all var(--t-fast);
}
.nav__contact-link:hover { color: var(--orange); border-color: var(--orange); }
.nav__contact-link .material-symbols-outlined { font-size: 16px; }
.nav__contact-label { display: none; }

.nav__hamburger {
    display: flex; flex-direction: column;
    justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px;
    border-radius: var(--r-md);
    background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.nav__hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--navy); border-radius: 2px; transition: all .22s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Dropdowns */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger {
    display: flex; align-items: center; gap: 3px;
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 600;
}
.nav__dropdown-trigger .material-symbols-outlined {
    font-size: 16px; transition: transform var(--t-base);
}
.nav__dropdown:hover .nav__dropdown-trigger .material-symbols-outlined { transform: rotate(180deg); }

/* Dropdown menu — no gap between trigger and menu.
   Using padding-top instead of top+gap so the hover zone is continuous.
   The invisible padding area bridges the trigger → menu so mouse never leaves :hover. */
.nav__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;            /* flush against trigger bottom */
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0.75rem; /* visual gap is padding, not margin — stays inside hover zone */
    min-width: 220px;
    z-index: 200;
    /* Prevent menu from closing when mouse moves through the padding area */
    pointer-events: auto;
}
/* Inner box gets the visual border/shadow */
.nav__dropdown-menu::before {
    display: none; /* removed — using inner wrap instead */
}
.nav__dropdown-menu-inner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    min-width: 220px;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu--wide { min-width: 280px; }
.nav__dropdown-menu--wide .nav__dropdown-menu-inner { min-width: 280px; }
.nav__dropdown-menu a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: var(--fs-sm); font-weight: 500;
    color: var(--text-body);
    border-radius: var(--r-md);
    transition: background var(--t-fast), color var(--t-fast);
    text-decoration: none;
    white-space: nowrap;
}
.nav__dropdown-menu a:hover { background: var(--bg-alt); color: var(--indigo); }
.nav__dropdown-section-title {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--text-subtle);
    padding: 0.75rem 0.875rem 0.375rem;
}

/* Mobile drawer */
.nav__drawer {
    display: none;
    position: fixed;
    top: 4rem; left: 0; right: 0; bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 999;
    padding: var(--sp-6) var(--sp-5) var(--sp-8);
    flex-direction: column; gap: var(--sp-2);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav__drawer.open { display: flex; }
.nav__drawer .nav__link {
    font-size: var(--fs-base); font-weight: 600;
    color: var(--text-heading);
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-light);
    display: block; text-align: left;
}
.nav__drawer-section {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--text-subtle);
    margin: var(--sp-5) 0 var(--sp-2);
}
.nav__drawer-ctas {
    margin-top: var(--sp-6);
    display: flex; flex-direction: column; gap: 0.625rem;
}

/* Nav breakpoints */
@media (min-width: 768px) {
    .nav__inner { max-width: 100%; padding-inline: var(--px); height: 4.5rem; }
    .nav__logo  { height: 2.25rem; }
    .nav__links { display: flex; }
    .nav__hamburger { display: none; }
    .nav__contact-link { display: flex; }
    .nav__drawer { top: 4.5rem; }
}
@media (min-width: 1100px) {
    .nav__links { gap: var(--sp-6); }
    .nav__contact-label { display: inline; }
}
@media (max-width: 767px) {
    .nav__links { display: none !important; }
    .nav__contact-link { display: none !important; }
    .nav__actions .btn--primary { padding: 0.5rem 1rem; font-size: var(--fs-sm); }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    background: var(--white);
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-16);
    position: relative;
    overflow: clip;
}

/* Geometric background accent */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(91,79,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 90%, rgba(255,107,0,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-xs); font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--indigo);
    background: var(--indigo-pale);
    border: 1px solid rgba(91,79,255,0.2);
    padding: 0.3rem 0.875rem;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-6);
}
.hero__badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--indigo); animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--text-heading);
    margin-bottom: var(--sp-6);
    max-width: 100%;
    word-break: break-word;
}
.hero__headline .accent-orange { color: var(--orange); }
.hero__headline .accent-indigo { color: var(--indigo); }

.hero__body {
    font-size: var(--fs-md);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 38rem;
    margin-bottom: var(--sp-8);
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-10); }

.hero__proof {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: var(--sp-6) var(--sp-8);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border-light);
}
.hero__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-xl); font-weight: 800;
    color: var(--text-heading); line-height: 1;
}
.hero__stat span {
    font-size: var(--fs-xs); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--text-subtle);
}

/* Hero visual panel */
.hero__visual {
    position: relative;
    display: none; /* hidden on mobile */
    align-items: center; justify-content: center;
}

.hero__canvas-wrap {
    position: relative;
    width: 100%; max-width: 500px;
    aspect-ratio: 1;
    margin-inline: auto;
    overflow: visible;
}

/* Fabric SVG diagram */
.fabric-svg {
    width: 100%; height: 100%;
    display: block;
    filter: drop-shadow(0 8px 32px rgba(91,79,255,0.12));
}
.fabric-node {
    transition: transform 0.3s ease;
    transform-origin: center;
    animation: node-pulse 4s ease-in-out infinite;
}
.fabric-node--2 { animation-delay: 0.6s; }
.fabric-node--3 { animation-delay: 1.2s; }
.fabric-node--4 { animation-delay: 1.8s; }
.fabric-node--5 { animation-delay: 2.4s; }
.fabric-node--6 { animation-delay: 3s; }
@keyframes node-pulse {
    0%,100% { filter: drop-shadow(0 2px 8px rgba(91,79,255,0.15)); }
    50%      { filter: drop-shadow(0 4px 16px rgba(91,79,255,0.35)); }
}

/* Floating stat pills */
.hero-pill {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: .5rem .875rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .5rem;
    z-index: 10;
    white-space: nowrap;
}
.hero-pill__icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-pill__val {
    font-family: var(--font-display);
    font-size: var(--fs-base); font-weight: 800;
    color: var(--text-heading); line-height: 1;
}
.hero-pill__sub {
    font-size: var(--fs-xs); color: var(--text-subtle);
    font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.hero-pill__dot {
    width: 7px; height: 7px;
    border-radius: 50%; background: #00b85c; flex-shrink: 0;
}

/* Pill positions — outside the diagram area, never over nodes */
.hero-pill--1 { top: -5%;   right: 0%;   animation: float1 4s ease-in-out infinite; }
.hero-pill--2 { bottom: -5%; right: 0%;  animation: float2 4.5s ease-in-out infinite; }
.hero-pill--3 { top: 41%;   left: -10%; animation: float3 5s ease-in-out infinite; }
.hero-pill--4 { bottom: 15%; left: 4%;  animation: float2 6.5s ease-in-out 0.8s infinite; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ══════════════════════════════════════════════════════════════════════════
   CARD DESIGN SYSTEM — 5 canonical designs (from card-designs.php)
   C1 Elevation · C2 Split · C3 Glass Gradient · C4 Timeline · C5 Command
══════════════════════════════════════════════════════════════════════════ */

/* C1 — Elevation Cards
   White surface, coloured icon zone, hover lifts + reveals bottom accent bar
   Use: features, capabilities, product modules */
.c1-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem;
    padding: var(--sp-6);
    display: flex; flex-direction: column; gap: var(--sp-4);
    position: relative; overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    cursor: default;
}
.c1-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--c1-accent, var(--indigo));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.c1-card:hover { box-shadow: 0 12px 40px rgba(91,79,255,0.12); transform: translateY(-5px); }
.c1-card:hover::after { transform: scaleX(1); }
.c1-icon {
    width: 3rem; height: 3rem;
    border-radius: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--c1-icon-bg, var(--indigo-pale));
    color: var(--c1-accent, var(--indigo));
    flex-shrink: 0;
}
.c1-icon svg, .c1-icon .material-symbols-outlined { width: 1.375rem; height: 1.375rem; font-size: 1.375rem; }
.c1-title {
    font-family: var(--font-display);
    font-size: var(--fs-md); font-weight: 700;
    color: var(--text-heading); line-height: 1.25; margin: 0;
}
.c1-body {
    font-size: var(--fs-sm); color: var(--text-muted);
    line-height: 1.7; flex: 1; margin: 0;
}
.c1-link {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--c1-accent, var(--indigo));
    text-decoration: none; margin-top: auto;
    transition: gap 0.2s ease;
}
.c1-link:hover { gap: var(--sp-3); }
.c1-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.c1-link:hover svg { transform: translateX(3px); }

/* C2 — Split Cards
   Left accent zone (stat/number), right content zone
   Use: stats + description pairs, outcomes, proof points */
.c2-card {
    display: flex;
    border-radius: 1.25rem; overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--white);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.c2-card:hover { box-shadow: 0 12px 40px rgba(15,15,61,0.1); transform: translateY(-4px); }
.c2-accent {
    min-width: 5rem; max-width: 8rem;
    flex-shrink: 0;
    background: var(--c2-bg, var(--indigo-pale));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: var(--sp-2); padding: var(--sp-5) var(--sp-3);
    border-right: 1px solid var(--border-light);
}
.c2-accent-num {
    font-family: var(--font-display);
    font-size: var(--fs-lg); font-weight: 800;
    color: var(--c2-clr, var(--indigo)); line-height: 1;
    white-space: nowrap;
}
.c2-accent-icon { color: var(--c2-clr, var(--indigo)); opacity: 0.5; }
.c2-accent-icon svg { width: 1.125rem; height: 1.125rem; }
.c2-content { padding: var(--sp-5) var(--sp-5); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.c2-title {
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 700;
    color: var(--text-heading); margin-bottom: var(--sp-1); line-height: 1.3;
}
.c2-body { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.55; margin: 0; }
@media (max-width: 500px) {
    .c2-card { flex-direction: column; }
    .c2-accent { min-width: unset; max-width: unset; width: 100%; flex-direction: row; justify-content: flex-start; padding: var(--sp-4) var(--sp-5); border-right: none; border-bottom: 1px solid var(--border-light); }
}

/* C3 — Glass Gradient Cards
   Lavender/cream gradient, oversized stat, thin divider, tags
   Use: outcomes, ROI proof, industry solutions, CXO metrics */
.c3-card {
    background: linear-gradient(145deg, #f7f5ff 0%, #fff8f3 100%);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    padding: var(--sp-8) var(--sp-6) var(--sp-6);
    display: flex; flex-direction: column; gap: var(--sp-4);
    position: relative; overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.c3-card::before {
    content: '';
    position: absolute; top: -3rem; right: -3rem;
    width: 9rem; height: 9rem; border-radius: 50%;
    background: radial-gradient(circle, rgba(91,79,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.c3-card:hover { box-shadow: 0 16px 48px rgba(91,79,255,0.12); transform: translateY(-5px); }
.c3-icon {
    width: 3rem; height: 3rem; border-radius: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border-light);
    color: var(--c3-accent, var(--indigo));
    flex-shrink: 0;
}
.c3-icon .material-symbols-outlined { font-size: 1.375rem; }
.c3-stat {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 900;
    letter-spacing: -0.04em; line-height: 1;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--orange) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.c3-divider {
    width: 2.5rem; height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 2px;
}
.c3-label {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-subtle);
}
.c3-title {
    font-family: var(--font-display);
    font-size: var(--fs-md); font-weight: 700;
    color: var(--text-heading); line-height: 1.3;
}
.c3-body { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; flex: 1; }
.c3-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: auto; }
.c3-tag {
    font-size: var(--fs-xs); font-weight: 700;
    padding: 0.25rem 0.625rem; border-radius: var(--r-full);
    background: rgba(255,255,255,0.8); border: 1px solid var(--border);
    color: var(--text-body); white-space: nowrap;
}

/* C4 — Timeline Cards
   Left coloured bar spine, icon zone, content — feed/step feel
   Use: blog, case studies, how-it-works steps, news */
.c4-card {
    display: flex; gap: var(--sp-5);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem; padding: var(--sp-6);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    position: relative;
}
.c4-card:hover { box-shadow: 0 10px 32px rgba(15,15,61,0.09); transform: translateY(-3px); }
.c4-bar {
    width: 3px; flex-shrink: 0; border-radius: 3px;
    background: linear-gradient(180deg, var(--c4-clr, var(--orange)) 0%, transparent 100%);
    position: absolute; left: 0; top: 0; bottom: 0;
    border-radius: 1.25rem 0 0 1.25rem; overflow: hidden;
}
.c4-icon-wrap {
    width: 2.75rem; height: 2.75rem; flex-shrink: 0;
    border-radius: var(--r-lg);
    background: var(--c4-bg, var(--orange-pale));
    color: var(--c4-clr, var(--orange));
    display: flex; align-items: center; justify-content: center;
    margin-left: var(--sp-3);
}
.c4-icon-wrap .material-symbols-outlined { font-size: var(--fs-base); }
.c4-icon-wrap svg { width: 1.25rem; height: 1.25rem; }
.c4-inner { flex: 1; }
.c4-eyebrow {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--c4-clr, var(--orange)); margin-bottom: var(--sp-2);
}
.c4-title {
    font-family: var(--font-display);
    font-size: var(--fs-base); font-weight: 700;
    color: var(--text-heading); line-height: 1.3; margin-bottom: var(--sp-2);
}
.c4-body { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; margin-bottom: var(--sp-4); }
.c4-meta { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.c4-meta-item {
    display: flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-xs); color: var(--text-subtle); font-weight: 500;
}
.c4-meta-item svg { width: 13px; height: 13px; }
.c4-read {
    margin-left: auto; font-size: var(--fs-xs); font-weight: 700;
    color: var(--c4-clr, var(--orange)); text-decoration: none;
    display: flex; align-items: center; gap: 4px; transition: gap 0.2s;
}
.c4-read:hover { gap: 8px; }

/* C5 — Command Cards
   Dark navy-indigo header band, white body, optional metrics footer
   Use: product modules, platform features, QA, analytics, enterprise */
.c5-card {
    border-radius: 1.25rem; overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--white);
    display: flex; flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.c5-card:hover { box-shadow: 0 16px 48px rgba(15,15,61,0.14); transform: translateY(-5px); }
.c5-header {
    padding: var(--sp-6);
    display: flex; align-items: flex-start; gap: var(--sp-4);
}
.c5-header-icon {
    width: 2.75rem; height: 2.75rem; flex-shrink: 0;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.c5-header-icon svg { width: 1.25rem; height: 1.25rem; color: white; }
.c5-header-eyebrow {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55); margin-bottom: var(--sp-1); margin: 0 0 0.25rem;
}
.c5-header-title {
    font-family: var(--font-display);
    font-size: var(--fs-md); font-weight: 700;
    color: white; line-height: 1.2; margin: 0;
}
.c5-body-zone {
    padding: var(--sp-6); flex: 1;
    display: flex; flex-direction: column; gap: var(--sp-4);
}
.c5-body { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; flex: 1; margin: 0; }
.c5-metrics {
    display: flex; gap: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-light);
}
.c5-metric { flex: 1; text-align: center; }
.c5-metric-val {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-lg); font-weight: 800;
    color: var(--orange); line-height: 1; margin-bottom: var(--sp-1);
}
.c5-metric-lbl {
    font-size: var(--fs-xs); font-weight: 600;
    color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.07em;
}

/* ── Trust bar ───────────────────────────────────────────────────────────── */
.trust-bar {
    background: var(--bg-alt);
    padding-block: var(--sp-8);
    border-block: 1px solid var(--border-light);
}
.trust-bar__label {
    text-align: center;
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-subtle);
    margin-bottom: var(--sp-6);
}
.trust-bar__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    row-gap: var(--sp-4);
}
.trust-logo {
    height: 26px; width: auto; opacity: 0.4;
    filter: grayscale(1);
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 800;
    color: var(--text-muted);
    letter-spacing: -0.02em;
    display: flex; align-items: center;
    transition: opacity var(--t-base);
}
.trust-logo:hover { opacity: 0.7; }

/* ── Cards — Command Card style (product modules, features, capabilities) ── */
.card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base), transform var(--t-base);
    display: flex;
    flex-direction: column;
}
.card:hover {
    box-shadow: 0 16px 40px rgba(15,15,61,0.13);
    transform: translateY(-4px);
}
/* Command Card header needs overflow hidden on the card itself */
.card:has(.card__header) { overflow: hidden; }

/* Card header band — dark navy-to-indigo by default */
.card__header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
    padding: var(--sp-5) var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}
.card__header--orange { background: linear-gradient(135deg, #cc4400 0%, var(--orange) 100%); }
.card__header--indigo { background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%); }
.card__header--navy   { background: linear-gradient(135deg, var(--navy) 0%, #2d2d7f 100%); }
.card__header--teal   { background: linear-gradient(135deg, #0d4a3a 0%, #00a8e8 100%); }

/* Icon inside header */
.card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.25rem;
}
.card__icon .material-symbols-outlined { font-size: 1.25rem; }
.card__icon svg { width: 1.25rem; height: 1.25rem; }

/* Header title text */
.card__eyebrow {
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.2rem;
}

/* Card body zone — white */
.card__body-zone {
    padding: var(--sp-5) var(--sp-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

/* card__title: white when inside .card__header (Command Card), navy elsewhere */
.card__title {
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin: 0;
}
.card__header .card__title { color: white; }

.card__body {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Card footer metrics strip */
.card__metrics {
    display: flex;
    border-top: 1px solid var(--border-light);
    padding: var(--sp-4) var(--sp-6);
    gap: var(--sp-4);
}
.card__metric { flex: 1; text-align: center; }
.card__metric-val {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.card__metric-lbl {
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-subtle);
}

/* Card colour variants — no single-side borders, clean uniform style */
.card--indigo  { box-shadow: var(--shadow-sm), 0 0 0 1.5px rgba(91,79,255,0.15); }
.card--orange  { box-shadow: var(--shadow-sm), 0 0 0 1.5px rgba(255,107,0,0.15); }
.card--navy    { box-shadow: var(--shadow-sm), 0 0 0 1.5px rgba(15,15,61,0.12); }

/* ── Split Card (outcomes, stats, proof points) ───────────────────────── */
.card--split {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base), transform var(--t-base);
}
.card--split:hover {
    box-shadow: 0 12px 36px rgba(15,15,61,0.11);
    transform: translateY(-3px);
}

/* Split: left stat zone */
.card__split-stat {
    width: 6rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-6) var(--sp-4);
    border-right: 1px solid var(--border-light);
    background: var(--cs-bg, var(--indigo-pale));
}
.card__split-val {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--cs-clr, var(--indigo));
    line-height: 1;
    text-align: center;
}
.card__split-icon {
    color: var(--cs-clr, var(--indigo));
    opacity: 0.4;
}
.card__split-icon svg { width: 1.125rem; height: 1.125rem; }

/* Split: right content zone */
.card__split-content {
    padding: var(--sp-6);
    flex: 1;
}
.card__split-title {
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-heading);
    margin-bottom: var(--sp-2);
}
.card__split-body {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Split card mobile — stack */
@media (max-width: 500px) {
    .card--split { flex-direction: column; }
    .card__split-stat {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: var(--sp-4) var(--sp-5);
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

/* ── Legacy icon variants (kept for pages that haven't been converted) ─── */
.card__icon--indigo { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }
.card__icon--orange { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }
.card__icon--navy   { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }
.card__icon--cyan   { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }

/* ── Pillars / Feature Cards ─────────────────────────────────────────────── */
.pillar {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
    display: flex; flex-direction: column; gap: var(--sp-5);
    transition: all var(--t-base);
    position: relative; overflow: hidden;
}
.pillar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.pillar--indigo::before { background: linear-gradient(90deg, var(--indigo), var(--cyan)); }
.pillar--orange::before { background: linear-gradient(90deg, var(--orange), #ffaa00); }
.pillar--navy::before   { background: linear-gradient(90deg, var(--navy), var(--indigo)); }
.pillar:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.pillar__icon {
    width: 3.5rem; height: 3.5rem;
    border-radius: var(--r-xl);
    display: flex; align-items: center; justify-content: center;
}
.pillar__icon--indigo { background: var(--indigo-pale); color: var(--indigo); }
.pillar__icon--orange { background: var(--orange-pale); color: var(--orange); }
.pillar__icon--navy   { background: #eeeeff; color: var(--navy); }

.pillar__title {
    font-family: var(--font-display);
    font-size: var(--fs-lg); font-weight: 700;
    color: var(--text-heading); line-height: 1.25;
}
.pillar__body { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; flex: 1; }
.pillar__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--border-light); }
.pillar__tag {
    font-size: var(--fs-xs); font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--r-full);
    background: var(--indigo-pale); color: var(--indigo);
    border: 1px solid rgba(91,79,255,0.15);
    white-space: nowrap;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */
.grid  { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Feature list ────────────────────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.feature-item { display: flex; align-items: flex-start; gap: var(--sp-3); }
.feature-item__icon {
    width: 1.25rem; height: 1.25rem;
    border-radius: 50%;
    background: rgba(91,79,255,0.1); color: var(--indigo);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 2px; font-size: 1rem;
}
.feature-item__text {
    font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55;
}
.feature-item__text strong { color: var(--text-heading); display: block; margin-bottom: 2px; }

/* ── Stat blocks ─────────────────────────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-block__value {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-2xl), 8vw, var(--fs-3xl)); font-weight: 800;
    color: var(--text-heading); line-height: 1;
    background: linear-gradient(135deg, var(--navy), var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-block__label {
    font-size: var(--fs-sm); color: var(--text-muted);
    margin-top: var(--sp-2); line-height: 1.4;
}

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-banner {
    background: #fffaf6;
    border: 2px solid #ffe0c2;
    border-radius: var(--r-2xl);
    padding: var(--sp-16) var(--sp-12);
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 70% at 85% 30%, rgba(255,107,0,0.06) 0%, transparent 65%),
                radial-gradient(ellipse 40% 60% at 15% 80%, rgba(91,79,255,0.04) 0%, transparent 55%);
    pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl); font-weight: 800;
    line-height: 1.2;
    color: var(--navy); margin-bottom: var(--sp-4);
    letter-spacing: -0.02em;
}
.cta-banner__body {
    font-size: var(--fs-md); color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--sp-8); max-width: 38rem; margin-inline: auto;
}
.cta-banner__actions {
    display: flex; flex-wrap: wrap; gap: var(--sp-3);
    justify-content: center;
}

/* ── Page Hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(160deg, var(--indigo-pale) 0%, #f5f3ff 50%, var(--white) 100%);
    padding-block: var(--sp-12) var(--sp-14);
    border-bottom: 2px solid var(--border);
    text-align: center;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 70% at 70% 30%, rgba(91,79,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

/* Inner page hero h1 — explicit typography */
.page-hero h1,
.page-hero .section-title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: var(--sp-4);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs); color: var(--text-subtle);
    margin-bottom: var(--sp-5); justify-content: center;
}
.breadcrumb a { color: var(--indigo); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* ── Sections alternating tint ───────────────────────────────────────────── */
.section--tint   {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.section--warm   { background: var(--bg-warm); }
.section--white  { background: #ffffff; }

/* ── Comparison / Highlight ──────────────────────────────────────────────── */
.highlight-section {
    background: var(--bg-alt); border-radius: var(--r-2xl);
    padding: var(--sp-8);
}
.highlight-section--orange { background: var(--orange-pale); }
.highlight-section--indigo { background: var(--indigo-pale); }

/* ── Tags / Badges ───────────────────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-xs); font-weight: 700;
    padding: 0.25rem 0.625rem; border-radius: var(--r-full);
}
.badge--orange { background: var(--orange-pale); color: var(--orange); border: 1px solid rgba(255,107,0,.2); }
.badge--indigo { background: var(--indigo-pale); color: var(--indigo); border: 1px solid rgba(91,79,255,.2); }
.badge--navy   { background: #eeeeff; color: var(--navy); border: 1px solid rgba(15,15,61,.1); }
.badge--success{ background: #e8fdf4; color: var(--success); border: 1px solid rgba(13,158,99,.2); }

/* ── Back to top ─────────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 1.5rem; z-index: 900;
    width: 48px; height: 48px;
    background: var(--orange); color: var(--white);
    border-radius: var(--r-full);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: all var(--t-base);
    border: none; cursor: pointer;
}
.back-to-top.visible {
    opacity: 1; pointer-events: all; transform: translateY(0);
}
.back-to-top:hover { background: var(--indigo); box-shadow: var(--shadow-indigo); }

/* ── Accordion ───────────────────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: var(--sp-5) 0;
    font-family: var(--font-display);
    font-size: var(--fs-base); font-weight: 600;
    color: var(--text-heading);
    background: transparent; text-align: left; cursor: pointer;
    transition: color var(--t-fast);
}
.accordion-trigger:hover { color: var(--indigo); }
.accordion-trigger .icon { transition: transform var(--t-base); flex-shrink: 0; }
.accordion-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.accordion-content.open { max-height: 600px; padding-bottom: var(--sp-5); }
.accordion-content p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75; }

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.tab-list {
    display: flex; flex-wrap: wrap; gap: var(--sp-2);
    border-bottom: 2px solid var(--border-light);
    margin-bottom: var(--sp-8);
}
.tab-btn {
    padding: 0.625rem 1.25rem;
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--t-fast), border-color var(--t-fast);
    cursor: pointer; background: transparent;
    border-top: none; border-left: none; border-right: none;
}
.tab-btn:hover { color: var(--text-heading); }
.tab-btn.active { color: var(--indigo); border-bottom-color: var(--indigo); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-heading);
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--fs-base); color: var(--text-body);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    outline: none;
    font-family: var(--font-body);
}
.form-control:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(91,79,255,0.12);
}
.form-control::placeholder { color: var(--text-subtle); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-note { font-size: var(--fs-xs); color: var(--text-subtle); }
.form-error-message {
    display: none; background: #fef2f2; border: 1px solid #fca5a5;
    color: var(--error); font-size: var(--fs-sm);
    border-radius: var(--r-lg); padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-3);
}
.form-error-message.visible { display: block; }
.form-success-message {
    display: none; background: #f0fdf4; border: 1px solid #86efac;
    color: var(--success); font-size: var(--fs-base); text-align: center;
    border-radius: var(--r-lg); padding: var(--sp-8) var(--sp-4);
}
.form-success-message.visible { display: block; }
.radio-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.radio-option {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    cursor: pointer; transition: all var(--t-fast);
    font-size: var(--fs-sm); font-weight: 600;
}
.radio-option input { display: none; }
.radio-option:hover { border-color: var(--indigo); }
.radio-option input:checked + .radio-option-content { color: var(--indigo); }
.hidden { display: none !important; }

/* Progress */
.progress-bar-track {
    width: 100%; height: 3px;
    background: var(--border-light); border-radius: var(--r-full); overflow: hidden;
    margin-bottom: var(--sp-8);
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--indigo), var(--orange));
    border-radius: var(--r-full); transition: width 0.4s ease;
}

/* ── Industry / Comparison ───────────────────────────────────────────────── */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--fs-sm); text-align: left;
}
.comparison-table th {
    font-family: var(--font-display); font-weight: 700;
    color: var(--text-heading); background: var(--bg-alt);
}

/* ── Footer — LIGHT THEMED ────────────────────────────────────────────────── */
.footer {
    background: var(--white);
    border-top: 2px solid var(--border-light);
}

/* Zone 1: Light cream CTA strip — orange left-border accent */
.footer__cta-zone {
    background: #fffaf6;
    border-top: 4px solid var(--orange);
    border-bottom: 1px solid #ffe8d4;
    padding-block: var(--sp-16);
    position: relative; overflow: hidden;
}
.footer__cta-zone::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(255,107,0,0.05) 0%, transparent 65%);
    pointer-events: none;
}
.footer__cta-zone > .container { position: relative; z-index: 1; }

.footer__demo-strip {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
    gap: var(--sp-8);
}
.footer__demo-strip-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl); font-weight: 800;
    color: var(--navy); margin-bottom: var(--sp-2);
    letter-spacing: -0.02em; line-height: 1.15;
}
.footer__demo-strip-sub { font-size: var(--fs-sm); color: var(--text-muted); }
.footer__cta-btns {
    display: flex; flex-wrap: wrap; gap: var(--sp-3);
    align-items: center; flex-shrink: 0;
}
.footer__cta-btns .btn--primary { white-space: nowrap; }

/* Ghost btn — warm outline for light CTA zone */
.btn--ghost {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--sp-2); padding: 0.75rem 1.75rem;
    font-family: var(--font-display); font-size: var(--fs-base); font-weight: 700;
    border-radius: var(--r-lg); cursor: pointer;
    transition: all var(--t-base); text-decoration: none; white-space: nowrap;
    background: transparent; color: var(--navy);
    border: 2px solid var(--border);
    letter-spacing: -0.01em;
}
.btn--ghost:hover { background: var(--orange-pale); border-color: var(--orange); color: var(--orange); }
.btn--ghost.btn--sm { padding: 0.5rem 1.125rem; font-size: var(--fs-sm); }

/* Zone 2: Link grid */
.footer__main-zone {
    background: var(--white);
    padding-block: var(--sp-16) var(--sp-10);
    border-bottom: 1px solid var(--border-light);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--sp-8);
    align-items: flex-start;
}
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-5); }
.footer__logo  { height: 2.25rem; width: auto; display: block; }

.footer__tagline {
    font-size: var(--fs-sm); color: var(--text-muted);
    line-height: 1.65; max-width: 17rem;
}

.footer__contacts { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__contact-link {
    display: inline-flex; align-items: center; gap: var(--sp-3);
    font-size: var(--fs-sm); font-weight: 500;
    color: var(--text-body); text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--bg);
    width: fit-content; max-width: 100%;
    transition: all var(--t-fast);
}
.footer__contact-link:hover { color: var(--orange); border-color: var(--orange); background: var(--orange-pale); }
.footer__contact-link .material-symbols-outlined { font-size: 1rem; color: var(--orange); flex-shrink: 0; }

.footer__col-title {
    font-family: var(--font-display);
    font-size: var(--fs-xs); font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-heading);
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col li a {
    font-size: var(--fs-sm); color: var(--text-muted);
    line-height: 1.5;
    text-decoration: none; transition: color var(--t-fast), padding-left var(--t-fast);
    display: block;
}
.footer__col li a:hover { color: var(--indigo); padding-left: 4px; }

/* Zone 3: Certifications — full width */
.footer__cert-zone {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding-block: var(--sp-6);
}
.footer__cert-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.footer__cert-label {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--text-subtle); white-space: nowrap;
    flex-shrink: 0;
    padding-right: var(--sp-6);
    border-right: 1px solid var(--border-light);
}
/* In the cert zone, override the footer strip styles so badges appear normally */
.footer__cert-zone .cert-grid--footer {
    flex-wrap: wrap;
    overflow-x: visible;
}
.footer__cert-zone .cert-badge {
    background: var(--bg);
    border: 1px solid var(--border-light);
    padding: var(--sp-2) var(--sp-3);
}
.footer__cert-zone .cert-badge__img {
    height: 36px;
    max-width: 70px;
}
.footer__cert-zone .cert-badge--wide .cert-badge__img {
    height: 22px;
    max-width: 100px;
}

/* Zone 4: Social media — full width */
.footer__social-zone {
    background: var(--bg);
    border-top: 1px solid var(--border-light);
    padding-block: var(--sp-5);
}
.footer__social-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    flex-wrap: wrap;
}
.footer__social-label {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--text-subtle); white-space: nowrap;
    flex-shrink: 0;
    padding-right: var(--sp-6);
    border-right: 1px solid var(--border-light);
}
/* Social icons — now full-width row, show platform name */
.footer__social {
    display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center;
}
.footer__social a {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    padding: 0.4rem 0.875rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    color: var(--text-muted); background: var(--white);
    font-size: var(--fs-sm); font-weight: 600;
    transition: all var(--t-fast); text-decoration: none;
}
.footer__social a span { font-size: var(--fs-sm); }
.footer__social svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__social a:hover { color: var(--white); }
.footer__social a[aria-label*="LinkedIn"]:hover  { background: #0077b5; border-color: #0077b5; }
.footer__social a[aria-label*="Twitter"]:hover,
.footer__social a[title="X / Twitter"]:hover     { background: #000; border-color: #000; }
.footer__social a[aria-label*="Facebook"]:hover  { background: #1877f2; border-color: #1877f2; }
.footer__social a[aria-label*="Instagram"]:hover { background: #e1306c; border-color: #e1306c; }
.footer__social a[aria-label*="YouTube"]:hover   { background: #ff0000; border-color: #ff0000; }

/* Zone 5: Bottom copyright bar */
.footer__bottom-zone {
    background: var(--bg-alt);
    padding-block: var(--sp-4);
    border-top: 1px solid var(--border-light);
}
.footer__bottom {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.footer__copyright { font-size: var(--fs-xs); color: var(--text-subtle); }
.footer__cookie-prefs {
    font-size: var(--fs-xs); color: var(--text-muted);
    background: none; border: 1px solid var(--border);
    border-radius: var(--r-sm); cursor: pointer; padding: 0.25rem 0.625rem;
    transition: all var(--t-fast);
}
.footer__cookie-prefs:hover { color: var(--orange); border-color: var(--orange); background: var(--orange-pale); }

/* ── Responsive: footer grid & cert/social zones ──────────────────────────────── */

/* Tablet (768–1023px): 3-col grid, brand spans full width */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: var(--sp-8); }
    .footer__cert-inner { gap: var(--sp-4); }
    .footer__social-inner { gap: var(--sp-4); }
}

/* Mobile (<768px): single column */
@media (max-width: 767px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__brand { flex-direction: column; }
    .footer__tagline { max-width: 100%; }
    .footer__contact-link { max-width: 100%; font-size: var(--fs-xs); }

    /* Cert zone: stack label above badges */
    .footer__cert-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
    }
    .footer__cert-label {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-right: 0;
        padding-bottom: var(--sp-2);
        width: 100%;
    }
    .footer__cert-zone .cert-grid--footer {
        gap: var(--sp-2);
    }
    .footer__cert-zone .cert-badge__img { height: 30px; }
    .footer__cert-zone .cert-badge--wide .cert-badge__img { height: 20px; }

    /* Social zone: stack label above icons */
    .footer__social-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
    }
    .footer__social-label {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-right: 0;
        padding-bottom: var(--sp-2);
        width: 100%;
    }
    .footer__social { gap: var(--sp-2); }
    .footer__social a { padding: 0.375rem 0.75rem; font-size: var(--fs-xs); }
}



/* ── Cookie / GDPR ───────────────────────────────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: var(--sp-3); left: var(--sp-3); right: var(--sp-3);
    max-width: 52rem; margin-inline: auto;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r-2xl); box-shadow: var(--shadow-xl);
    padding: var(--sp-6); z-index: 9999;
    transition: transform .4s ease, opacity .4s ease;
}
.cookie-banner__content { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); justify-content: space-between; }
.cookie-banner__title { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 700; color: var(--text-heading); margin-bottom: var(--sp-2); }
.cookie-banner__body  { font-size: var(--fs-sm); color: var(--text-muted); max-width: 34rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); flex-shrink: 0; }

.cookie-modal__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; backdrop-filter: blur(3px); }
.cookie-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: min(540px, 96vw); background: var(--white); border-radius: var(--r-2xl);
    box-shadow: var(--shadow-xl); z-index: 9999; max-height: 90vh; overflow-y: auto;
}
.cookie-modal__box   { padding: var(--sp-8); }
.cookie-modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.cookie-modal__title  { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; color: var(--text-heading); }
.cookie-modal__close  { font-size: 1.5rem; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 0.25rem 0.5rem; border-radius: var(--r-sm); }
.cookie-modal__close:hover { background: var(--bg-alt); }
.cookie-modal__options { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.cookie-modal__option  { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4); background: var(--bg); border-radius: var(--r-lg); }
.cookie-modal__option-title { font-size: var(--fs-sm); font-weight: 700; color: var(--text-heading); margin-bottom: 0.25rem; }
.cookie-modal__option-desc  { font-size: var(--fs-xs); color: var(--text-muted); }
.cookie-modal__footer { display: flex; gap: var(--sp-3); justify-content: flex-end; flex-wrap: wrap; }


/* ── Marketing consent checkbox ─────────────────────────────────────────── */
.form-consent {
    border-left: 3px solid var(--indigo) !important;
}
.form-consent input[type="checkbox"]:focus {
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
}
@media (max-width: 600px) {
    #consent-modal > div {
        padding: var(--sp-5) !important;
    }
}

/* Cookie — Mobile responsive overrides */
@media (max-width: 600px) {
    .cookie-banner {
        left: var(--sp-2); right: var(--sp-2); bottom: var(--sp-2);
        padding: var(--sp-4);
        border-radius: var(--r-xl);
    }
    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
    }
    .cookie-banner__body {
        max-width: 100%;
        font-size: var(--fs-xs);
    }
    .cookie-banner__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-2);
    }
    .cookie-banner__actions .btn:last-child {
        grid-column: 1 / -1;
    }
    .cookie-modal__box {
        padding: var(--sp-5);
    }
    .cookie-modal__option {
        align-items: flex-start;
    }
    .cookie-modal__footer {
        flex-direction: column;
    }
    .cookie-modal__footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Toggle */

.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; cursor: pointer; transition: background .2s; }
.cookie-toggle__slider:before { content:''; position:absolute; width:18px; height:18px; left:3px; bottom:3px; background:white; border-radius:50%; transition:transform .2s; }
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--indigo); }
.cookie-toggle input:checked + .cookie-toggle__slider:before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle__slider { background: var(--success); cursor: not-allowed; opacity: .7; }

/* ── Blog ────────────────────────────────────────────────────────────────── */
.blog-card {
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--r-2xl); overflow: hidden;
    transition: box-shadow var(--t-base), transform var(--t-base);
    display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card__img {
    width: 100%; aspect-ratio: 16/9;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.blog-card__body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.blog-card__badge {
    display: inline-block; font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em;
    padding: 0.2rem 0.625rem; border-radius: var(--r-full); margin-bottom: var(--sp-3);
    background: var(--indigo-pale); color: var(--indigo); border: 1px solid rgba(91,79,255,.2);
}
.blog-card__title { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 700; color: var(--text-heading); margin-bottom: var(--sp-3); line-height: 1.35; }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: var(--sp-4); }
.blog-card__meta { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); line-height: 1.4; color: var(--text-subtle); }
.blog-card__read { color: var(--indigo); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); }

.blog-article { max-width: none; width: 100%; }
.blog-article__featured-img {
    width: 100%; aspect-ratio: 21/9; object-fit: cover;
    border-radius: var(--r-xl); margin-bottom: var(--sp-8); display: block;
    background: var(--bg-alt);
}
.blog-article h2 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: var(--text-heading); margin: 2rem 0 .75rem; }
.blog-article h3 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: var(--text-heading); margin: 1.5rem 0 .5rem; }
.blog-article p  { font-size: var(--fs-base); color: var(--text-body); line-height: 1.8; margin-bottom: 1.25rem; }
.blog-article ul,.blog-article ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-article li { font-size: var(--fs-base); color: var(--text-body); line-height: 1.7; margin-bottom: .375rem; list-style: disc; }
.blog-article strong { color: var(--text-heading); }
.blog-article blockquote {
    border-left: 3px solid var(--indigo); margin: 2rem 0; padding: .75rem 1.5rem;
    background: var(--indigo-pale); border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.blog-article blockquote p { color: var(--navy); font-style: italic; margin: 0; }

/* ── Footer responsive — handled in the main footer section above ─────────────── */

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
    .hero__grid { grid-template-columns: 55fr 45fr; gap: var(--sp-12); }
    .hero__visual { display: flex; } /* show canvas on tablet+ */
    .hero__proof { grid-template-columns: repeat(4, auto); }
    .hero { padding-top: var(--sp-24); }
}
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    :root { --px: var(--px-mob); }
    .section { padding-block: var(--sp-10); }
    .section--lg { padding-block: var(--sp-14); }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: 1fr; }
    .cta-banner { padding: var(--sp-8) var(--sp-5); border-radius: var(--r-xl); }
    .cta-banner__title { font-size: var(--fs-lg); }
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
    /* Keep hero proof as 2-col on mobile */
    .hero__proof { grid-template-columns: repeat(2, auto); gap: var(--sp-2) var(--sp-4); }
    /* Pillar stacks cleanly on mobile */
    .pillar { padding: var(--sp-6); }
    .pillar__title { font-size: var(--fs-base); }
    /* Cards on mobile */
    .card { padding: var(--sp-5); border-radius: var(--r-xl); }
    /* Omnichannel proof block — mobile */
    .omni-proof-block {
        grid-template-columns: 1fr;
        padding: var(--sp-7) var(--sp-5);
        gap: var(--sp-7);
    }
    .omni-proof-stats {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: var(--sp-6);
    }
    .omni-stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-1);
    }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .cta-btns .btn { width: 100%; justify-content: center; }
    .cta-btns .cta-ghost-btn { width: 100%; justify-content: center; box-sizing: border-box; }
    /* Responsive button text */
    .btn-text-short { display: inline; }
    .btn-text-full  { display: none; }
    /* Fix btn overflow on mobile — allow wrap, reduce padding */
    .cta-btns .btn--lg {
        white-space: normal;
        text-align: center;
        padding: 0.875rem 1.25rem;
        font-size: var(--fs-base);
        height: auto;
        min-height: 3.25rem;
        box-sizing: border-box;
    }
    .cta-btns .cta-ghost-btn {
        white-space: normal;
        text-align: center;
        padding: 0.875rem 1.25rem;
        height: auto;
        min-height: 3.25rem;
    }
    .hero__ctas .btn--lg {
        white-space: normal;
        text-align: center;
        padding: 0.875rem 1.25rem;
        font-size: var(--fs-base);
        height: auto;
        min-height: 3.25rem;
        box-sizing: border-box;
    }
}
@media (max-width: 480px) {
    .stat-block__value {
        font-size: clamp(1.75rem, 8vw, var(--fs-2xl));
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .hero__headline { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .hero__stat strong { font-size: var(--fs-lg); }
}

/* ── Scroll animations ───────────────────────────────────────────────────── */
/* Animate-on-scroll: content is VISIBLE by default.
   JS adds .will-animate before observation, .animated on entry.
   If JS fails or is slow, content is always readable. */
[data-animate] { opacity: 1; transform: none; }
[data-animate].will-animate { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
[data-animate].will-animate.animated { opacity: 1; transform: none; }
[data-animate].will-animate[data-delay="1"] { transition-delay: 0.08s; }
[data-animate].will-animate[data-delay="2"] { transition-delay: 0.16s; }
[data-animate].will-animate[data-delay="3"] { transition-delay: 0.24s; }
[data-animate].will-animate[data-delay="4"] { transition-delay: 0.32s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-animate] { opacity: 1; transform: none; }
}

/* ── Nav dropdown wide ───────────────────────────────────────────────────── */
.nav__dropdown-menu--wide { min-width: 280px; }

/* ═══════════════════════════════════════════════════════════════════════════
   INNER PAGE COMPATIBILITY LAYER
   section-title, section-subtitle, section-body are now unified above.
   Only aliases and inner-page-specific styles live here.
═══════════════════════════════════════════════════════════════════════════ */

/* hero__eyebrow used on inner page heroes */
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-xs); font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--indigo);
    background: var(--indigo-pale);
    border: 1px solid rgba(91,79,255,0.2);
    padding: 0.3rem 0.875rem;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-5);
}

/* card__icon--cyan — kept for compatibility, inherits Command Card header icon style */
.card__icon--cyan { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); color: white; }

/* cta-banner inner-page version — inherits light styles from main .cta-banner block above */
/* Outline-orange button on light cta-banner — normal orange style */
.cta-banner .btn--outline-orange {
    background: transparent;
    border-color: var(--orange);
    color: var(--orange);
}
.cta-banner .btn--outline-orange:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* trust-bar */
.trust-bar {
    background: var(--bg-alt);
    padding-block: var(--sp-8);
    border-block: 1px solid var(--border-light);
}
.trust-bar__label {
    text-align: center;
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-subtle); margin-bottom: var(--sp-6);
}
.trust-bar__logos {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center; gap: var(--sp-8);
}

/* stat-block */
.stat-block { text-align: center; }
.stat-block__value {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-2xl), 8vw, var(--fs-3xl)); font-weight: 800;
    color: var(--text-heading); line-height: 1;
    background: linear-gradient(135deg, var(--navy), var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-block__label {
    font-size: var(--fs-sm); color: var(--text-muted);
    margin-top: var(--sp-2); line-height: 1.4;
}

/* highlight-section for two-col inner pages */
.highlight-section {
    background: var(--bg-alt);
    border-radius: var(--r-2xl);
    padding: var(--sp-8);
}
.highlight-section--orange { background: var(--orange-pale); }
.highlight-section--cyan   { background: #e8f9ff; }

/* breadcrumb */
.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs); color: var(--text-subtle);
    margin-bottom: var(--sp-5); justify-content: center;
}
.breadcrumb a { color: var(--indigo); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* feature-list / feature-item */
.feature-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.feature-item  { display: flex; align-items: flex-start; gap: var(--sp-3); }
.feature-item__icon {
    color: var(--indigo); flex-shrink: 0; margin-top: 2px; font-size: 20px;
}
.feature-item__text { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; }
.feature-item__text strong { color: var(--text-heading); display: block; margin-bottom: 2px; }

/* form elements */
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label  { font-size: var(--fs-sm); font-weight: 600; color: var(--text-heading); }
.form-control {
    width: 100%; padding: 0.75rem 1rem;
    font-size: var(--fs-base); color: var(--text-body);
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--r-lg); outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    font-family: var(--font-body);
}
.form-control:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(91,79,255,0.12); }
.form-control::placeholder { color: var(--text-subtle); }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-note  { font-size: var(--fs-xs); color: var(--text-subtle); }
.form-error-message {
    display: none; background: #fef2f2; border: 1px solid #fca5a5;
    color: var(--error); font-size: var(--fs-sm);
    border-radius: var(--r-lg); padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-3);
}
.form-error-message.visible { display: block; }
.form-success-message {
    display: none; background: #f0fdf4; border: 1px solid #86efac;
    color: var(--success); font-size: var(--fs-base); text-align: center;
    border-radius: var(--r-lg); padding: var(--sp-8) var(--sp-4);
}
.form-success-message.visible { display: block; }

/* Utility aliases */
.text-orange  { color: var(--orange); }
.text-navy    { color: var(--navy); }
.text-indigo  { color: var(--indigo); }
.text-center  { text-align: center; }
.font-semi    { font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-display { font-family: var(--font-display); }
.mb-sm { margin-bottom: var(--sp-3); }
.mb-md { margin-bottom: var(--sp-6); }
.mt-sm { margin-top: var(--sp-3); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-sm { gap: var(--sp-3); }
.gap-md { gap: var(--sp-6); }
.hidden { display: none !important; }

/* container--narrow */
.container--narrow { max-width: 52rem; }

/* page-hero (inner pages) */
.page-hero {
    background: linear-gradient(160deg, var(--bg-alt) 0%, var(--white) 100%);
    padding-block: var(--sp-16) var(--sp-20);
    border-bottom: 1px solid var(--border-light);
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 70% at 70% 30%, rgba(91,79,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════════════════
   CAPABILITIES SECTION — cap-group / cap-card
═══════════════════════════════════════════════════════════════════════════ */
.cap-group { display: flex; flex-direction: column; gap: 0; }

.cap-group__header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-4);
    border-bottom: 2px solid var(--border-light);
}
.cap-group__icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cap-group__title {
    font-family: var(--font-display);
    font-size: var(--fs-base); font-weight: 700;
    color: var(--text-heading); line-height: 1.2;
}

.cap-group__cards { display: flex; flex-direction: column; gap: var(--sp-3); }

.cap-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow var(--t-base), transform var(--t-base);
}
.cap-card:hover {
    box-shadow: 0 8px 24px rgba(15,15,61,0.12);
    transform: translateY(-3px);
}
.cap-card__head {
    display: flex; align-items: center; gap: var(--sp-3);
    background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
    padding: var(--sp-3) var(--sp-4);
}
.cap-card__arrow {
    font-size: 1rem; color: rgba(255,255,255,0.5); flex-shrink: 0;
    transition: transform var(--t-fast), color var(--t-fast);
}
.cap-card:hover .cap-card__arrow { transform: translateX(3px); color: var(--orange); }
.cap-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 700;
    color: white; margin: 0; line-height: 1.3;
}
.cap-card__body {
    font-size: var(--fs-xs); color: var(--text-muted);
    line-height: 1.55;
    padding: var(--sp-3) var(--sp-4);
    overflow-wrap: break-word;
    word-break: break-word;
    flex: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   INNER PAGE FIXES — additional responsive fixes
═══════════════════════════════════════════════════════════════════════════ */

/* Page hero — more compact on mobile */
@media (max-width: 767px) {
    .page-hero { padding-block: var(--sp-10) var(--sp-12); }
    .section-title { font-size: var(--fs-xl); line-height: 1.25; }
    .section-body,
    .section-subtitle { font-size: var(--fs-base); }
    .hero__badge { font-size: var(--fs-xs); }
    .display-title { font-size: var(--fs-2xl); }
    .cap-group__header { margin-bottom: var(--sp-4); }
    /* Collapse ALL inline multi-column grids on mobile */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1.4fr"],
    [style*="grid-template-columns: 1fr 1.4fr"],
    [style*="grid-template-columns:auto 1fr"],
    [style*="grid-template-columns: auto 1fr"] {
        grid-template-columns: 1fr !important;
        gap: var(--sp-8) !important;
    }
    .compliance-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Fix stat-block on dark background — white gradient text */
.stat-block__value--white {
    background: linear-gradient(135deg, white, rgba(255,255,255,0.75)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ── Homepage new components ────────────────────────────────────────────── */

/* Problem section transition callout */
.section-transition-callout {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    background: var(--orange-pale);
    border: 1.5px solid #ffe0c2;
    border-radius: var(--r-xl);
    padding: var(--sp-5) var(--sp-6);
    max-width: 48rem;
    margin-inline: auto;
}
.section-transition-callout p {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.55;
    margin: 0;
}

/* Solution pillars — kicker label */
.pillar__kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    width: fit-content;
}
.pillar--indigo .pillar__kicker {
    background: var(--indigo-pale);
    color: var(--indigo);
    border: 1px solid rgba(91,79,255,0.2);
}
.pillar--orange .pillar__kicker {
    background: var(--orange-pale);
    color: var(--orange);
    border: 1px solid rgba(255,107,0,0.2);
}
.pillar--navy .pillar__kicker {
    background: #eeeeff;
    color: var(--navy);
    border: 1px solid rgba(15,15,61,0.15);
}

/* Pillar tags that are links */
.pillar__tag--link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: background var(--t-fast), color var(--t-fast);
}
.pillar__tag--link:hover {
    background: var(--orange-pale);
    color: var(--orange);
    border-color: var(--orange);
}

/* Journey steps — 5-step horizontal flow */
.journey-steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: flex-start;
    position: relative;
    margin-top: var(--sp-10);
}
.journey-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 var(--sp-2);
}
.journey-step__num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: var(--white);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
    margin-bottom: var(--sp-4);
    box-shadow: var(--shadow-sm);
}
.journey-step__connector {
    position: absolute;
    top: 1.125rem;
    left: calc(50% + 1.125rem);
    right: calc(-50% + 1.125rem);
    height: 2px;
    background: linear-gradient(90deg, var(--border-light) 50%, transparent 50%);
    background-size: 8px 2px;
    z-index: 0;
}
.journey-step__card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base), transform var(--t-base);
    height: 100%;
}
.journey-step__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.journey-step__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
}
.journey-step__icon .material-symbols-outlined { font-size: 1.25rem; }
.journey-step__title {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--sp-2);
}
.journey-step__body {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Journey steps — mobile stack */
@media (max-width: 900px) {
    .journey-steps {
        flex-direction: column;
        gap: var(--sp-6);
    }
    .journey-step {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--sp-4);
        padding: 0;
    }
    .journey-step__num { margin-bottom: 0; flex-shrink: 0; }
    .journey-step__connector {
        display: none;
    }
    .journey-step__card { text-align: left; }
    .journey-step__icon { margin: 0 0 var(--sp-3) 0; }
}

/* ── Inner page two-column layouts ────────────────────────────────────── */
/* The .grid override on mobile collapses to 1fr — this catches inline styles */
@media (max-width: 767px) {
    /* Industry section auto-fit grid — let it handle itself */
    .industry-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
    .industry-grid { grid-template-columns: 1fr !important; }
    /* Blog cards — single column */
    .blog-grid-3 { grid-template-columns: 1fr !important; }
}

/* ── Fix hero section background on section--white / section--tint ─── */
.section--white { background: var(--white); }
.section--tint  { background: var(--bg-alt); }
.section--warm  { background: var(--bg-warm); }

/* ── Global word-break safety for all card content ─────────────────── */
.card__title, .card__body,
.pillar__title, .pillar__body,
.blog-card__title, .blog-card__excerpt {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ── Fix hero section responsive padding ─────────────────────────────── */
@media (max-width: 767px) {
    .hero { padding-top: var(--sp-12); padding-bottom: var(--sp-12); }
    .hero__badge { margin-bottom: var(--sp-4); }
    .hero__body { font-size: var(--fs-base); margin-bottom: var(--sp-6); }
    .hero__proof { margin-top: var(--sp-6); padding-top: var(--sp-6); }
    .hero__stat strong { font-size: var(--fs-lg); }
}

/* ══════════════════════════════════════════════════════════════════════════
   INDUSTRY CARDS — proper responsive grid
═══════════════════════════════════════════════════════════════════════════ */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-5);
}
.industry-card {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    text-decoration: none;
    transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.industry-card:hover {
    box-shadow: 0 10px 32px rgba(15,15,61,0.11);
    transform: translateY(-3px);
    border-color: var(--border);
}
.industry-card__icon {
    width: 4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--bg);
    border-right: 1px solid var(--border-light);
}
/* Content zone */
.industry-card__content {
    padding: var(--sp-4) var(--sp-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.industry-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-sm); font-weight: 700;
    color: var(--text-heading); margin-bottom: var(--sp-2); line-height: 1.25;
}
.industry-card__desc {
    font-size: var(--fs-xs); color: var(--text-muted);
    line-height: 1.6; flex: 1; margin-bottom: var(--sp-3);
    overflow-wrap: break-word;
}
.industry-card__link {
    display: flex; align-items: center; gap: var(--sp-2);
    font-size: var(--fs-xs); font-weight: 700;
    margin-top: auto;
}
@media (max-width: 480px) {
    .industry-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   DEPLOYMENT SECTION GRID
═══════════════════════════════════════════════════════════════════════════ */
.dep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}
@media (max-width: 767px) {
    .dep-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPLIANCE BADGE GRID
═══════════════════════════════════════════════════════════════════════════ */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
}
.compliance-badge {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: var(--sp-3);
    transition: box-shadow var(--t-base);
}
.compliance-badge:hover { box-shadow: var(--shadow-md); }
.compliance-badge__icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.compliance-badge__label {
    font-size: var(--fs-xs); font-weight: 700;
    color: var(--text-heading); line-height: 1.3;
}
@media (max-width: 480px) {
    .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS ROW — warm light tint
═══════════════════════════════════════════════════════════════════════════ */
.stats-dark {
    background: linear-gradient(135deg, #fff8f2 0%, #f5f3ff 100%);
    border-top: 1px solid #ffe8d4;
    border-bottom: 1px solid #e8e5ff;
    padding-block: var(--sp-16);
}
@media (max-width: 767px) {
    .stats-dark { padding-block: var(--sp-10); }
    /* 2-col on small mobile */
    .stats-dark .grid--4 { grid-template-columns: repeat(2, 1fr) !important; gap: var(--sp-6) !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE OVERFLOW PREVENTION — belt & suspenders
   Catches any element that might cause horizontal scroll.
═══════════════════════════════════════════════════════════════════════════ */
html {
    max-width: 100vw;
    overflow-x: clip;
}
body {
    max-width: 100vw;
    overflow-x: clip;
}

/* Force all direct section children to stay within viewport */
.container, .section, .page-hero, .hero, .trust-bar,
.footer, .footer__cta-zone, .footer__main-zone, .footer__cert-zone, .footer__social-zone, .footer__bottom-zone {
    max-width: 100%;
}

/* Inner page two-column sections — guaranteed mobile collapse */
@media (max-width: 767px) {
    /* Prevent images/media from overflowing */
    img, canvas, iframe, video, svg { max-width: 100% !important; }

    /* Nav drawer full width, no overflow */
    .nav__drawer { width: 100%; left: 0; right: 0; overflow-x: hidden; }

    /* Cards on inner pages — ensure they don't overflow */
    .card, .cap-card, .pillar, .industry-card, .blog-card {
        min-width: 0;
        overflow: hidden;
    }

    /* Feature sections on inner pages */
    .feature-list { width: 100%; }
    .feature-item { min-width: 0; }
    .feature-item__text { min-width: 0; overflow-wrap: break-word; word-break: break-word; }

    /* Highlight sections */
    .highlight-section { overflow: hidden; }

    /* Inner page stat blocks */
    .stat-block { min-width: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MEGA MENU — Platform dropdown
   Architecture:
   - .mega-menu is position:fixed, anchored to viewport below nav bar.
   - JS adds/removes .mega-open on <body> to show/hide.
   - pointer-events:none when hidden — never intercepts hover on page content.
   - JS listens ONLY to the trigger button and the panel itself.
═══════════════════════════════════════════════════════════════════════════ */

/* Wrapper — normal relative positioning, no layout tricks */
.nav__dropdown--mega {
    position: relative;
}

/* Panel — fixed to viewport, full nav width, hidden until body.mega-open */
.mega-menu {
    position: fixed;
    top: 4.5rem;       /* always nav height on desktop */
    left: 0;
    right: 0;
    z-index: 1001;
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    /* Never participates in layout — doesn't trigger mouseleave on anything */
    visibility: hidden;
}

/* Open state: body class set by JS */
body.mega-open .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

/* Hidden on mobile — drawer handles navigation instead */
@media (max-width: 1023px) {
    .mega-menu {
        display: none !important;
        pointer-events: none !important;
    }
}

/* Bridge — transparent strip between nav bottom edge and panel top.
   Keeps mouse inside the panel's pointer zone when moving from trigger. */
.mega-menu::before {
    content: '';
    display: block;
    height: 6px;
    background: transparent;
}

/* Inner panel — white card */
.mega-menu__inner {
    background: var(--white);
    border-top: 2px solid var(--indigo);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(15,15,61,0.12);
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 0.8fr;
    max-width: var(--max-w);
    margin-inline: auto;
    /* Padding nudges so it aligns with the nav container */
    padding: var(--sp-8) var(--sp-10) var(--sp-10);
    gap: 0;
}

/* Column separator */
.mega-col {
    padding-inline: var(--sp-6);
    border-right: 1px solid var(--border-light);
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { padding-right: 0; border-right: none; }

/* Scrollable column for expanded Core Features list */
.mega-col--scroll {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    padding-right: var(--sp-4);
}
.mega-col--scroll::-webkit-scrollbar { width: 4px; }
.mega-col--scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Column heading */
.mega-col__title {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-heading);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--border-light);
}
.mega-col__icon {
    width: 1.75rem; height: 1.75rem;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mega-col__icon .material-symbols-outlined { font-size: 16px; }

/* Mega links */
.mega-link {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 0.4rem 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
    white-space: nowrap;
}
.mega-link::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    transition: background var(--t-fast), transform var(--t-fast);
}
.mega-link:hover {
    background: var(--indigo-pale);
    color: var(--indigo);
    padding-left: 0.75rem;
}
.mega-link:hover::before {
    background: var(--indigo);
    transform: scale(1.4);
}

/* CTA column */
.mega-col--cta { padding-left: var(--sp-8); border-right: none; }

.mega-cta {
    background: #fffaf6;
    border: 1.5px solid #ffe0c2;
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
    position: relative;
    overflow: hidden;
}
.mega-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 80% at 90% 10%, rgba(255,107,0,0.05) 0%, transparent 65%);
    pointer-events: none;
}
.mega-cta > * { position: relative; z-index: 1; }

.mega-cta__icon {
    width: 2.5rem; height: 2.5rem;
    background: var(--orange-pale);
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
}
.mega-cta__icon .material-symbols-outlined { color: var(--orange); font-size: 1.25rem; }
.mega-cta__title {
    font-family: var(--font-display);
    font-size: var(--fs-base); font-weight: 700;
    color: var(--navy); margin: 0;
}
.mega-cta__body {
    font-size: var(--fs-xs); color: var(--text-muted);
    line-height: 1.5; margin: 0;
}
.mega-cta__link {
    font-size: var(--fs-xs); font-weight: 600;
    color: var(--indigo);
    text-decoration: none;
    transition: color var(--t-fast);
}
.mega-cta__link:hover { color: var(--orange); }

.mega-cta__tags {
    display: flex; flex-wrap: wrap; gap: var(--sp-2);
}
.mega-cta__tags span {
    font-size: var(--fs-xs); font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: var(--r-full);
    background: var(--indigo-pale);
    color: var(--indigo);
    border: 1px solid rgba(91,79,255,0.15);
}

/* Mega menu open/close is JS-controlled — see main.js */




/* ══════════════════════════════════════════════════════════════════════════
   LEGACY VARIABLE ALIASES
   Inner pages written before the v4 redesign use --clr-* prefix.
   These aliases map every old name to the current design token so those
   pages render correctly without touching 41 PHP files.
═══════════════════════════════════════════════════════════════════════════ */
:root {
    /* Backgrounds */
    --clr-bg:           var(--bg);
    --clr-bg-alt:       var(--bg-alt);
    --clr-white:        var(--white);
    --clr-surface-mid:  var(--bg-alt);

    /* Brand colours */
    --clr-navy:         var(--navy);
    --clr-navy-mid:     var(--navy-mid);
    --clr-orange:       var(--orange);
    --clr-orange-pale:  var(--orange-pale);
    --clr-orange-light: var(--orange-hover);
    --clr-indigo:       var(--indigo);
    --clr-cyan:         var(--cyan);
    --clr-cyan-pale:    var(--cyan-pale);

    /* Text */
    --clr-text-primary: var(--text-heading);
    --clr-text-body:    var(--text-body);
    --clr-text-muted:   var(--text-muted);
    --clr-text-subtle:  var(--text-subtle);

    /* Borders */
    --clr-border:       var(--border);
    --clr-border-light: var(--border-light);

    /* Status */
    --clr-success:      var(--success);
    --clr-error:        var(--error);

    /* Typography */
    --font-display:     'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:        'Inter', system-ui, sans-serif;

    /* Font scale aliases: --fs-xs through --fs-xl are already defined in
       the primary :root block. --fs-2xl/3xl/4xl are NOT aliased here
       to avoid circular self-reference (which resolves to undefined). */

    /* Spacing aliases */
    --sp-xs:  var(--sp-2);
    --sp-sm:  var(--sp-3);
    --sp-md:  var(--sp-4);
    --sp-lg:  var(--sp-6);
    --sp-xl:  var(--sp-8);
    --sp-2xl: var(--sp-16);
    --sp-page-h:     var(--px);
    --sp-page-h-mob: var(--px-mob);
    --sp-container:  var(--max-w);

    /* Radius: --r-full already defined in primary :root block — no alias needed */

    /* Transition alias */
    --transition: var(--t-base);
}

/* card__icon--cyan — Command Card teal header variant */

/* ══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE — dedicated styles
═══════════════════════════════════════════════════════════════════════════ */

/* Two-column layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: var(--sp-12);
    align-items: start;
}
@media (max-width: 767px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ── Channel cards ─────────────────────────────────────────────────── */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: var(--sp-8);
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .875rem 1rem;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border-light);
    background: var(--white);
    text-decoration: none;
    transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.contact-channel:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border);
    transform: translateY(-1px);
}
.contact-channel--primary {
    border-color: rgba(255,107,0,.35);
    background: var(--orange-pale);
}
.contact-channel--primary:hover { border-color: var(--orange); }
.contact-channel--whatsapp {
    border-color: rgba(22,163,74,.3);
    background: #f0fdf4;
}
.contact-channel--whatsapp:hover { border-color: #16a34a; }

.contact-channel__icon {
    width: 2.5rem; height: 2.5rem; flex-shrink: 0;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.contact-channel__icon .material-symbols-outlined { font-size: var(--fs-lg); }

.contact-channel__body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: .125rem;
}
.contact-channel__body strong {
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-heading); line-height: 1.3;
}
.contact-channel__body span {
    font-size: var(--fs-xs); color: var(--text-muted);
}
.contact-channel__arrow {
    font-size: var(--fs-md); color: var(--text-subtle);
    transition: transform var(--t-fast), color var(--t-fast);
}
.contact-channel:hover .contact-channel__arrow {
    transform: translateX(3px);
    color: var(--text-muted);
}

/* ── Demo includes box ─────────────────────────────────────────────── */
.contact-includes {
    background: var(--bg-alt);
    border-radius: var(--r-lg);
    padding: 1.125rem 1.25rem;
    border: 1px solid var(--border-light);
    margin-bottom: var(--sp-6);
}
.contact-includes__title {
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-heading);
    margin-bottom: .75rem;
}

/* ── Social row ────────────────────────────────────────────────────── */
.contact-social__label {
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--text-subtle);
    margin-bottom: .625rem;
}
.contact-social__icons { display: flex; gap: .5rem; }

.social-icon-btn {
    width: 2.25rem; height: 2.25rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social-icon-btn:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}

/* ── Form card ─────────────────────────────────────────────────────── */
.contact-form-card {
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.contact-form-card__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl); font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .375rem;
}
.contact-form-card__sub {
    font-size: var(--fs-sm); color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ── Step indicator ────────────────────────────────────────────────── */
.contact-steps { margin-bottom: 1.25rem; }
.contact-steps__track {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: .625rem;
}
.contact-steps__label { font-size: var(--fs-xs); color: var(--text-muted); }
.contact-steps__dots { display: flex; gap: .375rem; align-items: center; }
.contact-steps__dot {
    width: 28px; height: 4px;
    border-radius: 4px;
    background: var(--border);
    transition: background var(--t-base);
}
.contact-steps__dot.active { background: var(--orange); }

/* Required star */
.required-star { color: var(--error); }

/* Responsive form card */
@media (max-width: 480px) {
    .contact-form-card { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   CLIENT LOGO MARQUEE
═══════════════════════════════════════════════════════════════════════════ */
.clients-strip {
    background: var(--white);
    border-top: 2px solid var(--border-light);
    border-bottom: 2px solid var(--border-light);
    padding-block: var(--sp-6);
    overflow: hidden;
}

.clients-strip__label {
    text-align: center;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
    margin-bottom: var(--sp-6);
}

/* Marquee track — two identical sets side by side, animate the pair left */
.marquee-outer {
    overflow: hidden;
    position: relative;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 55s linear infinite;
    /* will-change prevents subpixel jump on loop */
    will-change: transform;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Each logo item — gap via padding, no border separators (they cause jump) */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    height: 64px;
    flex-shrink: 0;
    transition: opacity var(--t-base);
}
.client-logo-item:hover { opacity: 0.85; }

.client-logo-item img,
.client-logo-item svg {
    height: auto;
    width: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ── Clients grid page ───────────────────────────────────────────────────── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--sp-5);
}

.client-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: var(--sp-6) var(--sp-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    min-height: 110px;
    text-align: center;
    transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
    text-decoration: none;
}
.client-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border);
}

.client-card img,
.client-card svg {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.client-card__name {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.client-card__industry {
    font-size: var(--fs-xs);
    color: var(--text-subtle);
    background: var(--bg-alt);
    padding: 0.15rem 0.5rem;
    border-radius: var(--r-full);
}

/* Filter tabs */
.clients-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-8);
}
.clients-filter__btn {
    padding: 0.375rem 0.875rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--t-fast);
}
.clients-filter__btn:hover,
.clients-filter__btn.active {
    background: var(--indigo);
    border-color: var(--indigo);
    color: var(--white);
}

@media (max-width: 767px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
    .client-logo-item { padding: 0 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   CERTIFICATION BADGES
═══════════════════════════════════════════════════════════════════════════ */
.cert-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
    align-items: center;
}
.cert-grid--center { justify-content: center; }
.cert-grid--compact { gap: var(--sp-4); }

/* Each badge is a transparent-bg image container */
.cert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: var(--sp-2);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base), transform var(--t-base);
}
.cert-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.cert-badge__img {
    height: 75px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
    /* PNG already has transparent bg — no filter needed for most */
}
/* Wide-format logos (HIPAA, Bhaskar Bharat) need extra width allowance */
.cert-badge--wide .cert-badge__img {
    height: 44px;
    max-width: 160px;
}

/* Footer strip — single scrollable row on desktop */
.cert-grid--footer {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--sp-3);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cert-grid--footer::-webkit-scrollbar { display: none; }

.cert-grid--footer .cert-badge {
    padding: var(--sp-2) var(--sp-3);
    background: transparent;
    border-color: var(--border-light);
    box-shadow: none;
}
.cert-grid--footer .cert-badge:hover {
    background: var(--bg-alt);
    box-shadow: none;
    transform: none;
}
.cert-grid--footer .cert-badge__img {
    height: 75px;
    max-width: 80px;
}
.cert-grid--footer .cert-badge--wide .cert-badge__img {
    height: 26px;
    max-width: 110px;
}

/* Mobile: wrap footer grid */
@media (max-width: 767px) {
    .cert-grid--footer { flex-wrap: wrap; }
}

/* Cert section wrapper */
.cert-section {
    border-top: 1px solid var(--border-light);
    padding-top: var(--sp-8);
    margin-top: var(--sp-8);
}
.cert-section__title {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-subtle);
    margin-bottom: var(--sp-5);
}

@media (max-width: 767px) {
    .cert-badge__img { height: 48px; }
    .cert-badge--wide .cert-badge__img { height: 34px; }
    .cert-grid { gap: var(--sp-3); }
}

/* ══════════════════════════════════════════════════════════════════════════
   ECOSYSTEM PAGE — Apps, Solutions & Integrations
═══════════════════════════════════════════════════════════════════════════ */

/* Hero pills */
.eco-pill {
    display: inline-flex; align-items: center; gap: .375rem;
    padding: .375rem .875rem;
    border-radius: var(--r-full);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-body);
}
.eco-pill .material-symbols-outlined { font-size: 1rem; color: var(--orange); }

/* ── App cards grid ──────────────────────────────────────────────────────── */
.eco-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}
@media (max-width: 1023px) { .eco-apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .eco-apps-grid { grid-template-columns: 1fr; } }

.eco-app-card {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--white);
    display: flex; flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    outline: none;
}
.eco-app-card:hover, .eco-app-card:focus-visible {
    box-shadow: 0 16px 48px rgba(15,15,61,0.14);
    transform: translateY(-5px);
}

.eco-app-card__header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 100%);
    padding: var(--sp-6);
    display: flex; flex-direction: row; align-items: center; gap: var(--sp-4);
}
.eco-app-card__icon {
    width: 2.75rem; height: 2.75rem; flex-shrink: 0;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}
.eco-app-card__icon--indigo { background: rgba(255,255,255,0.15); color: white; }
.eco-app-card__icon--orange { background: rgba(255,255,255,0.15); color: white; }
.eco-app-card__icon .material-symbols-outlined { font-size: var(--fs-md); color: white; }

.eco-app-card__name {
    font-family: var(--font-display);
    font-size: var(--fs-base); font-weight: 700;
    color: white; margin: 0; line-height: 1.3;
}
.eco-app-card__desc { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; padding: var(--sp-5) var(--sp-6) 0; }
.eco-app-card__footer { margin-top: auto; padding: var(--sp-4) var(--sp-6) var(--sp-5); border-top: 1px solid var(--border-light); }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.eco-badge {
    display: inline-block;
    font-size: var(--fs-xs); font-weight: 700;
    padding: .125rem .5rem; border-radius: var(--r-full);
}
.eco-badge--wemacx {
    background: linear-gradient(135deg, var(--orange-pale), var(--indigo-pale));
    color: var(--indigo);
    border: 1px solid rgba(91,79,255,0.2);
    font-size: var(--fs-xs); letter-spacing: .05em; text-transform: uppercase;
}

/* ── Tags ────────────────────────────────────────────────────────────────── */
.eco-tag {
    display: inline-block;
    font-size: var(--fs-xs); font-weight: 600;
    padding: .2rem .625rem; border-radius: var(--r-full);
    background: var(--bg-alt);
    color: var(--text-subtle);
    border: 1px solid var(--border-light);
}

/* ── Learn more link ─────────────────────────────────────────────────────── */
.eco-learn-more {
    display: flex; align-items: center; gap: .25rem;
    font-size: var(--fs-sm); font-weight: 600; color: var(--indigo);
}
.eco-learn-more .material-symbols-outlined {
    font-size: var(--fs-sm);
    transition: transform var(--t-fast);
}
.eco-app-card:hover .eco-learn-more .material-symbols-outlined,
.eco-integ-card:hover .eco-learn-more .material-symbols-outlined {
    transform: translateX(4px);
}

/* ── Filter buttons ──────────────────────────────────────────────────────── */
.eco-filter {
    display: flex; flex-wrap: wrap; gap: var(--sp-2);
    margin-bottom: var(--sp-6);
    justify-content: center;
}
.eco-filter-btn {
    padding: .375rem .875rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: var(--fs-xs); font-weight: 600;
    color: var(--text-body); cursor: pointer;
    transition: all var(--t-fast);
}
.eco-filter-btn:hover, .eco-filter-btn.active {
    background: var(--indigo); border-color: var(--indigo); color: white;
}

/* ── Integration cards grid ──────────────────────────────────────────────── */
.eco-integ-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-5);
}

.eco-integ-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem;
    padding: var(--sp-6);
    display: flex; flex-direction: column; gap: var(--sp-3);
    cursor: pointer;
    position: relative; overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    outline: none;
}
.eco-integ-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--indigo);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.eco-integ-card:hover, .eco-integ-card:focus-visible {
    box-shadow: 0 12px 40px rgba(91,79,255,0.12);
    transform: translateY(-4px);
    border-color: var(--border);
}
.eco-integ-card:hover::after { transform: scaleX(1); }
.eco-integ-card__logo {
    height: 48px;
    display: flex; align-items: center;
}
.eco-integ-card__logo img {
    height: 36px; width: auto; max-width: 140px; object-fit: contain;
}
.eco-integ-card__desc { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; line-height: 1.65; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.eco-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: var(--sp-5);
}
.eco-modal[hidden] { display: none; }

.eco-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(15,15,61,.55);
    backdrop-filter: blur(4px);
}

.eco-modal__box {
    position: relative; z-index: 1;
    background: var(--white);
    border-radius: var(--r-2xl);
    box-shadow: 0 32px 80px rgba(15,15,61,.22);
    width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto;
    display: flex; flex-direction: column;
    animation: modal-in .2s ease;
}
@keyframes modal-in {
    from { opacity: 0; transform: scale(.96) translateY(12px); }
    to   { opacity: 1; transform: none; }
}

.eco-modal__close {
    position: absolute; top: var(--sp-4); right: var(--sp-4);
    width: 2.25rem; height: 2.25rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-muted);
    transition: background var(--t-fast);
    z-index: 2;
}
.eco-modal__close:hover { background: var(--bg-alt); }
.eco-modal__close .material-symbols-outlined { font-size: var(--fs-md); }

.eco-modal__header {
    display: flex; align-items: center; gap: var(--sp-4);
    padding: var(--sp-6) var(--sp-6) var(--sp-4);
    border-bottom: 1px solid var(--border-light);
}

.eco-modal__body {
    padding: var(--sp-6);
    flex: 1;
}

.eco-modal__coming-soon {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: var(--sp-8) var(--sp-5);
    gap: var(--sp-3);
}

.eco-modal__footer {
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    display: flex; gap: var(--sp-3); flex-wrap: wrap;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 767px) {
    .eco-modal__box { border-radius: var(--r-xl); }
    .eco-integ-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .eco-integ-grid { grid-template-columns: 1fr; }
    .eco-modal { padding: var(--sp-3); }
}

/* ══════════════════════════════════════════════════════════════════════════
   CUSTOMER BENEFITS — tabbed section
═══════════════════════════════════════════════════════════════════════════ */

/* Tab buttons */
.benefits-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
}

.benefits-tab {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: .625rem 1.25rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--border);
    background: var(--white);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--t-base);
}
.benefits-tab .material-symbols-outlined { font-size: 1.1rem; }
.benefits-tab:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: var(--indigo-pale);
}
.benefits-tab.active {
    background: var(--indigo);
    border-color: var(--indigo);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(91,79,255,.25);
}

/* Panel */
.benefits-panel { display: none; }
.benefits-panel.active { display: block; }
.benefits-panel[hidden] { display: none !important; }

.benefits-panel__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--sp-12);
    align-items: center;
    background: var(--white);
    border-radius: var(--r-2xl);
    padding: var(--sp-10);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

/* Big stat */
.benefits-panel__stat {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-5);
    border-bottom: 2px solid var(--border-light);
}
.benefits-panel__stat-value {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    background: linear-gradient(135deg, var(--orange), #ff9a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.benefits-panel__stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.benefits-panel__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--sp-3);
    line-height: 1.25;
}
.benefits-panel__desc {
    font-size: var(--fs-base);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}
.benefits-panel__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

/* Metric grid — right column of outcomes tabs — Split Card style */
.benefits-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}
.benefits-metric {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base), transform var(--t-base);
}
.benefits-metric:hover {
    box-shadow: 0 8px 24px rgba(15,15,61,0.10);
    transform: translateY(-3px);
}
/* Split: stat zone */
.benefits-metric__stat-zone {
    width: 4rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-3);
    border-right: 1px solid var(--border-light);
    background: var(--bm-bg, var(--indigo-pale));
}
.benefits-metric__value {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 900;
    color: var(--bm-clr, var(--indigo));
    line-height: 1;
    text-align: center;
}
.benefits-metric__icon {
    color: var(--bm-clr, var(--indigo));
    opacity: 0.4;
}
.benefits-metric__icon .material-symbols-outlined { font-size: 1rem; }
/* Split: label zone */
.benefits-metric__label-zone {
    padding: var(--sp-3) var(--sp-3);
    display: flex;
    align-items: center;
    flex: 1;
}
.benefits-metric__label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-body);
    line-height: 1.4;
}
/* Colour variants */
.benefits-metric__icon--indigo { --bm-bg: var(--indigo-pale); --bm-clr: var(--indigo); }
.benefits-metric__icon--orange { --bm-bg: var(--orange-pale); --bm-clr: var(--orange); }

/* Mobile */
@media (max-width: 767px) {
    .benefits-panel__inner {
        grid-template-columns: 1fr;
        padding: var(--sp-6);
        gap: var(--sp-8);
    }
    .benefits-panel__stat-value { font-size: var(--fs-2xl); }
    .benefits-metric-grid { gap: var(--sp-3); }
}
@media (max-width: 480px) {
    .benefits-tabs { gap: var(--sp-2); }
    .benefits-tab { padding: .5rem .875rem; font-size: var(--fs-xs); }
}

/* ══════════════════════════════════════════════════════════════════════════
   VOICE RECORDINGS PLAYER SECTION
═══════════════════════════════════════════════════════════════════════════ */
.voice-demos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}
@media (max-width: 1200px) { .voice-demos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1023px) { .voice-demos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .voice-demos-grid { grid-template-columns: 1fr; } }

.voice-card {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-2xl);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    transition: box-shadow var(--t-base), transform var(--t-base);
}
.voice-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.voice-card__header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.voice-card__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}
.voice-card__avatar--indigo { background: var(--indigo-pale); color: var(--indigo); }
.voice-card__avatar--orange { background: var(--orange-pale); color: var(--orange); }
.voice-card__avatar--teal   { background: #e0f7f7; color: #007C7C; }

.voice-card__meta { flex: 1; min-width: 0; }
.voice-card__name {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}
.voice-card__role {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

.voice-card__scenario {
    font-size: var(--fs-sm);
    color: var(--text-body);
    line-height: 1.5;
    flex: 1;
}

.voice-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}
.voice-card__tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: .2rem .625rem;
    border-radius: var(--r-full);
    background: var(--bg-alt);
    color: var(--text-subtle);
    border: 1px solid var(--border-light);
}

/* Custom audio player */
.voice-player {
    background: var(--bg-alt);
    border-radius: var(--r-lg);
    padding: var(--sp-3) var(--sp-4);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.voice-player__btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--t-fast), background var(--t-fast);
}
.voice-player__btn--indigo { background: var(--indigo); color: white; }
.voice-player__btn--orange { background: var(--orange); color: white; }
.voice-player__btn--teal   { background: #007C7C; color: white; }
.voice-player__btn:hover   { transform: scale(1.1); }
.voice-player__btn .material-symbols-outlined { font-size: 1.1rem; }

.voice-player__progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.voice-player__bar-track {
    height: 4px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.voice-player__bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width .1s linear;
}
.voice-player__bar-fill--indigo { background: var(--indigo); }
.voice-player__bar-fill--orange { background: var(--orange); }
.voice-player__bar-fill--teal   { background: #007C7C; }

.voice-player__time {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--text-subtle);
    font-variant-numeric: tabular-nums;
}
.voice-player__duration { font-weight: 600; color: var(--text-muted); }

/* Waveform animation when playing */
.voice-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 20px;
    flex-shrink: 0;
}
.voice-waveform span {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: var(--border);
    transition: background var(--t-fast);
}
.voice-waveform span:nth-child(1) { height: 8px; }
.voice-waveform span:nth-child(2) { height: 14px; }
.voice-waveform span:nth-child(3) { height: 20px; }
.voice-waveform span:nth-child(4) { height: 12px; }
.voice-waveform span:nth-child(5) { height: 18px; }

.voice-card.is-playing .voice-waveform span {
    animation: wave-pulse .8s ease-in-out infinite;
}
.voice-card.is-playing .voice-waveform span:nth-child(1) { animation-delay: 0s; }
.voice-card.is-playing .voice-waveform span:nth-child(2) { animation-delay: .1s; }
.voice-card.is-playing .voice-waveform span:nth-child(3) { animation-delay: .2s; }
.voice-card.is-playing .voice-waveform span:nth-child(4) { animation-delay: .15s; }
.voice-card.is-playing .voice-waveform span:nth-child(5) { animation-delay: .05s; }

@keyframes wave-pulse {
    0%, 100% { transform: scaleY(0.5); opacity: .6; }
    50%       { transform: scaleY(1);   opacity: 1; }
}
.voice-card.is-playing .voice-waveform span { background: var(--indigo); }

/* ── Mobile hero headline — prevent overflow at 390px ─────────────────────── */
@media (max-width: 480px) {
    /* Fluid headline scaling on small screens */
    .hero__headline {
        font-size: clamp(1.75rem, 9vw, 2.75rem) !important;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }
    /* Section headings — new xl is 1.875rem, floor at 1.5rem on mobile */
    .section-title {
        font-size: clamp(1.5rem, 6.5vw, 1.875rem) !important;
        line-height: 1.25;
    }
    /* Inner page hero headings — new 2xl is 2.5rem, floor at 1.75rem */
    .page-hero h1,
    .page-hero .section-title,
    .page-hero .section-title[style] {
        font-size: clamp(1.75rem, 7.5vw, 2.25rem) !important;
        line-height: 1.2;
    }
    /* Section body — new base is 1.125rem, keep readable on mobile */
    .section-body,
    .section-subtitle {
        font-size: var(--fs-base);
        line-height: 1.7;
    }
    /* Card titles — new lg is 1.5rem, step down to md on mobile */
    .card__title,
    .card__split-title,
    .pillar__title {
        font-size: var(--fs-md);
        line-height: 1.3;
    }
    /* CTA banner title — new xl is 1.875rem */
    .cta-banner__title {
        font-size: var(--fs-xl);
        line-height: 1.2;
    }
    .cta-banner__body { font-size: var(--fs-base); }
    /* Benefits stat value */
    .benefits-panel__stat-value { font-size: var(--fs-2xl); }
    /* Journey steps */
    .journey-step__title { font-size: var(--fs-sm); }
    /* Ensure nothing goes below 12px (xs) on mobile */
    .footer__col li a { font-size: var(--fs-xs); }
    .footer__copyright,
    .footer__cookie-prefs { font-size: var(--fs-xs); }
}