@charset "UTF-8";
/* Datawyse – static site, no build step.
   Concept: the page is an audit file on light paper.
   Palette: EU navy and cobalt, with gold as the highlighter for personal data found.
   Sections are numbered like a report. Cards are rounded and soft; buttons are pills. */

@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-style: normal; font-display: swap; src: url("../fonts/sourcesans3-var.woff") format("woff"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  /* EU navy & cobalt */
  --paper: #f4f6fa;
  --sheet: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --mute: #55617a;
  --rule: #dde3ee;
  --rule-strong: #b1bccf;
  --bar: #0f172a;            /* dark bars and redaction bars */
  --deep: #0b1f4d;           /* EU navy: hero panel, footer */
  --mark: #ffd84d;           /* highlighter (EU gold): personal data found */
  --on-dark: #cdd6ea;
  --dark-rule: rgba(255, 255, 255, 0.18);
  --g: #2147c8;              /* cobalt: logo, buttons, checks, accents (white text on it) */
  --g-hi: #1a39a3;
  --g-ink: #ffffff;
  --g-tint: #e4eafb;         /* soft cobalt fill for labels and icons */
  --g-tint-ink: #1a2f80;
  --g-on-dark: #a8bcff;      /* light cobalt for text, lines and buttons on dark */
  --g-on-dark-ink: #0a1640;
  --ok: var(--g);
  --ok-deep: var(--g-hi);
  --ok-tint: var(--g-tint);
  --brand: var(--g);         /* logo icon and dot (light tint on the dark footer) */

  --head: "New York", ui-serif, "Iowan Old Style", Charter, Cambria, Georgia, serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 74rem;
  --radius: 2px;
  --card: 18px;              /* corner radius of cards */
  --pill: 999px;
  --shadow-card: 0 18px 40px -28px rgba(17, 22, 28, 0.35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--rule-strong); text-underline-offset: 0.2em; }
a:hover { color: var(--ok-deep); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ok); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--mark); color: var(--ink); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--bar); color: #fff; padding: 0.6rem 0.9rem; border-radius: var(--radius); font-size: 0.9rem; text-decoration: none; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
code { font-family: var(--mono); font-size: 0.875em; background: var(--sheet); border: 1px solid var(--rule); border-radius: 1px; padding: 0.05em 0.35em; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 2vw + 1rem, 2.85rem); line-height: 1.08; max-width: 23ch; }
h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem); line-height: 1.1; }
h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 1.125rem; line-height: 1.5; color: var(--ink-soft); max-width: 35rem; text-wrap: pretty; }
.prose { color: var(--ink-soft); max-width: var(--measure); text-wrap: pretty; font-size: 1rem; }
.small { font-size: 0.875rem; color: var(--mute); line-height: 1.5; }

