/* Agent-Fabric landing — self-contained, no build step.
   Brand: navy #17334a family + electric blue #0066ff.
   Fonts match the product consoles: Bricolage Grotesque (display),
   Hanken Grotesk (body), Spline Sans Mono (terminal/code). */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-latin-normal.woff2') format('woff2-variations');
  font-weight: 300 700; font-stretch: normal; font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-latin-italic.woff2') format('woff2-variations');
  font-weight: 300 700; font-stretch: normal; font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('assets/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('assets/fonts/spline-sans-mono-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 700; font-display: swap;
}

:root {
  --navy-950: #081220;
  --navy-900: #0c1926;
  --navy-800: #10233a;
  --navy-700: #17334a;   /* brand navy */
  --navy-600: #1f4463;
  --blue: #0066ff;       /* brand blue */
  --blue-bright: #3d8bff;
  --blue-soft: rgba(0, 102, 255, .14);
  --ink: #eaf1f8;
  --ink-dim: #a8bdd0;
  --ink-faint: #6b8299;
  --line: rgba(120, 165, 210, .16);
  --card: rgba(16, 35, 58, .55);
  --ok: #2fbf71;
  --font-display: 'Fraunces', 'Bricolage Grotesque', Georgia, ui-serif, serif;
  --font-body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --maxw: 1120px;
  /* Motion (Emil Kowalski standards): built-in `ease` is too weak for UI;
     use strong ease-out for enters/exits, ease-in-out for on-screen movement. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* One sizing system — every component draws from these tokens instead of
     one-off values, so cards, sections and type read as one family.
       radius:  16/10 (surfaces/controls) + 20 for the single feature card
       type:    13 fine print · 14 UI/controls · 15 card body · 17 leads · 19 card titles
       rhythm:  one --sect between sections; one card padding; one grid gap */
  --radius: 14px;        /* surfaces: cards, players, terminal */
  --radius-lg: 20px;     /* the one hero-scale card (data boundary) */
  --radius-ctl: 10px;    /* controls: buttons, code chips, diagram nodes */
  --sect: 96px;
  --pad-card: 26px 24px;
  --gap-grid: 20px;
  --fs-sm: 13px;
  --fs-ui: 14px;
  --fs-body: 15px;
  --fs-lead: 17px;
  --fs-h3: 19px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.65 var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(0,102,255,.13), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(31,68,99,.5), transparent 55%),
    var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 40, 'WONK' 0;   /* Fraunces: gentle softness, no wonk */
  line-height: 1.08; letter-spacing: -.01em;
}
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 460; }
h3 { font-size: var(--fs-h3); font-weight: 520; letter-spacing: -.005em; }
section { position: relative; padding: var(--sect) 24px; scroll-margin-top: 70px; }
.section-head { max-width: var(--maxw); margin: 0 auto 44px; }
.section-sub { color: var(--ink-dim); margin-top: 10px; max-width: 640px; font-size: var(--fs-lead); }
.section-sub code { color: var(--blue-bright); font-size: .92em; }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright);
  margin-bottom: 14px;
}

/* --- scroll reveal ---------------------------------------------------------
   Hidden-until-scrolled is applied ONLY when JS is running (site.js sets
   html.js). Without JS — or in a full-page render, print, a crawler — every
   section is simply visible; the animation is enhancement, never a gate. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .js .reveal { opacity: 1; transform: none; }
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--font-body);
  padding: 13px 22px; border-radius: var(--radius-ctl); border: 1px solid transparent;
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background .15s var(--ease-out), border-color .15s var(--ease-out);
  cursor: pointer;
}
.btn:active { transform: scale(0.97); transition: transform 120ms var(--ease-out); }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #fff; box-shadow: 0 6px 22px rgba(0, 102, 255, .35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(0, 102, 255, .5); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--blue-bright); background: var(--blue-soft); }
.btn-sm { padding: 9px 16px; font-size: var(--fs-ui); }

/* --- topbar --------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
  background: rgba(8, 18, 32, .8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--font-display); font-weight: 660; font-size: 18px; letter-spacing: -.01em; }
.wordmark em { font-style: normal; color: var(--blue-bright); }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { font-size: var(--fs-ui); color: var(--ink-dim); transition: color .15s var(--ease-out); white-space: nowrap; }
.topnav a:hover { color: var(--ink); }
.topbar > .btn { flex-shrink: 0; }

/* --- hero ------------------------------------------------------------------ */
.hero { padding: var(--sect) 24px calc(var(--sect) + 20px); overflow: hidden; }
.mesh-bg { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(46px, 7vw, 88px); font-weight: 430; letter-spacing: -.018em; line-height: 1.02; }
/* Editorial accent: italic Fraunces in a single refined blue — a gradient on
   text is an AI-slop tell; italic + one confident color reads as designed. */
