Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

fix(landing): hero attribution hardening + readable mobile type

xerj-orgdcdfff7a53ac
diff --git a/landing/index.html b/landing/index.html
index 3a3636dd9..fd15d71fb 100644
--- a/landing/index.html
+++ b/landing/index.html
@@ -13,7 +13,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">
-<link rel="stylesheet" href="/style.css?v=if5">
+<link rel="stylesheet" href="/style.css?v=if7">
</head>
<body>
@@ -41,7 +41,7 @@
<!-- HERO — one job: the prompt ----------------------------->
<section class="hero-center">
- <h1 class="hero">ONE PROMPT.<br>WORKING PRODUCT.<br><span class="accent">~5× FEWER TOKENS.</span></h1>
+ <h1 class="hero">ONE PROMPT.<br>WORKING PRODUCT.<br><span class="hero-report-tag">USERS REPORT</span><span class="accent">~5× FEWER TOKENS.</span></h1>
<div class="prompt-stage">
<div class="prompt-card">
@@ -51,14 +51,14 @@
</div>
</div>
- <p class="hero-sub">That's what users report shipping real products with
- Claude&nbsp;Code&nbsp;+&nbsp;XERJ
+ <p class="hero-sub">Users shipping real products with Claude&nbsp;Code&nbsp;+&nbsp;XERJ
+ report exactly that
(<a href="https://github.com/xerj-org/xerj/blob/main/user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md">field reports</a>).
One paste — your agent installs XERJ, indexes your project and the
open-source repos closest to it, and looks implementations up instead of
re-deriving them.</p>
- <p class="hero-proof">Measured on code the model hadn't seen:
+ <p class="hero-proof">The measured benchmarks behind it, on code the model hadn't seen:
<strong>2.7× fewer output tokens</strong> than grep-driven Claude Code on the
8-task cross-language benchmark · <strong>21/21 solved vs 1/21 from memory</strong>
on the seven domains whose contract the model can't recall —
diff --git a/landing/style.css b/landing/style.css
index 36d7c24ae..57e72c17e 100644
--- a/landing/style.css
+++ b/landing/style.css
@@ -2553,7 +2553,35 @@ svg.chart.is-interactive .ser:focus-visible {
/* The split-hero clamp died with .hero-split; without one the h1 is a
fixed 160px from 961px up — measured 1071px wide at 1024px viewports,
wrapping to four ragged lines and pushing the prompt below the fold. */
- font-size: clamp(44px, 8vw, 140px);
+ font-size: clamp(38px, 8vw, 140px);
+}
+.hero-report-tag {
+ display: block;
+ font-family: var(--font-data);
+ font-size: clamp(12px, 1.2vw, 16px);
+ font-weight: 600;
+ letter-spacing: var(--track-ui);
+ color: var(--z-mute);
+ margin: var(--sp-2) 0 2px;
+}
+/* Phones: the desktop clamp floor made the hero read TINY on iPhone
+ (user report). Phones get viewport-relative type + tighter gutters
+ instead. Fit math against real Big Shoulders 900 metrics: the accent
+ line needs 7.22px of width per font-px ('~5× FEWER TOKENS.' = 1155px
+ @160px), so 12vw with sp-3 gutters clears every width ≥331px; the
+ ≤330px step pins the floor. */
+@media (max-width: 720px) {
+ .hero-center { padding-left: var(--sp-3); padding-right: var(--sp-3); }
+ .hero-center .hero { font-size: clamp(36px, 12vw, 64px); }
+ .hero-report-tag { font-size: 13px; }
+ .hero-sub { font-size: var(--fs-16); }
+ .hero-proof { font-size: 14px; }
+ .prompt-label { font-size: 12px; }
+ .prompt-card code { font-size: 15px; }
+ .hero-alt-install { font-size: 12px; }
+}
+@media (max-width: 330px) {
+ .hero-center .hero { font-size: 36px; }
}
.hero-sub {
font-family: var(--font-prose);