/* ==========================================================================
   FiCapBon — Direction B "Produit moderne"
   Light ground, navy spent on typography, red reserved for one action per view.
   ========================================================================== */

:root {
    /* Brand */
    --navy: #003366;
    --navy-deep: #002244;
    --blue: #0a5c9e;
    --blue-soft: #e4eef7;
    --blue-line: #cfe1f1;
    --red: #e63946;
    --red-dark: #c1121f;

    /* Neutrals — biased cool to sit with the navy */
    --ink: #0b1a2b;
    --ink-2: #22344a;
    --muted: #53637a;
    --faint: #8496a9;
    --rule: #e3eaf2;
    --rule-2: #dde5ee;
    --ground: #f4f7fa;
    --ground-2: #eef3f8;
    --white: #ffffff;

    /* Semantic — separate from the accent */
    --ok: #12664a;
    --ok-bg: #e2f4eb;
    --ok-dot: #16a06e;
    --wait: #6b7a8d;
    --wait-bg: #f1f5f9;
    --err: #b3261e;
    --err-bg: #fdecea;

    /* Elevation */
    --sh-sm: 0 1px 2px rgba(11, 26, 43, .05);
    --sh: 0 1px 2px rgba(11, 26, 43, .05), 0 8px 20px -12px rgba(11, 26, 43, .22);
    --sh-md: 0 2px 4px rgba(11, 26, 43, .06), 0 18px 36px -20px rgba(11, 26, 43, .3);
    --sh-lg: 0 4px 8px rgba(11, 26, 43, .06), 0 30px 60px -28px rgba(11, 26, 43, .38);

    /* Geometry */
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --gutter: 24px;
    --max: 1200px;
    --nav-h: 72px;

    --ease: cubic-bezier(.4, 0, .2, 1);
    --t: .25s var(--ease);

    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

/* ===== Reset ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--ground);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.022em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { flex-shrink: 0; }

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 3000;
    background: var(--navy); color: var(--white);
    padding: 12px 20px; border-radius: var(--r); font-weight: 600;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Layout ============================================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }
.section--ground { background: var(--ground); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, .8); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 62ch; margin-bottom: 40px; display: grid; gap: 12px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.1vw, 34px); font-weight: 750; }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: rgba(255, 255, 255, .72); }

.eyebrow {
    font-family: var(--mono);
    font-size: 11px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--faint);
}
.section--navy .eyebrow { color: rgba(255, 255, 255, .55); }

.head-row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-bottom: 28px;
}
.head-row h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 740; }

.link-arrow { color: var(--blue); font-weight: 650; font-size: 14.5px; display: inline-flex; gap: 7px; align-items: center; }
.link-arrow i { transition: transform var(--t); }
.link-arrow:hover i { transform: translateX(3px); }

/* ===== Buttons =========================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px;
    border-radius: var(--r);
    font-weight: 650; font-size: 14.5px; line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--t), color var(--t), border-color var(--t),
                transform var(--t), box-shadow var(--t);
    text-align: center;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 2px 10px rgba(230, 57, 70, .28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(230, 57, 70, .34); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }

.btn-line { border-color: var(--rule-2); color: var(--ink-2); background: var(--white); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }

.btn-ghost { border-color: rgba(255, 255, 255, .34); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: var(--r-lg); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Navigation ======================================================== */
.navbar {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule);
    transition: box-shadow var(--t);
}
.navbar.is-scrolled { box-shadow: var(--sh); }
.nav-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
    height: var(--nav-h);
    display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 132px; height: 40px; object-fit: contain; object-position: left center; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
    padding: 9px 14px; border-radius: var(--r-sm);
    font-size: 14.5px; font-weight: 550; color: var(--muted);
    transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--navy); background: var(--ground-2); }
.nav-link.is-active { color: var(--navy); font-weight: 650; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
    display: none; width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: var(--r-sm); color: var(--navy); font-size: 19px;
}
.nav-toggle:hover { background: var(--ground-2); }

/* ===== Hero ============================================================== */
.hero { background: var(--ground); padding: 60px 0 54px; }
/* Single centred column: the deployments section below is the page's
   centrepiece, so the hero stays a short introduction to it. */