.grad {
  font-style: italic; font-weight: 430; color: var(--blue-bright);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
}
.sub { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--ink-dim); max-width: 520px; }
.sub strong { color: var(--ink); font-weight: 620; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.hero-note { margin-top: 26px; font-size: var(--fs-sm); color: var(--ink-faint); }

/* hero terminal */
.hero-term {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12,25,38,.92), rgba(8,18,32,.96));
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(0,102,255,.06), 0 0 60px rgba(0,102,255,.08);
}
.term-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--navy-600); }
.term-dot:first-child { background: #e0604f; }
.term-dot:nth-child(2) { background: #e8b03f; }
.term-dot:nth-child(3) { background: var(--ok); }
.term-title { margin-left: 10px; font-size: var(--fs-sm); color: var(--ink-faint); }
.term-body {
  padding: 18px 18px 22px; min-height: 300px;
  font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word;
  color: var(--ink-dim);
}
.term-body .tc-cmd { color: var(--ink); font-weight: 500; }
.term-body .tc-ok { color: var(--ok); }
.term-body .tc-blue { color: var(--blue-bright); }
.term-body .tc-dim { color: var(--ink-faint); }
.term-body .cursor {
  display: inline-block; width: 8px; height: 15px; margin-bottom: -2px;
  background: var(--blue-bright); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- how it works ----------------------------------------------------------- */
.steps {
  max-width: var(--maxw); margin: 0 auto; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid);
}
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: var(--pad-card);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
  min-width: 0; /* let nowrap code blocks scroll inside, not blow the grid out */
}
.step:hover { border-color: rgba(61,139,255,.45); transform: translateY(-3px); }
.step-n {
  font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--blue-bright);
  display: block; margin-bottom: 16px; letter-spacing: .08em;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: var(--fs-body); min-height: 72px; }
.cmd {
  display: block; margin-top: 16px; padding: 11px 14px;
  background: var(--navy-950); border: 1px solid var(--line); border-radius: var(--radius-ctl);
  font-size: var(--fs-sm); color: var(--blue-bright); overflow-x: auto; white-space: nowrap;
}

/* --- demos -------------------------------------------------------------------- */
.demo-shell { max-width: 960px; margin: 0 auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  /* readable at a glance: bigger, and inactive uses full ink (not muted grey),
     so options are easy to tell apart. active is unmistakable. */
  font: 560 15px/1 var(--font-body); color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 18px; cursor: pointer;
  transition: color .15s var(--ease-out), background .15s var(--ease-out), border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.tab:hover { color: #fff; border-color: rgba(61, 139, 255, .6); background: var(--blue-soft); }
.tab.active {
  color: #fff; font-weight: 640; background: var(--blue); border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 102, 255, .4);
}
.player-wrap {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  min-height: 200px;
}
.player-wrap .ap-player { border-radius: 0; }
.video-wrap video { display: block; width: 100%; height: auto; }
/* The console demos continue the demos story — half rhythm binds the pair. */
.demos-console { padding-top: calc(var(--sect) / 2); }

/* --- features ---------------------------------------------------------------- */
.feature-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid);
}
.feature {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: var(--pad-card);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
  min-width: 0;
}
.feature:hover { border-color: rgba(61,139,255,.45); transform: translateY(-3px); }
.feature h3 { margin-bottom: 10px; }
.feature h3::before {
  content: ''; display: block; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  margin-bottom: 14px;
}
.feature p { color: var(--ink-dim); font-size: var(--fs-body); }

/* --- boundary ------------------------------------------------------------------ */
.boundary-inner {
  max-width: 860px; margin: 0 auto; text-align: center;
  border: 1px solid rgba(61,139,255,.28); border-radius: var(--radius-lg);
  padding: 64px 44px;
  background:
    radial-gradient(600px 260px at 50% -20%, rgba(0,102,255,.16), transparent 70%),
    var(--card);
}
.boundary-inner p { color: var(--ink-dim); max-width: 620px; margin: 16px auto 0; font-size: var(--fs-lead); }
.boundary-inner p em { color: var(--ink); font-style: normal; font-weight: 620; }
/* data-boundary diagram: an explicit horizontal line splits cloud (metadata,
   above) from your machines (prompts, below) — the whole point in one picture. */
