/* ---------- Tokens ---------- */
:root {
    --navy-950: #041225;
    --navy-900: #061a33;
    --navy-800: #0a2748;
    --navy-700: #103a6b;
    --blue-600: #1557d6;
    --blue-500: #2b74f5;
    --blue-400: #5c9bff;
    --blue-300: #93bcff;
    --blue-200: #c4dbff;
    --blue-100: #e3eeff;
    --blue-50: #f3f8ff;
    --sky: #4cc3ff;

    --ink: #0b1f3a;
    --body: #40516a;
    --muted: #6b7b92;
    --line: #dde7f3;
    --surface: #ffffff;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(10, 39, 72, .06), 0 2px 8px rgba(10, 39, 72, .04);
    --shadow: 0 10px 30px -12px rgba(10, 39, 72, .22);
    --shadow-lg: 0 30px 60px -25px rgba(6, 26, 51, .45);

    --ease: cubic-bezier(.2, .7, .2, 1);
    --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
    color: var(--body); background: var(--surface); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
.icon { flex: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }
.muted { color: var(--muted); }

.eyebrow {
    font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--body); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-600); }
.text-link .icon { transition: transform .25s var(--ease); }
a:hover .text-link .icon, .text-link:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.2;
    cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 87, 214, .7); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(21, 87, 214, .8); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { color: var(--blue-600); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-600); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 39, 72, .5); background: rgba(255, 255, 255, .94); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: static; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border: 0; background: none; border-radius: 999px;
    font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--blue-600); background: var(--blue-50); }
.nav-link .icon { transition: transform .25s var(--ease); }
.nav-item.is-open .nav-link .icon { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; border: 0; background: none; color: var(--ink); padding: 8px; cursor: pointer; }

.mega {
    position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 6px); padding: 0 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
    width: min(880px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px 32px;
    padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.mega-col:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; align-content: start; }
.mega-col:first-child .mega-heading { grid-column: 1 / -1; }
.mega-heading { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 12px; font-family: var(--font-display); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mega-link { display: block; padding: 10px 12px; border-radius: 12px; transition: background-color .2s; }
.mega-link:hover { background: var(--blue-50); }
.mega-link strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: .96rem; }
.mega-link span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 50% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%); }
.hero { padding: 104px 0 72px; text-align: center; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero-glow {
    position: absolute; inset: -20% -10% auto; height: 620px; pointer-events: none;
    background: radial-gradient(40% 60% at 25% 40%, rgba(43, 116, 245, .38), transparent 70%),
                radial-gradient(35% 55% at 78% 30%, rgba(76, 195, 255, .22), transparent 70%);
    filter: blur(10px); animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, 4%, 0) scale(1.06); } }
.hero-inner { position: relative; }
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); max-width: 15ch; margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--blue-300), var(--sky) 55%, #b5f0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }
.hero .lead, .page-hero .lead { color: rgba(226, 238, 255, .82); }
.hero .lead { max-width: 620px; margin: 22px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .hero-actions { justify-content: center; }
.hero-clients { margin-top: 84px; }
.hero-clients > span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(196, 219, 255, .6); margin-bottom: 18px; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client { display: grid; place-items: center; height: 68px; padding: 10px 22px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); }
.client:hover { transform: translateY(-3px); }
.client img { max-height: 44px; width: auto; }

