/* burofolk.ai. One family, Plus Jakarta Sans (the app's own), heavy and tight for what is
   said, light for what is read. No pictograms but the private AI's spark; the product is
   shown in vector sketches whose colours follow the page's theme. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF; }

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --ink: #0d0f14;
    --text: #23262e;
    --muted: #5f636d;
    --faint: #8b8f99;
    --rule: rgba(13, 15, 20, .09);
    --rule-strong: rgba(13, 15, 20, .18);
    --night: #0b0d12;
    --night-text: #e8e9ee;
    --night-muted: #9a9daa;
    --ok: #15803d;
    --c1: #06b6d4;
    --c2: #8b5cf6;
    --c3: #ec4899;
    --brand: linear-gradient(100deg, #06b6d4 0%, #8b5cf6 52%, #ec4899 100%);
    --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* sketch paint */
    --sk-bg: #f7f8fa;
    --sk-card: #ffffff;
    --sk-paper: #ffffff;
    --sk-edge: rgba(13, 15, 20, .08);
    --sk-edge-strong: rgba(13, 15, 20, .18);
    --sk-wash: rgba(13, 15, 20, .045);
    --sk-sel: rgba(13, 15, 20, .05);
    --sk-onink-mut: #c9ccd4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0d12;
        --bg-soft: #10131a;
        --ink: #f3f4f7;
        --text: #d6d8de;
        --muted: #a1a5b0;
        --faint: #7b7f8a;
        --rule: rgba(243, 244, 247, .10);
        --rule-strong: rgba(243, 244, 247, .22);
        --night: #050608;
        --ok: #4ade80;
        --sk-bg: #10131a;
        --sk-card: #171b23;
        --sk-paper: #1d222b;
        --sk-edge: rgba(243, 244, 247, .09);
        --sk-edge-strong: rgba(243, 244, 247, .2);
        --sk-wash: rgba(243, 244, 247, .07);
        --sk-sel: rgba(243, 244, 247, .06);
        --sk-onink-mut: #4b505c;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; }

/* ---------- Brand bars and the private AI spark ---------- */
.bars { display: inline-flex; flex-direction: column; gap: 2px; width: 18px; flex: none; }
.bars i { display: block; height: 3px; border-radius: 3px; }
.bars i:nth-child(1) { background: var(--c1); width: 80%; margin-left: 10%; }
.bars i:nth-child(2) { background: var(--c2); width: 80%; }
.bars i:nth-child(3) { background: var(--c3); width: 80%; margin-left: 20%; }
.bars-lg { width: 44px; gap: 5px; }
.bars-lg i { height: 7px; border-radius: 7px; }
.spark { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Type ---------- */
.display { font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.05; letter-spacing: -.05em; max-width: 22ch; }
.display em { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.display-sm { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 22ch; }
.title { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.045em; max-width: 24ch; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 60ch; margin-top: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: .84rem; font-weight: 600; line-height: 1.4; color: var(--text); margin-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--faint); margin-bottom: 14px; }
.address { font-weight: 700; color: var(--ink); user-select: all; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: .98rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); }
.btn-ink:disabled { opacity: .6; cursor: progress; }
.btn-line { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: .88rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--c2); outline-offset: 3px; }