.bd-map { margin: 38px auto 0; max-width: 620px; text-align: left; }
.bd-cloud-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bd-cloud-box {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 20px; border: 1px solid rgba(61,139,255,.4); border-radius: var(--radius-ctl);
  background: radial-gradient(120px 60px at 30% 0%, rgba(0,102,255,.16), transparent 70%), var(--navy-950);
}
.bd-box-label { font-family: var(--font-mono); font-size: var(--fs-ui); color: var(--ink); }
.bd-box-sub { font-size: var(--fs-sm); color: var(--ink-faint); }
.bd-sees { font-size: var(--fs-sm); color: var(--ink-dim); text-align: right; }
.bd-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 8px; }
.bd-tags span {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
  padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px;
}
/* the boundary line */
.bd-line {
  position: relative; margin: 22px 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue-bright) 0 8px, transparent 8px 16px);
  opacity: .8;
}
.bd-line-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--navy-950); padding: 2px 12px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--blue-bright); white-space: nowrap;
}
/* below the line: your machines + the encrypted mesh */
.bd-machines { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.bd-machine {
  padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--radius-ctl);
  background: var(--navy-950); text-align: center;
}
.bd-m-name { font-family: var(--font-mono); font-size: var(--fs-ui); color: var(--ink); }
.bd-mesh { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 4px; }
.bd-lock { font-size: 15px; }
.bd-mesh-label { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--blue-bright); white-space: nowrap; }
.bd-mesh-sub { font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }
.bd-punch { margin-top: 30px; font-size: var(--fs-lead); color: var(--ink); font-weight: 500; }
@media (max-width: 560px) {
  .bd-cloud-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .bd-sees, .bd-tags { text-align: left; justify-content: flex-start; }
  .bd-machines { grid-template-columns: 1fr; }
  .bd-mesh { flex-direction: row; gap: 8px; }
}

/* --- final CTA ------------------------------------------------------------------ */
.final-cta { text-align: center; }
.cta-cmd {
  display: block; max-width: 620px; margin: 26px auto 30px; padding: 14px 22px;
  background: var(--navy-950); border: 1px solid var(--line); border-radius: var(--radius-ctl);
  color: var(--blue-bright); font-size: var(--fs-ui);
  overflow-x: auto; white-space: nowrap; /* long install one-liner scrolls, never widens the page */
}