.hero-grid { max-width: 860px; margin-inline: auto; text-align: center; }
.hero-grid .hero-lede { margin-inline: auto; }
.hero-grid .btn-row, .hero-grid .hero-stats { justify-content: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue); background: var(--blue-soft);
    border: 1px solid var(--blue-line);
    padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(32px, 4.6vw, 50px);
    font-weight: 790; letter-spacing: -.034em; line-height: 1.06;
    margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lede { font-size: 17.5px; color: var(--muted); max-width: 46ch; margin-bottom: 28px; line-height: 1.65; }
.hero .btn-row { margin-bottom: 32px; }

.hero-stats { display: flex; gap: 32px; border-top: 1px solid var(--rule-2); padding-top: 22px; flex-wrap: wrap; }
.hero-stat .v {
    font-size: 24px; font-weight: 760; color: var(--ink);
    letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.hero-stat .k {
    font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 4px;
}

/* ===== Deployments panel ================================================= */
.panel {
    background: var(--white);
    border: 1px solid var(--rule-2);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    overflow: hidden;
}
.panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; border-bottom: 1px solid var(--rule);
}
.panel-head h2, .panel-head .t { font-size: 15px; font-weight: 690; color: var(--ink); letter-spacing: -.01em; }
.panel-head .c { font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.panel-head-txt { display: block; min-width: 0; }
.panel-head-txt .t { display: block; }
/* Every deployment runs the same application, so it is named once, here. */
.panel-sub {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
    font-family: var(--mono); font-size: 11px; font-weight: 600;
    letter-spacing: .05em; color: var(--muted);
}
.panel-sub i { font-size: 10px; color: var(--faint); }

.deploy {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px 14px 17px;
    border-bottom: 1px solid var(--ground-2);
    border-left: 3px solid transparent;
}
.deploy:last-child { border-bottom: 0; }
/* Live deployments carry the weight; the ones still being installed step back. */
.deploy--live { border-left-color: var(--ok-dot); background: var(--white); }
.deploy--wait { background: var(--ground); }
.deploy--wait .deploy-ic, .deploy--wait .deploy-txt { opacity: .82; }

.deploy-ic {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--ground-2); color: var(--navy); font-size: 13px;
}
.deploy--live .deploy-ic { background: var(--blue-soft); color: var(--blue); }

.deploy-txt { flex: 1; min-width: 0; }
/* Plain name/label rows — used by the contact panel */
.deploy-txt .nm { font-size: 14px; font-weight: 620; color: var(--ink-2); }
.deploy-txt .org {
    display: block; font-family: var(--mono); font-size: 11px;
    letter-spacing: .05em; color: var(--faint);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.deploy a.nm:hover { color: var(--blue); text-decoration: underline; }

/* Institute-led rows — deployments panel. The establishment is the headline.
   Names are long, so they wrap rather than ellipsise: the institute is the
   point of the row. Blue picks up the hero's `.hero h1 em`. */
.org-name {
    display: block;
    font-size: 14px; font-weight: 600; color: var(--blue);
    letter-spacing: -.014em; line-height: 1.3; text-wrap: balance;
}
.org-name--link i { font-size: 10px; margin-left: 7px; vertical-align: 1px; }
.deploy-meta {
    display: flex; align-items: center; gap: 7px;
    margin-top: 5px; min-width: 0; flex-wrap: wrap;
}
.org-code {
    flex-shrink: 0;
    font-family: var(--mono); font-size: 9.5px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    padding: 2px 6px; border-radius: var(--r-sm);
    background: var(--ground-2); color: var(--muted);
    border: 1px solid var(--rule-2);
}
.deploy--live .org-code {
    background: var(--navy); color: var(--white); border-color: var(--navy);
}
.access-cue {
    font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    letter-spacing: .04em; color: var(--blue);
}

.deploy-side {
    display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
    flex-shrink: 0;
}

/* The one deployment with a published address: the whole row is the link.
   It has to read as clickable at rest, not only on hover — the stretched
   ::after over the row is what makes the entire strip the click target. */
.deploy--link {
    position: relative;
    background: var(--blue-soft);
    border-left-color: var(--blue);
    cursor: pointer;
    transition: background var(--t);
}
.deploy--link:hover { background: #d8e7f4; }
.deploy--link .deploy-ic { background: var(--white); color: var(--blue); }
.org-name--link::after { content: ''; position: absolute; inset: 0; }
.deploy--link:hover .org-name { text-decoration: underline; }
.org-name--link:focus-visible { outline-offset: 4px; }

.chip {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .06em; padding: 5px 10px; border-radius: 999px;
}
.chip i { width: 5px; height: 5px; border-radius: 50%; }
.chip-on { background: var(--ok-bg); color: var(--ok); }
.chip-on i { background: var(--ok-dot); }
.chip-wait { background: var(--wait-bg); color: var(--wait); }
.chip-wait i { background: #b6c3d1; }

.panel-foot {
    padding: 12px 20px; background: var(--ground);
    border-top: 1px solid var(--rule);
    font-size: 12.5px; color: var(--muted);
    display: flex; gap: 9px; align-items: flex-start;
}
.panel-foot i { color: var(--faint); margin-top: 3px; }

/* ===== Deployments showcase — the homepage centrepiece =================== */
/* Dark band directly under the hero: the heaviest block on the site, and it
   runs straight into the navy stats strip so the two read as one anchor. */
.deploys {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: rgba(255, 255, 255, .78);
    padding: 84px 0 68px;
    scroll-margin-top: var(--nav-h);
}
.deploys .eyebrow { color: rgba(255, 255, 255, .55); display: block; margin-bottom: 10px; }
.deploys h2 {
    color: var(--white);
    font-size: clamp(28px, 3.9vw, 44px); font-weight: 780; letter-spacing: -.032em;
}
.deploys-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 28px; flex-wrap: wrap; margin-bottom: 34px;
}
.deploys-head p {
    color: rgba(255, 255, 255, .68); font-size: 17px; max-width: 52ch; margin-top: 12px;
}
.deploys-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.deploys-app {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 17px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white); font-size: 14.5px; font-weight: 650;
}
.deploys-app i { color: rgba(255, 255, 255, .6); font-size: 13px; }
.deploys-count {
    font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255, 255, 255, .5); white-space: nowrap;
}
.deploys-count b { color: var(--white); font-weight: 700; }