/* ---------- Top bar ---------- */
/* The bar is solid: a see-through bar turned grey over the dark bands. */
.top { position: sticky; top: 0; z-index: 10; display: flow-root; min-height: 69px; background: var(--bg); border-bottom: 1px solid var(--rule); transition: background-color .25s ease, border-color .25s ease; }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; transition: box-shadow .2s ease, background-color .2s ease; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.top-nav { display: flex; gap: 4px; margin-left: 4px; }
.top-nav a { text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--ink); }
.lbl-short { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { min-width: 36px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; }
.lang:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 56px; }
.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-text .display { margin: 0 auto; }
.hero-text .lead { margin: 24px auto 36px; }
.sketch { margin: 0; }
.sketch-hero { margin-top: 64px; }
.page-hero { padding: 88px 0 48px; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Sketches ---------- */
.sk { display: block; width: 100%; height: auto; border-radius: 24px; font-family: var(--sans); }
.sk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sk .bg { fill: var(--sk-bg); }
.sk .card { fill: var(--sk-card); }
.sk .paper { fill: var(--sk-paper); stroke: var(--sk-edge-strong); }
.sk .doc { stroke: var(--sk-edge-strong); }
.sk .doc-fold { fill: none; stroke: var(--sk-edge-strong); }
.sk .edge, .sk .edge rect { fill: none; stroke: var(--sk-edge); }
.sk .edge.strong { stroke: var(--sk-edge-strong); }
.sk .rule { stroke: var(--sk-edge); }
.sk .wash { fill: var(--sk-wash); }
.sk .sel { fill: var(--sk-sel); }
.sk .ink { fill: var(--ink); }
.sk .mut { fill: var(--muted); }
.sk .fnt { fill: var(--faint); }
.sk .inkbox { fill: var(--ink); }
.sk .redact { fill: #0d0f14; stroke: var(--sk-edge-strong); stroke-width: 1; }
.sk .onink { fill: var(--bg); }
.sk .onink-fill { fill: var(--bg); }
.sk .onink-mut { fill: var(--sk-onink-mut); }
.sk .ok { fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sk .link { fill: none; stroke: var(--sk-edge-strong); stroke-width: 1.5; }
.sk .ring { fill: var(--sk-card); }
.sk .mono { font-family: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, monospace; }

/* ---------- Facts band ---------- */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact { padding: 28px 24px; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { display: flex; align-items: center; gap: 8px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.2; }
.fact-text { margin-top: 6px; font-size: .9rem; line-height: 1.45; color: var(--muted); }

/* ---------- Chapters ---------- */
.chapter { padding: 112px 0; }
.chapter-soft { background: var(--bg-soft); }
.chapter-tight { padding-top: 24px; }
.section-head { margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }
.chapter .sketch + .points { margin-top: 48px; }

/* uses */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.use { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--rule); border-radius: 18px; text-decoration: none; background: var(--bg); transition: border-color .2s ease, transform .2s ease; }
.use:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.use-name { font-size: 1.08rem; font-weight: 800; letter-spacing: -.025em; color: var(--ink); line-height: 1.3; }
.use-text { font-size: .93rem; line-height: 1.5; color: var(--muted); }

/* one platform instead of five */
.stack { border-top: 1px solid var(--rule-strong); }
.stack-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.stack-head { padding: 22px 0 18px; border-bottom-color: var(--rule-strong); align-items: center; }
.stack-head span { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.035em; color: var(--faint); line-height: 1.3; }
.stack-head .stack-bf { color: var(--ink); }
.stack-row [role="rowheader"] { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); line-height: 1.6; }
.stack-today { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--rule-strong); font-size: 1rem; line-height: 1.5; }
.stack-row .stack-bf[role="cell"] { color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.5; }

/* points */
.points { display: grid; gap: 32px; }
.points-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.point { border-top: 2px solid var(--ink); padding-top: 20px; }
.point h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.point p { margin-top: 10px; font-size: .95rem; line-height: 1.55; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: .7em; }
.faq-item p { padding: 0 40px 24px 0; color: var(--muted); line-height: 1.6; }

/* product chapters */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.chip:hover { border-color: var(--ink); }
.feature-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-bottom: 56px; align-items: start; }
.feature-head:last-child { margin-bottom: 0; }
.facts-list { display: grid; gap: 12px; }
.facts-list li { position: relative; padding-left: 26px; color: var(--text); line-height: 1.55; }
.facts-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 3px; border-radius: 3px; background: var(--brand); }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trust-block { padding: 32px; border: 1px solid var(--rule); border-radius: 20px; display: grid; gap: 18px; align-content: start; }
.trust-block h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.trust-lead { color: var(--muted); line-height: 1.55; }
.roadmap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.roadmap-text { max-width: 62ch; font-size: 1.15rem; line-height: 1.55; color: var(--ink); font-weight: 600; }
.roadmap-ask { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.roadmap-ask p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-direct { margin-top: 28px; color: var(--muted); }
.form-card { padding: 32px; border: 1px solid var(--rule); border-radius: 24px; background: var(--bg); box-shadow: 0 30px 60px -40px rgba(13, 15, 20, .35); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; line-height: 1.5; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--c2); outline: none; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9rem; line-height: 1.5; color: var(--muted); cursor: pointer; position: relative; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent .box { width: 22px; height: 22px; border: 1.5px solid var(--rule-strong); border-radius: 7px; background: var(--bg); display: grid; place-items: center; }
.consent input:checked + .box { background: var(--ink); border-color: var(--ink); }
.consent input:checked + .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: translateY(-1px) rotate(-45deg); }
.consent input:focus-visible + .box { outline: 2px solid var(--c2); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-error { padding: 12px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c3) 45%, transparent); color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.5; }
.sent { display: flex; align-items: center; gap: 14px; min-height: 120px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.sent .check { width: 28px; height: 28px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* closing */
.closing { position: relative; overflow: hidden; padding: 136px 0; text-align: center; background: var(--night); color: var(--night-text); }
.closing::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(35% 45% at 30% 50%, rgba(6, 182, 212, .32), transparent 72%), radial-gradient(35% 45% at 50% 50%, rgba(139, 92, 246, .32), transparent 72%), radial-gradient(35% 45% at 70% 50%, rgba(236, 72, 153, .28), transparent 72%); }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing .display { margin-top: 32px; color: #fff; }
.closing .lead { margin: 22px auto 0; color: var(--night-muted); }
.closing .actions { justify-content: center; margin-top: 40px; }
.closing .btn-ink { background: #fff; color: #0b0d12; }
.closing .btn-ink:hover { background: #e6e7ec; }

/* footer */
.foot { padding: 40px 0 32px; border-top: 1px solid var(--rule); }

/* legal */
.prose { display: grid; gap: 12px; margin-top: 40px; }
.prose h2 { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; }
.prose ul { display: grid; gap: 8px; margin: 0; padding-left: 22px; list-style: disc; }
.prose li { padding-left: 4px; }
.prose p { color: var(--muted); }

/* ---------- Solutions menu ---------- */
/* The nav fills the bar's height, so the pointer goes from "Solutions" into its panel without leaving it. */
.top-nav { align-self: stretch; align-items: stretch; }
.top-nav > a { align-self: center; display: flex; align-items: center; padding: 8px 14px; border-radius: 999px; transition: background-color .15s ease, color .15s ease; }
.top-nav > a:hover, .top-nav > a[aria-current="page"] { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-mega { display: flex; align-items: center; }
.mega { top: calc(100% - 1px); }
.nav-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: none; transition: background-color .15s ease, color .15s ease; font: inherit; color: var(--muted); font-size: .94rem; font-weight: 600; line-height: 1.4; cursor: pointer; }
.nav-btn:hover, .nav-btn[aria-expanded="true"], .nav-btn[data-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.caret { width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-btn[aria-expanded="true"] .caret { transform: translateY(1px) rotate(225deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 40px 60px -40px rgba(13, 15, 20, .28); }
.mega-inner { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, .95fr) minmax(0, .95fr); gap: 36px; padding-top: 32px; padding-bottom: 28px; }
.mega-col-side { padding-left: 32px; border-left: 1px solid var(--rule); }
.mega-head { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--faint); margin-bottom: 12px; }
.mega-list { display: grid; gap: 4px; margin: 0 -14px; }
.mega-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.top-nav .mega-item { white-space: normal; display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; text-decoration: none; transition: background-color .15s ease; }
.mega-item:hover, .mega-item[aria-current="page"] { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.mega-name { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.35; }
.mega-line { font-size: .87rem; color: var(--muted); line-height: 1.45; }
.mega-item-team { padding-top: 9px; padding-bottom: 9px; }
.mega-inner-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.mega-inner-5 .mega-col { padding: 0 20px; }
.mega-inner-5 .mega-col:first-child { padding-left: 0; }
.mega-inner-5 .mega-col-side { padding-left: 20px; }
.mega-head .spark { width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; }
/* The nav's link colour must not reach the buttons its panels hold. */
.top-nav .btn-ink, .top-nav .btn-ink:hover { color: var(--bg); }
.top-nav .btn-line, .top-nav .btn-line:hover { color: var(--ink); }
.mega-foot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--rule); }
.mega-foot p { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.45; }
.mega-foot .spark { width: 18px; height: 18px; }

/* the phone's menu */
.menu-btn { display: none; width: 40px; height: 38px; flex: none; align-items: center; justify-content: center; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-lines { display: grid; gap: 5px; width: 16px; }
.menu-lines i { display: block; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the menu of phones and tablets: a whole screen, above the bar; its head and foot stand still, its body is the ONE scroller */
.sheet { position: fixed; z-index: 40; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.sheet[hidden] { display: none; }
.sheet-head { display: flex; align-items: center; gap: 12px; flex: none; min-height: 68px; border-bottom: 1px solid var(--rule); }
.sheet-head .brand { margin-right: auto; }
.sheet-head .lang { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; }
.sheet-close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--rule-strong); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.sheet-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 0 24px; }
.sheet-group, .sheet-door { border-bottom: 1px solid var(--rule); }
.sheet-group summary, .sheet-door { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; list-style: none; cursor: pointer; text-decoration: none; font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; color: var(--ink); }
.sheet-group summary::-webkit-details-marker { display: none; }
.sheet-chev { width: 10px; height: 10px; flex: none; margin-right: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
.sheet-group[open] .sheet-chev { transform: translateY(3px) rotate(225deg); }
.sheet-go { font-size: 1.1rem; color: var(--faint); }
.sheet-door[aria-current="page"], .sheet-group:has([aria-current="page"]) summary { color: var(--ink); }
.sheet-panel { display: grid; padding: 0 0 20px; }
.sheet-k { margin: 14px 0 4px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--faint); }
.sheet-k:first-child { margin-top: 0; }
.sheet-links { display: grid; grid-template-columns: minmax(0, 1fr); }
.sheet-links a, .sheet-all { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: var(--text); }
.sheet-links a[aria-current="page"], .sheet-all[aria-current="page"] { color: var(--ink); font-weight: 800; }
.sheet-ext { font-size: .85rem; color: var(--faint); }
.sheet-all { margin-top: 10px; font-weight: 700; color: var(--ink); gap: 8px; }
.sheet-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; flex: none; padding-top: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--bg); }
.sheet-foot .btn { justify-content: center; min-height: 48px; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
@media (max-width: 400px) { .sheet-foot .btn-arrow { display: none; } }
/* short names (teams, industries) stand two to a row on a phone; every list does from 560px */
.sheet-links-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
@media (min-width: 560px) { .sheet-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (prefers-reduced-motion: no-preference) {
    .sheet:not([hidden]) { animation: sheet-in .22s cubic-bezier(.2, .7, .2, 1); }
    .sheet-group[open] .sheet-panel { animation: sheet-panel-in .25s ease; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes sheet-panel-in { from { opacity: 0; transform: translateY(-4px); } }
/* Only the phone sheet holds the page still: on a desk, hiding the scrollbar shifted the page under the pointer and made the menu blink. */
@media (max-width: 1000px) { html.menu-open { overflow: hidden; } }

/* ---------- Solution pages ---------- */
.offer-hero { padding: 88px 0 56px; }
.offer-hero .display { max-width: 20ch; }
.offer-actions { margin-top: 36px; }
.kicker-link { text-decoration: none; transition: border-color .2s ease; }
.kicker-link:hover { border-color: var(--rule-strong); }
.kicker-sep { color: var(--faint); margin: 0 -4px; }
.facts-row.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-row.facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-row.facts-4 .fact:nth-child(4) { border-left: 1px solid var(--rule); padding-left: 24px; }
.offer-ai .eyebrow .spark { width: 16px; height: 16px; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cap { padding: 28px; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg); display: grid; gap: 16px; align-content: start; }
.cap h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.cap .facts-list { gap: 10px; }
.cap .facts-list li { font-size: .95rem; line-height: 1.5; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer-card { position: relative; display: grid; gap: 8px; align-content: start; padding: 26px 56px 26px 26px; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.offer-card::after { content: ""; position: absolute; right: 26px; top: 32px; width: 8px; height: 8px; border-top: 1.75px solid var(--faint); border-right: 1.75px solid var(--faint); transform: rotate(45deg); transition: transform .2s ease, border-color .2s ease; }
.offer-card:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.offer-card:hover::after { border-color: var(--ink); transform: translateX(3px) rotate(45deg); }
.offer-kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); line-height: 1.4; }
.offer-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.3; }
.offer-line { font-size: .94rem; color: var(--muted); line-height: 1.5; }
.chapter-last { padding-bottom: 112px; }

/* the platform overview: a group's cards, then its drawing */
.offer-grid + .plat-sketch { margin-top: 48px; }

/* what changes */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain { display: grid; grid-template-rows: auto auto; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg); overflow: hidden; }
.pain-now { padding: 26px 26px 22px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; color: var(--ink); }
.pain-fix { padding: 20px 26px 26px; border-top: 1px dashed var(--rule-strong); color: var(--text); line-height: 1.55; }
.pain-k { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--faint); }
.pain-k-fix { color: var(--ink); }
.pain-k .bars { width: 14px; }

/* ---------- Premium refinements (validated on the Design canvas, 2026-10-25) ---------- */
/* announcement band */
.announce { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 38px; padding: 8px 16px; background: #0d0f14; color: #e8e9ee; font-size: .82rem; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; }
.announce .spark { width: 13px; height: 13px; }
.announce-more { color: #a6a9b4; white-space: nowrap; transition: color .15s ease; }
.announce:hover .announce-more { color: #ffffff; }

/* the bar, condensed on scroll: a floating pill inside the same height */
@media (min-width: 1001px) {
    .top.is-condensed { background: transparent; border-bottom-color: transparent; }
    /* the pill is drawn BEHIND the row, which keeps its exact box: nothing in the bar moves, nothing shifts */
    .top-row { position: relative; }
    .top-row::before { content: ""; position: absolute; inset: 6px 30px 6px 18px; z-index: -1; border-radius: 999px; background: var(--bg); border: 1px solid var(--rule); box-shadow: 0 14px 40px -22px rgba(13, 15, 20, .45); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
    .top.is-condensed .top-row::before { opacity: 1; }
    .top.is-condensed .top-signin, .top.is-condensed .lang { visibility: hidden; }
}

/* buttons */
.btn-arrow { display: inline-block; margin-left: 10px; transition: transform .2s ease; }
.btn-sm .btn-arrow { margin-left: 8px; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-lift { box-shadow: 0 10px 30px -12px rgba(13, 15, 20, .55); }
.btn-light { background: #ffffff; color: #0b0d12; }
.btn-light:hover { background: #e6e7ec; }

/* heroes: a fading dot grid, the pill, the trust line, the framed drawing */
.hero, .offer-hero { position: relative; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 45% at 50% 22%, #000 25%, transparent 75%); mask-image: radial-gradient(60% 45% at 50% 22%, #000 25%, transparent 75%); }
.offer-hero .hero-grid { -webkit-mask-image: radial-gradient(55% 40% at 22% 22%, #000 25%, transparent 75%); mask-image: radial-gradient(55% 40% at 22% 22%, #000 25%, transparent 75%); }
.pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px 5px 5px; margin-bottom: 30px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); box-shadow: 0 6px 24px -14px rgba(13, 15, 20, .35); font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--text); text-decoration: none; transition: border-color .2s ease; }
.pill:hover { border-color: var(--rule-strong); }
.pill-new { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .76rem; font-weight: 700; }
.pill-new .spark { width: 12px; height: 12px; }
.pill-go { color: var(--faint); transition: transform .2s ease, color .2s ease; }
.pill:hover .pill-go { transform: translateX(3px); color: var(--ink); }
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin-top: 26px; font-size: .84rem; font-weight: 600; line-height: 1.4; color: var(--muted); }
.trust-line li { display: inline-flex; align-items: center; gap: 7px; }
.trust-line li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 2px; background: var(--rule-strong); }
.trust-line .spark { width: 13px; height: 13px; }
.sketch-framed { position: relative; }
.sketch-framed::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: -70px; height: 320px; z-index: -1; background: radial-gradient(35% 45% at 30% 50%, rgba(6, 182, 212, .2), transparent 72%), radial-gradient(35% 45% at 50% 50%, rgba(139, 92, 246, .2), transparent 72%), radial-gradient(35% 45% at 70% 50%, rgba(236, 72, 153, .16), transparent 72%); pointer-events: none; }
.sketch-framed .sk { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent), 0 40px 80px -48px rgba(13, 15, 20, .45); }

/* numbered section heads: 01 — EYEBROW */
main { counter-reset: band; }
.chapter .eyebrow::before { counter-increment: band; content: counter(band, decimal-leading-zero); padding-right: 34px; color: var(--ink); background: linear-gradient(var(--rule-strong), var(--rule-strong)) no-repeat right center / 24px 1px; }

/* figures: larger, each underlined by the brand */
.fact-value { font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -.05em; }
.fact-text::before { content: ""; display: block; width: 28px; height: 3px; margin: 10px 0; border-radius: 3px; background: var(--brand); }

/* what changes: two tones, a brand border on hover */
.pain { transition: transform .2s ease, box-shadow .2s ease; }
.pain-now { background: var(--bg-soft); }
.pain-fix { border-top: 0; }
.pain:hover { border-color: transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--brand) border-box; transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(13, 15, 20, .45); }
.pain-rule { display: block; width: 18px; height: 3px; border-radius: 3px; background: var(--brand); }

/* page cards: "Explore" answers the hover */
.offer-card { padding: 26px; }
.offer-card::after { content: none; }
.offer-card:hover { background: color-mix(in srgb, var(--ink) 2%, var(--bg)); box-shadow: 0 20px 40px -30px rgba(13, 15, 20, .4); }
.offer-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .86rem; font-weight: 700; line-height: 1.4; color: var(--faint); transition: color .2s ease; }
.offer-more span { transition: transform .2s ease; }
.offer-card:hover .offer-more { color: var(--ink); }
.offer-card:hover .offer-more span { transform: translateX(3px); }

/* the Platform menu's featured slot */
.mega-inner-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) 224px; }
/* The featured card: a small stage where one real answer floats with its sources, then its name. */
.top-nav .mega-feature { align-self: start; margin-left: 12px; padding: 6px; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg); display: flex; flex-direction: column; text-decoration: none; white-space: normal; box-shadow: 0 18px 40px -30px rgba(13, 15, 20, .35); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.top-nav .mega-feature:hover { border-color: var(--rule-strong); box-shadow: 0 22px 48px -28px rgba(13, 15, 20, .45); transform: translateY(-1px); }
.mf-stage { position: relative; display: block; padding: 14px 10px; border-radius: 13px; overflow: hidden; background: radial-gradient(70% 90% at 0% 0%, rgba(6, 182, 212, .22), transparent 72%), radial-gradient(60% 80% at 55% 0%, rgba(139, 92, 246, .2), transparent 72%), radial-gradient(70% 90% at 100% 100%, rgba(236, 72, 153, .2), transparent 72%), var(--bg-soft); }
.mf-card { display: grid; gap: 8px; padding: 10px 10px 11px; border-radius: 11px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule), 0 12px 26px -18px rgba(13, 15, 20, .5); }
.mf-q { display: flex; align-items: flex-start; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); }
.mf-q .spark { width: 11px; height: 11px; flex: none; margin-top: 2px; }
.mf-a { font-size: .72rem; line-height: 1.45; color: var(--text); }
.mf-a b, .mf-src b { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 3px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule-strong); font-size: .55rem; font-weight: 800; line-height: 1; color: var(--ink); vertical-align: 1px; }
.mf-src { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 8px; border-top: 1px solid var(--rule); }
.mf-src > span { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px 0 4px; white-space: nowrap; border-radius: 999px; background: var(--bg-soft); font-size: .66rem; font-weight: 700; line-height: 1.4; color: var(--muted); }
.mf-src b { margin-left: 0; background: var(--bg); }
.mf-text { display: grid; gap: 4px; padding: 14px 12px 12px; }
.mega-feature-k { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.mega-feature-name { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; color: var(--ink); }
.mf-go { font-weight: 700; transition: transform .2s ease; }
.mega-feature:hover .mf-go { transform: translateX(3px); }
.mega-feature-line { font-size: .78rem; line-height: 1.45; color: var(--muted); }
/* The Platform menu holds six groups: two rows of three beside the featured card, which stands the whole height. */
.mega-inner-6 { grid-template-columns: repeat(3, minmax(0, 1fr)) 224px; column-gap: 24px; row-gap: 26px; }
.mega-inner-6 .mega-col { padding: 0 0 0 24px; }
.mega-inner-6 .mega-col:not(.mega-col-side) { padding-left: 0; }
.mega-inner-6 .mega-col:nth-child(n+4) { padding-top: 22px; border-top: 1px solid var(--rule); }
.mega-inner-6 .mega-item-team { padding-top: 7px; padding-bottom: 7px; }
.mega-inner-6 .mega-feature { grid-column: 4; grid-row: 1 / span 2; margin-left: 0; }
@media (max-width: 1100px) {
    .mega-inner-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mega-inner-6 .mega-list { grid-template-columns: minmax(0, 1fr); }
}

/* footer B: the demo card, the curated index, the language switch */
.foot-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 52px; padding: 36px 40px; border-radius: 24px; background: #0d0f14; border: 1px solid rgba(255, 255, 255, .06); }
.foot-cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 620px; height: 420px; z-index: -1; background: radial-gradient(40% 50% at 30% 50%, rgba(6, 182, 212, .28), transparent 72%), radial-gradient(40% 50% at 60% 50%, rgba(139, 92, 246, .28), transparent 72%), radial-gradient(40% 50% at 85% 50%, rgba(236, 72, 153, .22), transparent 72%); }
.foot-cta-title { font-size: 1.65rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; color: #ffffff; }
.foot-cta-lead { margin-top: 8px; color: #a6a9b4; line-height: 1.5; }
.foot-cta .btn { flex: none; }
.foot-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.3; color: var(--text);  text-decoration: none; transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.foot-chip:hover { border-color: var(--ink); background: var(--bg-soft); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(13, 15, 20, .45); }
.foot-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .foot-chip { transition: none; } .foot-chip:hover { transform: none; } }
.foot-chip .spark { width: 12px; height: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--rule-strong); border-radius: 999px; }
.lang-switch a { padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.4; color: var(--muted); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--bg); }
.lang-switch a[aria-current]:hover { color: var(--bg); }