/* The hero's highlighted phrase: a bar sweeps across it once, the text stays readable */
.redact { position: relative; display: inline; padding: 0 0.1em; margin: 0 -0.04em; color: var(--redact-fg, var(--paper)); background: linear-gradient(var(--redact-bg, var(--bar)), var(--redact-bg, var(--bar))) no-repeat 0 62% / 100% 0.86em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .redact { color: var(--redact-from, var(--ink)); background-size: 0% 0.86em; animation: redact-bg 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.35s forwards, redact-fg 0.01s linear 0.7s forwards; }
@keyframes redact-bg { to { background-size: 100% 0.86em; } }
@keyframes redact-fg { to { color: var(--redact-fg, var(--paper)); } }

/* ---------- Buttons: pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 2.9rem; padding: 0.55rem 1.35rem; border-radius: var(--pill); border: 1.5px solid transparent; font: inherit; font-size: 1rem; font-weight: 650; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.btn-primary, .btn-light { background: var(--g); border-color: var(--g); color: var(--g-ink); }
.btn-primary:hover, .btn-light:hover { background: var(--g-hi); border-color: var(--g-hi); color: var(--g-ink); transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(33, 71, 200, 0.55); }
.btn-primary::after, .btn-light::after { content: "→"; display: inline-block; font-weight: 500; transition: transform 0.18s; }
.btn-primary:hover::after, .btn-light:hover::after { transform: translateX(3px); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-quiet:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ---------- Header (dark) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 245, 246, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); transition: box-shadow 0.2s; }
.site-header.is-stuck { box-shadow: 0 10px 24px -20px rgba(17, 22, 28, 0.45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.1rem; }
.brand, .brand:hover { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-family: var(--sans); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.035em; }
.brand svg { width: 1.9rem; height: 1.9rem; flex: none; border-radius: 23%; }
.brand .dot { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--ink-soft); font-size: 0.98rem; text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--brand); text-underline-offset: 0.35em; }
.lang-switch { display: inline-flex; align-items: center; gap: 0.15rem; padding: 0.15rem; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--rule); font-family: var(--mono); font-size: 0.75rem; }
.lang-switch b, .lang-switch a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.75rem; border-radius: var(--pill); font-weight: 500; }
.lang-switch b { background: var(--ink); color: #fff; }
.nav .lang-switch a { font-size: 0.75rem; color: var(--ink-soft); }
.menu-btn { display: none; }
/* reading progress line under the header */
.site-header .progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--g); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
/* the section you are reading */
.nav > a.is-current { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--g); text-underline-offset: 0.35em; }
/* "Book a call" appears in the header once the hero is out of view */
.header-cta { max-width: 0; min-height: 2.5rem; margin-left: 0; padding-inline: 0; border-width: 0; opacity: 0; overflow: hidden; visibility: hidden; font-size: 0.92rem; transition: max-width 0.3s ease, padding 0.3s ease, margin 0.3s ease, opacity 0.25s ease, visibility 0.3s, background-color 0.18s, transform 0.18s; }
.show-cta .header-cta { max-width: 16rem; margin-left: 1rem; padding-inline: 1.1rem; border-width: 1.5px; opacity: 1; visibility: visible; }
.header-cta .cta-short { display: none; }
.site-header .nav { margin-left: auto; }
.nav .lang-switch a:hover { color: var(--ink); text-decoration: none; background: var(--g-tint); }
/* labels drawn by CSS, in French on the French page */
:lang(fr) .report::before { content: "Pièce · exemple de sortie"; }
:lang(fr) .mflow span:first-of-type::before { content: "Entrée"; }
:lang(fr) .mflow span:last-of-type::before { content: "Sortie"; }

/* ---------- Sections: numbered like a report ---------- */
.section { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }
#how, #who, #deployment { background: var(--sheet); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); max-width: 46rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.split > .col-a { grid-column: span 5; display: grid; gap: 1.25rem; align-content: start; }
.split > .col-b { grid-column: span 7; }
/* the section label: numbered pill + section name */
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content; margin: 0 0 -0.25rem; font-size: 0.85rem; font-weight: 600; color: var(--ok-deep); }
.eyebrow span { font-family: var(--mono); font-weight: 500; padding: 0.15rem 0.6rem; border-radius: var(--pill); background: var(--g-tint); color: var(--g-tint-ink); letter-spacing: 0.02em; }
#proof .eyebrow, #pilot .eyebrow { color: var(--g-on-dark); }