/* The live establishment — bright card on the dark ground, whole card clickable */
.inst-live {
    position: relative;
    display: flex; align-items: center; gap: 24px;
    background: var(--white); border-radius: var(--r-xl);
    padding: 28px 32px; margin-bottom: 16px;
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7);
    transition: transform var(--t), box-shadow var(--t);
}
.inst-live--link { cursor: pointer; }
.inst-live--link:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .75); }
.inst-live-ic {
    width: 66px; height: 66px; border-radius: 18px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft); color: var(--blue); font-size: 26px;
}
.inst-live-txt { flex: 1; min-width: 0; }
.inst-live-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.inst-live-name {
    font-size: clamp(20px, 2.4vw, 30px); font-weight: 750;
    color: var(--blue); letter-spacing: -.028em; line-height: 1.18;
}
.inst-live--link:hover .inst-live-name { text-decoration: underline; }
.inst-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-xl); }
.inst-link:focus-visible { outline-offset: 6px; }

.inst-access {
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
    flex-shrink: 0; text-align: right;
    font-size: 15px; font-weight: 700; color: var(--navy);
}
.inst-access-main { white-space: nowrap; }
.inst-access i { margin-left: 9px; font-size: 12px; }
.inst-live--link:hover .inst-access-main { color: var(--blue); }
.inst-access-sub {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase; color: var(--faint);
}

/* The pipeline — quieter cards, so the live one keeps the eye */
.inst-group-label {
    display: block; margin: 26px 0 14px;
    font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.inst-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.inst-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
    padding: 20px 18px; border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: background var(--t), border-color var(--t);
}
.inst-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .26); }
.inst-ic {
    width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); font-size: 16px;
}
.inst-code {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.inst-live .inst-code {
    color: var(--muted);
    background: var(--ground-2); border: 1px solid var(--rule-2);
    padding: 3px 8px; border-radius: var(--r-sm);
}
.inst-name {
    font-size: 15px; font-weight: 650; color: var(--white);
    line-height: 1.32; letter-spacing: -.016em; margin-bottom: 2px;
}
.inst-card .chip { margin-top: auto; }

.deploys-foot {
    margin-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .55);
    display: flex; gap: 9px; align-items: flex-start;
}
.deploys-foot i { margin-top: 3px; }