/* ---------- Narrower screens ---------- */
@media (max-width: 1000px) {
    /* The full nav needs about 1000px in French: below, the menu sheet takes over. */
    .top-nav { display: none; }
    .menu-btn { display: inline-flex; }
}
@media (max-width: 1180px) {
    .top-row { gap: 16px; }
    .top-nav > a, .nav-btn { padding-left: 10px; padding-right: 10px; }
    .top-actions { gap: 8px; }
}
@media (max-width: 360px) {
    /* The language goes to the menu sheet: the bar keeps the mark, the demo and the menu. */
    .top-actions .lang { display: none; }
}
@media (max-width: 1100px) {
    .caps, .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mega-inner-5 .mega-col { padding: 0 12px; }
    .mega-inner-5 .mega-col:first-child { padding-left: 0; }
    .facts-row.facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-row.facts-4 .fact:nth-child(3) { border-left: 0; padding-left: 0; }
    .facts-row.facts-4 .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
    .mega-inner-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .top-nav .mega-feature { display: none; }
    .mega-inner { gap: 28px; }
    .mega-col-side { padding-left: 28px; }
    .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .points-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fact:nth-child(4) { border-left: 0; padding-left: 0; }
    .fact:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 860px) {
    .wrap { padding: 0 24px; }
    .top-nav { display: none; }
    .menu-btn { display: inline-flex; }
    .foot-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
    .offer-hero { padding-top: 56px; }
    .hero { padding-top: 56px; }
    .chapter { padding: 80px 0; }
    /* a drawing fits its column at every width: it scales down, it never scrolls sideways (owner, 2026-10-25: "il ne
       faut jamais avoir à scroller horizontalement") */
    .sketch .sk { border-radius: 18px; }
    .stack-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .stack-head { display: none; }
    .stack-row [role="cell"]::before { content: attr(data-label) " · "; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-decoration: none; display: inline; }
    .pain-grid { grid-template-columns: minmax(0, 1fr); }
    .faq-grid, .feature-head, .contact-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .sketch .sk { border-radius: 14px; }
    .top-row { gap: 12px; }
    .top-signin { display: none; }
    .uses, .points-4, .field-row, .caps, .offer-grid { grid-template-columns: minmax(0, 1fr); }
    .facts-row.facts-3 { grid-template-columns: minmax(0, 1fr); }
    .facts-row.facts-3 .fact { border-left: 0; padding-left: 0; }
    .facts-row.facts-3 .fact + .fact { border-top: 1px solid var(--rule); }
    .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact, .fact:first-child, .fact:nth-child(4) { border-left: 0; padding: 20px 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
    .closing { padding: 96px 0; }
    .form-card { padding: 22px; }
}
@media (max-width: 400px) {
    .top-actions .btn-arrow { display: none; }
    .top-actions { gap: 8px; }
    .lbl-long { display: none; }
    .lbl-short { display: inline; }
}

/* Security and sovereignty: the scorecard. Each dimension asks its two questions, and each one
   is answered by what Burofolk does - a bare check in the answer's colour, never a plate. */
.ss-card { border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); overflow: hidden; }
.ss-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr); }
.ss-row + .ss-row { border-top: 1px solid var(--rule); }
.ss-row > * { padding: 22px 28px; }
.ss-row > * + * { border-left: 1px solid var(--rule); }
.ss-head > * { padding: 26px 28px 22px; }
.ss-head { border-bottom: 1px solid var(--rule-strong); }
.ss-row + .ss-row.ss-head { border-top: 0; }
.ss-col { display: grid; gap: 4px; }
.ss-col-k { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); line-height: 1.6; }
.ss-col-h { font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.25; }
.ss-dim { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); line-height: 1.6; padding-top: 25px; }
.ss-cell { display: grid; gap: 8px; align-content: start; }
.ss-q { font-size: .88rem; color: var(--muted); line-height: 1.45; }
/* an answer is a plain line in ink; in a list, a hairline parts the lines - never a tick */
.ss-a { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
li.ss-a + li.ss-a { padding-top: 10px; border-top: 1px solid var(--rule); }
.ss-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 28px; }
.ss-foot p { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.5; }
.ss-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.ss-block { padding: 32px; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg); display: grid; gap: 18px; align-content: start; }
.ss-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.3; }
.ss-block .trust-lead { margin: 0; }
.chapter .ss-blocks + .sketch { margin-top: 48px; }
/* The promise every offer page closes on: one band, both halves, a door to the page. */
.ss-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 36px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); }
.ss-band-head { display: grid; gap: 14px; justify-items: start; }
.ss-band-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.25; }
.ss-band ul { display: grid; gap: 10px; }
.ss-band .ss-col-k { margin-bottom: 4px; }
@media (max-width: 1000px) {
    .ss-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ss-band-head { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .ss-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ss-row > .ss-dim { grid-column: 1 / -1; padding: 20px 22px 0; }
    .ss-row > * { padding: 14px 22px 20px; }
    .ss-row > .ss-cell { border-left: 0; }
    .ss-row > .ss-cell + .ss-cell { border-left: 1px solid var(--rule); }
    .ss-head > .ss-dim { display: none; }
    .ss-head > * { padding: 22px; }
    .ss-head > .ss-col + .ss-col { border-left: 1px solid var(--rule); }
    .ss-blocks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .ss-row { grid-template-columns: minmax(0, 1fr); }
    .ss-row > .ss-cell + .ss-cell { border-left: 0; padding-top: 0; }
    .ss-head { display: none; }
    .ss-q::before { content: attr(data-side) " · "; font-weight: 700; color: var(--faint); }
    .ss-band { grid-template-columns: minmax(0, 1fr); padding: 24px; }
    .ss-block { padding: 24px; }
}
.chapter-band { padding: 72px 0; }
.chapter-soft .ss-band { background: var(--bg); }
.ss-band .eyebrow { margin-bottom: 0; }
@media (max-width: 860px) { .chapter-band { padding: 56px 0; } }
/* A long menu word keeps a short form for a tight bar; the full name rides the tooltip. */
.top-nav .nav-short { display: none; }
@media (max-width: 1180px) {
    .top-nav .nav-long { display: none; }
    .top-nav .nav-short { display: inline; }
}
/* Where Burofolk comes from, and the network it belongs to: two flags and the Hub France IA mark. */


/* The Solutions hub. */
.hub-hero .lead { max-width: 64ch; }
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hub-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .86rem; font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none; transition: background .15s ease; }
.hub-jump a:hover { background: var(--bg-soft); }
.hub-jump a span { color: var(--faint); }
.hub-k { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; color: var(--faint); }
.hub-k .spark { width: 13px; height: 13px; }
/* the team switcher: tabs, then every panel stacked in one cell, the tallest setting the height */
.hub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hub-tabs [role="tab"] { min-height: 40px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--bg); font: inherit; font-size: .92rem; font-weight: 700; line-height: 1.3; color: var(--muted); cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.hub-tabs [role="tab"]:hover { color: var(--ink); }
.hub-tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.hub-panels { display: grid; padding: 36px; border: 1px solid var(--rule); border-radius: 24px; background: var(--bg); box-shadow: 0 30px 60px -48px rgba(13, 15, 20, .45); }
.hub-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; visibility: hidden; opacity: 0; transition: opacity .2s ease; }
.hub-panel[data-active="true"] { visibility: visible; opacity: 1; }
.hub-panel-text { display: grid; gap: 14px; align-content: start; justify-items: start; }
.hub-panel-text h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; color: var(--ink); margin-bottom: 6px; }
.hub-panel-text h3 em { font-style: normal; color: var(--muted); }
.hub-replaces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.hub-replaces .hub-k { margin-right: 4px; }
.hub-replaces s { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--bg-soft); font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--muted); text-decoration-color: var(--rule-strong); }
.hub-outcomes { display: grid; gap: 8px; margin-bottom: 8px; }
.hub-agents { display: grid; gap: 10px; width: 100%; margin-bottom: 12px; }
.hub-agents li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); }
.hub-agents strong { font-size: .92rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.hub-agents span { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.hub-panel-art { margin: 0; border-radius: 18px; overflow: hidden; }
.hub-panel-art .sk { display: block; width: 100%; height: auto; }
/* by need: a glimpse of each solution's drawing over its name */
.hub-needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hub-need { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; background: var(--bg); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hub-need:hover { border-color: var(--rule-strong); box-shadow: 0 24px 48px -36px rgba(13, 15, 20, .5); transform: translateY(-2px); }
.hub-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg-soft); pointer-events: none; }
.hub-thumb .sk { display: block; width: 180%; height: auto; transform-origin: 0 0; }
.hub-need-text { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px; }
/* every building block */
.hub-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-wall-group { display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg); }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--text); text-decoration: none; }
.hub-chip-link { border-color: var(--rule-strong); color: var(--ink); font-weight: 700; transition: background .15s ease; }
.hub-chip-link:hover { background: var(--bg-soft); }
.hub-chip-link span { color: var(--faint); }
/* by industry: editorial rows */
.hub-sectors { border-top: 1px solid var(--rule-strong); }
.hub-sector { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) 32px; gap: 32px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background .15s ease; }
.hub-sector:hover { background: var(--bg-soft); }
.hub-sector-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; color: var(--ink); }
.hub-sector-line { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.hub-sector-go { justify-self: end; font-size: 1.2rem; font-weight: 700; color: var(--ink); transition: transform .2s ease; }
.hub-sector:hover .hub-sector-go { transform: translateX(4px); }
@media (max-width: 1100px) {
    .hub-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hub-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hub-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hub-panels { padding: 24px; }
}
@media (max-width: 600px) {
    .hub-needs, .hub-wall { grid-template-columns: minmax(0, 1fr); }
    .hub-sector { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; padding: 20px 4px; }
    .hub-sector-line { grid-column: 1; grid-row: 2; }
    .hub-sector-go { grid-column: 2; grid-row: 1 / span 2; }
    .hub-panels { padding: 18px; }
    .hub-wall-group { padding: 20px; }
}

/* The company page. */
.facts-row.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.co-statement { padding: 36px; border: 1px solid var(--rule); border-radius: 24px; background: var(--bg); position: relative; overflow: hidden; }
.co-statement::after { content: ""; position: absolute; left: 36px; top: 0; width: 64px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
.co-big { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.4; color: var(--ink); }
.co-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.co-group { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.co-facts { display: grid; gap: 14px; padding: 32px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg-soft); }
.co-facts .ss-a { font-size: 1.02rem; }
@media (max-width: 1000px) { .facts-row.facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts-row.facts-4 .fact:nth-child(3) { border-left: 0; padding-left: 0; } .facts-row.facts-4 .fact:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 860px) { .co-statements, .co-group { grid-template-columns: minmax(0, 1fr); gap: 24px; } .co-statement { padding: 26px; } .co-big { font-size: 1.25rem; } }

/* The cookie note: a small card in a corner, over the page, never pushing anything. */
.cookie-note { position: fixed; z-index: 20; left: 24px; bottom: 24px; width: min(360px, calc(100vw - 32px)); padding: 20px 20px 18px; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg); box-shadow: 0 24px 60px -28px rgba(13, 15, 20, .45); opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.cookie-note.is-in { opacity: 1; transform: none; }
.cookie-title { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); }
.cookie-text { margin-top: 6px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.cookie-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.cookie-more { font-size: .86rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cookie-more:hover { color: var(--ink); }
@media (max-width: 600px) { .cookie-note { left: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .cookie-note { transition: none; } }

/* The Company menu: who we are and how to reach us, then the group. */
.mega-inner-co { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mega-ext { margin-left: 6px; font-size: .85em; color: var(--faint); }

/* The logo on hover: the mark tilts and its three bars square up one after another, like a stack of documents
   falling into place, then a light in the brand's colours sweeps once across the name. */
.logo-mark rect { transform-box: fill-box; }
/* each bar slides out and back in turn: a wave that always comes home to the true mark, never a skewed or
   scattered logo left standing under the pointer */
.brand:hover .logo-mark rect, .brand:focus-visible .logo-mark rect { animation: logo-wave .6s cubic-bezier(.34, 1.56, .64, 1) both; }
.brand:hover .logo-mark rect:nth-child(2), .brand:focus-visible .logo-mark rect:nth-child(2) { animation-delay: 70ms; }
.brand:hover .logo-mark rect:nth-child(3), .brand:focus-visible .logo-mark rect:nth-child(3) { animation-delay: 140ms; }
@keyframes logo-wave { 0%, 100% { transform: none; } 45% { transform: translateX(14%); } }
.brand > span:last-child { background: linear-gradient(100deg, var(--ink) 0 38%, #06b6d4 45%, #8b5cf6 50%, #ec4899 55%, var(--ink) 62% 100%) 100% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover > span:last-child, .brand:focus-visible > span:last-child { animation: brand-shine .9s .12s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes brand-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
    .brand:hover .logo-mark rect, .brand:focus-visible .logo-mark rect { animation: none; }
    .brand:hover > span:last-child { animation: none; }
}

/* The announcement can be closed; a closed one stays closed (set before the first paint, so nothing jumps). */
.announce-bar { position: relative; background: #0d0f14; }
.announce-bar .announce { padding-left: 48px; padding-right: 48px; }
.announce-closed .announce-bar { display: none; }
.announce-close { position: absolute; right: 12px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border: 0; border-radius: 14px; background: transparent; color: #a6a9b4; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.announce-close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.announce-close:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }
.announce-close:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* The home flow: a soft highlight follows one document at a time down the rows (76 user units apart). */
.sk .sk-follow { animation: sk-follow 15s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes sk-follow {
    0%, 16% { transform: translateY(0); }
    20%, 36% { transform: translateY(76px); }
    40%, 56% { transform: translateY(152px); }
    60%, 76% { transform: translateY(228px); }
    80%, 96% { transform: translateY(304px); }
    100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .sk .sk-follow { animation: none; transform: translateY(152px); } }

/* the key figures as benefits: a small word, the benefit, the brand underline, its proof */
.facts-benefits .fact-k { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--faint); margin-bottom: 8px; }
.facts-benefits .fact-value { display: block; font-size: clamp(1.2rem, 1.7vw, 1.45rem); letter-spacing: -.035em; line-height: 1.25; text-wrap: balance; hyphens: none; }
.facts-benefits .fact-value::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--brand); }

/* the home page's six blocks (owner, 2026-10-25): customers under the hero, five tools become one, the team and its
   agents beside their drawing, then trust - a customer's words, what the reader gains, security and sovereignty */
.logos { margin-top: 64px; display: grid; justify-items: center; gap: 20px; }
.logos-k { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--faint); }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.logos-row img { display: block; height: 28px; width: auto; opacity: .7; filter: grayscale(1); }
:root[data-theme="dark"] .logos-row img { filter: grayscale(1) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logos-row img { filter: grayscale(1) invert(1); } }

.five { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; max-width: 980px; margin: 0 auto; }
.five-side { display: grid; gap: 14px; }
.five-k { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--faint); }
.five-tools { display: grid; gap: 10px; }
.five-tools li { padding: 13px 18px; border: 1px dashed var(--rule-strong); border-radius: 14px; font-size: .98rem; font-weight: 600; line-height: 1.4; color: var(--muted); }
.five-tools li:nth-child(even) { margin-left: 18px; }
.five-arrow { position: relative; justify-self: center; width: 48px; height: 2px; border-radius: 2px; background: var(--rule-strong); }
.five-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--rule-strong); border-right: 2px solid var(--rule-strong); transform: rotate(45deg); }
.five-one { padding: 22px 24px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); box-shadow: 0 30px 60px -44px rgba(13, 15, 20, .45); }
.five-brand { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; color: var(--ink); }
.five-one ul { display: grid; }
.five-one li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; color: var(--ink); }

.agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.agents .section-head { margin-bottom: 32px; }
.agents-points { display: grid; gap: 0; }
.agents-points li { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--rule); }
.agents-points strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); }
.agents-point-text { font-size: .95rem; line-height: 1.5; color: var(--muted); }
.agents-sketch { margin: 0; }

#trust .quote { max-width: 860px; margin: 0 0 48px; }
.quote blockquote { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.35; color: var(--ink); }
.quote figcaption { margin-top: 16px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
#trust .facts-benefits { margin-bottom: 48px; }

@media (max-width: 1000px) {
    .agents { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
    .five { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .five-arrow { width: 2px; height: 36px; }
    .five-arrow::after { right: -4px; top: auto; bottom: 0; transform: rotate(135deg); }
    .five-tools li:nth-child(even) { margin-left: 0; }
}
/* inside the trust block the security band is a part of it, not a chapter of its own: no second number, no second eyebrow */
#trust .ss-band-head .eyebrow { display: none; }
/* the agent alone is narrow enough for a phone: it shrinks with the page instead of scrolling sideways */
@media (max-width: 1000px) { .sketch.agents-sketch { overflow: visible; margin-left: 0; margin-right: 0; padding: 0; } .agents-sketch .sk { min-width: 0; } }

/* a use is a door: its glyph on the neutral plate, its name, one line, and an arrow that leans in on hover */
.use { gap: 6px; padding: 22px 22px 24px; }
.use-go { font-size: 1rem; line-height: 1.3; color: var(--faint); transition: transform .2s ease, color .2s ease; }
.use:hover { box-shadow: 0 24px 48px -36px rgba(13, 15, 20, .4); }
.use:hover .use-go { transform: translateX(3px); color: var(--ink); }

/* a proof: one real moment of the product, said as the product says it - a chip in the promises' grammar, never an
   icon (owner, 2026-10-25: "very personal design"; standard pictos and pastel plates rejected) */
.proof { display: inline-flex; align-items: center; gap: 6px; flex: none; max-width: 100%; padding: 4px 10px; border-radius: 8px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong), 0 6px 14px -10px rgba(13, 15, 20, .35); font-size: .74rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.proof .spark { width: 12px; height: 12px; }
.five-one li { justify-content: space-between; gap: 16px; }
.use-name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.use:hover .use-go { transform: translateX(3px); color: var(--ink); }
/* on the narrowest screens a proof steps under its name rather than pushing the card past the page */
.five-side { min-width: 0; }
.five-one li { flex-wrap: wrap; row-gap: 6px; }

/* the agents' points: one bar of the mark before each title, in its colour, offset as in the logo, so the three
   read down as the Burofolk mark itself */
.agents-points strong { display: flex; align-items: center; gap: 14px; }
.agents-bar { display: block; flex: none; width: 22px; height: 5px; border-radius: 3px; }
.agents-points li:nth-child(1) .agents-bar { background: var(--c1); transform: translateX(2px); }
.agents-points li:nth-child(2) .agents-bar { background: var(--c2); transform: translateX(-1px); }
.agents-points li:nth-child(3) .agents-bar { background: var(--c3); transform: translateX(4px); }
.agents-point-text { padding-left: 36px; }

/* a use's own document in the corner of its card, cut by the card's edge; it lifts a little when the card is pointed */
.use { position: relative; overflow: hidden; padding-bottom: 96px; }
.use-art { position: absolute; right: -6px; bottom: -30px; width: 92px; height: auto; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.use:hover .use-art { transform: translateY(-6px) rotate(-2deg); }
.ua-paper { fill: var(--bg); stroke: var(--rule-strong); stroke-width: 1.4; }
.ua-back { fill: var(--bg-soft); }
.ua-line { fill: none; stroke: var(--rule-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ua-rule { fill: none; stroke: var(--rule); stroke-width: 1.4; }
.ua-box { fill: none; stroke: var(--rule-strong); stroke-width: 1.6; }
.ua-ink { fill: var(--muted); opacity: .55; }
.ua-hand { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }

/* the security and sovereignty band: each column says its verb, each answer is a strong word then its quiet meaning,
   led by a short dash that leans in when the reader points at it; a hairline parts the two columns */
.ss-col { display: grid; align-content: start; }
.ss-col + .ss-col { padding-left: 32px; border-left: 1px solid var(--rule); }
.ss-band .ss-col-k { margin-bottom: 2px; }
.ss-col-verb { margin-bottom: 14px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; color: var(--ink); }
.ss-band ul.ss-list { display: grid; gap: 0; }
.ss-list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--rule); font-size: .98rem; line-height: 1.45; color: var(--muted); }
.ss-list li::before { content: ""; position: absolute; left: 0; top: calc(11px + .72em); width: 10px; height: 2px; border-radius: 2px; background: var(--rule-strong); transition: width .25s ease, background-color .25s ease; }
.ss-list li:hover::before { width: 14px; background: var(--ink); }
.ss-list strong { font-weight: 700; color: var(--ink); }
@media (max-width: 600px) { .ss-col + .ss-col { padding-left: 0; border-left: 0; } }

/* ---------- motion, once and quiet (owner, 2026-10-25) ----------
   Only opacity and transforms move, so nothing shifts. A thing is armed by site.js only while it lies below the
   screen; it plays once as it comes into view. Reduced motion arms nothing and stops what loops. */

/* 1. page switches: one short crossfade, the bar never moves */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; animation-timing-function: ease; }
.top { view-transition-name: site-top; }
::view-transition-group(site-top) { animation-duration: 0s; }

/* 2. quiet reveals: rise 12px and fade in, a list staggered 60ms a card */
.reveal { transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--reveal-i, 0) * 60ms); }
.reveal.is-armed { opacity: 0; transform: translateY(12px); }
.use.reveal, .offer-card.reveal { transition-property: opacity, transform, border-color, box-shadow; }
.use.reveal.is-played, .offer-card.reveal.is-played { transition-delay: calc(var(--reveal-i, 0) * 60ms), calc(var(--reveal-i, 0) * 60ms), 0s, 0s; }

/* 3. drawings that play once */
.story *:not(.reveal) { transition: opacity .5s ease, transform .7s cubic-bezier(.34, 1.4, .64, 1), translate .7s cubic-bezier(.34, 1.4, .64, 1); }
/* one platform: each row lights in turn, its proof sliding in */
.story.is-armed li .proof { opacity: 0; transform: translateX(12px); }
.story li:nth-child(1) .proof { transition-delay: .15s; } .story li:nth-child(2) .proof { transition-delay: .27s; }
.story li:nth-child(3) .proof { transition-delay: .39s; } .story li:nth-child(4) .proof { transition-delay: .51s; }
.story li:nth-child(5) .proof { transition-delay: .63s; }
/* the agents' points: the three bars slide in and settle into the mark */
.story.is-armed .agents-bar { opacity: 0; translate: -18px 0; }
.story li:nth-child(1) .agents-bar { transition-delay: .1s; } .story li:nth-child(2) .agents-bar { transition-delay: .22s; }
.story li:nth-child(3) .agents-bar { transition-delay: .34s; }

/* 4. the living title: the gradient words drift slowly through the three colours */
.display em { background-image: linear-gradient(100deg, #06b6d4 0%, #8b5cf6 26%, #ec4899 50%, #8b5cf6 74%, #06b6d4 100%); background-size: 200% 100%; animation: title-drift 14s ease-in-out infinite alternate; }
@keyframes title-drift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* 5. the light under the pointer on a card */
.use, .offer-card { background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 4%, transparent), transparent 70%); background-size: 100% 100%; background-repeat: no-repeat; background-position: 0 0; background-color: var(--bg); background-blend-mode: normal; }
.use:not(:hover), .offer-card:not(:hover) { background-image: none; }

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    .display em { animation: none; }
    .reveal, .story *:not(.reveal) { transition: none; }
}