.page-hero { padding: 84px 0 76px; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .lead { max-width: 660px; margin-top: 20px; }
.page-hero .eyebrow a { color: inherit; }
.page-hero .eyebrow a:hover { color: #fff; }
.page-hero .eyebrow span { opacity: .5; margin: 0 6px; }
.product-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.product-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.glass-panel { padding: 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite; }
.glass-title { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; color: rgba(255, 255, 255, .75); font-size: .85rem; }
.glass-title i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.glass-title span { margin-left: 10px; font-family: var(--font-display); font-weight: 600; }
.glass-row { display: grid; grid-template-columns: auto 1fr 64px; align-items: center; gap: 12px; padding: 14px; margin-top: 8px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-weight: 500; font-size: .95rem; }
.glass-row .icon { color: var(--sky); }
.glass-row b { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue-400), var(--sky)); transform-origin: left; animation: grow 2.4s var(--ease) both; }
.glass-row:nth-child(3) b { width: 70%; animation-delay: .15s; }
.glass-row:nth-child(4) b { width: 85%; animation-delay: .3s; }
.glass-row:nth-child(5) b { width: 55%; animation-delay: .45s; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section-flush { padding-bottom: 0; }
.section-related { padding-top: 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-top { align-items: start; }
.split h2 + .lead { margin-top: 16px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-card { padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }

/* Sector panels (home) */
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sector { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, var(--blue-50)); }
.sector header p { margin-top: 10px; }
.sector header h3 { font-size: 1.4rem; margin-top: 18px; }
.sector .text-link { margin-top: auto; padding-top: 22px; }
.product-list { display: grid; gap: 8px; margin-top: 24px; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.product-row:hover { transform: translateX(4px); border-color: var(--blue-300); box-shadow: var(--shadow); }
.product-row h3 { font-size: 1rem; }
.product-row p { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.row-arrow { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); transition: background-color .25s, color .25s; }
.product-row:hover .row-arrow { background: var(--blue-600); color: #fff; }

/* Feature cards */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.split .feature-grid { grid-template-columns: 1fr; }
.feature { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.feature h3 { margin: 18px 0 8px; }
.feature p { font-size: .95rem; line-height: 1.6; }
.feature-grid.is-compact .feature { background: var(--blue-50); border-color: transparent; }
.feature-grid.cols-5 .feature { padding: 22px 18px; }
.feature-grid.cols-5 .feature p { font-size: .9rem; }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--blue-600); background: linear-gradient(140deg, var(--blue-100), #fff); border: 1px solid var(--blue-200); }

/* Problem / solution */
.panel { padding: clamp(24px, 3vw, 38px); border-radius: var(--radius-lg); font-size: 1.05rem; line-height: 1.7; }
.panel-problem { background: var(--blue-50); border: 1px solid var(--line); color: var(--ink); }
.panel-problem .eyebrow { color: var(--muted); }
.panel-solution { background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); color: rgba(226, 238, 255, .9); box-shadow: var(--shadow-lg); }
.panel-solution .eyebrow { color: var(--sky); }

/* Stats */
.stats-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; background: linear-gradient(100deg, #fff, var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: rgba(226, 238, 255, .78); font-size: .95rem; line-height: 1.5; max-width: 26ch; }

/* Mission */
.mission { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px); border-radius: var(--radius-lg); color: #fff; background: radial-gradient(90% 140% at 0% 0%, var(--navy-700), var(--navy-900) 60%); box-shadow: var(--shadow-lg); }
.mission::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(76, 195, 255, .28), transparent); }
.mission .eyebrow { color: var(--sky); }
.mission h2 { color: #fff; max-width: 22ch; font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.mission-points { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(226, 238, 255, .85); }

/* Marquee */
.marquee { overflow: hidden; padding: 6px 0 clamp(64px, 8vw, 104px); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.logo-tile { display: grid; place-items: center; width: 150px; height: 92px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.logo-tile img { max-height: 56px; width: auto; }

/* Testimonial */
.testimonial { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; margin: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(140deg, #fff, var(--blue-50)); }
.testimonial img { width: 100%; border-radius: var(--radius); }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink); font-weight: 500; }
.testimonial blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--blue-400); margin-bottom: 10px; }
.testimonial figcaption { margin-top: 22px; }
.testimonial figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); }
.testimonial figcaption span { color: var(--muted); font-size: .92rem; }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--blue-600), var(--navy-700) 55%, var(--navy-900)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 120% at 100% 0%, rgba(76, 195, 255, .35), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin-top: 10px; color: rgba(226, 238, 255, .86); max-width: 56ch; }