/* ===== Cards grid ======================================================== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Solution card */
.sol-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.sol-card:hover { border-color: var(--blue-line); box-shadow: var(--sh-md); transform: translateY(-3px); }
.sol-card-body { padding: 22px 22px 20px; flex: 1; }
.sol-ic {
    width: 40px; height: 40px; border-radius: 9px;
    background: var(--navy); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; margin-bottom: 16px;
}
.sol-card .kicker {
    font-family: var(--mono); font-size: 10px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
    display: block; margin-bottom: 5px;
}
.sol-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.sol-card p { font-size: 14px; color: var(--muted); line-height: 1.62; }
.sol-card-foot {
    border-top: 1px solid var(--ground-2); background: #fafcfe;
    padding: 12px 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sol-card-foot .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.sol-card-foot .go { color: var(--navy); font-weight: 660; font-size: 13.5px; }
.sol-card:hover .go { color: var(--blue); }

.badge-soon {
    display: inline-block; vertical-align: middle;
    font-family: var(--mono); font-size: 9.5px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    background: var(--wait-bg); color: var(--wait);
    padding: 4px 9px; border-radius: 999px;
    white-space: nowrap;
}
.page-header h1 .badge-soon { font-size: 11px; }

/* Wide variant: whatever hangs below the main grid — an announced solution,
   or a production one past the fourth that would otherwise sit alone */
.sol-card--wide { margin-top: 20px; }
.sol-card--wide .sol-card-body { display: flex; gap: 18px; align-items: flex-start; }
.sol-card--wide .sol-ic { margin-bottom: 0; }
.sol-card--wide h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sol-card--wide p { max-width: 70ch; }

/* Checklist preview inside a catalogue card */
.sol-points { display: grid; gap: 6px; margin-top: 14px; }
.sol-points li {
    display: flex; gap: 9px; align-items: flex-start;
    font-size: 13px; color: var(--muted);
}
.sol-points li i { color: var(--ok); font-size: 10px; margin-top: 5px; }

/* Client card */
.client-card {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: var(--r-lg); padding: 24px;
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.client-card:hover { border-color: var(--blue-line); box-shadow: var(--sh); transform: translateY(-3px); }
.client-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.client-ic {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    background: var(--blue-soft); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.client-card .abbr { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); }
.client-card h3 { font-size: 15.5px; font-weight: 690; line-height: 1.35; }
.client-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.client-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11.5px; font-weight: 600; color: var(--navy);
    background: var(--ground-2); padding: 5px 11px; border-radius: 999px;
}

/* Feature / advantage box */
.feature {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: var(--r-lg); padding: 26px;
    transition: border-color var(--t), box-shadow var(--t);
}
.feature:hover { border-color: var(--blue-line); box-shadow: var(--sh); }
.feature-ic {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--blue-soft); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; margin-bottom: 16px;
}
.feature h3 { font-size: 16px; font-weight: 690; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.62; }

/* Service card */
.service { display: flex; flex-direction: column; }
.service ul { display: grid; gap: 7px; margin-top: 14px; }
.service li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.service li i { color: var(--ok); font-size: 11px; margin-top: 5px; }

/* ===== Numbered steps ==================================================== */
.steps { display: grid; gap: 16px; counter-reset: step; max-width: 780px; }
.step {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--white); border: 1px solid var(--rule);
    border-radius: var(--r-lg); padding: 22px 24px;
}
.step-no {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
    background: var(--navy); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 13px; font-weight: 700;
}
.step h3 { font-size: 16px; font-weight: 690; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* ===== Testimonials ====================================================== */
.quote-card {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: var(--r-lg); padding: 26px;
    margin: 0; display: flex; flex-direction: column; gap: 20px;
    transition: border-color var(--t), box-shadow var(--t);
}
.quote-card:hover { border-color: var(--blue-line); box-shadow: var(--sh); }
.quote-card blockquote {
    margin: 0; font-size: 15px; line-height: 1.68; color: var(--ink-2);
    position: relative; padding-top: 26px;
}
.quote-card blockquote::before {
    content: "\201C"; position: absolute; top: -6px; left: -2px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 54px; line-height: 1; color: var(--blue-line);
}
.quote-card figcaption { display: flex; gap: 13px; align-items: center; margin-top: auto; }
.quote-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--navy); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
}
.quote-card figcaption strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 690; }
.quote-role { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ===== Stats strip ======================================================= */
.stats-strip { background: var(--navy-deep); }
.stats-strip .container { padding-top: 0; padding-bottom: 0; }
.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(255, 255, 255, .12);
}
.stat-cell {
    padding: 30px 24px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.stat-cell .v {
    font-size: clamp(26px, 3.4vw, 34px); font-weight: 770; color: var(--white);
    letter-spacing: -.025em; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.stat-cell .k {
    font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255, 255, 255, .58); margin-top: 8px;
}

/* ===== Page header (compact, light) ====================================== */
.page-header {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 56px 0 48px;
}
.page-header .eyebrow { margin-bottom: 12px; display: block; }
.page-header h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 780; letter-spacing: -.03em; margin-bottom: 12px; }
.page-header p { font-size: 17.5px; color: var(--muted); max-width: 62ch; }
.page-header .btn-row { margin-top: 26px; }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--faint); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs i { font-size: 9px; }