/* phones: the announcement says its short line, on one line, its spark beside it */
.announce-short { display: none; }
@media (max-width: 600px) {
    .announce { flex-wrap: nowrap; min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: .8rem; }
    .announce-text, .announce-more { display: none; }
    .announce-short { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
    .announce-bar .announce { padding-left: 16px; padding-right: 44px; justify-content: flex-start; }
}
/* phones: the hero's two acts stand as one column, the full width, centred like the words above them; the language
   lives in the menu's head, so the bar keeps the mark, the demo and the menu */
@media (max-width: 600px) {
    .hero .actions, .offer-hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
    .hero .actions .btn, .offer-hero .actions .btn { justify-content: center; }
    .top-actions .lang { display: none; }
}
/* phones: the five tools of today wrap as a few dashed words; a use is a row with its paper at its right edge, not a
   tall card; the agent's drawing, unreadable at this width, leaves its three points to speak */
@media (max-width: 600px) {
    .five-tools { display: flex; flex-wrap: wrap; gap: 8px; }
    .five-tools li { padding: 8px 12px; border-radius: 10px; font-size: .9rem; }
    .five-tools li:nth-child(even) { margin-left: 0; }
    .five { gap: 14px; }
    .five-arrow { height: 24px; }
    .uses { gap: 10px; }
    .use { padding: 18px 92px 18px 18px; min-height: 0; }
    .use-art { width: 74px; right: -4px; bottom: auto; top: 50%; transform: translateY(-46%); }
    .use:hover .use-art { transform: translateY(-50%) rotate(-2deg); }
    .use-name { font-size: 1rem; }
    .use-go { display: none; }
    .agents-sketch { display: none; }
    .agents .section-head { margin-bottom: 20px; }
}


/* the trust center: six cards of what an IT team checks, then the pack and the vulnerability door */
.tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tc-card { display: grid; align-content: start; gap: 18px; padding: 30px 32px 22px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); }
.tc-k { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--faint); }
.tc-title { margin-top: 6px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.25; color: var(--ink); }
.tc-card .ss-list li:last-child { padding-bottom: 4px; }
.tc-card .ss-list li.is-roadmap strong { color: var(--muted); }
.tc-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px dashed var(--rule-strong); border-radius: 999px; font-size: .7rem; font-weight: 700; line-height: 1.5; color: var(--muted); white-space: nowrap; vertical-align: 1px; }
.tc-ends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tc-end { display: grid; align-content: start; justify-items: start; gap: 12px; padding: 32px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); }
.tc-end .eyebrow { margin: 0; }
.tc-end-h { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.25; color: var(--ink); }
.tc-end-text { margin-bottom: 8px; max-width: 46ch; font-size: 1rem; line-height: 1.55; color: var(--muted); }
#measures { padding-top: 8px; }
@media (max-width: 860px) { .tc-grid, .tc-ends { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .tc-card, .tc-end { padding: 22px 20px 16px; } }
/* the narrowest phones: a long act wraps inside its card rather than running past it */
@media (max-width: 400px) { .tc-end .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; } }

/* the contact page: what happens once the request is sent */
.contact-expect-k { margin-top: 28px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--faint); }
.contact-expect { margin: 8px 0 24px; max-width: 46ch; }
.contact-expect li:last-child { border-bottom: 1px solid var(--rule); }


/* getting started */
.start-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.start-path li { display: grid; align-content: start; gap: 10px; padding: 28px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); }
.start-path h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; color: var(--ink); }
.start-path p { font-size: .98rem; line-height: 1.55; color: var(--muted); }
.start-incl, .start-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.start-incl .section-head, .start-demo .section-head { margin-bottom: 0; }
.start-list li:last-child { border-bottom: 1px solid var(--rule); }
.start-demo .contact-expect { margin-top: 0; }
@media (max-width: 860px) { .start-path, .start-incl, .start-demo { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 600px) { .start-path li { padding: 22px 20px; } }

/* the short door to security on the inner pages */
.ss-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 26px 30px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); }
.ss-link-text { display: grid; gap: 4px; max-width: 64ch; }
.ss-link-h { font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; color: var(--ink); }
.ss-link-t { font-size: .95rem; line-height: 1.5; color: var(--muted); }
.ss-link-go { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .ss-link { padding: 22px 20px; } }

/* the journey's moments: above each step's words, what the product shows at that step, on the sketches' pale
   panel - a paper arriving, two fields read, one mark in ink, a face and its verb, two lines of the log */
