AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
site: light theme by default (AAA text contrast, 18px/1.6 body, light code blocks) (#1920)
xerj-org878ba3e8e500
diff --git a/landing/aise-demo.html b/landing/aise-demo.htmlindex feffc2055..d52c670e2 100644--- a/landing/aise-demo.html+++ b/landing/aise-demo.html@@ -15,23 +15,26 @@<title>XERJ — product tour</title><meta name="description" content="A 90-second single-take product tour of XERJ — one 22 MB binary with no JVM, the Elasticsearch-compatible API, and the live AI-telemetry dashboards."><style>- body { background:#0b0b0d; color:#f3f3ee; font-family:"Inter",system-ui,sans-serif;+ /* light default (2026-10 readability pass) */+ body { background:#fafaf7; color:#1a1a1a; font-family:"Inter",system-ui,sans-serif;margin:0; padding:24px; min-height:100vh; }h1 { font-family:"Big Shoulders Display",sans-serif; font-weight:900; font-size:36px;margin:0 0 8px; }- .meta { color:#6b6b75; font-size:13px; letter-spacing:0.06em; margin-bottom:18px; }+ .meta { color:#4a4843; font-size:14px; letter-spacing:0.06em; margin-bottom:18px; }.video-wrap { max-width:1280px; margin:0 auto; }- video { width:100%; border:1px solid #25252e; border-radius:6px; background:#000; }- .summary { max-width:1280px; margin:24px auto 0; font-size:14.5px; line-height:1.6;- color:#cbcbc1; }- .summary code { background:rgba(255,196,0,0.12); padding:1px 5px; border-radius:3px;- color:#ffc400; font-family:"JetBrains Mono",monospace; }- .summary strong { color:#ffc400; }+ video { width:100%; border:1px solid #d4d1c7; border-radius:6px; background:#000; }+ .summary { max-width:75ch; margin:24px auto 0; font-size:18px; line-height:1.6;+ color:#1a1a1a; }+ .summary code { background:#f3f4f6; border:1px solid #e2e4e8; padding:1px 5px; border-radius:3px;+ color:#1a1a1a; font-family:"JetBrains Mono",monospace; }+ .summary strong { color:#1a1a1a; }+ a { color:#6b4400; text-decoration:underline; text-underline-offset:.18em; }+ :focus-visible { outline:3px solid #8a5a00; outline-offset:2px; }ol li, ul li { margin:6px 0; }- table { border-collapse:collapse; width:100%; margin:16px 0; font-size:13.5px; }- th, td { text-align:left; padding:8px 12px; border-bottom:1px solid #25252e; vertical-align:top; }- th { color:#6b6b75; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; font-size:11px; }- td:first-child { font-family:"JetBrains Mono",monospace; color:#ffc400; white-space:nowrap; }+ table { border-collapse:collapse; width:100%; margin:16px 0; font-size:15px; }+ th, td { text-align:left; padding:8px 12px; border-bottom:1px solid #d4d1c7; vertical-align:top; }+ th { color:#4a4843; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; font-size:12px; }+ td:first-child { font-family:"JetBrains Mono",monospace; color:#6b4400; white-space:nowrap; }h2 { font-family:"Big Shoulders Display",sans-serif; font-weight:900; font-size:24px; margin:28px 0 10px; }</style><!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit -->@@ -138,8 +141,8 @@↓ Download MP4 (8 MB)</a><span style="font-size: 13px; color: #6b6b75;">- Press <code style="background:rgba(255,196,0,0.15); color:#ffc400; padding:1px 6px; border-radius:3px;">space</code>- to play/pause; <code style="background:rgba(255,196,0,0.15); color:#ffc400; padding:1px 6px; border-radius:3px;">←</code>/<code style="background:rgba(255,196,0,0.15); color:#ffc400; padding:1px 6px; border-radius:3px;">→</code>+ Press <code style="background:#f3f4f6; border:1px solid #e2e4e8; color:#1a1a1a; padding:1px 6px; border-radius:3px;">space</code>+ to play/pause; <code style="background:#f3f4f6; border:1px solid #e2e4e8; color:#1a1a1a; padding:1px 6px; border-radius:3px;">←</code>/<code style="background:#f3f4f6; border:1px solid #e2e4e8; color:#1a1a1a; padding:1px 6px; border-radius:3px;">→</code>to seek 5s; click the timeline to scrub.</span></div>@@ -172,7 +175,7 @@<p>Every number on screen is rendered from documents posted to XERJ over its<code>/_bulk</code> and <code>/_search</code> endpoints — the same API an Elasticsearch clientalready uses. Prefer the short loop? The animated preview on the- <a href="/" style="color:#ffc400;">home page</a> is a clip of this same tour.</p>+ <a href="/" style="color:#6b4400;">home page</a> is a clip of this same tour.</p></div></div></body></html>diff --git a/landing/benchmarks/elasticsearch.html b/landing/benchmarks/elasticsearch.htmlindex 11d287b5b..7e030f698 100644--- a/landing/benchmarks/elasticsearch.html+++ b/landing/benchmarks/elasticsearch.html@@ -25,8 +25,8 @@/* page-local: 5-column variant of the product .bench grid + verdict tones *//* LOSE tone as a themed token — style.css has no red in its palette, and araw hex would not re-declare under the day theme the way --z-accent does */- :root { --z-lose: #e05252; }- html[data-theme='day'] { --z-lose: #b03a2e; }+ :root { --z-lose: #8f2427; }+ html[data-theme='night'] { --z-lose: #e05252; }.bench-scroll { overflow-x: auto; max-width: 100%; }.bench.matrix { grid-template-columns: minmax(170px, 1fr) 96px 96px minmax(100px, 128px) 60px; min-width: 676px; margin-top: 0; }diff --git a/landing/benchmarks/index.html b/landing/benchmarks/index.htmlindex 99a9a5c60..e90871054 100644--- a/landing/benchmarks/index.html+++ b/landing/benchmarks/index.html@@ -23,8 +23,8 @@<link rel="stylesheet" href="/style.css?v=if9"><style>/* page-local: a negative colour the system lacks, both themes */- :root { --z-neg: #d9575f; }- html[data-theme='day'] { --z-neg: #a32b2e; }+ :root { --z-neg: #8f2427; }+ html[data-theme='night'] { --z-neg: #e2767c; }/* vertical comparison chart — same component as the reference-coding case study */.vchart { margin: var(--sp-6) 0 0; }diff --git a/landing/blog.css b/landing/blog.cssindex f6f9e2e4a..d4bc85b0e 100644--- a/landing/blog.css+++ b/landing/blog.css@@ -5,8 +5,8 @@/* ---- post components: vt tables, vchart, wire, loss, stat-band ---- *//* page-local: a negative colour the system lacks, both themes */- :root { --z-neg: #d9575f; }- html[data-theme='day'] { --z-neg: #a32b2e; }+ :root { --z-neg: #8f2427; } /* 8.2:1 on the light page */+ html[data-theme='night'] { --z-neg: #e2767c; }/* vertical comparison chart — same component as the benchmarks hub */.vchart { margin: var(--sp-6) 0 0; }@@ -40,7 +40,7 @@letter-spacing:var(--track-label); text-transform:uppercase; color:var(--z-mute); }.vc-axis span { min-width:0; }.vc-axis .sub { display:block; font-style:normal; letter-spacing:.03em;- text-transform:none; opacity:.72; margin-top:3px; }+ text-transform:none; margin-top:3px; }.vc-axis .win { color:var(--z-accent); opacity:1; }.vc-title { margin-top:var(--sp-4); padding-top:var(--sp-3);border-top:1px solid var(--z-faint);@@ -70,7 +70,7 @@/* verdict table */.vt-wrap { overflow-x:auto; margin-top:var(--sp-6); }- table.vt { width:100%; border-collapse:collapse; font-family:var(--font-data); font-size:13.5px; }+ table.vt { width:100%; border-collapse:collapse; font-family:var(--font-data); font-size:15px; }.vt th { text-align:left; font-size:11px; letter-spacing:.06em; text-transform:uppercase;color:var(--z-mute); font-weight:600; padding:9px 12px 9px 0; border-bottom:1px solid var(--z-ink); }.vt td { padding:10px 12px 10px 0; border-bottom:1px solid var(--z-faint); vertical-align:top; }@@ -103,27 +103,27 @@.wp .wn { font-family:var(--font-data); font-size:12px; font-weight:700; letter-spacing:.08em; color:var(--z-accent); }.wp h3 { margin:0; font-family:var(--font-display); font-weight:800; font-size:var(--fs-20); letter-spacing:.01em; }.wp .wm { margin-left:auto; font-family:var(--font-data); font-size:12px; color:var(--z-mute); letter-spacing:.04em; }- .wp p { margin:8px 0 0; color:var(--z-mute); font-size:15px; line-height:1.6; max-width:920px; }+ .wp p { margin:8px 0 0; color:var(--z-mute); font-size:var(--fs-16); line-height:var(--lh-body); max-width:var(--measure); }.wp p strong { color:var(--z-ink); }.wp.neg { border-left-color:var(--z-neg); }.wp.neg .wn { color:var(--z-neg); }.loss { border:1px solid var(--z-line); border-left:3px solid var(--z-neg); padding:16px 20px;- margin-top:var(--sp-6); font-size:15px; color:var(--z-mute); line-height:1.65; max-width:980px; }+ margin-top:var(--sp-6); font-size:var(--fs-16); color:var(--z-mute); line-height:var(--lh-body); max-width:var(--measure); }.loss strong { color:var(--z-ink); }.src { font-family:var(--font-data); font-size:12px; letter-spacing:.03em; color:var(--z-mute); margin-top:var(--sp-4); }/* terminal blocks */- pre.code { margin:var(--sp-5) 0 0; padding:18px 20px; border:1px solid var(--z-line);- overflow-x:auto; font-family:var(--font-data); font-size:12.5px; line-height:1.75;- color:var(--z-mute); background:var(--z-bg); }+ pre.code { margin:var(--sp-5) 0 0; padding:18px 20px; border:1px solid var(--z-code-line);+ overflow-x:auto; font-family:var(--font-data); font-size:var(--fs-13); line-height:1.7;+ color:var(--z-mute); background:var(--z-code-bg); }pre.code .prompt { color:var(--z-accent); font-weight:700; user-select:none; }pre.code .out { color:var(--z-ink); }- pre.code .cmt { opacity:.62; }+ pre.code .cmt { font-style:italic; } /* was opacity:.62 (fell below 4.5:1) *//* bullet lists — same rule the hub carries locally */- ul.deep { list-style:none; padding:0; max-width:920px; }- ul.deep li { margin:14px 0; line-height:1.65; color:var(--z-mute); font-size:15px; }+ ul.deep { list-style:none; padding:0; max-width:var(--measure); }+ ul.deep li { margin:14px 0; line-height:var(--lh-body); color:var(--z-ink); font-size:var(--fs-16); }ul.deep li strong { color:var(--z-ink); }ul.deep code.inline { color:var(--z-ink); }diff --git a/landing/brand.html b/landing/brand.htmlindex decf44092..7cca112ca 100644--- a/landing/brand.html+++ b/landing/brand.html@@ -337,14 +337,16 @@<h2 class="scene">FIVE COLORS.<br>ONE OF THEM<br>IS YELLOW.</h2><p>- The palette is intentionally narrow. Night is primary — the- product is read in dim rooms at 2 am when something- broke. Day is a courtesy. Accent is the only chromatic color+ The palette is intentionally narrow. Day is the default: near-black+ ink on near-white paper, every text colour at 7:1 or better. Night+ is an opt-in for dim rooms at 2 am. XERJ yellow is a fill,+ never a text colour on paper: on light pages the accent text is a+ darkened ochre from the same hue. Accent is the only chromatic colorin the system and it is used sparingly: for active state, fora single key number, or for the one word a sentence is pointing at.</p>- <h4 style="margin-top: var(--sp-12);">NIGHT · primary</h4>+ <h4 style="margin-top: var(--sp-12);">NIGHT · opt-in</h4><div class="swatch"><span class="chip" style="background:#0b0b0d;"></span><span class="name">Ink · bg</span>@@ -356,9 +358,9 @@<span class="hex mono">#F4F2EC</span></div><div class="swatch">- <span class="chip" style="background:#8a8680;"></span>+ <span class="chip" style="background:#a8a49d;"></span><span class="name">Mute</span>- <span class="hex mono">#8A8680</span>+ <span class="hex mono">#A8A49D</span></div><div class="swatch"><span class="chip" style="background:#2b2a28;"></span>@@ -371,26 +373,31 @@<span class="hex mono">#FFC400</span></div>- <h4 style="margin-top: var(--sp-12);">DAY · courtesy</h4>+ <h4 style="margin-top: var(--sp-12);">DAY · default</h4><div class="swatch">- <span class="chip" style="background:#f6f4ee;"></span>+ <span class="chip" style="background:#fafaf7;"></span><span class="name">Paper · bg</span>- <span class="hex mono">#F6F4EE</span>+ <span class="hex mono">#FAFAF7</span></div><div class="swatch">- <span class="chip" style="background:#11120f;"></span>+ <span class="chip" style="background:#1a1a1a;"></span><span class="name">Ink · ink</span>- <span class="hex mono">#11120F</span>+ <span class="hex mono">#1A1A1A</span></div><div class="swatch">- <span class="chip" style="background:#696762;"></span>+ <span class="chip" style="background:#4a4843;"></span><span class="name">Mute</span>- <span class="hex mono">#696762</span>+ <span class="hex mono">#4A4843</span></div><div class="swatch">- <span class="chip" style="background:#cfcbbf;"></span>+ <span class="chip" style="background:#d4d1c7;"></span><span class="name">Faint · hairlines</span>- <span class="hex mono">#CFCBBF</span>+ <span class="hex mono">#D4D1C7</span>+ </div>+ <div class="swatch">+ <span class="chip" style="background:#6b4400;"></span>+ <span class="name">Accent · text</span>+ <span class="hex mono">#6B4400</span></div></section>diff --git a/landing/case-studies/reference-coding.html b/landing/case-studies/reference-coding.htmlindex dd7fe9ab9..019036902 100644--- a/landing/case-studies/reference-coding.html+++ b/landing/case-studies/reference-coding.html@@ -30,8 +30,8 @@#e8536b / #ffc400, so every chart fell back to night-only coloursand went unreadable the moment a reader hit the DAY toggle.---------------------------------------------------------------- */- :root { --z-neg: #d9575f; }- html[data-theme='day'] { --z-neg: #a32b2e; }+ :root { --z-neg: #8f2427; }+ html[data-theme='night'] { --z-neg: #e2767c; }/* ---------------------------------------------------------------Vertical comparison chart. Arms stand side by side on one shareddiff --git a/landing/demo/index.html b/landing/demo/index.htmlindex 49c243c01..058cf8596 100644--- a/landing/demo/index.html+++ b/landing/demo/index.html@@ -24,31 +24,36 @@<style>:root {- --bg: #0b0b0d;- --bg-2: #131318;- --panel: #16161c;- --ink: #f3f3ee;- --dim: #6b6b75;- --line: #25252e;- --y: #ffc400;- --live: #6df59a;- --mock: #ff7a5c;- --es-bad: #ff5c5c;- --xerj-good: #6df59a;+ /* light default (2026-10 readability pass); ratios vs --bg */+ --bg: #fafaf7;+ --bg-2: #f3f4f6;+ --panel: #ffffff;+ --ink: #1a1a1a; /* 16.6:1 */+ --ink-2: #2e2d2a; /* secondary body copy, 13.3:1 */+ --dim: #4a4843; /* 8.7:1 */+ --line: #d4d1c7;+ --y: #6b4400; /* accent text, 8.2:1 — #ffc400 is fill-only */+ --y-fill: #ffc400;+ --live: #145528; /* 8.5:1 */+ --mock: #8a2e0f; /* 8.1:1 */+ --es-bad: #8f2427; /* 8.2:1 */+ --xerj-good: #145528;}* { box-sizing: border-box; }html, body { background: var(--bg); color: var(--ink); margin: 0; padding: 0;font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;- font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }-a { color: var(--y); text-decoration: none; border-bottom: 1px dashed transparent; }-a:hover { border-bottom-color: var(--y); }+ font-size: 18px; line-height: 1.6; }+a { color: var(--y); text-decoration: none; border-bottom: 1px solid currentColor; }+a:hover { border-bottom-color: var(--y-fill); border-bottom-width: 2px; }+:focus-visible { outline: 3px solid #8a5a00; outline-offset: 2px; }+@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }code, pre, .mono { font-family: "JetBrains Mono", "SF Mono", monospace; }code { background: var(--bg-2); padding: 1px 6px; border-radius: 3px;- font-size: 0.92em; color: #eaeaea; }+ font-size: 0.92em; color: var(--ink); }/* ── Top nav ────────────────────────────────────────── */nav.top {- position: sticky; top: 0; z-index: 50; background: rgba(11,11,13,0.92);+ position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,0.95);border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);padding: 14px 36px; display: flex; gap: 28px; align-items: baseline;}@@ -79,7 +84,7 @@ header.hero h1 {}header.hero h1 em { font-style: normal; color: var(--y); }header.hero p.lede {- font-size: 22px; line-height: 1.45; color: #c5c5bb; max-width: 850px;+ font-size: 22px; line-height: 1.45; color: var(--ink-2); max-width: 850px;margin: 0 0 28px; font-weight: 400;}header.hero .stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }@@ -122,21 +127,21 @@ section.step-section h2 .num {section.step-section h3 {font-family: "Big Shoulders Display", sans-serif; font-weight: 900;font-size: 22px; letter-spacing: 0.04em; margin: 28px 0 12px;- color: #d6d6cc; text-transform: uppercase;+ color: var(--ink-2); text-transform: uppercase;}section.step-section p.why {- font-size: 18px; color: #cbcbc1; max-width: 780px; margin: 0 0 24px;+ font-size: 18px; color: var(--ink-2); max-width: 780px; margin: 0 0 24px;}section.step-section p { max-width: 780px; }/* ── Code blocks ─────────────────────────────────────── */pre.cmd {- background: #08080a; border: 1px solid var(--line); border-radius: 6px;+ background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;padding: 18px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.55;margin: 14px 0;}pre.cmd .prompt { color: var(--live); user-select: none; }-pre.cmd .out { color: #b9b9af; }+pre.cmd .out { color: var(--ink-2); }pre.cmd .num { color: var(--y); font-weight: 700; }/* ── Side-by-side comparison block ───────────────────── */@@ -146,8 +151,8 @@ pre.cmd .num { color: var(--y); font-weight: 700; }overflow: hidden;}.compare > div { padding: 22px 26px; }-.compare .xerj-side { background: #102018; border-right: 1px solid var(--line); }-.compare .es-side { background: #1f1212; }+.compare .xerj-side { background: #eef7f0; border-right: 1px solid var(--line); }+.compare .es-side { background: #fbefef; }.compare .label {font-family: "Big Shoulders Display", sans-serif; font-weight: 900;font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;@@ -162,7 +167,7 @@ pre.cmd .num { color: var(--y); font-weight: 700; }.compare .xerj-side .num { color: var(--xerj-good); }.compare .es-side .num { color: var(--es-bad); }.compare .small {- font-size: 14px; line-height: 1.4; color: #c5c5bb; margin-top: 10px;+ font-size: 14px; line-height: 1.4; color: var(--ink-2); margin-top: 10px;}.compare .source {font-size: 11px; letter-spacing: 0.1em; color: var(--dim);@@ -205,24 +210,24 @@ pre.cmd .num { color: var(--y); font-weight: 700; }.lightbox .lb-cap {position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);font-family: "JetBrains Mono", monospace; font-size: 12px;- letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);+ letter-spacing: 0.12em; text-transform: uppercase; color: #d6d6cc;padding: 8px 16px; background: rgba(11,11,13,0.85);border: 1px solid var(--line); border-radius: 4px;pointer-events: none;}.lightbox .lb-close {- position: fixed; top: 14px; right: 18px; color: var(--ink);+ position: fixed; top: 14px; right: 18px; color: #f3f3ee;font-size: 26px; line-height: 1; cursor: pointer;background: rgba(11,11,13,0.6); border: 1px solid var(--line);border-radius: 50%; width: 38px; height: 38px;display: flex; align-items: center; justify-content: center;}-.lightbox .lb-close:hover { color: var(--y); border-color: var(--y); }+.lightbox .lb-close:hover { color: var(--y-fill); border-color: var(--y-fill); }/* ── SE-says callout ─────────────────────────────────── */.se-says {background: var(--bg-2); border-left: 3px solid var(--y);- padding: 18px 24px; margin: 24px 0; font-size: 15px; color: #d8d8ce;+ padding: 18px 24px; margin: 24px 0; font-size: 15px; color: var(--ink-2);}.se-says strong { color: var(--y); font-weight: 700; }@@ -777,7 +782,7 @@ node demo/scripts/full-demo-flow.jsmachine.</p>- <h4 style="margin-top: 18px; color: #d6d6cc;">Step 1 — empty server</h4>+ <h4 style="margin-top: 18px; color: var(--ink-2);">Step 1 — empty server</h4><pre class="cmd"><span class="prompt">$ </span># Right after `./xerj --insecure --data-dir ./data` — no user data<span class="prompt">$ </span>curl -s "localhost:9200/_cat/indices?v" | grep -vE '\.xerj-console'<span class="out">health status index uuid pri rep docs.count docs.deleted store.size pri.store.size@@ -787,7 +792,7 @@ node demo/scripts/full-demo-flow.js"reason":"index not found: chat-events","index":"chat-events"}], "status": <span class="num">404</span>}</span></pre>- <h4 style="margin-top: 18px; color: #d6d6cc;">Step 2 — show the data file (this is where models / intents / costs are defined)</h4>+ <h4 style="margin-top: 18px; color: var(--ink-2);">Step 2 — show the data file (this is where models / intents / costs are defined)</h4><pre class="cmd"><span class="prompt">$ </span>wc -l demo/data/extras/chat-events.ndjson<span class="out"><span class="num">4008</span> demo/data/extras/chat-events.ndjson</span><span class="prompt">$ </span>head -1 demo/data/extras/chat-events.ndjson | jq .@@ -814,7 +819,7 @@ node demo/scripts/full-demo-flow.jsseed produces the same 4 008 docs byte-for-byte.</p>- <h4 style="margin-top: 18px; color: #d6d6cc;">Step 3 — bulk-ingest via <code>/_bulk</code> (the only data-source API)</h4>+ <h4 style="margin-top: 18px; color: var(--ink-2);">Step 3 — bulk-ingest via <code>/_bulk</code> (the only data-source API)</h4><pre class="cmd"><span class="prompt">$ </span># Build the alternating-line bulk body the ES wire-protocol expects<span class="prompt">$ </span>(while IFS= read -r doc; doprintf '{"index":{"_index":"chat-events"}}\n%s\n' "$doc"@@ -834,7 +839,7 @@ node demo/scripts/full-demo-flow.js"last": <span class="num">201</span>}</span></pre>- <h4 style="margin-top: 18px; color: #d6d6cc;">Step 4 — verify what xerj-console will see</h4>+ <h4 style="margin-top: 18px; color: var(--ink-2);">Step 4 — verify what xerj-console will see</h4><pre class="cmd"><span class="prompt">$ </span>curl -s "localhost:9200/_cat/indices?v" | grep chat-events<span class="out">green open chat-events de04447a-91b2-4f0a-91f5-e4329b1451eb 1 0 <span class="num">4008</span> 0</span>diff --git a/landing/playground/app.bundle.js b/landing/playground/app.bundle.jsindex 10da460b1..310d930f7 100644--- a/landing/playground/app.bundle.js+++ b/landing/playground/app.bundle.js@@ -5272,7 +5272,7 @@ borrows the accent color.`loading: false,filters: loadAllFilters(),// { [dashId]: { field: value } }- theme: document.documentElement.getAttribute("data-theme") || "night",+ theme: document.documentElement.getAttribute("data-theme") || "day",edit: localStorage.getItem(LS.edit) === "1",mobile: localStorage.getItem("xerj.mobile") === "1",layouts: loadAllLayouts(),diff --git a/landing/playground/assets/tokens.css b/landing/playground/assets/tokens.cssindex a314c3aa5..157d31c92 100644--- a/landing/playground/assets/tokens.css+++ b/landing/playground/assets/tokens.css@@ -5,12 +5,13 @@============================================================ */:root {- /* Color — five values, no more */- --z-paper: #0D0D0D;- --z-ink: #E0E0E0;- --z-mute: #555555;- --z-faint: #2A2A2A;- --z-accent: #EEBB00;+ /* Color — five values, no more. Light (day) is the default since the+ 2026-10 readability pass; ratios are against --z-paper. */+ --z-paper: #FBFAF6;+ --z-ink: #141414; /* 17.6:1 */+ --z-mute: #4A4843; /* 8.8:1 (was #7A7671, 4.3:1) */+ --z-faint: #E6E4DC; /* hairlines only */+ --z-accent: #6B4400; /* 8.2:1 — #EEBB00 is unreadable on paper *//* Type families */--font-display: 'Big Shoulders Display', 'Impact', 'Helvetica Neue Condensed', sans-serif;@@ -52,16 +53,17 @@:root[data-theme='night'] {--z-paper: #0D0D0D;--z-ink: #E0E0E0;- --z-mute: #555555;+ --z-mute: #A0A0A0; /* 7.4:1 (was #555555, 2.6:1) */--z-faint: #2A2A2A;+ --z-accent: #EEBB00;}:root[data-theme='day'] {--z-paper: #FBFAF6;--z-ink: #141414;- --z-mute: #7A7671;+ --z-mute: #4A4843;--z-faint: #E6E4DC;/* Day accent — darker ochre in the same yellow family.The night accent (#EEBB00) is 1.7:1 on paper — unreadable.- #A06800 is 5.7:1, passes AA body text. Same hue family. */- --z-accent: #A06800;+ #A06800 measured 3.9:1 (failed AA); #6B4400 is 8.2:1. */+ --z-accent: #6B4400;}diff --git a/landing/playground/index.html b/landing/playground/index.htmlindex 88c6dd298..569604416 100644--- a/landing/playground/index.html+++ b/landing/playground/index.html@@ -16,12 +16,12 @@<meta name="viewport" content="width=device-width, initial-scale=1"><title>XERJ.AI · observe</title><meta name="description" content="The XERJ observability dashboards application. Deliberately not indexed — open it from the playground gate at xerj.org/playground instead.">-<meta name="color-scheme" content="dark light">+<meta name="color-scheme" content="light dark"><script>// Theme bootstrap — runs before CSS to prevent a flash of wrong theme.(function () {var t = localStorage.getItem('xerj.theme');- if (t !== 'day' && t !== 'night') t = 'night';+ if (t !== 'day' && t !== 'night') t = 'day'; // light by default; NIGHT is opt-indocument.documentElement.setAttribute('data-theme', t);})();</script>diff --git a/landing/playground/src/app.js b/landing/playground/src/app.jsindex dac62d88f..4aee28495 100644--- a/landing/playground/src/app.js+++ b/landing/playground/src/app.js@@ -68,7 +68,7 @@ const state = {fetchErr: null, // last fetch error messageloading: false,filters: loadAllFilters(), // { [dashId]: { field: value } }- theme: document.documentElement.getAttribute('data-theme') || 'night',+ theme: document.documentElement.getAttribute('data-theme') || 'day',edit: localStorage.getItem(LS.edit) === '1',mobile: localStorage.getItem('xerj.mobile') === '1',layouts: loadAllLayouts(),diff --git a/landing/style.css b/landing/style.cssindex a194192c4..7f6488146 100644--- a/landing/style.css+++ b/landing/style.css@@ -5,17 +5,33 @@tokens used by the product dashboards under /web.============================================================ */-:root {- /* Night palette is primary — the product is read in dim rooms- at 2am when something breaks. Day is a courtesy. */- --z-bg: #0b0b0d;- --z-ink: #f4f2ec;- --z-mute: #8a8680;- --z-faint: #2b2a28;- --z-line: #3a3836;- --z-accent: #ffc400; /* solid, not neon */- --z-cmp: #7f93aa; /* comparison series in charts — never XERJ */-+/* Light is the default (2026-10 readability pass): near-white page,+ near-black text, every text colour at WCAG AAA (7:1) or better against+ the page. The XERJ yellow (#ffc400) is 1.5:1 on white, so it is used+ only as a FILL (buttons with dark text, highlights, underlines) and the+ accent TEXT colour is a darkened ochre from the same hue. Night is an+ explicit opt-in via the DAY/NIGHT toggle (html[data-theme='night']).+ Measured ratios are listed next to each token (vs --z-bg). */+:root,+html[data-theme='day'] {+ color-scheme: light;+ --z-bg: #fafaf7; /* page */+ --z-ink: #1a1a1a; /* body text — 16.6:1 */+ --z-mute: #4a4843; /* secondary text — 8.7:1 (8.3:1 on --z-code-bg) */+ --z-faint: #e7e5de; /* hairlines, never text */+ --z-line: #d4d1c7; /* 1px rules, never text */+ --z-accent: #6b4400; /* accent TEXT (darkened XERJ ochre) — 8.2:1 */+ --z-cmp: #3b536f; /* comparison series in charts — 7.6:1 */+ --z-neg: #8f2427; /* negative / loss — 8.2:1 */++ --z-brand: #ffc400; /* XERJ yellow — fills, underlines, highlights only */+ --z-on-brand: #1a1a1a; /* text on --z-brand — 10.9:1 */+ --z-brand-deep: #8a5a00; /* borders and focus ring — 5.7:1 (>=3:1 non-text) */+ --z-highlight: #fff1b8; /* soft yellow wash behind dark text — ink 15.3:1 */+ --z-link: #6b4400; /* links: underlined, 8.2:1 */+ --z-focus: #8a5a00; /* focus ring */+ --z-code-bg: #f3f4f6; /* code surface — ink 15.8:1, mute 8.1:1, accent 7.7:1 */+ --z-code-line: #e2e4e8;--font-display: 'Big Shoulders Display', 'Inter', system-ui, sans-serif;--font-prose: 'Inter', system-ui, sans-serif;--font-data: 'IBM Plex Sans', 'Inter', system-ui, sans-serif;@@ -23,9 +39,9 @@/* Modular scale — 11/13/16/20/32/56/96. Same as the dashboardsso the brand and the product feel like one object. */- --fs-11: 11px;- --fs-13: 13px;- --fs-16: 16px;+ --fs-11: 12px; /* uppercase labels — was 11px */+ --fs-13: 14px; /* captions, mono — was 13px */+ --fs-16: 18px; /* body copy — was 16px; 17px on phones (see below) */--fs-20: 20px;--fs-32: 32px;--fs-56: 56px;@@ -45,21 +61,31 @@--page-x: 64px;--max-w: 1680px;--gap-x: 24px;++ --lh-body: 1.6;+ --measure: 68ch; /* 60-75ch line length for running copy */}-html[data-theme='day'] {- --z-bg: #f6f4ee;- --z-ink: #11120f;- --z-mute: #696762;- --z-faint: #e3dfd4;- --z-line: #cfcbbf;- /* Day accent — darker ochre in the same yellow family.- #ffc400 on cream is 1.7:1 (unreadable). #a06800 measured 4.27:1 on- cream — the old comment claiming 5.7:1 was miscalculated and failed- AA once day became the default. #7f5200 is 6.14:1 (AA body, AAA large).- Still reads as "XERJ yellow", just at a different luminance. */- --z-accent: #7f5200;- --z-cmp: #6f8aa8;++/* Night — opt-in only (the toggle). Same palette as before 2026-10. */+html[data-theme='night'] {+ color-scheme: dark;+ --z-bg: #0b0b0d;+ --z-ink: #f4f2ec;+ --z-mute: #a8a49d; /* was #8a8680 (5.4:1); now 7.9:1 */+ --z-faint: #2b2a28;+ --z-line: #3a3836;+ --z-accent: #ffc400;+ --z-cmp: #8fa3b9;+ --z-neg: #e2767c;+ --z-brand: #ffc400;+ --z-on-brand: #0b0b0d;+ --z-brand-deep: #ffc400;+ --z-highlight: #3a3000;+ --z-link: #ffd54a;+ --z-focus: #ffc400;+ --z-code-bg: #16161a;+ --z-code-line: #2b2a28;}/* ---------- base ---------- */@@ -73,7 +99,7 @@ html, body {color: var(--z-ink);font-family: var(--font-prose);font-size: var(--fs-16);- line-height: 1.45;+ line-height: var(--lh-body);-webkit-font-smoothing: antialiased;text-rendering: optimizeLegibility;overflow-x: hidden;@@ -89,6 +115,39 @@ a { color: inherit; text-decoration: none; }a:hover { color: var(--z-accent); }button { font: inherit; }+/* Readability pass (2026-10): links inside running copy are underlined and+ coloured so they never rely on colour alone; every focusable element gets+ a visible ring. Component links (nav, cards, buttons) carry classes and+ keep their own treatment, hence :not([class]). */+:where(p, li, dd, td, blockquote, figcaption, .lead, .docs-content) a:not([class]) {+ color: var(--z-link);+ text-decoration: underline;+ text-decoration-thickness: 1px;+ text-underline-offset: 0.18em;+}+:where(p, li, dd, td, blockquote, figcaption, .lead, .docs-content) a:not([class]):hover {+ color: var(--z-ink);+ text-decoration-color: var(--z-brand-deep);+ text-decoration-thickness: 2px;+}+:focus-visible {+ outline: 3px solid var(--z-focus);+ outline-offset: 2px;+}+::selection { background: var(--z-highlight); color: var(--z-ink); }+::placeholder { color: var(--z-mute); opacity: 1; }+@media (prefers-reduced-motion: reduce) {+ *, *::before, *::after {+ animation-duration: 0.01ms !important;+ animation-iteration-count: 1 !important;+ transition-duration: 0.01ms !important;+ scroll-behavior: auto !important;+ }+}+@media (max-width: 720px) {+ :root { --fs-16: 17px; }+}+/* ---------- nav ---------- */.nav {@@ -166,7 +225,7 @@ button { font: inherit; }color: var(--z-mute);margin-bottom: var(--sp-4);}-.kicker .dash { opacity: 0.4; margin: 0 6px; }+.kicker .dash { margin: 0 6px; }h1.hero {font-family: var(--font-display);@@ -178,6 +237,12 @@ h1.hero {color: var(--z-ink);}h1.hero .accent { color: var(--z-accent); }+html:not([data-theme='night']) h1.hero .accent {+ /* the brand yellow returns as a marker stroke under the dark-ochre words */+ background: linear-gradient(transparent 56%, var(--z-highlight) 56%, var(--z-highlight) 84%, transparent 84%);+ -webkit-box-decoration-break: clone;+ box-decoration-break: clone;+}h2.scene {font-family: var(--font-display);@@ -216,15 +281,16 @@ h4 {p, .body {font-size: var(--fs-16);- color: var(--z-mute);- max-width: 680px;+ line-height: var(--lh-body);+ color: var(--z-ink); /* running copy is body text: 16.6:1 (was --z-mute) */+ max-width: var(--measure);}-p.wide { max-width: 860px; }+p.wide { max-width: 75ch; }.mono { font-family: var(--font-mono); font-size: var(--fs-13); }.accent { color: var(--z-accent); }.mute { color: var(--z-mute); }-.faint { color: var(--z-faint); }+.faint { color: var(--z-mute); } /* --z-faint is a hairline colour; as text it was 1.2:1 *//* ---------- layout helpers ---------- */@@ -296,8 +362,8 @@ body::before {background: linear-gradient(180deg, #000 0, #000 78vh, var(--z-bg) 97vh);pointer-events: none;}-html[data-theme='day'] body { background: transparent; }-html[data-theme='day'] body::before { display: none; }+html:not([data-theme='night']) body { background: transparent; }+html:not([data-theme='night']) body::before { display: none; }section.hero-split .lead { margin-bottom: 0; }@media (min-width: 961px) {section.hero-split h1.hero { font-size: clamp(96px, 8.3vw, 160px); }@@ -376,8 +442,8 @@ section.hero-split .lead { margin-bottom: 0; }.hero-demo-stage:hover .hero-demo-play,.hero-demo-play:focus-visible {transform: translateY(-50%) scale(1.08);- background: var(--z-accent);- border-color: var(--z-accent);+ background: var(--z-brand);+ border-color: var(--z-brand);outline: none;}.hero-demo-stage:hover .hero-demo-play svg,@@ -471,9 +537,9 @@ section.hero-split .lead { margin-bottom: 0; }line-height: 1.55;}.hero-install-cmd.agent-prompt .hero-install-copy {- background: var(--z-accent);- border-color: var(--z-accent);- color: var(--z-bg);+ background: var(--z-brand);+ border-color: var(--z-brand-deep);+ color: var(--z-on-brand);font-weight: 700;align-self: center;}@@ -717,7 +783,7 @@ section.section-split p.wide { max-width: none; }.uc-showcase .uc-num {font-family: var(--font-mono);font-size: var(--fs-11);- color: var(--z-faint);+ color: var(--z-mute); /* was --z-faint (1.2:1) */margin-bottom: var(--sp-2);}.uc-showcase .uc-title {@@ -1128,6 +1194,9 @@ section.section-split p.wide { max-width: none; }}.flowband-svg { color: var(--z-ink); }.flowband-labels { gap: var(--sp-2); }+/* the band above encodes share with opacity; the text labels under it must+ not inherit that fade (it put the smallest segment's value at 3.7:1) */+.flowband-labels .fb-seg[style*="opacity"] { opacity: 1 !important; }.flowband-labels .fb-seg {overflow: hidden;padding-right: var(--sp-2);@@ -1146,7 +1215,7 @@ section.section-split p.wide { max-width: none; }}.flowband-labels .fb-value {font-family: var(--font-mono);- font-size: 10px;+ font-size: var(--fs-11);color: var(--z-mute);margin-top: 2px;white-space: nowrap;@@ -1173,18 +1242,20 @@ section.section-split p.wide { max-width: none; }background: var(--cta-bg);color: var(--cta-ink);}-html[data-theme='day'] .lead-capture {- --cta-bg: #111;- --cta-ink: #F4F2EC;- --cta-mute: #8A8680;- --cta-line: #3A3836;- --cta-go: #F4F2EC;+/* Light default: a soft XERJ-yellow wash, not a black band. Ratios vs+ --cta-bg #fff8e1: ink 16.4:1, mute 8.6:1, accent 8.1:1. */+html:not([data-theme='night']) .lead-capture {+ --cta-bg: #fff8e1;+ --cta-ink: #1a1a1a;+ --cta-mute: #4a4843;+ --cta-line: #8a5a00;+ --cta-go: #1a1a1a;}.lead-capture .kicker {margin-bottom: var(--sp-4);color: var(--z-accent);}-.lead-capture .kicker .dash { color: var(--z-accent); opacity: 0.5; }+.lead-capture .kicker .dash { color: var(--z-accent); }.lead-capture h3 {font-family: var(--font-display);font-weight: 900;@@ -1233,7 +1304,7 @@ html[data-theme='day'] .lead-capture {}.lead-form input[type="email"]::placeholder {color: var(--cta-mute);- opacity: 0.5;+ opacity: 1; /* placeholders stay >= 4.5:1 (was 0.5 opacity) */}/* Blinking cursor — visible when input is empty and unfocused */.lead-form-input::after {@@ -1275,9 +1346,9 @@ html[data-theme='day'] .lead-capture {gap: var(--sp-2);transition: background .15s, transform .15s;}-.lead-form button.demo .arrow { color: var(--z-accent); }+.lead-form button.demo .arrow { color: var(--z-brand); }.lead-form button.demo:hover {- background: var(--z-accent);+ background: var(--z-brand);color: var(--cta-go);transform: translateX(2px);}@@ -1509,7 +1580,7 @@ html[data-theme='day'] .lead-capture {.docs-toc .key { color: var(--z-mute); margin-right: var(--sp-3); }.docs-toc a { color: var(--z-mute); }.docs-toc a:hover { color: var(--z-ink); }-.docs-toc .num { color: var(--z-faint); margin-right: 4px; }+.docs-toc .num { color: var(--z-mute); margin-right: 4px; }/* Every doc section gets an anchor ID + a small kicker number. */section.doc-section {@@ -1544,10 +1615,11 @@ pre.code {border-top: 0;border-right: 0;border-bottom: 0;- background: none;+ background: var(--z-code-bg);+ padding-right: var(--sp-4);font-family: var(--font-mono);font-size: var(--fs-13);- line-height: 1.55;+ line-height: 1.6;color: var(--z-ink);white-space: pre;overflow-x: auto;@@ -1559,8 +1631,12 @@ pre.code .k { color: var(--z-accent); }pre.code .s { color: var(--z-ink); }code.inline {font-family: var(--font-mono);- font-size: 0.92em;- color: var(--z-accent);+ font-size: 0.9em;+ color: var(--z-ink);+ background: var(--z-code-bg);+ border: 1px solid var(--z-code-line);+ border-radius: 3px;+ padding: 0.05em 0.3em;}/* Four-column config table: KEY · TYPE · DEFAULT · DESCRIPTION. */@@ -1699,7 +1775,7 @@ pre.tree .c { color: var(--z-mute); }outline: none;}.playground .gate-form input[type="email"]:focus { border-bottom-color: var(--z-accent); }-.playground .gate-form input[type="email"]::placeholder { color: var(--z-mute); opacity: 0.6; }+.playground .gate-form input[type="email"]::placeholder { color: var(--z-mute); opacity: 1; }.playground .gate-form button {background: none;border: 0;@@ -1856,7 +1932,7 @@ pre.tree .c { color: var(--z-mute); }letter-spacing: 0;text-transform: none;}-.docs-search input::placeholder { color: var(--z-mute); opacity: 0.45; }+.docs-search input::placeholder { color: var(--z-mute); opacity: 1; }.docs-search .hint {position: absolute;right: 0;@@ -1954,7 +2030,7 @@ pre.tree .c { color: var(--z-mute); }.docs-nav .group a .eyebrow {display: inline-block;width: 22px;- color: var(--z-faint);+ color: var(--z-mute); /* was --z-faint (1.2:1) */font-family: var(--font-mono);font-size: var(--fs-11);margin-right: 4px;@@ -2026,7 +2102,7 @@ pre.tree .c { color: var(--z-mute); }}.docs-content .breadcrumb a { color: var(--z-mute); }.docs-content .breadcrumb a:hover { color: var(--z-ink); }-.docs-content .breadcrumb .sep { margin: 0 6px; opacity: 0.5; }+.docs-content .breadcrumb .sep { margin: 0 6px; }.docs-content .source-note {font-family: var(--font-data);@@ -2086,7 +2162,7 @@ pre.tree .c { color: var(--z-mute); }.recipes .recipe .num {font-family: var(--font-mono);font-size: var(--fs-11);- color: var(--z-faint);+ color: var(--z-mute); /* was --z-faint (1.2:1) */letter-spacing: var(--track-ui);}.recipes .recipe .title {@@ -2552,7 +2628,6 @@ svg.chart.is-interactive .ser:focus-visible {.chart-chip .chip-ct {color: var(--z-mute);font-variant-numeric: tabular-nums;- opacity: 0.8;}/* Respect reduced-motion: no transitions (JS also jumps the zoom) */@@ -2699,9 +2774,9 @@ svg.chart.is-interactive .ser:focus-visible {font-size: var(--fs-13);font-weight: 700;letter-spacing: var(--track-ui);- color: var(--z-bg);- background: var(--z-accent);- border: 1px solid var(--z-accent);+ color: var(--z-on-brand);+ background: var(--z-brand);+ border: 1px solid var(--z-brand-deep);border-radius: 8px;padding: 10px 22px;cursor: pointer;@@ -2748,8 +2823,7 @@ svg.chart.is-interactive .ser:focus-visible {font-weight: 700;font-variant-numeric: tabular-nums;}-.hero-bench b.hb-bad { color: #d9575f; }-html[data-theme='day'] .hero-bench b.hb-bad { color: #a32b2e; }+.hero-bench b.hb-bad { color: var(--z-neg); }.hero-bench .hb-arrow { color: var(--z-accent); font-weight: 700; }.hero-bench .hb-link {font-size: var(--fs-11);@@ -2798,7 +2872,7 @@ html[data-theme='day'] .hero-bench b.hb-bad { color: #a32b2e; }.nav .nav-dl{padding:.35rem .7rem;border:1px solid var(--z-accent);border-radius:4px;color:var(--z-accent);font-weight:700;white-space:nowrap;text-decoration:none;font-family:"JetBrains Mono",monospace;font-size:.8rem;}-.nav .nav-dl:hover{background:var(--z-accent);color:#0b0b0d;}+.nav .nav-dl:hover{background:var(--z-brand);border-color:var(--z-brand-deep);color:var(--z-on-brand);}/* ============================================================* ANSWER / COMPARE PAGES (build_articles.py, .article-shell).