/* --- footer ---------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 48px; text-align: center;
  display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 9px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--ink-dim); font-size: var(--fs-ui); }
.foot-links a:hover { color: var(--ink); }
.foot-note { color: var(--ink-faint); font-size: var(--fs-sm); }

/* --- responsive -------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps, .feature-grid { grid-template-columns: 1fr 1fr; }
  .step p { min-height: 0; }
}
@media (max-width: 640px) {
  :root { --sect: 64px; }               /* tighter but still uniform rhythm */
  section { padding-left: 18px; padding-right: 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  /* Topbar wraps to two rows: brand + CTA stay on the first line, the nav
     becomes a slim scrollable strip below — navigation never disappears. */
  .topbar { flex-wrap: wrap; gap: 12px 16px; padding: 12px 18px; }
  .topnav {
    order: 3; flex-basis: 100%; margin-left: 0; gap: 18px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .term-body { min-height: 240px; font-size: 12.5px; }
  .boundary-inner { padding: 44px 22px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; } /* full-width tap targets */
  section { scroll-margin-top: 96px; } /* clear the taller two-row header */
}

/* ============================================================================
   Corporate layer — legal document pages, corporate footer, cookie consent.
   Reuses the same tokens/fonts as the landing; no new dependencies.
   ========================================================================== */

/* --- legal / document pages ------------------------------------------------- */
.doc {
  max-width: 760px; margin: 0 auto; padding: calc(var(--sect) * .6) 24px var(--sect);
}
.doc-head { margin-bottom: 40px; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.doc-head h1 {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px);
  font-weight: 680; letter-spacing: -.02em; line-height: 1.1;
}
.doc-meta { margin-top: 14px; color: var(--ink-faint); font-size: var(--fs-sm); font-family: var(--font-mono); }
.doc-meta span + span::before { content: '·'; margin: 0 10px; color: var(--line); }
.doc-lead { margin-top: 18px; color: var(--ink-dim); font-size: var(--fs-lead); }
.doc h2 {
  font-size: 22px; font-weight: 640; margin: 44px 0 14px; letter-spacing: -.01em;
  scroll-margin-top: 84px;
}
.doc h3 { font-size: var(--fs-h3); font-weight: 600; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--ink-dim); font-size: var(--fs-body); line-height: 1.75; }
.doc p { margin: 12px 0; }
.doc strong { color: var(--ink); font-weight: 620; }
.doc a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: #7db8ff; }
.doc ul, .doc ol { margin: 12px 0 12px 22px; }
.doc li { margin: 7px 0; }
.doc code { font-family: var(--font-mono); font-size: .9em; color: var(--blue-bright); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
/* definition-style contact / entity block */
.doc-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 22px 24px; margin: 20px 0;
}
.doc-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.doc-card dt { color: var(--ink-faint); font-size: var(--fs-sm); font-family: var(--font-mono); }
.doc-card dd { color: var(--ink); font-size: var(--fs-body); }
.doc-note {
  border-left: 3px solid var(--blue); background: var(--blue-soft);
  padding: 12px 18px; border-radius: 0 var(--radius-ctl) var(--radius-ctl) 0;
  margin: 18px 0; color: var(--ink-dim); font-size: var(--fs-body);
}
.doc-toc {
  border: 1px solid var(--line); border-radius: var(--radius-ctl);
  background: var(--card); padding: 16px 20px; margin: 24px 0 8px;
}
.doc-toc p { margin: 0 0 8px; color: var(--ink-faint); font-size: var(--fs-sm);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.doc-toc ol { margin: 0 0 0 18px; }
.doc-toc a { color: var(--ink-dim); text-decoration: none; font-size: var(--fs-ui); }
.doc-toc a:hover { color: var(--blue-bright); }

/* --- corporate footer (replaces the minimal one) ---------------------------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 56px 24px 40px;
  display: block; text-align: left;
}
.foot-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.foot-about .foot-brand { justify-content: flex-start; margin-bottom: 14px; }
.foot-tagline { color: var(--ink-dim); font-size: var(--fs-body); max-width: 300px; }
.foot-company { color: var(--ink-faint); font-size: var(--fs-sm); margin-top: 14px; line-height: 1.7; }
.foot-col h4 {
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px;
}
.foot-col a { display: block; color: var(--ink-dim); font-size: var(--fs-ui); padding: 5px 0; }
.foot-col a:hover { color: var(--blue-bright); }
.foot-bottom {
  max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.foot-bottom p { color: var(--ink-faint); font-size: var(--fs-sm); }
.foot-bottom a { color: var(--ink-faint); font-size: var(--fs-sm); }
.foot-bottom a:hover { color: var(--ink-dim); }

/* --- cookie consent banner -------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 640px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(12, 25, 38, .97); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  padding: 20px 22px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { color: var(--ink-dim); font-size: var(--fs-ui); line-height: 1.6; }
.cookie-banner a { color: var(--blue-bright); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: var(--fs-ui); }
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-about { grid-column: 1 / -1; }
  .cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* to-be-provided legal facts (staging review); replaced with real values before prod */
.fill { color: #e8b03f; border-bottom: 1px dashed currentColor; font-style: italic; }

/* --- Emil polish: hover gating + reduced-motion (movement off, opacity/color kept) --- */
/* Touch devices have no real hover: a tapped card/button would stick in its
   lifted state. Neutralize the MOVEMENT hovers there; color/border hovers are
   harmless and stay. */
@media (hover: none), (pointer: coarse) {
  .btn-primary:hover, .btn-ghost:hover,
  .step:hover, .feature:hover, .tab:hover { transform: none; }
  .btn-primary:hover { box-shadow: 0 6px 22px rgba(0, 102, 255, .35); }
}
@media (prefers-reduced-motion: reduce) {
  /* Keep opacity/color; drop movement + the blinking cursor. */
  .btn:hover, .btn:active,
  .btn-primary:hover, .btn-ghost:hover,
  .step:hover, .feature:hover, .tab:hover { transform: none; }
  .term-body .cursor { animation: none; }
}

/* --- ecosystem / integrations ---------------------------------------------- */
.eco-groups {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px var(--gap-grid);
}
.eco-group {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 24px 26px 28px;
}
.eco-group h4 {
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue-bright);
  margin-bottom: 20px;
}
.eco-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.eco-item { display: flex; align-items: center; gap: 10px; }
/* Monochrome tint of any single-color SVG via CSS mask — colors the silhouette
   with the current ink, brightening to brand blue on hover. Avoids a cheap
   rainbow logo-wall; the whole strip reads as one editorial system. */
/* Full-color brand marks on a soft light tile so every logo — including the
   near-black ones — stays legible on the navy background and its real color pops. */
.eco-logo {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fbfdff; border: 1px solid rgba(255,255,255,.14); border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.eco-logo img { width: 20px; height: 20px; display: block; }
.eco-item:hover .eco-logo { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,102,255,.28); }
.eco-logo-sm { width: 24px; height: 24px; border-radius: 7px; vertical-align: -7px; margin-right: 9px; }
.eco-logo-sm img { width: 14px; height: 14px; }
.eco-name { font-size: var(--fs-ui); color: var(--ink-dim); white-space: nowrap; }
.eco-item:hover .eco-name { color: var(--ink); }
.eco-chip {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--navy-950); transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.eco-item-text:hover .eco-chip { border-color: var(--accent-line, rgba(0,102,255,.4)); color: var(--ink); }
.eco-foot {
  max-width: var(--maxw); margin: 34px auto 0; text-align: center;
  color: var(--ink-faint); font-size: var(--fs-body);
}
@media (max-width: 720px) { .eco-groups { grid-template-columns: 1fr; } }