/* 1. a paper arrives, cut by the panel's edge, its name beside it */
/* 3. the one thing to check: the only ink mark of the track */
/* 4. a person, round, and the verb they press */
.fa-face { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; color: #fff; font-size: .7rem; font-weight: 800; box-shadow: 0 0 0 3px var(--bg-soft), 0 0 0 4.5px var(--rule-strong); }
.fa-face-0 { background: #7c3aed; } .fa-face-1 { background: #0891b2; } .fa-face-2 { background: #db2777; } .fa-face-3 { background: #059669; }
/* 5. two lines of the log, on one rail */

/* the demo button's card: what happens next, on hover (a short wait, so a passing pointer never opens it) or on
   keyboard focus; a bridge keeps it open on the way down to its link; never on touch */
.cta-pop { position: relative; display: inline-flex; }
.cta-pop-card { position: absolute; z-index: 20; top: calc(100% + 12px); left: 50%; width: max-content; padding: 16px 20px 14px; border: 1px solid var(--rule); border-radius: 18px; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: var(--ink); box-shadow: 0 18px 40px -28px rgba(13, 15, 20, .35); text-align: left; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -6px); transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .22s; }
.cta-pop-card::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.cta-pop-card::after { display: none; }
@media (hover: hover) and (pointer: fine) {
    .cta-pop:hover .cta-pop-card { transition-delay: .25s, .25s, 0s; }
    .cta-pop:hover .cta-pop-card, .cta-pop:focus-within .cta-pop-card { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
    .cta-pop:focus-within .cta-pop-card { transition-delay: 0s; }
}
.cta-pop-go span { transition: transform .2s ease; }
.cta-pop-go:hover span { transform: translateX(3px); }
@media (max-width: 600px) { .cta-pop { display: flex; } .cta-pop .btn { flex: 1; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .cta-pop-card { transition: none; } }
/* the hero is its own layer (isolation): it stands above the chapter after it, so the demo card can reach over it */
.hero { z-index: 2; }
/* where the room below is short, the card opens above its button */
.cta-pop.is-up .cta-pop-card { top: auto; bottom: calc(100% + 12px); transform: translate(-50%, 6px); }
.cta-pop.is-up .cta-pop-card::before { top: auto; bottom: -14px; }
.cta-pop.is-up .cta-pop-card::after { top: auto; bottom: -6px; transform: rotate(225deg); }
@media (hover: hover) and (pointer: fine) { .cta-pop.is-up:hover .cta-pop-card, .cta-pop.is-up:focus-within .cta-pop-card { transform: translate(-50%, 0); } }
/* no hover (touch) or no room (a phone): the card is not there at all, so it never widens the page */
@media (hover: none), (max-width: 600px) { .cta-pop-card { display: none; } }

/* the card says three figures, the way a website does: large, airy, inverted - then its one door */
.cta-pop-figs { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.cta-pop-figs li { display: grid; gap: 4px; }
.cta-pop-figs b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; color: var(--ink); }
.cta-pop-figs span { max-width: 14ch; font-size: .78rem; line-height: 1.35; color: var(--muted); }
.cta-pop-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); width: 100%; font-size: .82rem; font-weight: 700; line-height: 1.4; color: var(--muted); text-decoration: none; white-space: nowrap; }
.cta-pop-go span { transition: transform .2s ease; }
.cta-pop-go:hover span { transform: translateX(3px); }
.cta-pop-go:hover { color: var(--ink); }

/* Home, under the hero: four promises, the picture first (owner, 2026-10-25, direction A). The still state of every
   drawing is its outcome (fields read, the task with its owner, the sources found, the papers inside); the loops play
   only where motion is welcome and only while the card is on screen (site.js marks the others .is-off). */
.promises { padding-top: 32px; }
.promises-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.promises-head .section-head { margin-bottom: 0; }
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pr-card { display: flex; flex-direction: column; padding: 12px 12px 18px; border: 1px solid var(--rule); border-radius: 22px; background: var(--bg); box-shadow: 0 24px 50px -40px rgba(13, 15, 20, .35); }
.pr-art { position: relative; height: 260px; border-radius: 14px; background: var(--bg-soft); overflow: hidden; }
.pr-t { margin: 20px 10px 6px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; color: var(--ink); }
.pr-s { margin: 0 10px; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.pr-chip { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong), 0 8px 18px -12px rgba(13, 15, 20, .35); font-size: .72rem; font-weight: 700; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.pr-chip .spark { width: 12px; height: 12px; flex: none; }
/* 1. the fields fill themselves */
.pr-docbox { position: absolute; left: 50%; top: 0; bottom: 0; width: 224px; transform: translateX(-50%); }
.pr-doc { position: absolute; left: 0; top: 36px; width: 122px; height: 168px; box-sizing: border-box; padding: 16px 13px; border-radius: 9px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong); display: flex; flex-direction: column; gap: 9px; }
.pr-doc i { display: block; height: 4px; width: 82%; border-radius: 2px; background: var(--rule-strong); }
.pr-doc .pr-doc-head { width: 55%; height: 5px; background: var(--faint); }
.pr-doc .pr-short { width: 64%; }
.pr-field { position: relative; display: block; height: 13px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--faint); overflow: hidden; }
.pr-field::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, #8b5cf6 22%, transparent); }
.pr-field-2 { margin-top: auto; }
.pr-scan { position: absolute; left: -4px; top: 40px; width: 130px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #8b5cf6, transparent); opacity: 0; }
.pr-read-1 { left: 92px; top: 58px; }
.pr-read-2 { left: 104px; top: 164px; }
/* 2. a task finds its owner */
.pr-faces { position: absolute; left: 50%; top: 112px; display: flex; transform: translateX(-50%); }
.pr-faces b { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -6px; border-radius: 50%; background: var(--faint); color: #fff; font-size: .68rem; font-weight: 700; box-shadow: 0 0 0 3px var(--bg-soft); opacity: .6; }
.pr-faces b:first-child { margin-left: 0; }
.pr-faces .pr-owner { width: 48px; height: 48px; margin-top: -5px; background: #7c3aed; font-size: .82rem; font-weight: 800; opacity: 1; box-shadow: 0 0 0 3px var(--bg-soft), 0 0 0 5px rgba(124, 58, 237, .3); }
.pr-task { left: 50%; top: 66px; transform: translateX(calc(-50% + 11px)); }
.pr-ask { left: 50%; top: 178px; transform: translateX(-50%); }
/* 3. one search finds every source */
.pr-search { position: absolute; left: 50%; top: 72px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; width: 210px; max-width: calc(100% - 24px); height: 40px; box-sizing: border-box; padding: 0 14px; border-radius: 20px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong); font-size: .78rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; }
.pr-search svg { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.pr-typed { display: inline-block; padding-right: 2px; line-height: 1.4; }
.pr-sources { position: absolute; left: 12px; right: 12px; top: 134px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pr-sources span { padding: 4px 9px; border-radius: 7px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule); font-size: .7rem; font-weight: 700; line-height: 1.4; color: var(--muted); }
/* 4. nothing leaves */
.pr-walls { position: absolute; inset: 40px 26px; border-radius: 18px; border: 1.5px dashed var(--faint); }
.pr-walls b { position: absolute; left: 14px; top: -10px; padding: 0 7px; background: var(--bg-soft); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--muted); }
.pr-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong); }
.pr-core .spark { width: 24px; height: 24px; }
.pr-pg { position: absolute; width: 18px; height: 24px; border-radius: 3px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong); }
.pr-pg-1 { left: 52px; top: 72px; } .pr-pg-2 { right: 54px; top: 66px; } .pr-pg-3 { left: 64px; bottom: 62px; } .pr-pg-4 { right: 66px; bottom: 70px; }

@media (prefers-reduced-motion: no-preference) {
    .pr-field::after { transform-origin: left; animation: pr-fill 7s ease-in-out infinite; }
    .pr-field-2::after { animation-delay: .5s; }
    .pr-scan { animation: pr-scan 7s ease-in-out infinite; }
    .pr-read-1, .pr-read-2 { animation: pr-pop 7s ease-out infinite; }
    .pr-read-2 { animation-delay: .5s; }
    .pr-task { animation: pr-hop 7s cubic-bezier(.5, 0, .3, 1) infinite; }
    .pr-faces .pr-owner { animation: pr-own 7s ease-in-out infinite; }
    .pr-ask { animation: pr-ask 7s ease infinite; }
    .pr-typed { animation: pr-type 7s steps(22) infinite; }
    .pr-sources span { animation: pr-src 7s ease-out infinite; }
    .pr-sources span:nth-child(2) { animation-delay: .12s; } .pr-sources span:nth-child(3) { animation-delay: .24s; }
    .pr-sources span:nth-child(4) { animation-delay: .36s; } .pr-sources span:nth-child(5) { animation-delay: .48s; }
    .pr-pg { animation: pr-float 8s ease-in-out infinite; }
    .pr-pg-2 { animation-delay: -2s; } .pr-pg-3 { animation-delay: -4s; } .pr-pg-4 { animation-delay: -6s; }
    .pr-card.is-off .pr-art *, .pr-card.is-off .pr-art *::after { animation-play-state: paused; }
}
@keyframes pr-fill { 0%, 16% { transform: scaleX(0); } 30%, 88% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes pr-scan { 0%, 4% { opacity: 0; transform: translateY(0); } 9% { opacity: 1; } 34% { opacity: 1; transform: translateY(158px); } 40%, 100% { opacity: 0; transform: translateY(158px); } }
@keyframes pr-pop { 0%, 26% { opacity: 0; transform: translateX(-10px); } 35%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes pr-hop { 0% { transform: translateX(calc(-50% - 64px)); opacity: 0; } 8% { opacity: 1; } 22% { transform: translateX(calc(-50% - 30px)); } 38% { transform: translateX(calc(-50% + 30px)); } 52%, 90% { transform: translateX(calc(-50% + 11px)); opacity: 1; } 100% { transform: translateX(calc(-50% + 11px)); opacity: 0; } }
@keyframes pr-own { 0%, 46% { box-shadow: 0 0 0 3px var(--bg-soft); } 58%, 90% { box-shadow: 0 0 0 3px var(--bg-soft), 0 0 0 5px rgba(124, 58, 237, .3); } 100% { box-shadow: 0 0 0 3px var(--bg-soft); } }
@keyframes pr-ask { 0%, 52% { opacity: 0; } 62%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pr-type { 0%, 6% { clip-path: inset(0 100% 0 0); } 32%, 90% { clip-path: inset(0 0 0 0); } 98%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes pr-src { 0%, 34% { opacity: 0; transform: translateY(-8px); } 42%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes pr-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -8px); } }

@media (max-width: 1239px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pr-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .pr-art { height: 230px; } .pr-t { margin-top: 16px; } }

/* D1 (owner, 2026-10-25, design canvas): the promises are four open pictures, the journey is one path - two shapes
   that never look alike. */

/* the promises: no card frame, the picture is the unit; its words stand under it */
.pr-card { padding: 0; border: 0; background: none; box-shadow: none; }
.pr-art { height: 280px; border-radius: 24px; }
.pr-t { margin: 20px 4px 6px; }
.pr-s { margin: 0 4px; }
/* every drawing stays complete: only a small gesture plays, never an empty picture */
@media (prefers-reduced-motion: no-preference) {
    .pr-field::after, .pr-faces .pr-owner, .pr-ask, .pr-typed { animation: none; }
    .pr-read-1, .pr-read-2 { animation: pr-nudge 7s ease-in-out infinite; }
    .pr-read-2 { animation-delay: .4s; }
    .pr-task { animation: pr-settle 7s cubic-bezier(.5, 0, .3, 1) infinite; }
    .pr-typed::after { animation: pr-blink 1.2s steps(1) infinite; }
    .pr-sources span { animation: pr-glow 7s ease-in-out infinite; }
}
.pr-typed::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--ink); }
@keyframes pr-nudge { 0%, 78%, 100% { transform: none; } 86% { transform: translateX(5px); } }
@keyframes pr-settle { 0%, 66%, 100% { transform: translateX(calc(-50% + 11px)); } 76% { transform: translateX(calc(-50% - 26px)); } 88% { transform: translateX(calc(-50% + 11px)); } }
@keyframes pr-blink { 50% { opacity: 0; } }
@keyframes pr-glow { 0%, 66%, 100% { color: var(--muted); } 76% { color: var(--ink); } }

