/* ==========================================================================
   FluenBox — marketing site
   Structure modelled on gartner.com (utility bar, mega-nav, research cards,
   role/industry explorers, big footer). Palette is FluenBox's own brand:
   navy #211d4c, blue #527fff, violet #d09fff.
   ========================================================================== */

:root {
    /* Gartner-style enterprise palette: deep "Gartner Blue" navy, a brighter
       blue accent, white space, flat surfaces. Restrained and corporate — NOT
       red. The FluenBox logo is used in its navy monochrome form to match.

       --blue / --violet / --red are kept as token NAMES so every existing rule
       keeps working; they all now resolve to the blue accent, so the whole
       stylesheet re-skins from this one block. */
    --navy: #002856;            /* Gartner Blue — dark sections, footer */
    --navy-900: #001b3d;
    --navy-800: #013067;

    --blue: #1063c6;            /* bright accent — links, icons, CTAs */
    --blue-dark: #0b4c9c;
    --violet: #1063c6;
    --red: #1063c6;             /* repointed to blue so old refs render blue */
    --red-dark: #0b4c9c;
    --grad: linear-gradient(120deg, #1063c6 0%, #0b4c9c 100%);
    --grad-soft: linear-gradient(120deg, rgba(16,99,198,.10), rgba(16,99,198,.10));

    /* Ink & surfaces */
    --ink: #12233a;
    --ink-2: #3a4a60;
    --muted: #5f6b7d;
    --bg: #ffffff;
    --surface: #f4f6f9;
    --surface-2: #e9edf3;
    --border: #dfe4ec;
    --border-strong: #ccd3df;

    /* Status */
    --success: #1a7f37;
    --amber: #9a6700;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(33,29,76,.06), 0 1px 3px rgba(33,29,76,.05);
    --shadow: 0 10px 30px -12px rgba(33,29,76,.18);
    --shadow-lg: 0 30px 60px -20px rgba(33,29,76,.28);

    --maxw: 1240px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 15px;
    padding: 12px 22px; border-radius: 999px;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(16,99,198,.5); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 28px -10px rgba(16,99,198,.55); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--border-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.link-arrow { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Utility bar
   ========================================================================== */
.utility {
    background: var(--navy-900);
    color: rgba(255,255,255,.72);
    font-size: 13px;
}
.utility .container { display: flex; align-items: center; justify-content: flex-end; gap: 24px; height: 40px; }
.utility a { color: rgba(255,255,255,.72); transition: color .15s; }
.utility a:hover { color: #fff; }
.utility .u-region { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; }
.utility .u-lang { gap: 4px; }
.utility .lang-btn { background: none; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .02em; cursor: pointer; padding: 3px 7px; border-radius: 6px; line-height: 1; transition: color .15s, background .15s; }
.utility .lang-btn:hover { color: #fff; }
.utility .lang-btn.active { color: #fff; background: rgba(255,255,255,.16); }

/* Launch announcement bar + countdown */
.launch-bar { background: linear-gradient(90deg, #0b3d86, #1063c6); color: #fff; }
.launch-bar .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding-block: 9px; font-size: 13.5px; }
.lb-badge { font-weight: 800; letter-spacing: .01em; }
.lb-count { font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.16); padding: 3px 11px; border-radius: 999px; min-width: 118px; text-align: center; }
.lb-cta { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.55); }
.lb-cta:hover { border-bottom-color: #fff; }
@media (max-width: 560px) { .launch-bar .container { gap: 10px; font-size: 12.5px; } .lb-cta { display: none; } }

/* Big countdown boxes (CTA band) */
.cd { display: flex; gap: 12px; flex-wrap: wrap; }
.cd-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; min-width: 74px; padding: 12px 10px; text-align: center; box-shadow: var(--shadow-sm); }
.cd-num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 7px; }

/* Legal / policy pages */
.legal { max-width: 780px; margin-inline: auto; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.legal .legal-note { background: #eef4fc; border: 1px solid #d7e4f7; border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0 0 28px; }
.legal h2 { font-size: 22px; color: var(--navy); margin: 36px 0 12px; letter-spacing: -.01em; }
.legal h3 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; }
.legal p { color: var(--ink-2); font-size: 15.5px; line-height: 1.72; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--blue); }

/* ==========================================================================
   Header / mega nav
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand img { height: 30px; width: auto; }
.nav-primary { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 10px 14px; border-radius: 8px;
    font-weight: 600; font-size: 15px; color: var(--ink-2);
    cursor: pointer; transition: color .15s, background .15s;
}
.nav-link:hover, .nav-item.open .nav-link { color: var(--navy); background: var(--surface); }
.nav-link svg { transition: transform .2s; }
.nav-item.open .nav-link svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink-2); transition: background .15s; }
.nav-search:hover { background: var(--surface); }

/* Mega menu */
.mega {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
    width: min(880px, 92vw);
    background: #fff; border: 1px solid var(--border); border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 26px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 26px; }
.mega-col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; font-weight: 700; }
.mega-link { display: flex; gap: 12px; padding: 10px; border-radius: 10px; transition: background .15s; }
.mega-link:hover { background: var(--surface); }
.mega-ico { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); color: var(--blue); }
.mega-link b { display: block; font-size: 14.5px; color: var(--navy); }
.mega-link span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mega-foot .m-note { font-size: 14px; color: var(--muted); }

/* Mobile */
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 560px at 82% -12%, rgba(16,99,198,.10), transparent 60%), radial-gradient(900px 500px at -5% 0%, rgba(0,40,86,.06), transparent 55%), #fff; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); }
.hero p.lede { font-size: 20px; color: var(--ink-2); margin: 22px 0 30px; max-width: 40ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-visual { position: relative; }
.hero-visual .shot { border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.hero-badge { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.hero-badge .hb-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.hero-badge b { display: block; font-size: 15px; color: var(--navy); } .hero-badge span { font-size: 12.5px; color: var(--muted); }
.hb-1 { bottom: -18px; left: -22px; } .hb-2 { top: -18px; right: -14px; }

/* Trust strip */
.trust { border-top: 1px solid var(--border); background: #fff; }
.trust .container { padding-block: 26px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust span.tlabel { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust .tlogos { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust .tind { font-size: 14px; font-weight: 700; color: var(--navy); background: #f4f8fd; border: 1px solid #e1e9f4; border-radius: 999px; padding: 8px 15px; display: inline-flex; align-items: center; gap: 8px; }
.trust .tind .ti { font-size: 12px; font-weight: 800; color: #1a7f37; }

/* ==========================================================================
   Section shells
   ========================================================================== */
.section { padding-block: 88px; }
.section.alt { background: var(--surface); }
.section.tint { background: #eef4fc; }               /* light brand-blue wash */
.section.navy { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { font-size: 18px; color: var(--ink-2); margin-top: 16px; }
.navy .section-head p { color: rgba(255,255,255,.72); }

/* Problem (pain) grid — muted on purpose, so the bright "with FluenBox"
   section that follows reads as relief. */
/* Problem section — warm slate with a subtle amber "tension" glow up top. */
.section.problem-sec {
    background:
        radial-gradient(900px 440px at 50% -6%, rgba(230,179,74,.14) 0%, rgba(230,179,74,0) 60%),
        linear-gradient(180deg, #f7f8fb 0%, #e9edf4 100%);
    position: relative;
}
.section.problem-sec::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image:
        linear-gradient(to right, rgba(45,63,95,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45,63,95,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.section.problem-sec .container { position: relative; z-index: 1; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
    background: #fff; border: 1px solid var(--border);
    border-left: 3px solid #d9a441; border-radius: var(--radius);
    padding: 24px; box-shadow: 0 2px 14px rgba(16,42,86,.05);
    transition: transform .18s ease, box-shadow .2s ease, border-left-color .2s ease;
}
.pain:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-left-color: #cf222e; }
.pain-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: #faf1df; color: #9a6700; margin-bottom: 16px; }
.pain b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.pain span { color: var(--muted); font-size: 15px; line-height: 1.55; }
/* colour variety for more life */
.pain:nth-child(1) .pain-ico { background: #e8effb; color: #1063c6; }
.pain:nth-child(2) .pain-ico { background: #faf1df; color: #9a6700; }
.pain:nth-child(3) .pain-ico { background: #f2e9fd; color: #7a4bd0; }
.pain:nth-child(4) .pain-ico { background: #ffe9e6; color: #cf222e; }
.pain:nth-child(5) .pain-ico { background: #e4f6ea; color: #1a7f37; }
.pain:nth-child(6) .pain-ico { background: #faf1df; color: #9a6700; }

/* Full-width alert card — the sharpest pain: failures nobody reports */
.pain-alert {
    grid-column: 1 / -1; margin-top: 4px;
    display: flex; align-items: center; gap: 22px;
    background: linear-gradient(100deg, #fff 40%, #fff3f2 100%);
    border: 1px solid #f3c9c6; border-left: 3px solid #cf222e;
    border-radius: var(--radius); padding: 22px 26px;
    box-shadow: 0 2px 14px rgba(207,34,46,.06);
}
.pain-alert .pa-ico {
    flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-size: 24px; background: #ffe3e0; color: #cf222e;
}
.pain-alert .pa-body b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.pain-alert .pa-body span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.pain-alert .pa-tag {
    margin-left: auto; flex: 0 0 auto; align-self: center;
    font-size: 12px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
    background: #cf222e; color: #fff; padding: 7px 14px; border-radius: 999px;
}
@media (max-width: 720px) { .pain-alert { flex-wrap: wrap; gap: 14px; } .pain-alert .pa-tag { margin-left: 0; } }

/* Illustrated feature cards — the two sharpest, most visual pains */
.pain-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.pfeat {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; box-shadow: 0 2px 14px rgba(16,42,86,.05);
    transition: transform .18s ease, box-shadow .2s ease;
}
.pfeat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pfeat.cat-feat { border-left: 3px solid #7a4bd0; }
.pfeat.warn-feat { border-left: 3px solid #cf222e; }
.pfeat-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.pfeat-ico { flex: 0 0 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; }
.cat-feat .pfeat-ico { background: #f2e9fd; color: #7a4bd0; }
.warn-feat .pfeat-ico { background: #ffe3e0; color: #cf222e; }
.pfeat-head b { font-size: 18px; color: var(--ink); line-height: 1.25; }
.pfeat-tag { margin-left: auto; align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; padding: 6px 12px; border-radius: 999px; }
.cat-feat .pfeat-tag { background: #f2e9fd; color: #7a4bd0; }
.warn-feat .pfeat-tag { background: #cf222e; color: #fff; }
.pfeat > p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.pfeat-visual { margin-top: auto; }

/* dark console mock (shared by catalog + job log) */
.mock { background: #0f2033; border-radius: 12px; padding: 14px 16px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.mock-search { display: flex; align-items: center; gap: 8px; background: #1b3350; border: 1px solid #2b4a6e; border-radius: 8px; padding: 7px 11px; font-size: 12.5px; color: #9fb6d6; margin-bottom: 11px; }
.mock-search span { color: #5f7ea8; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #cbd8ea; padding: 4px 0; }
.mock-row code { color: #8fb8ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .huh { color: #e3b341; font-weight: 700; flex: 0 0 auto; }
.mock-note { font-size: 12px; color: #e3b341; margin-top: 9px; }
.job-t { color: #6b86ad; margin-right: 8px; }
.job-fail { color: #ff8b80; font-weight: 700; }
@media (max-width: 720px) { .pain-features { grid-template-columns: 1fr; } }

/* Chaos diagram — "this is you right now" */
.chaos-wrap { max-width: 960px; margin: 8px auto 40px; }
.chaos { width: 100%; height: auto; display: block; }
.problem-hook { text-align: center; font-size: clamp(19px, 2.3vw, 24px); font-weight: 800; letter-spacing: -.01em; color: var(--navy); margin: 0 0 32px; }
.problem-hook span { color: #cf222e; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pain-grid { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 4px; }
.stat .num { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.stat .lbl { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 6px; }

/* Outcomes — modern before → after transformation cards */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.otc {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
    padding: 24px 22px 26px;
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.otc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6ea8ff, #b98bff); }
.otc:hover { transform: translateY(-6px); border-color: rgba(143,186,255,.5); box-shadow: 0 22px 46px rgba(0,10,30,.42); }
.otc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(143,186,255,.16); color: #bcd6ff; margin-bottom: 18px; }
.otc-ico svg { width: 22px; height: 22px; }
.otc-from { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.4; margin: 0 0 14px; }
.otc-x { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,90,90,.2); color: #ff8b80; display: grid; place-items: center; margin-top: 1px; }
.otc-x svg { width: 10px; height: 10px; }
.otc-from s { text-decoration: none; }
.otc-to { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: #fff; font-size: 16.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.otc-check { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #1f9d57; color: #fff; display: grid; place-items: center; margin-top: 1px; }
.otc-check svg { width: 12px; height: 12px; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .outcomes { grid-template-columns: 1fr; } }

/* Capability cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card .c-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 16px; }

/* Explorer tabs (by role / industry) */
.explorer { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.exp-tabs { display: flex; flex-direction: column; gap: 6px; }
.exp-tab { text-align: left; padding: 16px 18px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--ink-2); transition: .15s; display: flex; align-items: center; gap: 12px; }
.exp-tab:hover { background: #fff; }
.exp-tab.active { background: #fff; border-color: var(--border); box-shadow: var(--shadow-sm); color: var(--navy); }
.exp-tab .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--grad); opacity: .35; }
.exp-tab.active .dot { opacity: 1; }
.exp-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); display: none; }
.exp-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.exp-panel h3 { font-size: 26px; margin-bottom: 14px; }
.exp-panel p { color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.exp-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.exp-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.exp-list svg { flex: 0 0 20px; color: var(--blue); margin-top: 3px; }

/* Insights / research cards */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .18s ease, box-shadow .2s; display: flex; flex-direction: column; }
.insight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight .ins-top { height: 128px; background: var(--navy); position: relative; }
.insight .ins-top.v2 { background: var(--blue); }
.insight .ins-top.v3 { background: linear-gradient(120deg, #002856 40%, #1063c6); }
.insight .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em; }
.insight .ins-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.insight h3 { font-size: 19px; margin-bottom: 10px; }
.insight p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.insight .ins-meta { margin-top: auto; font-size: 13px; color: var(--muted); display: flex; gap: 12px; }
/* featured (wide) insight card */
.insight-feature { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 280px; }
.insight-feature .ins-top { height: auto; min-height: 220px; }
@media (max-width: 720px) {
    .insight-feature { grid-template-columns: 1fr; min-height: 0; }
    .insight-feature .ins-top { min-height: 130px; }
}

/* Spotlight (lifecycle) */
.spotlight .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spot-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.spot-steps li { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.spot-steps .n { flex: 0 0 30px; height: 30px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.spot-steps b { display: block; color: var(--navy); }
.spot-steps span { font-size: 14px; color: var(--muted); }
.spot-art { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Active nav link */
.nav-link.active-nav { color: var(--navy); font-weight: 700; }
.nav-link.active-nav::after { content: ""; display: block; height: 2px; background: var(--blue); border-radius: 2px; margin-top: 3px; }

/* ==========================================================================
   End-to-end journey timeline
   ========================================================================== */
.journey { position: relative; margin-top: 20px; }
.journey-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; }
.journey-steps::before {
    content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
    background: linear-gradient(90deg, var(--blue), rgba(16,99,198,.25));
}
.jstep { text-align: center; position: relative; padding: 0 4px; }
.jnode {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
    display: grid; place-items: center; font-size: 22px; position: relative; z-index: 1;
    background: #fff; border: 2px solid var(--blue); color: var(--blue);
    box-shadow: 0 6px 16px -8px rgba(16,99,198,.5);
}
.jstep.is-live .jnode { background: var(--blue); color: #fff; }
.jstep .jnum { position: absolute; top: -6px; right: calc(50% - 40px); width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; z-index: 2; }
.jstep h4 { font-size: 16px; margin-bottom: 6px; }
.jstep p { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin: 0; }

/* Collaboration layer band */
.collab {
    margin-top: 40px; background: var(--navy); border-radius: 20px;
    padding: 32px 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.collab::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 100% 0%, rgba(16,99,198,.35), transparent 60%); pointer-events: none; }
.collab-copy { position: relative; z-index: 1; flex: 1 1 260px; }
.collab-copy h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.collab-copy p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; }
.collab-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; flex: 2 1 400px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    color: #fff; font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 999px;
}
.chip .cdot { width: 7px; height: 7px; border-radius: 50%; background: #7fb0ff; }

/* Maturity meter — steps raise the score to 100% */
.mb { margin-top: 34px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.mb-copy { flex: 1 1 280px; }
.mb-copy b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.mb-copy span { color: var(--muted); font-size: 14px; }
.mb-meter { flex: 2 1 380px; }
.mb-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.mb-head span { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.mb-val { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1; }
.mb-val i { font-size: 13px; font-weight: 700; font-style: normal; color: var(--muted); margin-left: 1px; }
.mb-track { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mb-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1063c6, #0b4c9c); }
.mb-scale { display: flex; justify-content: space-between; margin-top: 9px; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .03em; }
.mb-inputs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.mb-in { font-size: 11.5px; font-weight: 700; color: var(--navy); background: #eef4fc; border: 1px solid #d7e4f7; border-radius: 999px; padding: 5px 11px; display: inline-flex; align-items: center; gap: 6px; }
.mb-in::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.mb-in.cert::before { background: #e3b341; }

@media (max-width: 980px) {
    .journey-steps { grid-template-columns: 1fr; gap: 0; }
    .journey-steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), rgba(16,99,198,.25)); }
    .jstep { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 3px; text-align: left; padding: 14px 0; align-items: start; }
    .jnode { margin: 0; grid-column: 1; grid-row: 1 / span 2; }
    .jstep h4 { grid-column: 2; grid-row: 1; margin: 4px 0 0; }
    .jstep p { grid-column: 2; grid-row: 2; }
    .jstep .jnum { right: auto; left: 38px; top: -2px; }
}

/* ==========================================================================
   Live monitoring status panel
   ========================================================================== */
.monitor { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mon-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mon-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.mon-head .mh-dot { width: 10px; height: 10px; border-radius: 50%; background: #cf222e; box-shadow: 0 0 0 4px rgba(207,34,46,.15); }
.mon-head b { font-size: 15.5px; color: var(--navy); }
.mon-head .mh-badge { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: #ffebe9; color: #cf222e; }
.mon-body { padding: 8px 20px 20px; }
.mon-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--surface-2); }
.mon-row:last-child { border-bottom: 0; }
.mon-time { flex: 0 0 52px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 1px; }
.mon-ico { flex: 0 0 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; }
.mon-ico.auto, .mon-ico.warn { background: #fff8c5; color: #9a6700; }
.mon-ico.ppl { background: #ddf4ff; color: var(--blue); }
.mon-ico.ok { background: #dafbe1; color: #1a7f37; }
.mon-ico.fail { background: #ffebe9; color: #cf222e; }
.mon-main { flex: 1; min-width: 0; }
.mon-row b { display: block; font-size: 14px; color: var(--ink); }
.mon-row span { font-size: 13px; color: var(--muted); }
.mon-stat { align-self: center; margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.mon-stat.fail { background: #ffebe9; color: #cf222e; }
.mon-stat.warn { background: #fff8c5; color: #9a6700; }
.mon-stat.info { background: #ddf4ff; color: var(--blue); }
.mon-stat.ok { background: #dafbe1; color: #1a7f37; }
.mon-foot { padding: 14px 20px; background: var(--surface); font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }

/* metrics strip integrated into the panel header */
.mon-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--navy); }
.mon-strip .ms { text-align: center; padding: 13px 6px 12px; position: relative; }
.mon-strip .ms + .ms::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: rgba(255,255,255,.14); }
.ms-val { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; }
.ms-val.bad { color: #ff8b80; }
.ms-val.warn { color: #ffd257; }
.ms-val.good { color: #6ee7a0; }
.ms-lbl { font-size: 10.5px; color: rgba(255,255,255,.72); margin-top: 6px; letter-spacing: .01em; line-height: 1.25; }
@media (max-width: 980px) { .monitor { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Monitoring metric tiles
   ========================================================================== */
.mon-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.metric { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); text-align: center; }
.metric .m-val { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.metric .m-lbl { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.metric.bad .m-val { color: #cf222e; }
.metric.warn .m-val { color: #9a6700; }
.metric.good .m-val { color: #1a7f37; }
.metric.info .m-val { color: var(--blue); }

/* ============ Supported tools / platforms ============ */
.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.tool {
    display: flex; align-items: center; gap: 13px;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 16px 16px; box-shadow: 0 2px 12px rgba(16,42,86,.04);
    transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcef; }
.tool svg { flex: 0 0 34px; width: 34px; height: 34px; }
.tool .t-name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.tool .t-kind { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.tools-note { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
@media (max-width: 1040px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .tools-grid { grid-template-columns: 1fr; } }

/* Auto-scrolling monochrome logo marquee */
.marquee { position: relative; overflow: hidden; margin-top: 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: tmarquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tlogo { flex: 0 0 auto; display: inline-flex; align-items: center; margin-right: 58px; height: 36px; }
.tlogo img { height: 30px; width: auto; display: block; filter: grayscale(1) brightness(.48) contrast(1.05); opacity: .92; }
.tlogo .t-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: #3d4552; }
@keyframes tmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; transform: none; } }

/* ============ Generative AI section ============ */
.ai-sec { background: linear-gradient(135deg, #06203f 0%, #0b3d86 55%, #1063c6 100%); color: #fff; position: relative; overflow: hidden; }
.ai-sec::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(120,170,255,.28), transparent 68%); pointer-events: none; }
.ai-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.ai-copy h2 { color: #fff; }
.ai-copy > p { color: #c9dcf5; font-size: 17px; line-height: 1.6; max-width: 52ch; }
.ai-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.ai-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #e7f0fc; line-height: 1.5; }
.ai-list li .sp { flex: 0 0 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(143,186,255,.2); color: #bcd6ff; font-size: 13px; margin-top: 1px; }
.ai-list li b { color: #fff; font-weight: 700; }

.ai-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 20px; backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(0,10,30,.4); }
.ai-p-head { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #cfe0f8; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 16px; }
.ai-spark { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #6ea8ff, #b98bff); color: #fff; font-size: 14px; }
.ai-msg { border-radius: 13px; padding: 13px 15px; font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.ai-msg.user { background: rgba(255,255,255,.1); color: #eaf2ff; margin-left: 34px; }
.ai-msg.bot { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.ai-msg.bot b { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 9px; }
.ai-lines { display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); }
.ai-lines span { display: flex; align-items: center; gap: 8px; }
.ai-lines span i { color: #1a7f37; font-style: normal; font-weight: 800; }
.ai-cta { display: inline-block; margin-top: 13px; font-size: 13px; font-weight: 700; color: var(--blue); }
.ai-typing { color: var(--muted); font-size: 12px; }

.ai-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 46px; position: relative; z-index: 1; }
.ai-step { font-size: 13px; font-weight: 700; color: #eaf2ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 15px; display: inline-flex; align-items: center; gap: 8px; }
.ai-step::before { content: "✦"; color: #9cc2ff; font-size: 11px; }
@media (max-width: 940px) { .ai-wrap { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 900px) { .mon-metrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .mon-metrics { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Certification ladder (on navy)
   ========================================================================== */
.certify { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.tier {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
    border-top: 3px solid var(--tier); border-radius: 16px; padding: 26px 22px; position: relative;
}
.tier .medal { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: var(--tier); color: #12233a; box-shadow: 0 10px 22px -8px var(--tier); }
.tier .t-badge { position: absolute; top: 20px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.tier h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.tier .t-sub { color: var(--tier); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; display: block; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier li { color: rgba(255,255,255,.82); font-size: 14px; display: flex; gap: 9px; line-height: 1.4; }
.tier li svg { flex: 0 0 15px; margin-top: 4px; color: var(--tier); }
.tier.bronze { --tier: #cd7f32; }
.tier.silver { --tier: #b8bcc9; }
.tier.gold { --tier: #e3b341; }
.tier.platinum { --tier: #8fb8ff; }
@media (max-width: 900px) { .certify { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .certify { grid-template-columns: 1fr; } }

/* ==========================================================================
   Data maturity score
   ========================================================================== */
.maturity { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.score-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.score { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.gauge { width: 150px; height: 150px; margin: 0 auto 14px; position: relative; }
.gauge svg { transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.gauge .g-fill { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge .g-num { position: absolute; inset: 0; display: grid; place-items: center; }
.gauge .g-num b { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.gauge .g-num span { font-size: 12px; color: var(--muted); }
.score b.s-title { display: block; font-size: 16px; color: var(--navy); }
.score span.s-sub { font-size: 13px; color: var(--muted); }
.score .s-tier { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
@media (max-width: 900px) { .maturity { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 560px) { .score-cards { grid-template-columns: 1fr; } }

/* Hero product-window SVG diagram */
.hero-svg { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; display: block; }

/* Data-asset CI/CD pipeline (on navy) */
.pipeline { display: grid; grid-template-columns: 1fr auto 2fr; gap: 24px; align-items: center; margin-bottom: 36px; }
.pipe-node {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px; padding: 22px; text-align: left;
}
.pipe-node.source { background: rgba(16,99,198,.18); border-color: rgba(90,160,255,.45); }
.pipe-node .pn-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; margin-bottom: 14px; background: rgba(255,255,255,.1); color: #fff; }
.pipe-node.source .pn-ico { background: var(--blue); }
.pipe-node b { display: block; color: #fff; font-size: 17px; margin-bottom: 6px; }
.pipe-node span { color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.5; }
.pipe-arrow { color: rgba(255,255,255,.4); position: relative; min-width: 120px; text-align: center; }
.pipe-arrow .pa-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fb0ff; margin-bottom: 8px; }
.pipe-targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pipe-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.pb { display: flex; gap: 14px; }
.pb-ico { flex: 0 0 40px; height: 40px; border-radius: 11px; background: rgba(90,160,255,.2); color: #7fb0ff; display: grid; place-items: center; font-size: 18px; }
.pb b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 4px; }
.pb span { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.5; }
@media (max-width: 1080px) {
    .pipeline { grid-template-columns: 1fr; }
    .pipe-arrow { transform: rotate(90deg); min-width: 0; padding: 10px 0; }
    .pipe-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 620px) { .pipe-targets { grid-template-columns: 1fr; } }

/* Quote band */
.quote { text-align: center; }
.quote blockquote { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; max-width: 20ch; margin: 0 auto; }
.quote .q-mark { font-size: 60px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; font-weight: 800; }
.quote .q-by { margin-top: 26px; color: rgba(255,255,255,.7); font-size: 15px; }
.quote .q-by b { color: #fff; }

/* CTA band */
.ctaband { background: var(--navy); color: #fff; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.ctaband::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(208,159,255,.3), transparent 60%); pointer-events: none; }
.ctaband h2 { font-size: clamp(28px, 3.2vw, 40px); position: relative; }
.ctaband p { color: rgba(255,255,255,.75); margin-top: 12px; font-size: 17px; position: relative; }
.ctaband .cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; position: relative; }

/* ==========================================================================
   Pricing plans
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px 30px; box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan .p-pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan .p-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.plan h3 { font-size: 24px; }
.plan .p-desc { color: var(--muted); font-size: 14.5px; margin: 8px 0 18px; min-height: 42px; line-height: 1.5; }
.plan .p-price { font-size: 19px; font-weight: 800; color: var(--navy); }
.plan .p-price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan > .btn { width: 100%; justify-content: center; margin: 20px 0 24px; }
.plan .p-inc { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.plan li svg { flex: 0 0 18px; color: var(--blue); margin-top: 2px; }
.plan li b { font-weight: 700; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* Lead / demo form */
.lead { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.lead-form { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 10px;
    font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(16,99,198,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.lead-list li { display: flex; gap: 12px; }
.lead-list .li-ico { flex: 0 0 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; font-size: 18px; }
.lead-list b { display: block; color: var(--navy); }
.lead-list span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; gap: 32px; } .field-row { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--surface); }
.news-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.news-form { display: flex; flex-direction: column; gap: 12px; }
.nf-row { display: flex; gap: 12px; }
.news-form input[type="email"] { flex: 1; padding: 14px 18px; border: 1.5px solid var(--border-strong); border-radius: 999px; font-size: 15px; font-family: inherit; }
.news-form input[type="email"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(82,127,255,.15); }
.news-form button[disabled] { opacity: .6; cursor: not-allowed; }
/* honeypot — hidden from real users, catches bots */
.nf-hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nf-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.nf-consent input { margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }
.nf-consent a { color: var(--blue); font-weight: 600; }
.nf-status { font-size: 13.5px; font-weight: 600; margin: 2px 0 0; min-height: 18px; }
.nf-status.ok { color: #1a7f37; }
.nf-status.err { color: #cf222e; }
.news-inner small { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-900); color: rgba(255,255,255,.66); }
.footer .container { padding-block: 64px 30px; }
/* footer subscribe (Brevo) */
.foot-subscribe { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px 28px; margin-bottom: 46px; }
.foot-subscribe .fs-copy h5 { color: #fff; font-size: 19px; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.foot-subscribe .fs-copy p { color: rgba(255,255,255,.66); font-size: 14px; margin: 0; line-height: 1.5; }
.foot-subscribe .sib-form { padding: 0 !important; background: transparent !important; }
.foot-subscribe #sib-container { max-width: none !important; }
@media (max-width: 760px) { .foot-subscribe { grid-template-columns: 1fr; gap: 16px; padding: 22px; } }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.foot-brand img { height: 28px; margin-bottom: 18px; }
.foot-brand p { font-size: 14.5px; max-width: 30ch; line-height: 1.6; }
.foot-social { display: flex; gap: 12px; margin-top: 20px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: .15s; }
.foot-social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.foot-col h5 { color: #fff; font-size: 14px; letter-spacing: .04em; margin: 0 0 16px; font-weight: 700; }
.foot-col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom .fb-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .hero .container, .spotlight .container, .news-inner, .ctaband { grid-template-columns: 1fr; }
    .ctaband .cta-actions { justify-content: flex-start; }
    .explorer { grid-template-columns: 1fr; }
    .exp-tabs { flex-direction: row; overflow-x: auto; }
}
@media (max-width: 900px) {
    .cards, .insights { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-top { grid-template-columns: 1fr 1fr; }
    .nav-primary { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    .hero-visual { order: -1; }
}
@media (max-width: 620px) {
    .cards, .insights, .exp-list { grid-template-columns: 1fr; }
    .section { padding-block: 60px; }
    .ctaband { padding: 34px; }
    .utility .u-region ~ a:not(:last-child) { display: none; }
    .foot-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Mobile navigation drawer (<=900px) ===== */
@media (max-width: 900px) {
    .nav { position: relative; }
    .nav-primary {
        display: none;
        position: absolute; top: calc(100% + 1px); left: 0; right: 0; margin: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg); padding: 12px;
        max-height: calc(100vh - 74px); overflow-y: auto;
    }
    .site-header.nav-open .nav-primary { display: flex; }
    .nav-item { position: static; }
    .nav-item .nav-link { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 16px; }
    /* mega menus expand inline instead of floating */
    .mega {
        position: static; transform: none; opacity: 1; visibility: visible;
        pointer-events: auto; box-shadow: none; border: 0; border-radius: 0;
        min-width: 0; width: auto; padding: 0 0 6px; background: transparent; display: none;
    }
    .nav-item.open .mega { display: block; }
    .mega-grid { grid-template-columns: 1fr; gap: 2px; }
    .mega-col h4 { margin-top: 12px; }
    .mega-link { padding: 10px 12px; }
    .mega-foot { display: none; }
    .nav-search, .nav-actions .btn-outline { display: none; }
    /* hamburger → X */
    .site-header.nav-open .nav-toggle span { background: transparent; }
    .site-header.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
    .site-header.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
    .hero-badge { display: none; }
}
@media (max-width: 480px) {
    .nav-actions .btn-primary { display: none; }
}

/* ===== Small-screen layout polish ===== */
@media (max-width: 560px) {
    .container { padding-inline: 18px; }
    .hero .container { padding-top: 44px; padding-bottom: 52px; gap: 30px; }
    .hero p.lede { font-size: 17px; margin: 18px 0 26px; }
    .hero-cta { gap: 10px; }
    .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
    .hero-badge { display: none; }
    .section { padding-block: 50px; }
    .ms-val { font-size: 17px; }
    .ms-lbl { font-size: 9.5px; }
    .mb { padding: 18px; gap: 16px; }
    .collab { padding: 22px; }
    .quote blockquote { max-width: none; }
    .ai-msg.user { margin-left: 0; }
    .ctaband .cta-actions { flex-direction: column; align-items: stretch; }
    .ctaband .cta-actions .btn { justify-content: center; }
    .foot-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 380px) {
    .mon-strip { grid-template-columns: repeat(2, 1fr); }
    .mon-strip .ms:nth-child(3) { grid-column: span 2; }
}

/* ===== Android / small-screen presentation hardening ===== */
html, body { overflow-x: hidden; }
img, iframe, video { max-width: 100%; }
@media (max-width: 620px) {
    /* live monitoring panel — data-dense, needs breathing room */
    .mon-strip { grid-template-columns: repeat(3, 1fr); }
    .mon-head { padding: 14px; }
    .mon-head b { font-size: 14px; }
    .mon-head .mh-badge { font-size: 10.5px; padding: 3px 9px; }
    .mon-body { padding: 6px 14px 14px; }
    .mon-row { gap: 10px; padding: 11px 0; }
    .mon-row b { font-size: 13.5px; }
    .mon-row span { font-size: 12.5px; }
    .mon-stat { font-size: 10px; padding: 3px 8px; }
    .mon-foot { padding: 12px 14px; font-size: 12px; }
    /* countdown boxes */
    .cd { gap: 8px; }
    .cd-box { min-width: 60px; padding: 10px 6px; }
    .cd-num { font-size: 23px; }
    .cd-lbl { font-size: 9px; letter-spacing: .05em; }
    /* certification ladder + maturity gauges */
    .certify { gap: 14px; }
    .score-cards { gap: 16px; }
    /* keep long mono strings from pushing width */
    .mock { padding: 12px 12px; }
    .mock-row { font-size: 11.5px; }
}
@media (max-width: 400px) {
    .hero h1 { font-size: 29px; }
    .section-head h2, .ctaband h2, .maturity h2, .monitor h2, .ai-copy h2, .collab-copy h3 { font-size: 25px; line-height: 1.2; }
    .mon-strip { grid-template-columns: repeat(2, 1fr); }
    .ms-lbl { font-size: 9px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