/* ===== Solution detail =================================================== */
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.detail-body h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 750; margin-bottom: 16px; }
.detail-body > p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 30px; }

.feature-list { display: grid; gap: 12px; }
.feature-row {
    display: flex; gap: 15px; align-items: flex-start;
    padding: 16px 18px; background: var(--white);
    border: 1px solid var(--rule); border-radius: var(--r);
    transition: border-color var(--t), box-shadow var(--t);
}
.feature-row:hover { border-color: var(--blue-line); box-shadow: var(--sh-sm); }
.feature-row .ic {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    background: var(--blue-soft); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.feature-row h3 { font-size: 15px; font-weight: 680; margin-bottom: 3px; }
.feature-row p { font-size: 13.5px; color: var(--muted); line-height: 1.58; }

.checklist-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; position: sticky; top: calc(var(--nav-h) + 20px); }
.checklist-card ul { padding: 8px 20px 18px; display: grid; gap: 2px; }
.checklist-card li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--ground-2); }
.checklist-card li:last-child { border-bottom: 0; }
.checklist-card li i { color: var(--ok); font-size: 12px; margin-top: 4px; }

/* ===== Team ============================================================== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 860px; }
.team-card {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: var(--r-lg); overflow: hidden;
    display: grid; grid-template-columns: 168px 1fr;
    transition: border-color var(--t), box-shadow var(--t);
}
.team-card:hover { border-color: var(--blue-line); box-shadow: var(--sh-md); }
/* Photo column is sized by the card row, so pin the image to it — height:100%
   alone has no definite parent height to resolve against and collapses. */
.team-photo { background: var(--ground-2); position: relative; }
.team-photo img {
    position: absolute; inset: 0; display: block;
    width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
}
.team-info { padding: 22px 22px 20px; }
.team-info h3 { font-size: 17px; font-weight: 710; margin-bottom: 3px; }
.team-role { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 11px; }
.team-info p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.team-links { display: flex; gap: 9px; }
.team-links a {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--ground-2); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 13px;
    transition: background var(--t), color var(--t);
}
.team-links a:hover { background: var(--navy); color: var(--white); }

/* ===== Forms ============================================================= */
.form-card {
    background: var(--white); border: 1px solid var(--rule);
    border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh);
}
.form-card > h2 { font-size: 20px; font-weight: 720; margin-bottom: 6px; }
.form-card > .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 620; color: var(--ink-2); margin-bottom: 7px; }
.field .req { color: var(--red); }
.field input,
.field select,
.field textarea {
    width: 100%; padding: 12px 14px;
    font-family: inherit; font-size: 15px; color: var(--ink-2);
    background: var(--white);
    border: 1.5px solid var(--rule-2); border-radius: var(--r);
    transition: border-color var(--t), box-shadow var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 92, 158, .14);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--err); }