/* the journey: an underlined switch, then ONE panel crossed by ONE rail; each station its moment above the rail, its
   number on it, its words below; the station a person checks is the rail's one ink mark */
.flow { display: grid; }
.flow-tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
.flow-tabs button { position: relative; padding: 0 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.4; cursor: pointer; transition: color .15s ease; }
.flow-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.flow-tabs button:hover { color: var(--ink); }
.flow-tabs button[aria-selected="true"] { color: var(--ink); }
.flow-tabs button[aria-selected="true"]::after { transform: none; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 36px 40px 34px; list-style: none; border-radius: 26px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -48px rgba(13, 15, 20, .4); }
.flow-track[data-active="false"] { display: none; }
/* the rail meets each number's centre: the panel's padding, the moment, the gap, the number's own margin and half its 26px, less half the 2px rail */
.flow-track::before { content: ""; position: absolute; left: 53px; right: 53px; top: calc(36px + 96px + 8px + 8px + 13px - 1px); height: 2px; border-radius: 2px; background: var(--rule); }
.flow-step { position: relative; display: grid; justify-items: start; align-content: start; gap: 8px; min-width: 0; }
.flow-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 8px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1.5px var(--rule-strong); font-size: .72rem; font-weight: 800; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow-step.is-check .flow-dot { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5.5px var(--ink); }
.flow-k { margin-top: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--muted); }
.flow-step.is-check .flow-k { color: var(--ink); }
.flow-t { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.4; color: var(--ink); }
/* below a desk the rail stands upright: each station a row - its number on the rail, its words, its moment */
@media (max-width: 1100px) {
    .flow-track { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px 22px; }
    .flow-track::before { left: 34px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
    .flow-step { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 200px); column-gap: 16px; row-gap: 2px; align-items: center; padding: 14px 0; }
    .flow-dot { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
    .flow-k { grid-column: 2; grid-row: 1; margin-top: 0; }
    .flow-t { grid-column: 2; grid-row: 2; }
}
@media (max-width: 600px) {
    .flow-tabs { gap: 4px 18px; }
    .flow-tabs button { font-size: .88rem; padding-bottom: 10px; }
    .flow-track { padding: 10px 16px; }
    .flow-track::before { left: 28px; }
    .flow-step { grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
}

/* 4. nothing leaves, told as a story (owner, 2026-10-25: "make it more understandable"): inside the walls the documents
   feed the private AI along dotted paths; outside stands the outside AI, faded; the one call that sets off towards it
   stops at the wall, where an ink bar marks the barrier. One fixed composition, centred, so every path meets the AI. */
.pr-wallbox { position: absolute; left: 50%; top: 22px; width: 248px; height: 232px; margin-left: -124px; }
.pr-paths { position: absolute; inset: 0; width: 248px; height: 232px; overflow: visible; }
.pr-paths path { fill: none; stroke: var(--rule-strong); stroke-width: 1.3; stroke-dasharray: 2 5; stroke-linecap: round; }
.pr-paths .pr-out { stroke: var(--faint); }
.pr-wallbox .pr-walls { inset: auto; left: 8px; top: 14px; width: 232px; height: 162px; box-sizing: border-box; }
.pr-wallbox .pr-pg { width: 18px; height: 24px; animation: none; }
.pr-wallbox .pr-pg-1 { left: 40px; top: 40px; right: auto; bottom: auto; }
.pr-wallbox .pr-pg-2 { left: 190px; top: 40px; right: auto; bottom: auto; }
.pr-wallbox .pr-pg-3 { left: 40px; top: 140px; right: auto; bottom: auto; }
.pr-wallbox .pr-pg-4 { left: 190px; top: 140px; right: auto; bottom: auto; }
.pr-wallbox .pr-core { left: 98px; top: 69px; margin: 0; }
.pr-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #8b5cf6; opacity: 0; }
.pr-dot-1 { left: 46px; top: 49px; } .pr-dot-2 { left: 196px; top: 49px; } .pr-dot-3 { left: 46px; top: 149px; } .pr-dot-4 { left: 196px; top: 149px; }
.pr-dot-out { left: 121px; top: 118px; background: var(--muted); }
.pr-stop { position: absolute; left: 110px; top: 174px; width: 28px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 55%, transparent); }
.pr-outside { position: absolute; left: 50%; top: 196px; transform: translateX(-50%); padding: 4px 10px; border-radius: 8px; border: 1px dashed var(--faint); background: var(--bg-soft); font-size: .7rem; font-weight: 700; line-height: 1.4; color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
    .pr-dot-1 { animation: pr-in-1 6s ease-in-out infinite; } .pr-dot-2 { animation: pr-in-2 6s ease-in-out infinite .35s; }
    .pr-dot-3 { animation: pr-in-3 6s ease-in-out infinite .7s; } .pr-dot-4 { animation: pr-in-4 6s ease-in-out infinite 1.05s; }
    .pr-wallbox .pr-core { animation: pr-work 6s ease-in-out infinite; }
    .pr-dot-out { animation: pr-leave 6s ease-in infinite; }
    .pr-stop { animation: pr-stop 6s ease-out infinite; }
}
@keyframes pr-in-1 { 0% { opacity: 0; transform: none; } 6% { opacity: 1; } 30% { opacity: 1; transform: translate(75px, 43px); } 34%, 100% { opacity: 0; transform: translate(75px, 43px); } }
@keyframes pr-in-2 { 0% { opacity: 0; transform: none; } 6% { opacity: 1; } 30% { opacity: 1; transform: translate(-75px, 43px); } 34%, 100% { opacity: 0; transform: translate(-75px, 43px); } }
@keyframes pr-in-3 { 0% { opacity: 0; transform: none; } 6% { opacity: 1; } 30% { opacity: 1; transform: translate(75px, -57px); } 34%, 100% { opacity: 0; transform: translate(75px, -57px); } }
@keyframes pr-in-4 { 0% { opacity: 0; transform: none; } 6% { opacity: 1; } 30% { opacity: 1; transform: translate(-75px, -57px); } 34%, 100% { opacity: 0; transform: translate(-75px, -57px); } }
@keyframes pr-work { 0%, 22%, 62%, 100% { box-shadow: 0 0 0 1px var(--rule-strong); } 36%, 48% { box-shadow: 0 0 0 1px var(--rule-strong), 0 0 0 7px color-mix(in srgb, #8b5cf6 14%, transparent); } }
@keyframes pr-leave { 0%, 58% { opacity: 0; transform: none; } 62% { opacity: 1; transform: none; } 76% { opacity: 1; transform: translateY(52px); } 82%, 100% { opacity: 0; transform: translateY(52px); } }
@keyframes pr-stop { 0%, 74%, 100% { transform: scaleX(1); opacity: .35; } 78% { transform: scaleX(1.25); opacity: 1; } 90% { transform: scaleX(1); opacity: 1; } }

/* the journey, quieter (owner, 2026-10-25: "less aggressive... very black... cut margins"): no black block, no filled
   black dot, no black outline - white chips on a soft ring, the step to check wearing a firmer ring; the moments are
   never clipped; a soft progress runs along the rail and each number lights as it passes, then the walk begins again */
.flow-step.is-check .flow-dot { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5.5px color-mix(in srgb, var(--ink) 34%, transparent); }
.flow-tabs button::after { height: 1.5px; background: color-mix(in srgb, var(--ink) 75%, transparent); }
.flow-track::after { content: ""; position: absolute; left: 53px; top: calc(36px + 96px + 8px + 8px + 13px - 1px); width: calc(100% - 106px); height: 2px; transform: scaleX(0); transform-origin: left; border-radius: 2px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
@media (max-width: 1100px) {
    .flow-track::after { left: 34px; top: 30px; width: 2px; height: calc(100% - 60px); transform: scaleY(0); transform-origin: top; }
}
@media (max-width: 600px) { .flow-track::after { left: 28px; } }

/* the rail, lighter still (owner, 2026-10-25: "still very dark... no reason to have the line crossing circles"): the
   numbers stand above the rail (each step its own layer above the rail's two lines), so the line runs between the
   circles, never through them; the rail is a hairline, the progress a quiet grey, the rings thin; a number turns ink
   when the progress reaches it, nothing more */
.flow-track::before, .flow-track::after { z-index: 0; }
.flow-step { z-index: 1; }
.flow-track::before { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.flow-track::after { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.flow-dot { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent), 0 0 0 5px var(--bg); font-weight: 700; color: var(--faint); }
.flow-step.is-check .flow-dot { color: var(--muted); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 24%, transparent), 0 0 0 5px var(--bg); }

/* J1 (owner, 2026-10-25, design canvas): the journey's moments are mini cards - the mail as it arrives, the document
   with what the AI read, what needs checking, the decision, the history - and the journey builds itself, station by
   station, when it comes into view and again on each switch of example; then it holds still. */
.fm { width: 100%; height: 132px; box-sizing: border-box; display: flex; flex-direction: column; gap: 5px; padding: 12px 13px; border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule), 0 16px 30px -24px rgba(13, 15, 20, .35); font-size: .75rem; line-height: 1.4; color: var(--text); overflow: hidden; }
.flow-step.is-check .fm { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 24%, transparent), 0 18px 32px -22px rgba(13, 15, 20, .4); }
.fm-k { display: flex; align-items: center; gap: 5px; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-k .spark { width: 11px; height: 11px; flex: none; }
.fm-from { font-size: .8rem; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.fm-sub { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.fm-att { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: auto; padding: 4px 8px; border-radius: 7px; background: var(--bg-soft); font-size: .7rem; font-weight: 700; line-height: 1.4; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-att i { width: 9px; height: 12px; flex: none; border-radius: 2px; background: var(--bg); box-shadow: 0 0 0 1px var(--rule-strong); }
.fm-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0 2px; border-top: 1px solid var(--rule); line-height: 1.4; }
.fm-row b { font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-row span { flex: none; font-weight: 800; color: var(--ink); white-space: nowrap; }
.fm-big { font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-who { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; line-height: 1.4; }
.fm-who .fa-face { width: 26px; height: 26px; font-size: .6rem; box-shadow: none; }
.fm-btns { display: flex; gap: 6px; margin-top: auto; }
.fm-yes, .fm-no { flex: 1; min-width: 0; padding: 5px 4px; border-radius: 999px; box-shadow: 0 0 0 1px var(--rule-strong); font-size: .7rem; font-weight: 800; line-height: 1.4; text-align: center; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-yes { background: var(--bg-soft); color: var(--ink); }
.fm-ev { display: flex; align-items: baseline; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.fm-ev time { flex: none; font-size: .64rem; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; }
/* the rail now meets the numbers under the taller cards */
.flow-track::before, .flow-track::after { top: calc(36px + 132px + 8px + 8px + 13px - 1px); }
/* the build: armed while below the screen (site.js), played once in view and on each switch of example */
.flow.is-armed .flow-track[data-active="true"] .flow-step > * { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
    .flow.is-built .flow-track[data-active="true"] .flow-step > * { animation: flow-rise .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .7s); }
    .flow.is-built .flow-track[data-active="true"] .flow-step > .flow-dot { animation-delay: calc(var(--i) * .7s + .12s); }
    .flow.is-built .flow-track[data-active="true"] .flow-step > .flow-k, .flow.is-built .flow-track[data-active="true"] .flow-step > .flow-t { animation-delay: calc(var(--i) * .7s + .2s); }
    .flow.is-built .flow-track[data-active="true"]::after { animation: flow-build 2.9s cubic-bezier(.45, 0, .3, 1) .25s both; }
}
@keyframes flow-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes flow-build { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes flow-build-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 1100px) {
    .flow-track::before, .flow-track::after { top: 30px; }
    .flow-step { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 240px); }
    .flow-step .fm { grid-column: 3; grid-row: 1 / span 2; height: auto; min-height: 0; }
    .fm-big { font-size: 1.15rem; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) { .flow.is-built .flow-track[data-active="true"]::after { animation-name: flow-build-v; } }
@media (max-width: 600px) {
    .flow-step { grid-template-columns: 26px minmax(0, 1fr); }
    .flow-step .fm { grid-column: 2; grid-row: 3; margin-top: 10px; }
}
/* tablets: a station's label and its sentence stay together at the top of their row, whatever the card's height */
@media (max-width: 1100px) and (min-width: 601px) { .flow-step { grid-template-rows: auto 1fr; align-items: start; } .flow-step .flow-k { padding-top: 3px; } }
/* lighter words under the rail (owner, 2026-10-25: "this is only dark"): the step's name in plain case, its sentence a
   regular grey line - no shouting capitals, no bold paragraph */
.flow-k { margin-top: 8px; font-size: .95rem; font-weight: 700; letter-spacing: -.015em; text-transform: none; line-height: 1.35; color: var(--ink); }
.flow-t { font-size: .9rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--muted); }
.flow-step.is-check .flow-k { color: var(--ink); }
@media (max-width: 1100px) { .flow-k { margin-top: 0; } }

/* the numbers, finished (owner, 2026-10-25: "a halo or something appropriate so this is less raw"): a small domed
   button - a breath of shading inside, a hairline, a white collar that parts it from the rail, a faint halo and a soft
   shadow under it; the step to check wears the AI's violet in its halo, barely. As the journey builds, each number
   sends out one soft ripple when the rail reaches it, then rests. */
.flow-dot { background: linear-gradient(180deg, var(--bg) 30%, color-mix(in srgb, var(--ink) 4%, var(--bg))); color: var(--muted); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 11%, transparent), 0 0 0 5px var(--bg), 0 0 0 9px color-mix(in srgb, var(--ink) 3.5%, transparent), 0 8px 16px -10px rgba(13, 15, 20, .35); }
.flow-step.is-check .flow-dot { color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, #8b5cf6 38%, transparent), 0 0 0 5px var(--bg), 0 0 0 10px color-mix(in srgb, #8b5cf6 9%, transparent), 0 8px 18px -10px rgba(124, 58, 237, .35); }
.flow-dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent); opacity: 0; pointer-events: none; }
.flow-step.is-check .flow-dot::after { box-shadow: 0 0 0 1px color-mix(in srgb, #8b5cf6 45%, transparent); }
@media (prefers-reduced-motion: no-preference) {
    .flow.is-built .flow-track[data-active="true"] .flow-dot::after { animation: flow-ripple 1.1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .7s + .35s); }
}
@keyframes flow-ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

/* the halo (owner, 2026-10-25: "we have nice halo here, very discreet... on other cards, playing with our logo
   colours"): the same soft wash the agent's drawing stands on, behind a card, in one of the mark's three colours,
   alternating down the page; toned down in the dark theme so it never becomes a glow */
.halo { position: relative; isolation: isolate; }
.halo::before { content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; top: 10%; bottom: -18%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--halo) 30%, transparent), transparent 92%); filter: blur(18px); pointer-events: none; }
.halo-cyan { --halo: #06b6d4; } .halo-violet { --halo: #8b5cf6; } .halo-pink { --halo: #ec4899; }
.flow.halo::before { top: 70px; left: -5%; right: -5%; bottom: -22%; }
.five-side.halo::before { top: 12%; left: -14%; right: -14%; bottom: -20%; }
:root[data-theme="dark"] .halo::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--halo) 14%, transparent), transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .halo::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--halo) 14%, transparent), transparent); } }
/* a halo never widens the page: its section clips it at the screen's edges, and below a desk it keeps to its card's width */
#journey, #platform, #trust { overflow-x: clip; }
@media (max-width: 1100px) { .halo::before, .flow.halo::before, .five-side.halo::before { left: 0; right: 0; } }