/* Solution cards (sector pages, related) */
.solution-grid, .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--body); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.solution:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-300); color: var(--body); }
.solution h2 { font-size: 1.35rem; }
.solution p { font-size: .96rem; flex: 1; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data-table th { text-align: left; padding: 14px 18px; font-family: var(--font-display); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--blue-50); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink); font-weight: 600; }
.data-table tbody tr { transition: background-color .2s; }
.data-table tbody tr:hover { background: var(--blue-50); }

/* Prose */
.prose h2 { margin-bottom: 18px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 16px 0 0; padding-left: 20px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.story-image img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--blue-300); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue-600); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 22px 20px; animation: fade-down .3s var(--ease); }
.faq details p + p { margin-top: 10px; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.member { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.member:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.member img { width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.member-role { color: var(--blue-600); font-weight: 600; font-size: .92rem; margin-top: 2px; }
.member-motto { font-style: italic; color: var(--muted); font-size: .92rem; margin: 6px 0 10px; }
.member p:last-child { font-size: .94rem; }

/* Careers */
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.mini-stats div { padding: 18px; border-radius: var(--radius); background: var(--blue-50); }
.mini-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-600); line-height: 1.2; }
.mini-stats span { font-size: .88rem; color: var(--muted); }
.openings { display: grid; gap: 10px; }
.opening { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.opening:hover { transform: translateX(4px); border-color: var(--blue-300); box-shadow: var(--shadow); color: var(--body); }
.opening span { font-size: .9rem; color: var(--muted); }
.opening .btn { color: var(--blue-600); }

/* Contact */
.offices h2 { margin-bottom: 24px; font-size: 1.5rem; }
.office { display: flex; gap: 16px; margin-bottom: 26px; }
.office .eyebrow { margin-bottom: 4px; }
.office p { margin: 4px 0 6px; }
.map { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.map img { width: 100%; transition: transform .6s var(--ease); }
.map:hover img { transform: scale(1.04); }
.error-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(92, 155, 255, .2); }
.field .is-invalid { border-color: #d9435b; box-shadow: 0 0 0 4px rgba(217, 67, 91, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-600); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #c2314a; font-size: .9rem; }
.form-done { text-align: center; padding: 28px 8px; animation: fade-up .5s var(--ease); }
.form-done h3 { font-size: 1.4rem; margin: 14px 0 6px; }
.done-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Demo dialog ---------- */
.demo-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(22px, 4vw, 36px); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--body); overflow-y: auto; }
.demo-dialog::backdrop { background: rgba(4, 18, 37, .62); backdrop-filter: blur(4px); }
.demo-dialog[open] { animation: dialog-in .32s var(--ease); }
.demo-dialog[open]::backdrop { animation: fade .32s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.demo-dialog h2 { font-size: 1.6rem; }
.dialog-lead { margin: 6px 0 22px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--blue-50); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .2s; }
.dialog-close:hover { background: var(--blue-100); transform: rotate(90deg); }

/* ---------- Chat ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.chat-fab { display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); box-shadow: 0 14px 30px -10px rgba(21, 87, 214, .8); transition: transform .25s var(--ease); }
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab span { grid-area: 1 / 1; display: grid; transition: opacity .2s, transform .3s var(--ease); }
.chat-fab-close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat-fab-open { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat-fab-close { opacity: 1; transform: none; }
.chat-panel { position: absolute; right: 0; bottom: 72px; display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100dvh - 120px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: bottom right; animation: chat-in .28s var(--ease); }
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff; background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); }
.chat-head strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.chat-head small { color: rgba(226, 238, 255, .78); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 0 4px rgba(94, 224, 160, .25); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--blue-50); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; animation: fade-up .25s var(--ease); overflow-wrap: anywhere; white-space: pre-wrap; }
.msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.msg-user { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 6px; }
.msg a { font-weight: 600; text-decoration: underline; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; background: var(--blue-50); }
.chat-suggest button { padding: 6px 12px; border: 1px solid var(--blue-200); border-radius: 999px; background: #fff; color: var(--blue-600); font-size: .82rem; cursor: pointer; transition: background-color .2s; }
.chat-suggest button:hover { background: var(--blue-100); }
.chat-form { display: flex; gap: 8px; padding: 12px; background: var(--blue-50); }
.chat-form input { flex: 1; min-width: 0; padding: 11px 14px; font: inherit; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.chat-form input:focus { outline: 0; border-color: var(--blue-400); }
.chat-form button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue-600); color: #fff; cursor: pointer; flex: none; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 16px; max-width: min(520px, calc(100vw - 110px)); padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .88rem; animation: fade-up .4s var(--ease); }
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 8px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(226, 238, 255, .72); padding-top: 72px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { margin: 18px 0 22px; max-width: 30ch; }
.site-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer h3.footer-gap { margin-top: 28px; }
.site-footer a { display: block; padding: 4px 0; color: rgba(226, 238, 255, .72); transition: color .2s, transform .2s; }
.site-footer a:hover { color: #fff; transform: translateX(2px); }
.site-footer address { font-style: normal; margin-bottom: 18px; line-height: 1.55; }
.site-footer address strong { display: block; color: #fff; font-weight: 600; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }

/* ---------- Insights (internal) ---------- */
.insights { padding-top: 48px; }
.insights-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.insights-head h1 { font-size: 2rem; }
.insights-head nav { display: flex; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 20px; }
.kpis .card { padding: 20px; border-radius: var(--radius); }
.kpis strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.kpis span { font-size: .86rem; color: var(--muted); }
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.insight-card { padding: 22px; margin-bottom: 20px; border-radius: var(--radius); }
.insight-card h3 { margin-bottom: 14px; }
.insight-card .table-wrap { border: 0; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 44px; gap: 12px; align-items: center; padding: 6px 0; font-size: .9rem; }
.bar-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.bar-row i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue-500), var(--sky)); width: var(--w); min-width: 4px; }
.bar-row b { text-align: right; color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Above-the-fold content animates in on load, without waiting for script. */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; }
.hero .reveal:nth-child(2), .page-hero .reveal:nth-child(2) { animation-delay: .08s; }
.hero .reveal:nth-child(3), .page-hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4), .page-hero .reveal:nth-child(4) { animation-delay: .24s; }
.hero .reveal:nth-child(5), .product-visual.reveal { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid.cols-3, .feature-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
    .solution-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .kpis { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .nav-toggle { display: inline-grid; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 32px;
        background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav-link { justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; width: 100%; }
    .nav-cta { margin: 14px 0 0; padding: 14px; }
    .mega { position: static; padding: 0; display: none; opacity: 1; visibility: visible; transform: none; }
    .nav-item.is-open .mega { display: block; }
    .mega-inner { grid-template-columns: 1fr; padding: 4px 0 8px; border: 0; box-shadow: none; }
    .mega-col:first-child { grid-template-columns: 1fr; }
    .mega-link span { display: none; }
    .split, .two-up, .sector-grid, .team-grid, .product-hero-inner, .insight-grid { grid-template-columns: 1fr; }
    .feature-grid.cols-3, .feature-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
    .product-visual { max-width: 520px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .mission-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container, .container.narrow { width: calc(100% - 36px); }
    .feature-grid, .feature-grid.cols-3, .feature-grid.cols-5, .solution-grid, .related-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 64px; }
    .hero-clients { margin-top: 56px; }
    .client { height: 56px; padding: 8px 14px; }
    .client img { max-height: 34px; }
    .testimonial { grid-template-columns: 1fr; }
    .testimonial img { max-width: 160px; }
    .member { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .footer-base { flex-direction: column; }
    .consent { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 88px; max-width: none; }
    .consent div { justify-content: flex-end; }
}

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