.field .err { display: block; color: var(--err); font-size: 12.5px; margin-top: 6px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 20px; }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy); }
.consent label { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Honeypot — hidden from people, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Solution picker (demo page) */
.picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.picker-opt { display: block; cursor: pointer; }
.picker-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.picker-opt .box {
    display: flex; gap: 12px; align-items: center;
    padding: 14px 16px; border: 1.5px solid var(--rule-2);
    border-radius: var(--r); transition: border-color var(--t), background var(--t);
}
.picker-opt .box i { color: var(--navy); font-size: 16px; width: 20px; text-align: center; }
.picker-opt .box .t { font-size: 14px; font-weight: 620; color: var(--ink-2); }
.picker-opt:hover .box { border-color: var(--blue-line); }
.picker-opt input:checked + .box { border-color: var(--navy); background: var(--blue-soft); }
.picker-opt input:focus-visible + .box { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ===== Contact modal ===================================================== */
.modal {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    /* An open <dialog> is centred by the UA stylesheet with `margin: auto`
       against inset:0 on all four sides. The global reset above zeroes every
       margin, which pins the dialog to the top-left corner instead — so put
       the auto margin back. */
    margin: auto;
    padding: 0; border: 1px solid var(--rule-2); border-radius: var(--r-xl);
    background: var(--white); color: var(--ink-2);
    box-shadow: var(--sh-lg);
    overflow: auto;
}
.modal::backdrop { background: rgba(11, 26, 43, .55); backdrop-filter: blur(3px); }
/* Set by main.js when showModal() is unavailable: no UA centring and no
   ::backdrop, so both are supplied here. */
.modal.is-fallback {
    position: fixed; z-index: 200;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    margin: 0;
    box-shadow: var(--sh-lg), 0 0 0 100vmax rgba(11, 26, 43, .55);
}
.modal-head {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: flex-start; gap: 16px;
    padding: 24px 26px 18px; background: var(--white);
    border-bottom: 1px solid var(--rule);
}
.modal-head h2 { font-size: 19px; font-weight: 730; margin-bottom: 4px; }
.modal-head p { font-size: 13.5px; color: var(--muted); }
.modal-close {
    margin-left: auto; width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 16px; transition: background var(--t), color var(--t);
}
.modal-close:hover { background: var(--ground-2); color: var(--ink); }
.modal-body { padding: 22px 26px 26px; }

.modal-note {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 12.5px; color: var(--muted); margin-top: 16px;
    padding-top: 16px; border-top: 1px solid var(--rule);
}
.modal-note i { color: var(--faint); margin-top: 3px; }

.form-status { border-radius: var(--r); padding: 13px 16px; font-size: 14px; margin-bottom: 18px; display: none; }
.form-status.is-ok { display: block; background: var(--ok-bg); color: var(--ok); }
.form-status.is-err { display: block; background: var(--err-bg); color: var(--err); }

/* ===== Flash messages ==================================================== */
.flashes {
    position: fixed; top: calc(var(--nav-h) + 16px); right: 16px; z-index: 1200;
    display: grid; gap: 10px; max-width: min(420px, calc(100vw - 32px));
}
.flash {
    display: flex; gap: 11px; align-items: flex-start;
    background: var(--white); border: 1px solid var(--rule);
    border-left: 4px solid var(--ok);
    border-radius: var(--r); padding: 14px 18px;
    box-shadow: var(--sh-md); font-size: 14px;
    animation: slide-in .3s var(--ease);
}
.flash i { color: var(--ok); margin-top: 3px; }
.flash-error { border-left-color: var(--err); }
.flash-error i { color: var(--err); }
@keyframes slide-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ===== CTA band ========================================================== */
.cta {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #004d99);
    color: rgba(255, 255, 255, .82);
    padding: 72px 0;
}
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(24px, 3.2vw, 34px); font-weight: 760; margin-bottom: 14px; }
.cta p { font-size: 17px; line-height: 1.65; margin-bottom: 26px; max-width: 52ch; }
.cta-aside {
    border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .07); padding: 24px;
}
.cta-aside .row { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cta-aside .row:last-child { border-bottom: 0; }
.cta-aside i { color: #f4a261; margin-top: 4px; width: 16px; text-align: center; }
.cta-aside .k { font-size: 11px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cta-aside .v { color: var(--white); font-size: 14.5px; font-weight: 600; }
.cta-aside a.v:hover { text-decoration: underline; }

/* ===== Footer ============================================================ */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .68); padding: 64px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand img { width: 148px; height: 46px; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 34ch; }
.footer h2 {
    font-family: var(--mono); font-size: 10.5px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255, 255, 255, .5); margin-bottom: 18px;
}
.footer ul { display: grid; gap: 11px; }
.footer ul a { font-size: 14px; transition: color var(--t); }
.footer ul a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.footer-contact i { color: #f4a261; margin-top: 5px; width: 15px; text-align: center; font-size: 12px; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
    padding: 22px 0; display: flex; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .48);
}
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