/* ---------- Hero ---------- */
.hero { display: flex; align-items: center; min-height: calc(100vh - 4.1rem); min-height: calc(100svh - 4.1rem); padding-block: 1.25rem 2rem; color: #fff;
  --redact-bg: var(--mark); --redact-fg: var(--deep); --redact-from: #fff; }
/* the dark panel: a diagonal fade from deep navy to cobalt */
.hero > .wrap { position: relative; isolation: isolate; overflow: hidden; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) + 2rem); padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: 28px;
  background: linear-gradient(135deg, #06122f 0%, #0b1f4d 45%, #163275 100%); }
.hero h1 { color: #fff; }
.hero .lede { color: var(--on-dark); }
.hero .lede strong { display: block; margin-bottom: 0.4rem; color: #fff; font-weight: 700; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content; margin-bottom: -0.4rem; padding: 0.3rem 0.85rem 0.3rem 0.65rem; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--pill); background: rgba(255, 255, 255, 0.04); font-size: 0.85rem; color: #e4ebe7; font-weight: 600; }
.kicker-dot { width: 0.45rem; height: 0.45rem; flex: none; border-radius: var(--pill); background: var(--g-on-dark); box-shadow: 0 0 0 4px rgba(168, 188, 255, 0.2); }
.hero .btn-primary { background: var(--g-on-dark); border-color: var(--g-on-dark); color: var(--g-on-dark-ink); }
.hero .btn-primary:hover { background: #c3d1ff; border-color: #c3d1ff; color: var(--g-on-dark-ink); box-shadow: 0 8px 22px -10px rgba(168, 188, 255, 0.7); }
.hero .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-quiet:hover { color: #fff; border-color: #fff; }
.hero-grid { display: grid; gap: 1.75rem clamp(2.5rem, 6vw, 5rem); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.hero-copy { grid-column: span 6; display: grid; gap: 1.6rem; }
.hero-demo { grid-column: span 6; position: relative; isolation: isolate; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* The sample document */
.doc { position: relative; overflow: hidden; background: var(--sheet); color: var(--ink); border-radius: var(--card); box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.6); }
/* hero card: before → after */
.ba { padding: 1.1rem; display: grid; gap: 0.35rem; }
.ba-pane { padding: 0.85rem 1rem 1rem; border-radius: 12px; background: var(--paper); }
.ba-after { background: var(--g-tint); background: color-mix(in srgb, var(--g-tint) 55%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g) 22%, transparent); }
.ba-cap { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.55rem; font-size: 0.8rem; font-weight: 600; color: var(--mute); }
.ba-tag { padding: 0.1rem 0.55rem; border-radius: var(--pill); font-size: 0.75rem; font-weight: 600; background: var(--sheet); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--rule); }
.ba-after .ba-tag { background: var(--g); color: #fff; box-shadow: none; }
.ba-after .ba-cap { color: var(--g-tint-ink); }
.ba-text { font-family: var(--mono); font-size: 0.84rem; line-height: 2; color: var(--ink); }
.ba-text mark { padding: 0.1em 0.35em; border-radius: 5px; color: inherit; white-space: nowrap; }
.v-raw { background: var(--mark); }
.v-ps { background: var(--sheet); color: var(--g-tint-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g) 35%, transparent); }
.ba-step { display: flex; align-items: center; gap: 0.5rem; padding: 0.15rem 0.4rem; font-size: 0.75rem; color: var(--mute); font-weight: 600; }
.ba-step span { width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 0.8rem; letter-spacing: 0; }
.ba-notes { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ba-notes li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.6rem 0.15rem 0.45rem; border-radius: var(--pill); background: var(--sheet); font-size: 0.76rem; font-weight: 600; color: var(--g-tint-ink); }
.ba-notes li::before { content: "✓"; font-size: 0.75rem; font-weight: 800; color: var(--g); }
/* step-by-step reveal of the "after" values (class set by site.js) */
.ba.is-anim .v-ps { transition: background-color 0.5s, color 0.5s, box-shadow 0.5s; }
.ba.is-anim:not(.is-in) .v-ps { background: var(--rule); color: transparent; box-shadow: none; }
.ba.is-in .v-ps:nth-of-type(2) { transition-delay: 0.35s; }
.ba.is-in .v-ps:nth-of-type(3) { transition-delay: 0.7s; }


/* ---------- How it works: three-step scene ---------- */
.net { position: relative; border-radius: var(--card); padding: clamp(2.25rem, 3.5vw, 2.9rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); }
.net-tag { position: absolute; top: 0; left: 1.5rem; transform: translateY(-50%); margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0.7rem; font-size: 0.76rem; font-weight: 600; color: #fff; background: var(--ink); border-radius: var(--pill); }
.net-tag svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.net-out { left: auto; right: 1.5rem; color: var(--ok-deep); background: var(--ok-tint); border: 1px solid var(--ok); }
.pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3.5rem; }
.st { position: relative; display: grid; gap: 0.55rem; align-content: start; }
.st > p { color: var(--ink-soft); max-width: 34ch; }
.panel { position: relative; height: 11.75rem; margin-bottom: 0.9rem; padding: 0.8rem 1rem 1rem; border: 1px solid var(--rule); border-radius: var(--card); background: var(--sheet); overflow: hidden; transition: border-color 0.45s, box-shadow 0.45s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.panel > * { transition: opacity 0.45s; }
.panel-cap { margin: 0 0 0.55rem; font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.mini { margin: 0; font-family: var(--mono); font-size: 0.78rem; line-height: 2.05; color: var(--ink); }
.hit { border-radius: 5px; padding: 0.12em 0.3em; margin: 0 -0.05em; transition: background-color 0.35s; }
.tkt { margin-right: 0.3rem; padding: 0.05em 0.4em; border-radius: var(--pill); background: var(--paper); font-size: 0.75rem; color: var(--mute); }
.swap { display: inline-grid; background: var(--mark); border-radius: 5px; }
.swap > * { grid-area: 1 / 1; padding: 0.12em 0.3em; border-radius: 5px; white-space: nowrap; }
.swap .tok { background: var(--g-tint); color: var(--g-tint-ink); clip-path: inset(0 100% 0 0); transition: clip-path 0.5s cubic-bezier(0.6, 0, 0.2, 1); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2.6rem; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(255, 224, 102, 0) 0%, rgba(255, 224, 102, 0.35) 85%, rgba(255, 224, 102, 0.9) 100%); border-bottom: 2px solid #d9b400; }
.mr { list-style: none; margin: 0.2rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9688rem; font-weight: 600; }
.mr li { display: flex; align-items: center; gap: 0.55rem; }
.ck { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ck circle { stroke: var(--rule-strong); transition: stroke 0.3s, fill 0.3s; }
.ck path { stroke: var(--g-ink); stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset 0.35s ease-out; }
.mr-done { display: inline-block; margin: 0.8rem 0 0; padding: 0.25rem 0.75rem; font-size: 0.82rem; font-weight: 650; color: var(--g-tint-ink); background: var(--g-tint); border-radius: var(--pill); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.st-head { display: flex; align-items: center; gap: 0.75rem; }
.st-n { width: 1.7rem; height: 1.7rem; flex: none; display: grid; place-items: center; border-radius: var(--pill); border: 1.5px solid var(--ink); font-family: var(--mono); font-size: 0.8rem; font-weight: 500; color: var(--ink); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.st-bar { flex: 1; height: 2px; background: var(--rule); overflow: hidden; }
.st-bar b { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.st:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 5.85rem; width: 3.5rem; height: 1px; background: linear-gradient(90deg, var(--ink-soft) 60%, transparent 0) 0 0 / 8px 1px repeat-x; }
.st:not(:last-child)::before { content: ""; position: absolute; left: 100%; top: calc(5.85rem - 4px); width: 9px; height: 9px; border-radius: 1px; background: var(--ok); opacity: 0; z-index: 1; }
.st1:is(.is-active, .is-done) .hit { background: var(--mark); }
.st1.is-active .scan { animation: scan 2.5s cubic-bezier(0.45, 0, 0.3, 1) 1 both; }
.st2:is(.is-active, .is-done) .tok { clip-path: inset(0 0 0 0); }
.st2.is-active .swap:nth-of-type(1) .tok { transition-delay: 0.5s; }
.st2.is-active .swap:nth-of-type(2) .tok { transition-delay: 1.15s; }
.st2.is-active .swap:nth-of-type(3) .tok { transition-delay: 1.8s; }
.st3:is(.is-active, .is-done) .ck circle { stroke: var(--g); fill: var(--g); }
.st3:is(.is-active, .is-done) .ck path { stroke-dashoffset: 0; }
.st3:is(.is-active, .is-done) .mr-done { opacity: 1; transform: none; }
.st3.is-active li:nth-child(1) .ck * { transition-delay: 0.5s; }
.st3.is-active li:nth-child(2) .ck * { transition-delay: 1.2s; }
.st3.is-active li:nth-child(3) .ck * { transition-delay: 1.9s; }
.st3.is-active .mr-done { transition-delay: 2.7s; }
.st.is-active .panel { box-shadow: 0 18px 36px -22px rgba(16, 24, 15, 0.45); transform: translateY(-3px); }
.st:is(.is-active, .is-done) .st-n { background: var(--ink); color: #fff; }
.st.is-done .st-bar b { transform: scaleX(1); }
.st.is-active .st-bar b { animation: fill var(--d, 3.4s) linear 1 both; }
.is-running .st:not(.is-active):not(.is-done) .panel > * { opacity: 0.4; }
.is-running .st.is-done:not(:last-child)::before { animation: hop 0.85s cubic-bezier(0.5, 0, 0.3, 1) 1 both; }
@keyframes scan { 0% { transform: translateY(-2.6rem); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(11.75rem); opacity: 0; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hop { 0% { transform: translateX(-4px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(calc(3.5rem - 6px)); opacity: 0; } }

/* What it finds: four soft cards, each data type as a pill */
.finds { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); display: grid; gap: 1.25rem; }
.finds-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.finds-head h3 { font-family: var(--head); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
.lang { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; color: var(--mute); }
.lang span { padding: 0.1rem 0.5rem; border-radius: var(--pill); background: var(--ink); color: #fff; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; }
.lang span + span { margin-right: 0.3rem; }
.finds-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.find { display: grid; gap: 0.9rem; align-content: start; padding: 1.15rem 1.15rem 1.3rem; background: var(--paper); border-radius: var(--card); }
.find h4 { margin: 0; display: flex; align-items: center; gap: 0.6rem; font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.find-ic { width: 2.1rem; height: 2.1rem; flex: none; padding: 0.45rem; border-radius: var(--pill); background: var(--g-tint); color: var(--g-tint-ink); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { padding: 0.25rem 0.7rem; border-radius: var(--pill); background: var(--sheet); border: 1px solid var(--rule); font-size: 0.88rem; line-height: 1.35; color: var(--ink-soft); }

/* ---------- Proof + Pilot: the dark bands ---------- */
#proof, #pilot { background: linear-gradient(135deg, #06122f 0%, #0b1f4d 55%, #132b66 100%); color: #fff; }
#proof h2, #proof h3, #pilot h2, #pilot h3 { color: #fff; }
#proof .prose, #proof .facts dd, #proof .small { color: var(--on-dark); }
.facts { margin: 0.5rem 0 0; display: grid; }
.facts > div { padding: 1.1rem 0; border-top: 1px solid var(--dark-rule); display: grid; gap: 0.25rem; }
.facts > div:last-child { border-bottom: 1px solid var(--dark-rule); }
.facts dt { font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
.facts dd { margin: 0; max-width: 46ch; }
.ic { width: 1.5rem; height: 1.5rem; flex: none; color: var(--g-on-dark); }

/* the report: an exhibit */
#proof .col-b { isolation: isolate; }
.report { position: relative; background: var(--sheet); color: var(--ink); border-radius: var(--card); padding: 1.5rem 1.6rem 1.35rem; display: grid; gap: 1.1rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.report::before { content: "Exhibit · example output"; position: absolute; top: 0; right: 1.6rem; transform: translateY(-50%); padding: 0.18rem 0.6rem; font-size: 0.75rem; font-weight: 600; color: var(--ink); background: var(--mark); border-radius: var(--pill); }
#proof .report .small { color: var(--mute); }
.report-title { font-family: var(--head); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; padding-bottom: 0.9rem; border-bottom: 2px solid var(--ink); }
.report-rows { margin: 0; display: grid; font-variant-numeric: tabular-nums; }
.report-rows > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.report-rows dt { color: var(--ink-soft); }
.report-rows dd { margin: 0; font-family: var(--mono); font-size: 0.9rem; font-weight: 500; text-align: right; }
.report-rows .report-total { margin-top: 0.4rem; padding: 0.85rem 0.9rem; background: var(--ok-tint); border: 1px solid var(--ok); border-radius: 12px; color: var(--ok-deep); font-weight: 700; }
.report-rows .report-total dt { color: var(--ok-deep); font-weight: 700; }


/* ---------- Two modes ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.modes article { background: var(--sheet); border-radius: var(--card); box-shadow: var(--shadow-card); padding: 1.5rem 1.6rem 1.7rem; display: grid; gap: 1rem; align-content: start; }
.modes h3 { font-family: var(--head); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; }
.modes p { color: var(--ink-soft); margin: 0; }
.modes b { display: block; margin-bottom: 0.1rem; font-size: 0.75rem; font-weight: 600; color: var(--mute); }
/* the flow: In → Datawyse → Out */
.mflow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr); align-items: stretch; gap: 0.5rem; padding: 0.75rem; background: var(--paper); border-radius: 14px; }
.mflow span { display: grid; align-content: center; gap: 0.2rem; padding: 0.6rem 0.8rem; background: var(--sheet); border-radius: 10px; font-size: 0.9rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mflow span:first-of-type::before, .mflow span:last-of-type::before { font-size: 0.75rem; font-weight: 600; color: var(--mute); }
.mflow span:first-of-type::before { content: "In"; }
.mflow span:last-of-type::before { content: "Out"; }
.mflow span:nth-of-type(2) { display: block; align-self: center; padding: 0.45rem 0.9rem; border-radius: var(--pill); background: var(--bar); color: #fff; font-weight: 700; white-space: nowrap; }
.mflow span:nth-of-type(2)::after { content: "."; color: var(--brand); }
.mflow i { align-self: center; font-style: normal; font-weight: 700; color: var(--ok); }
/* flow motion (classes added by site.js; nothing happens without JS or with reduced motion) */
.mflow span:last-of-type { position: relative; }
.mflow.is-anim > * { opacity: 0; translate: 0 8px; transition: opacity 0.5s ease, translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mflow.is-anim > i { translate: -6px 0; }
.mflow.is-in > * { opacity: 1; translate: none; }
.mflow.is-in > :nth-child(2) { transition-delay: 0.25s; }
.mflow.is-in > :nth-child(3) { transition-delay: 0.45s; }
.mflow.is-in > :nth-child(4) { transition-delay: 0.7s; }
.mflow.is-in > :nth-child(5) { transition-delay: 0.9s; }
.mflow.is-looping > * { animation-duration: 4.2s; animation-iteration-count: infinite; animation-delay: 1.4s; }
.modes article + article .mflow.is-looping > * { animation-delay: 2.8s; }
.mflow.is-looping span:first-of-type { animation-name: flow-in; }
.mflow.is-looping i:first-of-type { animation-name: flow-arrow-1; }
.mflow.is-looping span:nth-of-type(2) { animation-name: flow-work; background-image: linear-gradient(105deg, transparent 35%, rgba(142, 211, 155, 0.45) 50%, transparent 65%); background-size: 250% 100%; background-repeat: no-repeat; background-position: 150% 0; }
.mflow.is-looping i:last-of-type { animation-name: flow-arrow-2; }
.mflow.is-looping span:last-of-type { animation-name: flow-out; }
.mflow.is-looping span:last-of-type::after { content: "✓"; position: absolute; top: -0.45rem; right: -0.45rem; width: 1.2rem; height: 1.2rem; display: grid; place-items: center; border-radius: var(--pill); background: var(--g); color: var(--g-ink); font-size: 0.75rem; font-weight: 800; scale: 0; animation: flow-check 4.2s infinite; animation-delay: inherit; }
@keyframes flow-in { 0%, 26%, 100% { box-shadow: 0 0 0 0 transparent; } 6%, 18% { box-shadow: 0 0 0 2px var(--rule-strong); } }
@keyframes flow-arrow-1 { 0%, 18%, 34%, 100% { translate: 0 0; } 26% { translate: 4px 0; } }
@keyframes flow-work { 0%, 28% { background-position: 150% 0; } 56%, 100% { background-position: -50% 0; } }
@keyframes flow-arrow-2 { 0%, 54%, 70%, 100% { translate: 0 0; } 62% { translate: 4px 0; } }
@keyframes flow-out { 0%, 62%, 96%, 100% { box-shadow: 0 0 0 0 transparent; } 70%, 88% { box-shadow: 0 0 0 2px var(--g); } }
@keyframes flow-check { 0%, 64%, 96%, 100% { scale: 0; } 72%, 88% { scale: 1; } }

/* ---------- Who it is for ---------- */
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.who li { padding: 1.25rem 1.25rem 1.4rem; border-radius: var(--card); background: var(--paper); display: grid; gap: 0.4rem; align-content: start; }
.who .ic { width: 2.4rem; height: 2.4rem; padding: 0.55rem; margin-bottom: 0.35rem; border-radius: var(--pill); background: var(--g-tint); color: var(--g-tint-ink); }
.who p { color: var(--ink-soft); max-width: 38ch; }

/* ---------- Accuracy ---------- */
.bignums { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; margin-bottom: 1rem; }
.bignums div { display: grid; gap: 0.5rem; align-content: start; padding-top: 0.9rem; border-top: 2px solid var(--ink); }
.bignums b { font-family: var(--mono); font-size: clamp(2.4rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -0.04em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.bignums span { color: var(--ink-soft); max-width: 18ch; min-height: 3em; }
.callout { margin-top: 1.5rem; padding: 1rem 1.2rem; background: var(--ok-tint); border-radius: var(--card); display: grid; gap: 0.4rem; max-width: 44rem; }
.callout p { color: var(--ink-soft); }

/* ---------- Deployment: a spec sheet ---------- */
.deploy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 0.5rem; }
.dz { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr) auto minmax(0, 1fr); align-items: center; gap: 0.75rem; padding: 2.1rem 1.25rem 1.25rem; border-radius: var(--card); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.dz-tag { position: absolute; top: 0; left: 1.25rem; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.22rem 0.7rem; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; }
.dz-tag svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dn { display: grid; gap: 0.2rem; padding: 0.85rem 1rem; border-radius: 14px; background: var(--sheet); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--rule); }
.dn b { font-size: 1rem; }
.dn span { font-size: 0.82rem; line-height: 1.35; color: var(--mute); }
.dn-core { background: var(--deep); box-shadow: 0 18px 40px -24px rgba(11, 31, 77, 0.8); }
.dn-core b { color: #fff; font-size: 1.15rem; }
.dn-core b i { font-style: normal; color: var(--g-on-dark); }
.dn-core span { color: var(--on-dark); }
.da { display: grid; justify-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--g-tint-ink); text-align: center;  font-weight: 600; }
.da::after { content: "→"; font-family: var(--sans); font-size: 1.2rem; line-height: 1; color: var(--g); }
.da span { max-width: 8rem; }
.dx { display: flex; align-items: center; }
.dx-line { width: 2.5rem; height: 0; border-top: 2px dashed var(--rule-strong); }
.dx-stop { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin: 0 0.35rem; border-radius: var(--pill); background: #fbe9e7; color: #a3321f; font-size: 0.8rem; font-weight: 800; }
.dx-box { display: grid; gap: 0.15rem; padding: 0.7rem 0.9rem; border-radius: 12px; border: 1.5px dashed var(--rule-strong); color: var(--mute); font-size: 0.85rem; font-weight: 600; }
.dx-box small { font-size: 0.75rem; font-weight: 500; color: #a3321f; }
.cards5 { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); counter-reset: spec; }
.cards5 li { border-top: 1px solid var(--rule); padding: 1.1rem 0 1.9rem; display: grid; gap: 0.35rem; align-content: start; counter-increment: spec; }
.cards5 li::before { content: "05." counter(spec); font-family: var(--mono); font-size: 0.75rem; color: var(--mute); }
.cards5 p { color: var(--ink-soft); max-width: 36ch; }

/* ---------- Pilot ---------- */
#pilot h2 { max-width: 16ch; }
#pilot .lede, #pilot .poc-note { color: var(--on-dark); }
#pilot .btn-light { background: var(--g-on-dark); border-color: var(--g-on-dark); color: var(--g-on-dark-ink); }
#pilot .btn-light:hover { background: #c3d1ff; border-color: #c3d1ff; color: var(--g-on-dark-ink); box-shadow: 0 8px 22px -10px rgba(168, 188, 255, 0.7); }
.poc-list { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: poc; }
.poc-list li { position: relative; padding: 1.2rem 0 1.2rem 3rem; border-top: 1px solid var(--dark-rule); display: grid; gap: 0.25rem; counter-increment: poc; }
.poc-list li::before { content: counter(poc); position: absolute; left: 0; top: 1.25rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; font-family: var(--mono); font-size: 0.82rem; color: var(--ink); background: var(--paper); border-radius: var(--pill); }
.poc-list li:last-child { border-bottom: 1px solid var(--dark-rule); }
.poc-list b { font-weight: 700; font-size: 1.1rem; }
.poc-list span { color: var(--on-dark); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.1rem 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.faq summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.25rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Footer (dark) ---------- */
.site-footer { padding-block: 1.1rem; background: var(--deep); color: var(--on-dark); }
.site-footer .small { color: var(--on-dark); }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand .dot { color: var(--g-on-dark); }
.site-footer .brand svg { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; }
.foot-brand .brand { font-size: 1.25rem; }
.foot-brand .brand svg { width: 1.4rem; height: 1.4rem; }
.foot-brand .small { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.85rem; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; font-family: var(--mono); font-size: 0.8rem; }
.foot a { color: #fff; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot a:not(.brand):hover { color: var(--brand); }

/* ---------- Legal page ---------- */
.legal-main { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.legal-page { max-width: 48rem; display: grid; gap: 1rem; }
.legal-page h1 { font-size: clamp(1.9rem, 1.5vw + 1.3rem, 2.4rem); max-width: none; margin-bottom: 0.5rem; }
.legal-card { padding: 1.4rem 1.5rem 1.5rem; border-radius: var(--card); background: var(--sheet); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--rule); display: grid; gap: 0.75rem; }
.legal-card h2 { font-size: 1.15rem; letter-spacing: -0.01em; }
.legal-card p { color: var(--ink-soft); line-height: 1.65; }
.legal-list { margin: 0; display: grid; }
.legal-list > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--rule); }
.legal-list > div:first-child { border-top: 0; padding-top: 0; }
.legal-list dt { color: var(--mute); font-size: 0.9rem; }
.legal-list dd { margin: 0; }
.legal-page .todo { background: var(--mark); padding: 0.05em 0.35em; border-radius: 4px; }
.nav-legal .back-link { font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-demo, .split > .col-a, .split > .col-b { grid-column: auto; }
  .hero-grid { align-items: start; }
  .pipe { grid-template-columns: 1fr; gap: 2.25rem; }
  .st::after, .st::before { display: none; }
  .st > p { max-width: 52ch; }
  .panel { height: auto; min-height: 9.5rem; }
  .finds-grid { grid-template-columns: 1fr 1fr; }
  .mflow { grid-template-columns: minmax(0, 1fr); }
  .mflow span:nth-of-type(2) { justify-self: center; }
  .mflow i { justify-self: center; transform: rotate(90deg); }
  .cards5 { grid-template-columns: 1fr 1fr; }
  .deploy { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .dz { grid-template-columns: minmax(0, 1fr); }
  .da { grid-auto-flow: column; justify-content: center; align-items: center; gap: 0.5rem; }
  .da::after { content: "↓"; }
  .dx { justify-content: center; }
}
@media (max-width: 44rem) {
  .nav > a { display: none; }
  .nav .lang-switch a { display: inline-flex; }
  .site-header .wrap { position: relative; gap: 0.5rem; }
  .nav { margin-left: auto; }
  .header-cta .cta-long { display: none; }
  .header-cta .cta-short { display: inline; }
  .show-cta .header-cta { margin-left: 0.25rem; padding-inline: 0.85rem; }
  .show-cta:not(.menu-open) .nav .lang-switch { display: none; }
  .menu-btn { display: inline-grid; place-content: center; gap: 4px; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); cursor: pointer; }
  .menu-btn span { display: block; width: 1.25rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-open .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0.25rem var(--gutter) 1rem; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 24px -20px rgba(17, 22, 28, 0.45); }
  .menu-open .nav > a { display: flex; align-items: center; min-height: 3rem; border-bottom: 1px solid var(--rule); font-size: 1.05rem; color: var(--ink); }
  .menu-open .nav .lang-switch { align-self: flex-start; margin-top: 0.75rem; }
  /* compact hero on phones */
  .hero { min-height: 0; padding-block: 0.75rem 1.25rem; }
  .hero-copy { gap: 1.1rem; }
  h1 { font-size: 1.7rem; }
  .hero .lede { font-size: 1rem; }
  .kicker { font-size: 0.75rem; }
  .ba-notes { display: none; }
  .modes, .who { grid-template-columns: 1fr; }
  .net-out { display: none; }
  .finds-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
  .report::before { right: 1rem; }
  .foot-brand .small { padding-left: 0; border-left: 0; }
  .nav-legal > a.back-link { display: inline-flex; }
  .legal-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .hero > .wrap { border-radius: 20px; padding: 1.5rem 1.25rem; width: calc(100% - 1.5rem); }
  .ba { padding: 0.75rem 0.75rem 1rem; }
  .ba-pane { padding: 0.75rem 0.8rem 0.85rem; }
  .ba-text { font-size: 0.8rem; }
  .ba-text mark { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 40rem) { .cards5 { grid-template-columns: 1fr; } }

/* ---------- Detection engine callout ---------- */
.engine-ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 23%; background: var(--deep); color: #fff; }
.engine-ic svg { width: 1.7rem; height: 1.7rem; }
.hero-engine { display: flex; align-items: center; gap: 0.85rem; width: fit-content; max-width: 100%; margin-top: 1.1rem; padding: 0.6rem 1rem 0.6rem 0.6rem; border-radius: 16px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.hero-engine .engine-ic { width: 2.5rem; height: 2.5rem; flex: none; background: var(--deep); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.hero-engine .engine-ic svg { width: 1.45rem; height: 1.45rem; }
.hero-engine b { display: block; color: #fff; font-size: 0.98rem; line-height: 1.3; }
.hero-engine span:not(.engine-ic) { display: block; margin-top: 0.15rem; color: var(--g-on-dark); font-size: 0.85rem; font-weight: 600; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .scan, .st::before { display: none; }
  .js .redact { animation: none; background-size: 100% 0.86em; color: var(--redact-fg, var(--paper)); }
}
