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
/* ============================================================
XERJ.ai — brand site
Typography-first. Everything is text. 1px lines only. No
icons, no shadows, no filled shapes. Mirrors the design
tokens used by the product dashboards under /web.
============================================================ */
/* 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;
--font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
/* Modular scale — 11/13/16/20/32/56/96. Same as the dashboards
so the brand and the product feel like one object. */
--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;
--fs-96: 96px;
--fs-160: 160px; /* only hero h1 on the landing */
--track-ui: 0.14em;
--track-label: 0.08em;
--sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
/* --sp-5 was referenced in 6 places but never defined, so every declaration
using it was silently dropped (the prompt card rendered with padding:0). */
--sp-5: 20px;
--sp-6: 24px; --sp-8: 32px; --sp-10: 48px; --sp-12: 64px;
--sp-16: 96px; --sp-20: 128px;
--page-x: 64px;
--max-w: 1680px;
--gap-x: 24px;
--lh-body: 1.6;
--measure: 68ch; /* 60-75ch line length for running copy */
}
/* 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 ---------- */
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
background: var(--z-bg);
color: var(--z-ink);
font-family: var(--font-prose);
font-size: var(--fs-16);
line-height: var(--lh-body);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
overflow-x: hidden;
}
body {
padding: var(--sp-8) var(--page-x) var(--sp-16);
max-width: var(--max-w);
margin: 0 auto;
}
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 {
display: flex;
align-items: baseline;
gap: var(--sp-4);
padding-bottom: var(--sp-6);
border-bottom: 1px solid var(--z-line);
margin-bottom: var(--sp-16);
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 600;
text-transform: uppercase;
letter-spacing: var(--track-ui);
}
.nav .brand {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-16);
letter-spacing: 0.24em;
color: var(--z-ink);
margin-right: var(--sp-4);
}
.nav a { color: var(--z-mute); }
.nav a:hover { color: var(--z-ink); }
.nav a.active { color: var(--z-ink); }
/* Use-cases sub-nav — a persistent horizontal bar visible
when USE CASES is the active section. Not a dropdown —
it sits below the primary nav as a second row. */
.nav-drop { display: inline-flex; align-items: baseline; }
.nav-drop > a { color: var(--z-mute); }
.nav-drop.active > a { color: var(--z-ink); }
.nav-drop-menu { display: none; }
.uc-subnav {
display: flex;
align-items: baseline;
gap: var(--sp-4);
padding: var(--sp-2) 0 var(--sp-3);
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 500;
letter-spacing: var(--track-ui);
text-transform: uppercase;
border-bottom: 1px solid var(--z-line);
margin-bottom: var(--sp-8);
flex-wrap: wrap;
}
.uc-subnav a { color: var(--z-mute); padding: 4px 0; }
.uc-subnav a:hover { color: var(--z-ink); }
.uc-subnav a.active { color: var(--z-accent); }
.nav .spacer { flex: 1; }
.nav .theme button {
background: none;
border: 0;
color: var(--z-mute);
font: inherit;
text-transform: uppercase;
cursor: pointer;
}
.nav .theme button:hover { color: var(--z-ink); }
.nav .theme button.active { color: var(--z-accent); }
.nav .theme .dash { color: var(--z-mute); margin: 0 4px; }
/* ---------- type ---------- */
.kicker {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 500;
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
margin-bottom: var(--sp-4);
}
.kicker .dash { margin: 0 6px; }
h1.hero {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-160);
line-height: 0.88;
letter-spacing: -0.02em;
margin: 0 0 var(--sp-8);
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);
font-weight: 900;
font-size: var(--fs-96);
line-height: 0.92;
letter-spacing: -0.01em;
margin: 0 0 var(--sp-8);
}
h3.section {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-56);
line-height: 0.95;
letter-spacing: -0.005em;
margin: 0 0 var(--sp-6);
}
h4 {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-32);
line-height: 1;
margin: 0 0 var(--sp-4);
}
.lead {
font-family: var(--font-prose);
font-size: var(--fs-20);
line-height: 1.5;
color: var(--z-ink);
max-width: 720px;
margin: 0 0 var(--sp-12);
}
p, .body {
font-size: var(--fs-16);
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: 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-mute); } /* --z-faint is a hairline colour; as text it was 1.2:1 */
/* ---------- layout helpers ---------- */
section.scene-section {
padding: var(--sp-12) 0 var(--sp-12);
border-top: 1px solid var(--z-line);
}
section.scene-section:first-of-type { border-top: 0; padding-top: 0; }
/* Lead-capture is a self-enclosed accent block. When the next
section is a regular scene-section, suppress its border-top
so we don't get a gray line right below the accent bottom. */
section.lead-capture + section.scene-section { border-top: 0; }
.grid-12 {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: var(--gap-x);
}
.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
/* Two-column section layout — the title/copy on the left and a
compact visual on the right, side-by-side at one row. Used for
sections where the chart is small enough not to need full width. */
section.section-split {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
gap: var(--sp-12);
align-items: start;
}
section.section-split > .split-copy { min-width: 0; }
section.section-split > .split-viz { min-width: 0; }
/* Hero variant of the split: copy left, demo video right. Copy
keeps the wider track so the h1 never wraps mid-word, the h1
scales fluidly below full width, and the player is capped — all
so the full title hero fits a 1080px viewport without scrolling. */
section.hero-split {
align-items: center;
/* give the demo the larger track so it reads as a background surface,
not a side widget; copy keeps enough width for the h1's fixed lines */
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
gap: var(--sp-8);
}
/* Cinematic black top screen: a full-bleed PURE-black band behind the WHOLE first
screen (nav + hero), 100vw so it breaks out of the max-width body column and
covers the gutters, fading to the page colour (--z-bg #0b0b0d) just past the
hero. This lets the frameless #000 demo video melt into the hero with no
two-tone at the nav. Sits at z-index:-1 (behind all content; the transparent
nav + hero copy show on top). Dark theme only — the light theme keeps its bg
so the hero's dark copy stays readable. */
/* body's own background must be transparent, else its opaque --z-bg paints OVER
the z-index:-1 band and hides it (the band then never shows). html keeps the
page colour; the band paints over html, behind the transparent body content. */
body { position: relative; background: transparent; }
body::before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100vw;
height: 100vh;
background: linear-gradient(180deg, #000 0, #000 78vh, var(--z-bg) 97vh);
pointer-events: 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); }
}
.hero-demo {
width: 100%;
max-width: 900px;
justify-self: end;
}
/* Frameless "stage": the video is the cover background of a larger
container, lifted off the page by a shadow instead of a border, with
a centered play button. Clicking the still (anywhere) starts it; once
playing, native controls take over and the overlays fade away. */
.hero-demo-stage {
position: relative;
width: 100%;
/* the demo mp4 is 1440x900 (8:5); the stage matches it so cover fill
neither crops nor letterboxes */
aspect-ratio: 8 / 5;
background: #000;
/* edge-to-edge video background — no rounded corners, no frame, no border */
overflow: hidden;
cursor: pointer;
}
.hero-demo-stage video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
display: block;
/* feather the video's outer edges to transparent so its rectangle dissolves
into the black hero (no visible boundary) — the actual "integration". The
stage's #000 (== the black page) shows through the feathered edge. */
-webkit-mask-image: radial-gradient(126% 116% at 50% 47%, #000 66%, transparent 100%);
mask-image: radial-gradient(126% 116% at 50% 47%, #000 66%, transparent 100%);
}
/* soft vignette over the still frame; fades out once playing */
.hero-demo-stage::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(130% 130% at 50% 45%, rgba(0, 0, 0, .10), rgba(0, 0, 0, .58));
pointer-events: none;
transition: opacity .45s ease;
}
.hero-demo-stage.is-playing::after { opacity: 0; }
.hero-demo-play {
position: absolute;
/* centre-left: vertically centred on the left edge */
top: 50%;
left: 24px;
transform: translateY(-50%);
width: 64px;
height: 64px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, .55);
background: rgba(12, 12, 14, .42);
-webkit-backdrop-filter: blur(6px);
backdrop-filter: blur(6px);
display: grid;
place-items: center;
padding: 0;
cursor: pointer;
transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .35s ease;
}
.hero-demo-play svg {
width: 24px;
height: 24px;
fill: #fff;
margin-left: 3px; /* optically centre the triangle */
transition: fill .18s ease;
}
.hero-demo-stage:hover .hero-demo-play,
.hero-demo-play:focus-visible {
transform: translateY(-50%) scale(1.08);
background: var(--z-brand);
border-color: var(--z-brand);
outline: none;
}
.hero-demo-stage:hover .hero-demo-play svg,
.hero-demo-play:focus-visible svg { fill: #0b0b0d; }
.hero-demo-stage.is-playing .hero-demo-play { opacity: 0; pointer-events: none; }
.hero-demo-label {
position: absolute;
left: 16px;
bottom: 13px;
font-size: 11px;
letter-spacing: .14em;
color: rgba(255, 255, 255, .85);
text-shadow: 0 1px 5px rgba(0, 0, 0, .7);
pointer-events: none;
transition: opacity .35s ease;
}
.hero-demo-stage.is-playing .hero-demo-label { opacity: 0; }
@media (max-width: 960px) {
.hero-demo-play { width: 54px; height: 54px; top: 50%; left: 16px; }
.hero-demo-play svg { width: 20px; height: 20px; }
}
/* Hero install block — the one-liner is the first action on the page.
Same language as pre.code: 1px accent rule on the left, mono text,
no fills. The copy affordance is text, per the no-icons rule. */
.hero-install {
margin: 0 0 var(--sp-6);
padding: var(--sp-3) 0 var(--sp-3) var(--sp-6);
border-left: 1px solid var(--z-accent);
}
.hero-install-label {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 500;
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
margin-bottom: var(--sp-2);
}
.hero-install-cmd {
display: flex;
align-items: baseline;
gap: var(--sp-4);
flex-wrap: wrap;
}
.hero-install-cmd code {
font-family: var(--font-mono);
font-size: clamp(var(--fs-16), 1.5vw, 22px);
font-weight: 500;
color: var(--z-ink);
user-select: all;
}
.hero-install-alt {
margin-top: var(--sp-2);
display: flex;
align-items: baseline;
gap: var(--sp-4);
flex-wrap: wrap;
color: var(--z-mute);
}
.hero-install-alt code { font-family: var(--font-mono); color: var(--z-mute); }
.hero-install-copy {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 500;
letter-spacing: var(--track-ui);
color: var(--z-mute);
background: none;
border: 1px solid var(--z-line);
padding: 2px 8px;
cursor: pointer;
}
.hero-install-copy:hover,
.hero-install-copy:focus-visible {
color: var(--z-accent);
border-color: var(--z-accent);
}
.hero-install-agent { margin-top: var(--sp-4); }
/* The agent paste-prompt is the page's primary CTA — boxed and accent-lit,
unlike every other command on the page. */
.hero-install-cmd.agent-prompt {
border: 1px solid var(--z-accent);
background: color-mix(in srgb, var(--z-accent) 9%, transparent);
padding: var(--sp-3) var(--sp-4);
}
.hero-install-cmd.agent-prompt code {
color: var(--z-accent);
font-size: clamp(var(--fs-13), 1.15vw, 17px);
line-height: 1.55;
}
.hero-install-cmd.agent-prompt .hero-install-copy {
background: var(--z-brand);
border-color: var(--z-brand-deep);
color: var(--z-on-brand);
font-weight: 700;
align-self: center;
}
.hero-install-cmd.agent-prompt .hero-install-copy:hover,
.hero-install-cmd.agent-prompt .hero-install-copy:focus-visible {
background: var(--z-ink);
border-color: var(--z-ink);
color: var(--z-bg);
}
.hero-install-agent-line {
font-family: var(--font-prose);
font-size: var(--fs-13);
line-height: 1.6;
color: var(--z-mute);
max-width: 720px;
margin: 0;
}
.hero-install-agent-line code {
font-family: var(--font-mono);
font-size: 0.95em;
color: var(--z-ink);
}
.hero-install-agent-line .hero-install-copy { margin-left: var(--sp-2); }
section.section-split .scene { margin-bottom: var(--sp-4); }
section.section-split p.wide { max-width: none; }
/* ---------- metric row (big numbers) ---------- */
.metrics {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--sp-12);
padding: var(--sp-12) 0 var(--sp-16);
border-top: 1px solid var(--z-line);
border-bottom: 1px solid var(--z-line);
margin: var(--sp-16) 0;
}
.metric .eyebrow {
font-family: var(--font-data);
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
margin-bottom: var(--sp-3);
}
.metric .value {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-96);
line-height: 0.9;
color: var(--z-ink);
}
.metric .value .unit {
font-size: var(--fs-32);
color: var(--z-mute);
margin-left: 6px;
}
.metric .hint {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin-top: var(--sp-2);
}
/* ---------- feature rows ---------- */
.row {
display: grid;
grid-template-columns: 1fr 2fr;
gap: var(--sp-8) var(--sp-12);
padding: var(--sp-4) 0;
}
.row .k {
font-family: var(--font-data);
font-size: var(--fs-13);
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--z-mute);
padding-top: 4px;
}
.row .v { font-size: var(--fs-16); color: var(--z-ink); max-width: 720px; }
.row .v strong { color: var(--z-accent); font-weight: 700; }
/* Top-N list — the playground chart primitive uses class `.row`
with four children (label / val / bar / pct). The landing's
`.row` above is a two-column feature row, so when TopN is
embedded directly the four children wrap onto two grid rows
and break the layout. Scope the playground row rules under
`.topn-list` so both live together. */
.topn-list {
margin-top: var(--sp-3);
border-top: 1px solid var(--z-line);
}
.topn-list .row {
display: grid;
grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr) 60px;
gap: var(--sp-3);
align-items: baseline;
padding: 8px 0;
border-top: 0;
border-bottom: 1px solid var(--z-faint);
font-family: var(--font-data);
font-size: var(--fs-13);
font-variant-numeric: tabular-nums;
}
.topn-list .row:last-child { border-bottom: 1px solid var(--z-line); }
.topn-list .row .row__label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--z-ink);
max-width: none;
font-size: var(--fs-13);
}
.topn-list .row .row__val {
text-align: right;
font-weight: 700;
color: var(--z-ink);
}
.topn-list .row .row__bar {
min-width: 0;
display: flex;
align-items: center;
color: var(--z-accent);
}
.topn-list .row .row__bar svg { width: 100%; height: 6px; }
.topn-list .row .row__pct {
text-align: right;
color: var(--z-mute);
font-size: var(--fs-11);
}
/* Dist — the 1px distribution bar + inline legend used by
the `Dist` playground primitive. Without these rules the
legend stack renders as a vertical block of raw text
instead of a responsive flex row. */
.dist-bar {
width: 100%;
height: 12px;
margin-bottom: var(--sp-4);
color: var(--z-ink);
}
.dist-legend {
display: flex;
flex-wrap: wrap;
gap: var(--sp-6) var(--sp-8);
}
.dist-legend > .stack {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 88px;
}
.dist-legend .key {
font-family: var(--font-data);
font-size: var(--fs-11);
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--z-mute);
}
.dist-legend .mono {
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
color: var(--z-ink);
}
.dist-legend .mono.faint { color: var(--z-mute); }
/* ---------- comparison table ---------- */
.cmp {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 0 var(--sp-6);
margin-top: var(--sp-8);
font-family: var(--font-data);
}
.cmp .head {
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-line);
}
.cmp .cell {
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
font-size: var(--fs-13);
}
.cmp .cell.name { color: var(--z-ink); }
.cmp .cell.es { color: var(--z-mute); }
.cmp .cell.xy { color: var(--z-accent); font-weight: 700; }
/* ---------- pitch list ---------- */
.pitch {
columns: 2;
column-gap: var(--sp-12);
font-size: var(--fs-16);
}
.pitch li {
margin: 0 0 var(--sp-4);
break-inside: avoid;
color: var(--z-ink);
}
.pitch li::marker { color: var(--z-accent); }
/* ---------- CTA line ---------- */
.cta {
padding: var(--sp-12) 0;
border-top: 1px solid var(--z-line);
display: flex;
align-items: baseline;
justify-content: space-between;
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-32);
text-transform: uppercase;
letter-spacing: 0.02em;
}
.cta .arrow { color: var(--z-accent); }
.cta:hover .arrow { transform: translateX(4px); transition: transform .15s; }
/* ---------- use-case showcase sections -------------------- */
.uc-showcase {
padding: var(--sp-10) 0 var(--sp-8);
border-top: 1px solid var(--z-line);
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
gap: var(--sp-8);
align-items: start;
}
.uc-showcase:first-of-type { border-top: 0; padding-top: 0; }
.uc-showcase .uc-copy { min-width: 0; }
.uc-showcase .uc-viz { min-width: 0; }
.uc-showcase .uc-num {
font-family: var(--font-mono);
font-size: var(--fs-11);
color: var(--z-mute); /* was --z-faint (1.2:1) */
margin-bottom: var(--sp-2);
}
.uc-showcase .uc-title {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-56);
line-height: 0.92;
text-transform: uppercase;
color: var(--z-ink);
margin-bottom: var(--sp-4);
}
.uc-showcase .uc-title .accent { color: var(--z-accent); }
.uc-showcase .uc-pitch {
font-size: var(--fs-16);
color: var(--z-ink);
line-height: 1.5;
margin-bottom: var(--sp-4);
max-width: 540px;
}
.uc-showcase .uc-metric {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-32);
color: var(--z-accent);
margin-bottom: var(--sp-2);
}
.uc-showcase .uc-persona {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin-bottom: var(--sp-3);
}
.uc-showcase .uc-cta {
display: inline-flex;
align-items: baseline;
gap: var(--sp-2);
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-16);
color: var(--z-accent);
text-transform: uppercase;
letter-spacing: 0.04em;
margin-top: var(--sp-3);
transition: color .12s;
}
.uc-showcase .uc-cta:hover { color: var(--z-ink); }
@media (max-width: 960px) {
.uc-showcase { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
.uc-showcase .uc-title { font-size: var(--fs-32); }
}
/* Comparison bars — side-by-side XERJ vs ES on the same row.
The grid MUST stay inside its parent container at every viewport.
max-width:100% + overflow:hidden on the wrapper prevents the bar
percentages (which are relative to some inner width) from pushing
the grid wider than the viewport. */
.cmp-bars {
font-family: var(--font-data);
font-size: var(--fs-13);
margin: var(--sp-4) 0;
max-width: 100%;
overflow: hidden;
}
.cmp-bars-head {
display: grid;
grid-template-columns: minmax(100px, 180px) minmax(0, 1fr) minmax(0, 1fr);
gap: var(--sp-3);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
color: var(--z-mute);
padding-bottom: var(--sp-2);
margin-bottom: var(--sp-2);
}
.cmp-bars-head .cmp-a { color: var(--z-accent); font-weight: 700; }
.cmp-bars-row {
display: grid;
grid-template-columns: minmax(100px, 180px) minmax(0, 1fr) minmax(0, 1fr);
gap: var(--sp-3);
padding: 6px 0;
align-items: center;
}
.cmp-label {
color: var(--z-ink);
font-size: var(--fs-13);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.cmp-val {
display: flex;
align-items: center;
gap: var(--sp-2);
min-width: 0;
overflow: hidden;
}
.cmp-bar {
height: 4px;
min-width: 2px;
flex-shrink: 1;
max-width: 100%;
}
.cmp-a .cmp-bar { background: var(--z-accent); }
.cmp-b .cmp-bar { background: var(--z-mute); opacity: 0.5; }
.cmp-num {
font-family: var(--font-mono);
font-size: var(--fs-11);
color: var(--z-ink);
white-space: nowrap;
flex-shrink: 0;
}
.cmp-b .cmp-num { color: var(--z-mute); }
.cmp-ratio {
color: var(--z-accent);
font-weight: 700;
font-size: var(--fs-11);
margin-left: 4px;
flex-shrink: 0;
}
@media (max-width: 720px) {
.cmp-bars-head, .cmp-bars-row { grid-template-columns: minmax(80px, 120px) minmax(0, 1fr) minmax(0, 1fr); }
.cmp-bars-head, .cmp-num, .cmp-ratio { font-size: 10px; }
}
/* Use-case detail page: hero + pain-solve-proof pattern */
.uc-hero {
padding: var(--sp-6) 0 var(--sp-8);
}
.uc-hero .uc-eyebrow {
font-family: var(--font-data);
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-accent);
margin-bottom: var(--sp-3);
}
.uc-hero h1,
.uc-hero .uc-display {
font-family: var(--font-display);
font-weight: 900;
font-size: 80px;
line-height: 0.92;
text-transform: uppercase;
color: var(--z-ink);
margin-bottom: var(--sp-4);
}
.uc-hero .uc-display {
/* matches the browser's default h1 top margin and lifts the p measure,
so the former <h1> keeps its exact spacing and width */
margin-top: 0.67em;
max-width: none;
}
/* Use-case pages carry a plain-text H1 in the eyebrow style, and the big
display headline is a <p class="uc-display">, so the look is unchanged. */
.uc-hero h1.uc-eyebrow {
font-family: var(--font-data);
font-weight: 400;
font-size: var(--fs-11);
line-height: inherit;
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-accent);
margin: 0 0 var(--sp-3);
}
.uc-hero .uc-lead {
font-size: var(--fs-20);
color: var(--z-ink);
max-width: 720px;
line-height: 1.4;
}
.pain-solve {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--sp-8);
padding: var(--sp-8) 0;
border-top: 1px solid var(--z-line);
}
.pain-solve h3 {
font-family: var(--font-display);
font-weight: 800;
font-size: var(--fs-20);
text-transform: uppercase;
margin-bottom: var(--sp-3);
}
.pain-solve .pain h3 { color: var(--z-mute); }
.pain-solve .solve h3 { color: var(--z-accent); }
.pain-solve p, .pain-solve li { color: var(--z-ink); font-size: var(--fs-16); line-height: 1.5; }
.pain-solve ul { padding-left: var(--sp-4); }
.pain-solve li { margin-bottom: var(--sp-2); }
.proof-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--sp-6);
padding: var(--sp-8) 0;
border-top: 1px solid var(--z-line);
}
.proof-row .stat .num {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-56);
line-height: 0.92;
color: var(--z-accent);
}
.proof-row .stat .label {
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-label);
color: var(--z-mute);
margin-top: var(--sp-2);
}
.proof-row .stat .ctx {
font-size: var(--fs-13);
color: var(--z-mute);
margin-top: var(--sp-1);
}
/* ---------- brand book specifics ---------- */
.swatch {
display: flex;
align-items: baseline;
gap: var(--sp-4);
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-label);
}
.swatch .chip {
width: 120px;
height: 28px;
display: inline-block;
border: 1px solid var(--z-line);
}
.swatch .name { color: var(--z-ink); min-width: 120px; }
.swatch .hex { color: var(--z-mute); }
.scale-row {
display: grid;
grid-template-columns: 60px 160px 1fr;
gap: var(--sp-4);
align-items: baseline;
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
}
.scale-row .px { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--z-mute); }
.scale-row .name { font-family: var(--font-data); font-size: var(--fs-11); text-transform: uppercase; letter-spacing: var(--track-label); color: var(--z-mute); }
.scale-row .sample { color: var(--z-ink); font-family: var(--font-display); font-weight: 700; line-height: 1; }
.rule {
padding: var(--sp-4) 0;
border-top: 1px solid var(--z-line);
display: grid;
grid-template-columns: 1fr 3fr;
gap: var(--sp-6);
}
.rule .k {
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
color: var(--z-accent);
}
.rule .v { color: var(--z-ink); }
/* ---------- footer ---------- */
.footer {
display: flex;
justify-content: space-between;
margin-top: var(--sp-16);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-label);
color: var(--z-mute);
}
/* ---------- site-map footer ---------- */
/* Generated into every styled page by scripts/seo/fix_links.py. It is the
discovery path for the enterprise funnel — pricing, security, architecture,
solutions, resources and the four industry verticals — which previously had
their own nav that nothing else on the site linked to. Same type system as
.nav and .footer: data face, 11px, uppercase, tracked, 1px rule only. */
.footer-map {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--sp-6) var(--gap-x);
margin-top: var(--sp-16);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-label);
}
.footer-map .fm-col { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-map .fm-h {
font-weight: 600;
letter-spacing: var(--track-ui);
color: var(--z-accent);
margin-bottom: var(--sp-1);
}
.footer-map a { color: var(--z-mute); }
.footer-map a:hover { color: var(--z-ink); }
/* The per-page identity strip sits directly under the map, so it does not
need the full sp-16 gap it uses when it is the only footer element. */
.footer-map + .footer { margin-top: var(--sp-8); }
/* ---------- chart viz blocks (landing pages) ------------- */
/* Big hero visual — full bleed, no padding collapse */
.hero-viz {
width: 100%;
margin: var(--sp-6) 0 var(--sp-3);
color: var(--z-ink);
}
.hero-viz svg { width: 100%; height: auto; display: block; color: inherit; }
.viz-block {
margin: var(--sp-8) 0 var(--sp-10);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
color: var(--z-ink);
}
.viz-block .kicker { margin-bottom: var(--sp-4); }
.viz-block svg { width: 100%; height: auto; display: block; color: inherit; }
.viz-block svg .chart { color: inherit; }
.viz-caption {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin: var(--sp-3) 0 0;
max-width: 820px;
}
/* Series legend row — mirrors playground/base.css .series-legend */
.series-legend {
display: flex;
justify-content: space-between;
margin-top: var(--sp-1);
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
letter-spacing: 0.06em;
}
.series-legend .mid { flex: 1; text-align: center; }
.series-wrap { width: 100%; color: inherit; }
.series { width: 100%; }
/* All SVG fragments from the playground use currentColor + 1px strokes. */
.viz-block polyline,
.hero-viz polyline {
fill: none;
stroke: currentColor;
stroke-width: 1;
vector-effect: non-scaling-stroke;
shape-rendering: geometricPrecision;
}
.viz-block line,
.hero-viz line {
shape-rendering: crispEdges;
}
.viz-block text,
.hero-viz text {
fill: currentColor;
}
/* Attention map — inline text, per-span opacity already set */
.attention {
font-family: var(--font-data);
font-size: var(--fs-16);
line-height: 1.9;
max-width: 92ch;
color: var(--z-ink);
margin: var(--sp-4) 0;
}
/* Heatmap — same fix as playground/base.css.
The cell widths use `ch` units which only measure correctly
under a monospace font. Without this rule the heatmap inherits
Inter from body, $-prefixed cells overflow, rows collapse. */
.heatmap {
font-family: var(--font-mono);
font-size: var(--fs-13);
line-height: 1.6;
letter-spacing: 0;
font-variant-numeric: tabular-nums;
color: var(--z-ink);
margin: var(--sp-4) 0;
}
.heatmap-row { display: block; white-space: nowrap; }
.heatmap-row .row-label {
display: inline-block;
width: 5ch;
color: var(--z-mute);
margin-right: 1.5ch;
font-size: var(--fs-13);
letter-spacing: 0;
text-transform: uppercase;
font-family: var(--font-mono);
}
/* Flowband — horizontal allocation band with proportional labels.
Each segment is a flex item whose `flex-grow` = the numeric value,
so widths distribute exactly like the band above. min-width:0 is
critical — without it, long labels force the item wider than its
share and push neighbours out of line. */
.flowband-wrap {
margin: var(--sp-4) 0 var(--sp-6);
color: var(--z-ink);
}
.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);
border-left: 0;
}
.flowband-labels .fb-label {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 600;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--z-ink);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.flowband-labels .fb-value {
font-family: var(--font-mono);
font-size: var(--fs-11);
color: var(--z-mute);
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ---------- email capture + demo CTA -------------------- */
/* Lead capture — the ONE section that breaks the dark page.
Inverted background (cream on dark), one unique non-brand
color on the button (deep teal #0A6E5C), blinking cursor
on the input. This is the visual interrupt that stops the
scroll and says "act now." The brand book allows exactly
one exception — this is it. */
.lead-capture {
--cta-bg: #F4F2EC;
--cta-ink: #111;
--cta-mute: #706D65;
--cta-line: #D4D0C8;
--cta-go: #111;
margin: var(--sp-12) calc(-1 * var(--page-x)) 0;
padding: var(--sp-12) var(--page-x) var(--sp-10);
background: var(--cta-bg);
color: var(--cta-ink);
}
/* 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); }
.lead-capture h3 {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-96);
line-height: 0.9;
letter-spacing: -0.01em;
text-transform: uppercase;
margin: 0 0 var(--sp-3);
color: var(--cta-ink);
}
.lead-capture h3 .accent { color: var(--z-accent); }
.lead-capture p {
max-width: 560px;
margin: 0 0 var(--sp-6);
color: var(--cta-mute);
font-size: var(--fs-16);
line-height: 1.5;
}
.lead-form {
display: flex;
align-items: center;
gap: var(--sp-3);
max-width: 640px;
flex-wrap: wrap;
}
.lead-form-input {
position: relative;
flex: 1;
min-width: 200px;
}
.lead-form input[type="email"] {
width: 100%;
background: none;
border: 0;
border-bottom: 1px solid var(--cta-line);
font-family: var(--font-mono);
font-size: var(--fs-16);
color: var(--cta-ink);
padding: var(--sp-2) 0;
outline: none;
transition: border-color .15s;
}
.lead-form input[type="email"]:focus {
border-bottom-color: var(--cta-ink);
}
.lead-form input[type="email"]::placeholder {
color: var(--cta-mute);
opacity: 1; /* placeholders stay >= 4.5:1 (was 0.5 opacity) */
}
/* Blinking cursor — visible when input is empty and unfocused */
.lead-form-input::after {
content: '|';
position: absolute;
left: 0;
bottom: 6px;
color: var(--z-accent);
font-family: var(--font-mono);
font-size: var(--fs-20);
font-weight: 700;
animation: cta-blink 1s step-end infinite;
pointer-events: none;
}
.lead-form input[type="email"]:focus + .lead-form-cursor,
.lead-form input[type="email"]:not(:placeholder-shown) ~ .lead-form-cursor { display: none; }
/* Hide the fake cursor when real input has content or focus */
.lead-form-input:focus-within::after { display: none; }
.lead-form-input:has(input:not(:placeholder-shown))::after { display: none; }
@keyframes cta-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
.lead-form button.demo {
background: var(--cta-go);
border: 0;
color: var(--cta-bg);
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-20);
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: pointer;
padding: var(--sp-3) var(--sp-8);
white-space: nowrap;
display: inline-flex;
align-items: center;
gap: var(--sp-2);
transition: background .15s, transform .15s;
}
.lead-form button.demo .arrow { color: var(--z-brand); }
.lead-form button.demo:hover {
background: var(--z-brand);
color: var(--cta-go);
transform: translateX(2px);
}
.lead-form button.demo:hover .arrow { color: var(--cta-go); }
.lead-form button.demo .arrow {
display: inline-block;
transition: transform .15s;
}
.lead-form button.demo:hover .arrow { transform: translateX(4px); }
.lead-form .arrow { display: inline-block; transition: transform .15s; }
.lead-form button.demo:hover .arrow { transform: translateX(4px); }
.lead-form .note {
width: 100%;
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--cta-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin-top: var(--sp-3);
}
.lead-form .ok {
color: var(--cta-go);
font-family: var(--font-mono);
font-size: var(--fs-13);
font-weight: 700;
letter-spacing: 0.02em;
display: none;
width: 100%;
padding-top: var(--sp-3);
}
.lead-form.sent input,
.lead-form.sent button,
.lead-form.sent .lead-form-input { display: none; }
.lead-form.sent .ok { display: block; }
/* ---------- benchmark table (product page) -------------- */
.bench {
display: grid;
grid-template-columns: 1fr 120px 120px 120px;
gap: 0 var(--sp-6);
margin-top: var(--sp-8);
font-family: var(--font-data);
}
.bench .head {
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-line);
}
.bench .head.num { text-align: right; }
.bench .cell {
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
font-size: var(--fs-13);
}
.bench .cell.num {
text-align: right;
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
}
.bench .cell.test { color: var(--z-ink); }
.bench .cell.es { color: var(--z-mute); }
.bench .cell.xy { color: var(--z-ink); }
.bench .cell.delta { color: var(--z-accent); font-weight: 700; }
.bench .cell.source {
grid-column: 1 / -1;
font-size: var(--fs-11);
color: var(--z-mute);
padding: 2px 0 var(--sp-3);
border-bottom: 1px solid var(--z-faint);
text-transform: uppercase;
letter-spacing: var(--track-label);
}
/* ---------- chart showcase (product page) --------------- */
.showcase {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: var(--gap-x) var(--sp-12);
margin: var(--sp-10) 0 var(--sp-8);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
}
.showcase .card {
display: flex;
flex-direction: column;
gap: var(--sp-3);
padding: var(--sp-4) 0 var(--sp-8);
}
.showcase .card.col-12 { grid-column: span 12; }
.showcase .card.col-8 { grid-column: span 8; }
.showcase .card.col-6 { grid-column: span 6; }
.showcase .card.col-4 { grid-column: span 4; }
.showcase .eyebrow {
font-family: var(--font-data);
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
}
.showcase .metric-big {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-96);
line-height: 0.9;
color: var(--z-accent);
}
.showcase .metric-big .unit {
font-size: var(--fs-32);
color: var(--z-mute);
margin-left: 6px;
}
.showcase .metric-small {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-56);
line-height: 0.9;
color: var(--z-ink);
}
.showcase svg.chart {
width: 100%;
height: auto;
}
.showcase svg.chart line,
.showcase svg.chart polyline {
fill: none;
stroke: currentColor;
stroke-width: 1;
vector-effect: non-scaling-stroke;
}
.showcase svg.chart polyline { shape-rendering: geometricPrecision; }
.showcase svg.chart line { shape-rendering: crispEdges; }
.showcase svg.chart text {
font-family: var(--font-mono);
font-size: 10px;
fill: var(--z-mute);
}
.showcase svg.chart .accent { color: var(--z-accent); }
.showcase svg.chart .mute { color: var(--z-mute); }
.showcase .topn-row {
display: grid;
grid-template-columns: 1fr 72px 1fr 48px;
gap: var(--sp-2);
align-items: baseline;
padding: 4px 0;
font-family: var(--font-data);
font-size: var(--fs-13);
font-variant-numeric: tabular-nums;
}
.showcase .topn-row .lbl { color: var(--z-ink); }
.showcase .topn-row .val { text-align: right; font-weight: 700; color: var(--z-ink); }
.showcase .topn-row .pct { text-align: right; color: var(--z-mute); font-size: var(--fs-11); }
.showcase .topn-row .bar { min-width: 0; display: flex; align-items: center; color: var(--z-mute); }
.showcase .topn-row .bar svg { width: 100%; height: 6px; }
.showcase .caption {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin-top: var(--sp-2);
}
/* ---------- home: live pitch ticker --------------------- */
.ticker {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--sp-8);
margin: var(--sp-8) 0 0;
padding: 0 0 var(--sp-8);
}
.ticker .tk .eyebrow {
font-family: var(--font-data);
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
margin-bottom: var(--sp-2);
}
.ticker .tk .value {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-56);
line-height: 0.92;
color: var(--z-ink);
}
.ticker .tk .value .accent { color: var(--z-accent); }
.ticker .tk .hint {
font-family: var(--font-mono);
font-size: var(--fs-11);
color: var(--z-mute);
margin-top: var(--sp-2);
}
@media (max-width: 960px) {
.bench { grid-template-columns: 1fr 90px 90px 90px; font-size: 12px; }
.showcase .card.col-8, .showcase .card.col-6, .showcase .card.col-4 { grid-column: span 12; }
.ticker { grid-template-columns: 1fr; }
.lead-capture h3 { font-size: var(--fs-32); }
}
/* ---------- docs page ----------------------------------- */
/* Table of contents — anchor list sticky at the top of docs. */
.docs-toc {
display: flex;
flex-wrap: wrap;
gap: var(--sp-4) var(--sp-6);
margin: var(--sp-8) 0 var(--sp-16);
padding: var(--sp-6) 0;
border-top: 1px solid var(--z-line);
border-bottom: 1px solid var(--z-line);
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
}
.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-mute); margin-right: 4px; }
/* Every doc section gets an anchor ID + a small kicker number. */
section.doc-section {
padding: var(--sp-16) 0 var(--sp-12);
border-top: 1px solid var(--z-line);
scroll-margin-top: var(--sp-10);
}
section.doc-section:first-of-type { border-top: 0; padding-top: 0; }
section.doc-section h3 {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-56);
line-height: 0.95;
letter-spacing: -0.005em;
margin: 0 0 var(--sp-6);
}
section.doc-section h4 {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-20);
letter-spacing: 0.01em;
text-transform: uppercase;
margin: var(--sp-8) 0 var(--sp-3);
color: var(--z-ink);
}
/* Code block — monospace, left-aligned, subtle 1px top+bottom rules. */
pre.code {
margin: var(--sp-4) 0 var(--sp-6);
padding: var(--sp-4) 0 var(--sp-4) var(--sp-6);
border-left: 1px solid var(--z-accent);
border-top: 0;
border-right: 0;
border-bottom: 0;
background: var(--z-code-bg);
padding-right: var(--sp-4);
font-family: var(--font-mono);
font-size: var(--fs-13);
line-height: 1.6;
color: var(--z-ink);
white-space: pre;
overflow-x: auto;
max-width: 100%;
}
pre.code .prompt { color: var(--z-mute); user-select: none; }
pre.code .comment { color: var(--z-mute); }
pre.code .k { color: var(--z-accent); }
pre.code .s { color: var(--z-ink); }
code.inline {
font-family: var(--font-mono);
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. */
.cfg {
display: grid;
grid-template-columns: 1.5fr 1fr 1.2fr 2.5fr;
gap: 0 var(--sp-4);
margin-top: var(--sp-6);
font-family: var(--font-data);
}
.cfg .head {
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-line);
}
.cfg .group {
grid-column: 1 / -1;
padding: var(--sp-6) 0 var(--sp-2);
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-20);
color: var(--z-accent);
letter-spacing: 0.02em;
text-transform: uppercase;
}
.cfg .cell {
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
font-size: var(--fs-13);
}
.cfg .cell.k { font-family: var(--font-mono); color: var(--z-ink); }
.cfg .cell.t { font-family: var(--font-mono); color: var(--z-mute); font-size: var(--fs-11); }
.cfg .cell.d { font-family: var(--font-mono); color: var(--z-accent); font-size: var(--fs-13); }
.cfg .cell.dsc { color: var(--z-mute); }
/* Three-column API table: METHOD · PATH · DESCRIPTION. */
.api {
display: grid;
grid-template-columns: 90px 1.6fr 2fr;
gap: 0 var(--sp-4);
margin-top: var(--sp-6);
font-family: var(--font-data);
}
.api .head {
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-line);
}
.api .cell {
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
font-size: var(--fs-13);
}
.api .cell.m {
font-family: var(--font-mono);
font-size: var(--fs-11);
color: var(--z-accent);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.api .cell.p { font-family: var(--font-mono); color: var(--z-ink); }
.api .cell.dsc { color: var(--z-mute); }
/* Enum-list — used for query types, aggregations, encodings. */
.enum-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--sp-2) var(--sp-6);
margin-top: var(--sp-4);
font-family: var(--font-mono);
font-size: var(--fs-13);
}
.enum-list .group {
grid-column: 1 / -1;
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
color: var(--z-mute);
margin-top: var(--sp-6);
}
.enum-list .item { color: var(--z-ink); padding: 2px 0; }
.enum-list .item .dsc { color: var(--z-mute); font-size: 0.85em; display: block; }
/* ASCII directory tree. */
pre.tree {
font-family: var(--font-mono);
font-size: var(--fs-13);
color: var(--z-ink);
line-height: 1.55;
margin: var(--sp-6) 0;
padding: 0;
}
pre.tree .c { color: var(--z-mute); }
/* ---------- playground (email gate) ---------------------- */
.playground {
min-height: 70vh;
display: flex;
flex-direction: column;
justify-content: center;
padding-top: var(--sp-10);
padding-bottom: var(--sp-16);
}
.playground .gate-lead {
max-width: 820px;
font-size: var(--fs-20);
color: var(--z-ink);
margin: 0 0 var(--sp-8);
}
.playground .gate-form {
display: flex;
align-items: baseline;
gap: var(--sp-6);
max-width: 880px;
flex-wrap: wrap;
padding-bottom: var(--sp-4);
}
.playground .gate-form input[type="email"] {
flex: 1;
min-width: 280px;
background: none;
border: 0;
border-bottom: 1px solid var(--z-line);
font-family: var(--font-mono);
font-size: var(--fs-32);
color: var(--z-ink);
padding: var(--sp-2) 0;
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: 1; }
.playground .gate-form button {
background: none;
border: 0;
color: var(--z-accent);
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-32);
letter-spacing: 0.04em;
text-transform: uppercase;
cursor: pointer;
padding: var(--sp-2) 0;
white-space: nowrap;
border-bottom: 1px solid var(--z-accent);
display: inline-flex;
align-items: baseline;
gap: var(--sp-2);
}
.playground .gate-form button:hover { color: var(--z-ink); border-bottom-color: var(--z-ink); }
.playground .gate-form button .arrow { transition: transform .15s; }
.playground .gate-form button:hover .arrow { transform: translateX(6px); }
.playground .fine {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin-top: var(--sp-4);
max-width: 720px;
}
.playground .unlocked {
display: none;
margin-top: var(--sp-8);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
}
.playground.is-unlocked .gate-form,
.playground.is-unlocked .fine { display: none; }
.playground.is-unlocked .unlocked { display: block; }
.playground .unlocked p { max-width: 720px; }
.playground .unlocked .launch {
display: inline-flex;
align-items: baseline;
gap: var(--sp-2);
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-56);
text-transform: uppercase;
letter-spacing: 0.01em;
color: var(--z-accent);
border: 0;
border-bottom: 1px solid var(--z-accent);
padding: 0 0 4px;
margin-top: var(--sp-6);
background: none;
cursor: pointer;
font-family: var(--font-display); /* button reset defaults */
}
.playground .unlocked .launch:hover { color: var(--z-ink); border-bottom-color: var(--z-ink); }
.playground .inbox {
display: inline-block;
margin-top: var(--sp-3);
font-family: var(--font-mono);
font-size: var(--fs-13);
color: var(--z-mute);
}
.playground .inbox strong { color: var(--z-accent); }
/* ---------- brand laws list (new) ----------------------- */
.laws {
display: grid;
grid-template-columns: 1fr 3fr;
gap: var(--sp-6);
margin-top: var(--sp-8);
}
.laws .n {
font-family: var(--font-mono);
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
color: var(--z-accent);
padding-top: 8px;
}
.laws .law {
padding: var(--sp-4) 0 var(--sp-6);
border-top: 1px solid var(--z-line);
}
.laws .law:last-child { border-bottom: 1px solid var(--z-line); }
.laws .law .t {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-32);
line-height: 1.02;
letter-spacing: 0.005em;
text-transform: uppercase;
color: var(--z-ink);
margin: 0 0 var(--sp-3);
}
.laws .law .t .accent { color: var(--z-accent); }
.laws .law .b {
color: var(--z-mute);
font-size: var(--fs-16);
max-width: 760px;
}
@media (max-width: 960px) {
.cfg { grid-template-columns: 1fr; }
.cfg .head { display: none; }
.cfg .cell { padding: 2px 0; border-bottom: 0; }
.cfg .cell.k::before { content: 'KEY · '; color: var(--z-mute); }
.cfg .cell.t::before { content: 'TYPE · '; color: var(--z-mute); }
.cfg .cell.d::before { content: 'DEFAULT · '; color: var(--z-mute); }
.cfg .cell.dsc { padding-bottom: var(--sp-4); border-bottom: 1px solid var(--z-faint); }
.api { grid-template-columns: 1fr; }
.api .head { display: none; }
.enum-list { grid-template-columns: 1fr; }
.laws { grid-template-columns: 1fr; }
}
/* ============================================================
* DOCS — distinct multi-page layout.
* Two columns: sticky left sidebar + right content.
* Top: large search. Recipes on the index.
* Same brand language (1px lines, type scale, accent).
* ============================================================ */
.docs-shell {
display: grid;
grid-template-columns: 260px 1fr;
gap: var(--sp-12);
margin-top: var(--sp-8);
align-items: start;
}
/* ---------- top search ---------------------------------- */
.docs-search {
position: relative;
margin: 0 0 var(--sp-6);
padding: var(--sp-6) 0 var(--sp-4);
}
.docs-search input {
width: 100%;
background: none;
border: 0;
border-left: 3px solid var(--z-accent);
padding-left: var(--sp-4);
font-family: var(--font-mono);
font-size: var(--fs-32);
color: var(--z-ink);
padding: var(--sp-3) 0;
outline: none;
letter-spacing: 0;
text-transform: none;
}
.docs-search input::placeholder { color: var(--z-mute); opacity: 1; }
.docs-search .hint {
position: absolute;
right: 0;
bottom: var(--sp-4);
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-ui);
pointer-events: none;
}
.docs-search .results {
display: none;
position: relative;
margin-top: var(--sp-4);
max-height: 420px;
overflow-y: auto;
}
.docs-search.active .results { display: block; }
.docs-search .results a {
display: grid;
grid-template-columns: 140px 1fr;
gap: var(--sp-4);
padding: var(--sp-3) 0;
border-bottom: 1px solid var(--z-faint);
color: var(--z-ink);
}
.docs-search .results a:hover { color: var(--z-accent); }
.docs-search .results .kicker {
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
color: var(--z-mute);
}
.docs-search .results .title {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-20);
color: var(--z-ink);
}
.docs-search .results a:hover .title { color: var(--z-accent); }
.docs-search .results .snip {
font-size: var(--fs-13);
color: var(--z-mute);
grid-column: 2;
margin-top: 2px;
}
.docs-search .no-results {
color: var(--z-mute);
font-family: var(--font-data);
font-size: var(--fs-13);
text-transform: uppercase;
letter-spacing: var(--track-label);
padding: var(--sp-4) 0;
}
/* ---------- left sidebar nav ---------------------------- */
.docs-nav {
position: sticky;
top: var(--sp-6);
padding-right: var(--sp-4);
border-right: 1px solid var(--z-line);
font-family: var(--font-data);
font-size: var(--fs-13);
max-height: calc(100vh - 120px);
overflow-y: auto;
scrollbar-width: none;
}
.docs-nav::-webkit-scrollbar { display: none; }
.docs-nav .group {
margin-bottom: var(--sp-6);
}
.docs-nav .group .label {
display: block;
font-size: var(--fs-11);
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-mute);
margin-bottom: var(--sp-2);
}
.docs-nav .group a {
display: block;
padding: 3px 0;
color: var(--z-mute);
line-height: 1.35;
}
.docs-nav .group a:hover { color: var(--z-ink); }
.docs-nav .group a.active {
color: var(--z-accent);
font-weight: 700;
}
.docs-nav .group a .eyebrow {
display: inline-block;
width: 22px;
color: var(--z-mute); /* was --z-faint (1.2:1) */
font-family: var(--font-mono);
font-size: var(--fs-11);
margin-right: 4px;
}
/* ---------- right content --------------------------------*/
.docs-content {
min-width: 0;
max-width: 880px;
padding-bottom: var(--sp-16);
}
.docs-content h1 {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-96);
line-height: 0.92;
letter-spacing: -0.01em;
margin: 0 0 var(--sp-6);
}
.docs-content h2 {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-32);
letter-spacing: -0.005em;
margin: var(--sp-12) 0 var(--sp-4);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
text-transform: uppercase;
}
.docs-content h3 {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--fs-20);
margin: var(--sp-8) 0 var(--sp-3);
color: var(--z-ink);
text-transform: uppercase;
letter-spacing: 0.01em;
}
.docs-content h4 {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 600;
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-accent);
margin: var(--sp-6) 0 var(--sp-2);
}
.docs-content p { max-width: 720px; margin: 0 0 var(--sp-4); }
.docs-content ul, .docs-content ol {
padding-left: var(--sp-6);
margin: 0 0 var(--sp-4);
color: var(--z-mute);
}
.docs-content ul li, .docs-content ol li {
margin-bottom: var(--sp-2);
}
.docs-content li strong { color: var(--z-ink); }
.docs-content .kicker {
margin-bottom: var(--sp-3);
}
.docs-content .breadcrumb {
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
color: var(--z-mute);
margin-bottom: var(--sp-6);
}
.docs-content .breadcrumb a { color: var(--z-mute); }
.docs-content .breadcrumb a:hover { color: var(--z-ink); }
.docs-content .breadcrumb .sep { margin: 0 6px; }
.docs-content .source-note {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin: var(--sp-6) 0 var(--sp-10);
padding-top: var(--sp-3);
border-top: 1px solid var(--z-faint);
}
.docs-content .next {
display: flex;
justify-content: space-between;
gap: var(--sp-6);
margin-top: var(--sp-12);
padding-top: var(--sp-4);
border-top: 1px solid var(--z-line);
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-20);
text-transform: uppercase;
}
.docs-content .next .step { flex: 1; }
.docs-content .next .step.right { text-align: right; }
.docs-content .next .dir {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 500;
color: var(--z-mute);
letter-spacing: var(--track-ui);
display: block;
margin-bottom: 2px;
}
.docs-content .next a { color: var(--z-accent); }
.docs-content .next a:hover { color: var(--z-ink); }
/* ---------- recipes (docs home) ------------------------- */
.recipes {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: var(--sp-6);
margin: var(--sp-8) 0 var(--sp-10);
padding-top: var(--sp-6);
border-top: 1px solid var(--z-line);
}
.recipes .recipe {
display: flex;
flex-direction: column;
gap: var(--sp-2);
padding: var(--sp-3) 0 var(--sp-6);
border-top: 0;
min-width: 0;
}
.recipes .recipe .num {
font-family: var(--font-mono);
font-size: var(--fs-11);
color: var(--z-mute); /* was --z-faint (1.2:1) */
letter-spacing: var(--track-ui);
}
.recipes .recipe .title {
font-family: var(--font-display);
font-weight: 900;
font-size: var(--fs-20);
line-height: 1.02;
color: var(--z-ink);
text-transform: uppercase;
}
.recipes .recipe:hover .title { color: var(--z-accent); }
.recipes .recipe .lead {
font-size: var(--fs-13);
color: var(--z-mute);
line-height: 1.4;
margin: 0;
}
.recipes .recipe .meta {
font-family: var(--font-data);
font-size: var(--fs-11);
color: var(--z-mute);
text-transform: uppercase;
letter-spacing: var(--track-label);
margin-top: auto;
padding-top: var(--sp-3);
border-top: 1px solid var(--z-faint);
}
.recipes .recipe .meta .accent { color: var(--z-accent); }
/* ---------- toc grid for docs home ---------------------- */
.docs-toc-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--sp-4) var(--sp-8);
margin-top: var(--sp-6);
}
.docs-toc-grid .group {
border-top: 1px solid var(--z-line);
padding: var(--sp-4) 0 var(--sp-6);
}
.docs-toc-grid .group .label {
display: block;
font-family: var(--font-data);
font-size: var(--fs-11);
text-transform: uppercase;
letter-spacing: var(--track-ui);
color: var(--z-accent);
margin-bottom: var(--sp-3);
}
.docs-toc-grid .group a {
display: block;
font-size: var(--fs-13);
color: var(--z-ink);
padding: 3px 0;
}
.docs-toc-grid .group a:hover { color: var(--z-accent); }
.docs-toc-grid .group a .d {
display: block;
font-size: var(--fs-11);
color: var(--z-mute);
}
/* Narrow screens: stack sidebar above content */
@media (max-width: 1000px) {
.docs-shell { grid-template-columns: 1fr; }
.docs-nav {
position: static;
max-height: none;
border-right: 0;
border-bottom: 1px solid var(--z-line);
padding: 0 0 var(--sp-6);
margin-bottom: var(--sp-6);
}
.recipes { grid-template-columns: 1fr 1fr; }
.docs-toc-grid { grid-template-columns: 1fr 1fr; }
.docs-search input { font-size: var(--fs-20); }
/* Docs config table: stack key+description, hide type/default cols */
.cfg { grid-template-columns: 1fr; gap: 0; }
.cfg .head { display: none; }
.cfg .cell { display: block; }
.cfg .cell.k { font-size: var(--fs-13); padding: var(--sp-3) 0 2px; border-bottom: 0; }
.cfg .cell.t { display: none; }
.cfg .cell.d { font-size: var(--fs-11); color: var(--z-accent); padding: 0 0 2px; border-bottom: 0; }
.cfg .cell.dsc { padding-bottom: var(--sp-4); border-bottom: 1px solid var(--z-faint); }
/* API table: stack vertically */
.api { grid-template-columns: 1fr; gap: 0; }
.api .head { display: none; }
.api .cell { display: block; }
.api .cell.method { padding-top: var(--sp-3); border-bottom: 0; }
.api .cell.path { font-size: var(--fs-13); border-bottom: 0; }
.api .cell.desc { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--z-faint); }
/* Enum lists: single column */
.enum-list { grid-template-columns: 1fr !important; }
/* Pain/solve: stack */
.pain-solve { grid-template-columns: 1fr; }
.proof-row { grid-template-columns: 1fr; gap: var(--sp-4); }
/* Comparison bars: tighter label column */
.cmp-bars-head, .cmp-bars-row { grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) minmax(0, 1fr); }
/* UC subnav wraps */
.uc-subnav { font-size: 10px; gap: var(--sp-2) var(--sp-3); }
}
@media (max-width: 600px) {
.recipes { grid-template-columns: 1fr; }
.docs-toc-grid { grid-template-columns: 1fr; }
}
/* Smaller screens — fold hero to 96px, unstack metrics. */
@media (max-width: 960px) {
:root { --page-x: 28px; }
h1.hero { font-size: var(--fs-96); }
h2.scene { font-size: var(--fs-56); }
.metrics { grid-template-columns: repeat(2, 1fr); }
.pitch { columns: 1; }
.row { grid-template-columns: 1fr; }
.cmp { grid-template-columns: 1.5fr 1fr 1fr; }
section.section-split {
grid-template-columns: 1fr;
gap: var(--sp-6);
}
.lead-capture h3 { font-size: var(--fs-96); line-height: 0.92; }
}
/* iPhone-portrait tier. Tighten page gutter, collapse grids to
one column, scale type down, and give every wide data block a
horizontal scroll wrapper so the page never side-scrolls. */
@media (max-width: 720px) {
:root {
--page-x: 18px;
--gap-x: 16px;
--sp-12: 40px;
--sp-16: 56px;
--sp-20: 80px;
}
html, body { overflow-x: hidden; }
body { padding-top: var(--sp-6); padding-bottom: var(--sp-12); }
.nav {
flex-wrap: wrap;
row-gap: 10px;
column-gap: var(--sp-3);
font-size: 10px;
letter-spacing: 0.1em;
}
.nav .brand { flex: 1 0 100%; font-size: var(--fs-13); margin-right: 0; }
.nav .spacer { display: none; }
.nav .theme { margin-left: auto; }
h1.hero { font-size: 64px; line-height: 0.94; letter-spacing: -0.015em; }
h2.scene { font-size: var(--fs-32); line-height: 1; }
section.doc-section h3 { font-size: var(--fs-32); line-height: 1; }
.metrics {
grid-template-columns: 1fr 1fr;
gap: var(--sp-6);
padding: var(--sp-8) 0 var(--sp-10);
margin: var(--sp-10) 0;
}
.metric .value { font-size: 56px; }
.metric .value .unit { font-size: var(--fs-20); }
.grid-12 { gap: var(--sp-4) var(--gap-x); }
.grid-12 > [class*="col-"],
.col-12, .col-8, .col-6, .col-4, .col-3 { grid-column: span 12; }
.row { grid-template-columns: 1fr; gap: var(--sp-4); padding: var(--sp-6) 0; }
.row .v { font-size: var(--fs-16); }
.cmp { grid-template-columns: 1.4fr 1fr 1fr; gap: 0 var(--sp-3); }
.cmp .head, .cmp .cell { font-size: 11px; padding: 10px 0; }
.cta {
flex-wrap: wrap;
gap: var(--sp-3);
font-size: var(--fs-20);
padding: var(--sp-8) 0;
}
.footer {
flex-wrap: wrap;
gap: var(--sp-2) var(--sp-4);
font-size: 10px;
}
.footer-map {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--sp-4) var(--sp-4);
font-size: 10px;
}
/* Wide data blocks — scroll inside their own box, not the page. */
.heatmap,
.bench,
pre.code,
.viz-block > svg,
.hero-viz {
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.heatmap { font-size: 11px; }
.heatmap-row .row-label { font-size: 11px; }
.viz-block > svg { height: auto; }
/* Ticker stacks; showcase cards go single column. */
.ticker { grid-template-columns: 1fr; gap: var(--sp-6); }
.showcase .card.col-8,
.showcase .card.col-6,
.showcase .card.col-4 { grid-column: span 12; }
/* Lead capture shrinks but keeps the inverted bg. */
.lead-capture h3 { font-size: 48px; line-height: 0.95; }
.lead-capture { padding: var(--sp-8) var(--sp-4) var(--sp-6); margin-left: calc(-1 * var(--page-x)); margin-right: calc(-1 * var(--page-x)); }
.lead-form { flex-direction: column; gap: var(--sp-4); }
.lead-form-input { width: 100%; min-width: 0; }
.lead-form button.demo { width: 100%; justify-content: center; font-size: var(--fs-16); padding: var(--sp-3) var(--sp-4); }
section.section-split {
grid-template-columns: 1fr;
gap: var(--sp-6);
}
/* Docs TOC collapses; sidebar already folds at 1000px. */
.docs-toc { gap: var(--sp-3) var(--sp-4); font-size: 10px; }
.docs-toc-grid { grid-template-columns: 1fr; }
/* Brand page color swatches */
.swatch .chip { width: 72px; }
.scale-row { grid-template-columns: 48px 1fr; }
.scale-row .sample { display: none; }
}
@media (max-width: 420px) {
h1.hero { font-size: 52px; }
.metrics { grid-template-columns: 1fr; }
.cmp { grid-template-columns: 1fr; }
.cmp .head { display: none; }
}
/* ---------- docs PDF download button ---------------------- */
.pdf-btn {
display: inline-flex;
align-items: center;
gap: 8px;
margin-left: auto;
float: right;
background: none;
border: 1px solid var(--z-line);
color: var(--z-mute);
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 600;
letter-spacing: var(--track-ui);
text-transform: uppercase;
padding: 6px 14px;
cursor: pointer;
transition: color .12s, border-color .12s;
}
.pdf-btn:hover {
color: var(--z-accent);
border-color: var(--z-accent);
}
.pdf-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
/* ---------- @media print — branded PDF output ------------- */
@media print {
body { padding: 0 40px; max-width: none; background: #fff; color: #000; }
.nav, .docs-search, .docs-nav, .footer, .footer-map, .pdf-btn,
.theme, .next, .source-note { display: none !important; }
.docs-shell { display: block; }
.docs-content { max-width: none; padding: 0; }
.docs-content h1 { font-size: 48px; color: #000; }
.docs-content h2 { font-size: 24px; color: #000; page-break-after: avoid; }
pre.code { background: #f5f5f5 !important; color: #000 !important; border-left-color: #d4a600 !important; padding: 12px 16px !important; font-size: 11px; }
pre.code .prompt, pre.code .comment { color: #666; }
pre.code .k { color: #a06800; }
.cfg .group { color: #a06800; }
.cfg .cell { border-bottom-color: #ccc; }
.enum-list .item { border-bottom-color: #ccc; }
a { color: inherit; text-decoration: underline; }
a[href]::after { content: " (" attr(href) ")"; font-size: 9px; color: #666; }
a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
.print-header, .print-footer { display: block !important; }
.print-header {
padding: 16px 0;
margin-bottom: 32px;
border-bottom: 2px solid #d4a600;
font-family: 'Big Shoulders Display', sans-serif;
font-weight: 900;
font-size: 18px;
letter-spacing: 0.2em;
color: #d4a600;
}
.print-footer {
margin-top: 48px;
padding-top: 12px;
border-top: 1px solid #ccc;
font-family: 'IBM Plex Sans', sans-serif;
font-size: 10px;
color: #666;
display: flex !important;
justify-content: space-between;
}
.print-footer a { color: #a06800; text-decoration: none; }
.print-footer a::after { content: "" !important; }
}
/* ============================================================
INTERACTIVE HERO CHARTS (charts.js progressive enhancement)
------------------------------------------------------------
charts.js upgrades svg.chart[data-chart] in place: hover/focus
highlight, click-to-zoom (scatter) / lock (latency), a stat
card, a reset button and a keyboard-focusable legend. The
static SVG remains the no-JS fallback; these rules only take
effect once JS adds .is-interactive to the svg and builds the
.chart-wrap / .chart-card / .chart-legend around it. Nothing
here can widen the page (card + button are absolutely placed
inside .chart-wrap; the legend flex-wraps).
============================================================ */
/* Positioning context so the card + reset button stay inside the
chart's own box. Width follows the block-level svg (100%). */
.chart-wrap { position: relative; width: 100%; }
/* Interactive groups -------------------------------------------------- */
svg.chart.is-interactive .cl,
svg.chart.is-interactive .ser {
cursor: pointer;
transition: opacity .2s ease, color .2s ease;
}
svg.chart.is-interactive .cl .cl-dot,
svg.chart.is-interactive .cl .cl-label,
svg.chart.is-interactive .ser polyline,
svg.chart.is-interactive .ser text {
transition: opacity .2s ease, stroke-width .2s ease;
}
/* dim = every non-active group; active = accent + full opacity */
.cl.is-dim { opacity: 0.12; }
.ser.is-dim { opacity: 0.15; }
.cl.is-active { color: var(--z-accent); }
.cl.is-active .cl-dot { opacity: 1; }
.cl.is-active .cl-label { color: var(--z-accent); }
.ser.is-active { color: var(--z-accent); }
.ser.is-active polyline { stroke-opacity: 1; stroke-width: 2; }
.ser.is-active text { opacity: 1; }
/* Focus-visible outlines on the SVG groups */
svg.chart.is-interactive .cl:focus-visible,
svg.chart.is-interactive .ser:focus-visible {
outline: 2px solid var(--z-accent);
outline-offset: 2px;
}
/* Stat card ----------------------------------------------------------- */
.chart-card {
position: absolute;
top: 10px;
right: 10px;
z-index: 3;
pointer-events: none; /* clicks fall through to the background */
max-width: 62%;
padding: 8px 11px;
background: var(--z-bg);
border: 1px solid var(--z-line);
border-left: 2px solid var(--z-accent);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
font-family: var(--font-mono);
opacity: 0;
transform: translateY(-3px);
transition: opacity .18s ease, transform .18s ease;
}
.chart-card.is-shown { opacity: 1; transform: none; }
.chart-card .cc-title {
display: block;
font-family: var(--font-data);
font-weight: 700;
letter-spacing: 1px;
font-size: 12px;
color: var(--z-accent);
}
.chart-card .cc-meta {
display: block;
margin-top: 3px;
font-size: 11px;
color: var(--z-mute);
}
/* Reset button (scatter zoom only) ------------------------------------ */
.chart-reset {
position: absolute;
top: 10px;
left: 10px;
z-index: 3;
display: none;
align-items: center;
gap: 5px;
padding: 5px 10px;
background: var(--z-bg);
border: 1px solid var(--z-line);
color: var(--z-ink);
font-family: var(--font-mono);
font-size: 11px;
letter-spacing: 0.5px;
cursor: pointer;
transition: color .2s ease, border-color .2s ease;
}
.chart-reset.is-shown { display: inline-flex; }
.chart-reset:hover,
.chart-reset:focus-visible { color: var(--z-accent); border-color: var(--z-accent); }
.chart-reset:focus-visible { outline: 2px solid var(--z-accent); outline-offset: 2px; }
/* Legend chips -------------------------------------------------------- */
.chart-legend {
display: flex;
flex-wrap: wrap;
gap: 6px 10px;
margin-top: 12px;
}
.chart-chip {
display: inline-flex;
align-items: center;
gap: 7px;
max-width: 100%;
padding: 4px 9px;
background: transparent;
border: 1px solid var(--z-line);
color: var(--z-mute);
font-family: var(--font-mono);
font-size: 11px;
line-height: 1.4;
cursor: pointer;
transition: color .2s ease, border-color .2s ease;
}
.chart-chip:hover,
.chart-chip.is-active { color: var(--z-ink); border-color: var(--z-accent); }
.chart-chip[aria-pressed="true"] { color: var(--z-accent); border-color: var(--z-accent); }
.chart-chip.is-dim { opacity: 0.4; }
.chart-chip:focus-visible { outline: 2px solid var(--z-accent); outline-offset: 2px; }
.chart-chip .chip-sw {
flex: 0 0 auto;
width: 10px;
height: 10px;
border-radius: 50%;
background: currentColor; /* tracks chip colour; inline opacity mirrors the cluster */
}
.chart-chip .chip-sw-line { width: 14px; height: 3px; border-radius: 1px; }
.chart-chip.is-active .chip-sw,
.chart-chip[aria-pressed="true"] .chip-sw { background: var(--z-accent); opacity: 1 !important; }
.chart-chip .chip-tx { white-space: nowrap; }
.chart-chip .chip-ct {
color: var(--z-mute);
font-variant-numeric: tabular-nums;
}
/* Respect reduced-motion: no transitions (JS also jumps the zoom) */
@media (prefers-reduced-motion: reduce) {
svg.chart.is-interactive .cl,
svg.chart.is-interactive .ser,
svg.chart.is-interactive .cl .cl-dot,
svg.chart.is-interactive .cl .cl-label,
svg.chart.is-interactive .ser polyline,
svg.chart.is-interactive .ser text,
.chart-card,
.chart-reset,
.chart-chip { transition: none !important; }
}
/* Keep everything inside 360px viewports (no horizontal overflow) */
@media (max-width: 480px) {
.chart-card { max-width: 80%; padding: 6px 8px; }
.chart-card .cc-title { font-size: 11px; }
.chart-card .cc-meta { font-size: 10px; }
.chart-chip { font-size: 10px; padding: 3px 7px; gap: 6px; }
}
/* ---------- hero-center: the prompt is the page (2026-08-11) ----------
One job above the fold: copy the agent prompt. Everything else is
secondary. The animated gradient halo is the only moving thing on the
page, and it stops under prefers-reduced-motion. */
.hero-center {
text-align: center;
/* horizontal gutter is var(--sp-6), NOT --page-x: body already pads
--page-x, and doubling it starved the h1 at laptop widths. */
padding: var(--sp-8) var(--sp-6) var(--sp-12);
max-width: var(--max-w);
margin: 0 auto;
}
.hero-kicker { justify-content: center; }
.hero-center .hero {
margin: 0 auto var(--sp-4);
/* 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(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-marks { font-size: 12px; }
.prompt-label { font-size: 12px; }
.prompt-card code { font-size: 15px; }
.hero-alt-install { font-size: 12px; }
}
/* .hero-marks was nested INSIDE the 720px media query by a stray brace, so it
had no layout at all above 720px. Hoisted 2026-09-22. */
.hero-marks {
font-family: var(--font-data);
font-size: var(--fs-11);
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--z-mute);
margin: var(--sp-4) auto 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--sp-2) var(--sp-3);
}
.hero-marks a {
color: var(--z-mute);
text-decoration: none;
border-bottom: 1px solid var(--z-line);
padding-bottom: 1px;
}
.hero-marks a:hover, .hero-marks a:focus-visible {
color: var(--z-accent);
border-color: var(--z-accent);
}
@media (max-width: 330px) {
.hero-center .hero { font-size: 36px; }
}
.hero-sub {
font-family: var(--font-prose);
font-size: clamp(var(--fs-16), 1.6vw, var(--fs-20));
line-height: 1.55;
color: var(--z-mute);
max-width: 720px;
margin: var(--sp-4) auto 0;
}
.prompt-stage {
position: relative;
max-width: 880px;
margin: 0;
}
/* The animated rainbow halo went against our own brand book, which asks for
1px rules, hairlines and negative space. Removed 2026-09-22; the card now
carries a single accent rule, like the install card it sits beside. */
.prompt-card {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: var(--sp-3);
text-align: left;
background: var(--z-bg);
border: 1px solid var(--z-line);
border-left: 1px solid var(--z-accent);
border-radius: 0;
padding: var(--sp-5) var(--sp-6);
}
.prompt-label {
font-family: var(--font-data);
font-size: var(--fs-11);
font-weight: 600;
letter-spacing: var(--track-ui);
text-transform: uppercase;
color: var(--z-accent);
}
.prompt-card code {
font-family: var(--font-mono);
font-size: clamp(var(--fs-13), 1.25vw, 17px);
line-height: 1.6;
color: var(--z-ink);
user-select: all;
}
.prompt-copy {
align-self: flex-end;
font-family: var(--font-data);
font-size: var(--fs-13);
font-weight: 700;
letter-spacing: var(--track-ui);
color: var(--z-on-brand);
background: var(--z-brand);
border: 1px solid var(--z-brand-deep);
border-radius: 8px;
padding: 10px 22px;
cursor: pointer;
}
.prompt-copy:hover, .prompt-copy:focus-visible {
background: var(--z-ink);
border-color: var(--z-ink);
color: var(--z-bg);
}
/* hero benchmark strip — UNUSED since 2026-09-21: the hero carries the
.jev-banner card (page-local CSS in index.html), which states results
only; the broken-then-fixed pilot narrative lives in the post. Figures
there must stay verbatim with /blog/does-xerj-beat-jev (hand-duplicated
constants are what landing-constants-guard.sh exists for; those two
pages must not drift). Rules kept rather than deleted so this stays a
comment-only change — no cache-buster bump for the shared sheet. */
.hero-bench {
max-width: 880px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: var(--sp-2) var(--sp-4);
font-family: var(--font-data);
font-size: var(--fs-13);
line-height: 1.55;
color: var(--z-mute);
}
.hero-bench .hb-tag {
flex-basis: 100%;
font-size: var(--fs-11);
font-weight: 600;
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.hero-bench .hb-chip {
border: 1px solid var(--z-line);
border-radius: 8px;
padding: 5px 12px;
}
.hero-bench b {
color: var(--z-ink);
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.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);
font-weight: 700;
letter-spacing: var(--track-label);
text-transform: uppercase;
color: var(--z-accent);
text-decoration: none;
border-bottom: 1px solid var(--z-accent);
padding-bottom: 1px;
}
.hero-bench .hb-link:hover, .hero-bench .hb-link:focus-visible {
color: var(--z-ink);
border-color: var(--z-ink);
}
@media (max-width: 720px) {
.hero-bench { font-size: 12px; }
.hero-bench .hb-chip { padding: 5px 10px; }
}
.hero-proof {
font-family: var(--font-prose);
font-size: var(--fs-13);
line-height: 1.7;
color: var(--z-mute);
max-width: 760px;
margin: 0 auto;
}
.hero-alt-install {
font-family: var(--font-mono);
font-size: var(--fs-13);
color: var(--z-mute);
margin: var(--sp-4) auto 0;
}
.hero-alt-install code { color: var(--z-ink); }
.hero-demo-center {
max-width: 880px;
margin: var(--sp-10) auto 0;
}
@media (max-width: 720px) {
.hero-center { padding-left: var(--sp-4); padding-right: var(--sp-4); }
.prompt-stage::before { inset: -14px; filter: blur(28px); }
.prompt-copy { align-self: stretch; text-align: center; }
}
/* nav GitHub stars badge (scripts/seo/stars_badge.py writes it, theme.js refreshes
the count). Muted 1px frame so it never competes with the gold primary CTA; the
count box is fixed-width so a refreshed number causes no layout shift. */
.nav a.nav-stars{display:inline-flex;align-items:center;gap:5px;
padding:2px 6px;border:1px solid var(--z-line);color:var(--z-mute);white-space:nowrap;
line-height:1;letter-spacing:.04em;font-variant-numeric:tabular-nums;}
.nav a.nav-stars:hover{color:var(--z-ink);border-color:var(--z-mute);}
.nav a.nav-stars svg{width:12px;height:12px;fill:currentColor;flex:none;display:block;}
.nav .nav-stars-n{display:inline-block;min-width:7ch;}
/* nav download button — latest release tag, links to /releases/latest */
.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-brand);border-color:var(--z-brand-deep);color:var(--z-on-brand);}
/* ============================================================
* ANSWER / COMPARE PAGES (build_articles.py, .article-shell).
* The article <main> comes first in the DOM and the answers index
* after it, so small screens, screen readers and crawlers get the
* answer first. On desktop the grid puts the index back in the
* left column, so the two-column look is unchanged.
* ============================================================ */
.article-shell > .docs-nav { grid-column: 1; grid-row: 1; }
.article-shell > .docs-content { grid-column: 2; grid-row: 1; }
@media (max-width: 1000px) {
.article-shell > .docs-nav,
.article-shell > .docs-content { grid-column: auto; grid-row: auto; }
.article-shell > .docs-content { padding-bottom: var(--sp-8); }
.article-shell > .docs-nav {
border-bottom: 0;
border-top: 1px solid var(--z-line);
padding: var(--sp-6) 0 0;
margin: 0 0 var(--sp-8);
}
/* ~31px at 390px wide, growing to 56px at 1000px; long questions
stay at 3-5 lines on a phone. Desktop keeps --fs-96. */
.article-shell .docs-content h1 {
font-size: clamp(30px, 4.5vw + 14px, 56px);
line-height: 1.04;
letter-spacing: 0;
margin-bottom: var(--sp-4);
overflow-wrap: break-word;
}
.article-shell .docs-content h1.h1-long {
font-size: clamp(25px, 3.6vw + 11px, 48px);
}
.article-shell .docs-content h2 {
font-size: clamp(22px, 2.6vw + 12px, var(--fs-32));
line-height: 1.1;
margin-top: var(--sp-8);
}
}