/* ===== Error pages ======================================================= */
.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code { font-family: var(--mono); font-size: 68px; font-weight: 700; color: var(--blue-line); line-height: 1; letter-spacing: -.03em; }
.error-page h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 760; margin: 18px 0 12px; }
.error-page p { color: var(--muted); font-size: 16.5px; max-width: 48ch; margin: 0 auto 28px; }

/* ===== Map =============================================================== */
.map { border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--ground-2); }
.map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ===== Prose (legal page) ================================================ */
.prose { max-width: 68ch; }
.prose h2 { font-size: 20px; font-weight: 710; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15.5px; color: var(--muted); line-height: 1.75; }
.prose p { margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 16px 20px; list-style: disc; }
.prose a { color: var(--blue); text-decoration: underline; }
.todo-note {
    background: #fff8e6; border: 1px solid #f0dcae; border-left: 3px solid #c08a00;
    border-radius: var(--r); padding: 14px 18px; color: #6b5200 !important;
    font-size: 14.5px !important;
}

/* Utilities — used sparingly instead of inline style attributes */
.stack-sm { margin-top: 20px; }
.center-row { justify-content: center; }
.narrow { max-width: 720px; }

/* Fieldset used for the demo solution picker */
fieldset { border: 0; padding: 0; margin: 0 0 4px; }
legend { font-size: 13.5px; font-weight: 620; color: var(--ink-2); margin-bottom: 9px; padding: 0; }

/* ===== Reveal animation ================================================== */
/* Reveal-on-scroll. The hidden state is applied by main.js, and only to
   elements that are still off-screen — never by CSS alone. A blocked, failed
   or slow script must leave every section readable, not blank. */
.reveal.is-hidden { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .inst-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .checklist-card { position: static; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* The nav collapses earlier than the rest of the layout: seven links plus the
   CTA stop fitting on one line below ~1100px. */
@media (max-width: 1100px) {
    .nav-menu {
        position: fixed; inset: var(--nav-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--white); border-bottom: 1px solid var(--rule);
        padding: 16px var(--gutter) 22px; margin: 0;
        box-shadow: var(--sh-md);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: transform var(--t), opacity var(--t), visibility var(--t);
    }
    .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav-link { padding: 12px 14px; font-size: 15.5px; }
    .nav-toggle { display: flex; }
    /* Only the hero/CTA/form buttons go full width — never the navbar CTA */
    .nav-actions .btn { padding: 10px 16px; font-size: 13.5px; }
}

@media (max-width: 900px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; max-width: 520px; }
    .section { padding: 64px 0; }
}

@media (max-width: 720px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .inst-grid { grid-template-columns: repeat(2, 1fr); }
    /* Access affordance moves under the name instead of squeezing it */
    .deploys-head-side { align-items: flex-start; }
    .inst-live { flex-wrap: wrap; gap: 16px 18px; padding: 24px; }
    .inst-live-txt { flex-basis: calc(100% - 84px); }
    .inst-access {
        align-items: flex-start; text-align: left; width: 100%;
        padding-top: 15px; border-top: 1px solid var(--rule);
    }
    .picker, .field-row { grid-template-columns: 1fr; }
    .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; }
    .hero-stats { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .flashes { left: 16px; right: 16px; max-width: none; }
    .team-card { grid-template-columns: 1fr; }
    .team-photo { height: 240px; }
    .form-card { padding: 22px; }
}

@media (max-width: 420px) {
    :root { --gutter: 18px; }
    /* Status + access button drop below the institute name instead of pinching it */
    .deploy { flex-wrap: wrap; row-gap: 10px; }
    .deploy-side {
        flex-direction: row; align-items: center; justify-content: space-between;
        width: 100%; padding-left: 46px;
    }
    .nav-actions .btn span { display: none; }
    .nav-actions .btn { padding: 10px 13px; }
}

/* ===== Motion & print ==================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .reveal, .reveal.is-hidden { opacity: 1; transform: none; }
}

@media print {
    .navbar, .footer, .flashes, .modal, .cta { display: none !important; }
    body { background: #fff; }
}