/* the promises' tiles: one soft drop shadow, the same for all four, just under each tile - no coloured halo
   (owner, 2026-10-25: "something more subtle, same colour for all, a kind of soft drop shadow") */
.pr-art { box-shadow: 0 1px 2px rgba(13, 15, 20, .04), 0 22px 40px -30px rgba(40, 36, 90, .32); }
:root[data-theme="dark"] .pr-art { box-shadow: 0 0 0 1px var(--rule), 0 22px 40px -30px rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pr-art { box-shadow: 0 0 0 1px var(--rule), 0 22px 40px -30px rgba(0, 0, 0, .7); } }
/* a drawing never grows past its own size: the agent alone is 580 wide, and on a tablet, where its chapter stacks,
   it stands at that size, centred, instead of stretching to the column (owner, 2026-10-25: "totally broken in
   responsive mode") */
.agents-sketch .sk { max-width: 580px; margin-inline: auto; }

/* the footer, ONE grid at every width (owner, 2026-10-25: "unbalanced, misaligned... eradicate this problem"). Three
   bands on one left edge, their rules ending where the words do: the brand (mark, one sentence, two chips) over four
   link columns, each as wide as its longest link and spread edge to edge, five lines each so every row lines up;
   then one line of credentials (published in France and the EU, member of Hub France IA with its small mark); then
   the rights and the legal doors. 2 x 2 columns under 960px; on a phone each group is a row that unfolds. */
.foot-row { display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 40px 32px; align-items: start; }
.foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 32px; padding-bottom: 8px; }
.foot-brand .brand { grid-column: 1 / -1; justify-self: start; }
.foot-brand p { margin: 0; max-width: 52ch; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.foot-brand .foot-chips { margin-top: 0; justify-content: flex-end; }
.foot-links { display: block; min-width: 0; }
.foot-links > summary { display: flex; align-items: center; justify-content: space-between; min-height: 30px; margin: 0 0 12px; list-style: none; cursor: default; }
.foot-links > summary::-webkit-details-marker { display: none; }
.foot-links > summary.foot-head { font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; line-height: 1.4; color: var(--ink); }
.foot-chev { display: none; }
.foot-list { display: grid; gap: 12px; justify-items: start; }
.foot-list a { font-size: .9rem; font-weight: 500; line-height: 1.4; color: var(--muted); text-decoration: none; }
.foot-list a:hover { color: var(--ink); }
.foot-list .foot-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.foot-list .foot-more span { transition: transform .2s ease; }
.foot-list .foot-more:hover span { transform: translateX(3px); }
.foot-ext { margin-left: 5px; font-size: .85em; color: var(--faint); }

/* the rules are drawn inside the content box, so they end where the words do, never in the page's gutter */
.foot-base { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; margin-top: 44px; color: var(--faint); font-size: .82rem; line-height: 1.4; }
.foot-base::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 4px; background: var(--rule); }
.foot-creds { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.foot-cred { display: inline-flex; align-items: center; gap: 10px; min-height: 24px; font-size: .84rem; font-weight: 600; line-height: 1.4; color: var(--text); text-decoration: none; }
.foot-flags { display: inline-flex; gap: 5px; flex: none; }
.foot-flags .flag { display: block; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px var(--rule-strong); }
.foot-member picture, .foot-member img { display: block; flex: none; }
/* the mark stands in the flags' width, so both labels start on one line */
.foot-member picture { width: 53px; }
.foot-member img { width: auto; height: 20px; transition: opacity .15s ease; }
.foot-member:hover { color: var(--ink); }
.foot-member:hover img { opacity: .8; }
.foot-rights { min-width: 0; }
.foot-base > .lang-switch { justify-self: end; }
.foot-base-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 24px; }
.foot-base a { color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--ink); }
.foot-base .foot-cred { color: var(--text); }

@media (max-width: 960px) {
    .foot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
    .foot-brand { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .foot-brand .foot-chips { justify-content: flex-start; }
    .foot-rights, .foot-base-end { grid-column: 1 / -1; }
    .foot-base-end { justify-content: flex-start; }
    .foot-rights { order: 2; }
}
@media (max-width: 600px) {
    .foot-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .foot-brand { padding-bottom: 28px; }
    .foot-links { border-top: 1px solid var(--rule); }
    .foot-links:last-of-type { border-bottom: 1px solid var(--rule); }
    .foot-links > summary { min-height: 52px; margin: 0; cursor: pointer; }
    .foot-links > summary.foot-head { font-size: .78rem; }
    .foot-chev { display: block; width: 8px; height: 8px; margin-right: 6px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
    .foot-links[open] .foot-chev { transform: translateY(2px) rotate(225deg); }
    .foot-list { gap: 0; padding: 0 0 14px; }
    .foot-list a { display: flex; align-items: center; min-height: 40px; }
    .foot-list .foot-more { margin-top: 0; }
    .foot-base { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
    .foot-base::before { display: none; }
    .foot-creds { flex-direction: column; align-items: flex-start; gap: 14px; }
    .foot-base-end { gap: 10px 18px; }
    .foot-base > .lang-switch { justify-self: start; }
}


/* phones, said short (owner, 2026-10-25: "aucun sens de présenter les parcours aussi longuement, il faut une version
   qui s'adapte mieux sur mobile"). A promise is ONE row: its picture, the same scene drawn at half size in a square,
   beside its title and its line. The journey keeps its five numbered steps and their words, the mini cards stay on
   larger screens, and its four examples stand two by two. */
@media (max-width: 600px) {
    .pr-grid { gap: 12px; }
    .pr-card { display: grid; grid-template-columns: 146px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; align-content: center; }
    .pr-art { grid-row: 1 / span 2; width: 264px; height: 264px; border-radius: 30px; zoom: .55; }
    .pr-t { grid-column: 2; align-self: end; margin: 0 0 4px; font-size: 1.1rem; }
    .pr-s { grid-column: 2; align-self: start; margin: 0; font-size: .88rem; line-height: 1.45; }
    .flow-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
    .flow-tabs button { padding: 10px 0; text-align: left; }
    .flow-step .fm { display: none; }
    .flow-step { padding: 10px 0; }
}

/* the Company menu's foot: the Calico IIM mark (owner, 2026-10-25: "at left of the text put a nice version of the
   calico iim logo") - its three dots, its name in capitals with IIM in its violet, a hairline, then the sentence */
.mega-foot .mega-calico, .mega-calico { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--ink); text-decoration: none; transition: opacity .15s ease; }
.mega-calico:hover { opacity: .75; }
.mega-calico svg { display: block; width: 23px; height: 25px; flex: none; }
.mega-calico span { font-size: .86rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.4; }
.mega-calico b { font-weight: 800; color: #8b5cf6; }
.mega-calico-rule { width: 1px; height: 20px; flex: none; margin: 0 8px; background: var(--rule-strong); }
