Design system
This site's design system, running live. Every color, size, and curve below is read directly from the CSS the site ships, so this page can't drift from it.
The Four Architecture Layers & Audit Gates
Replicating the strict 4-layer taxonomy from mariusz.cc: prose specifications, token values, accessible primitives, and CI enforcement gates.
The prose rules. What tokens are called, what constraints they satisfy, and why they exist in the domain.
The values. Primitives that define the palette and scale, and semantics that assign them purpose.
The primitives. Composable, accessible UI units built strictly from tokens with zero hardcoded ad-hoc styles.
The enforcement. Automated linters that run in CI to prevent token drift and contrast regression.
pnpm audit:tokens # Scans AST for hardcoded hex/px values # Invariant: 0 violations found across 42 files
pnpm audit:contrast # Validates WCAG AAA 7:1 across 8 surfaces # Invariant: 100% compliant on dark & light
pnpm audit:surfaces # Checks surface ladder monotonic lightness # Delta L = +0.05 step progression
One Ground & The 8-Step Surface Ladder
Ground is Void Slate (#141618), not pitch black. Elevation is represented by an 8-step monotonic lightness ladder in OKLCH, guaranteeing predictable contrast and depth.
Monotonic Surface Ladder (OKLCH Lightness Progression)
Body background, full-bleed canvas
Feature panels, architecture cards
Flyout menus, inspector panels
Code snippets, terminal backdrops
Studio modals, authentication dialogs
Contextual actions, active selectors
Hover tooltips, telemetry tags
Focus states, active stroke highlights
Semantic Color Roles
Typography Budget & Minor Third Scale
Budget: 2 Families (Outfit geometric & Geist Mono telemetry), 3 Weights (400, 500, 700), Minor Third ratio (1.2), snapped to 8px baseline.
Deterministic software systems.
Zero architectural drift in AI systems.
EU Cyber Resilience Act CRA 2024 compliance.
Modular adaptive intelligence governance.
Engineering high-throughput systems with strict formal verification.
APA_GUARDRAIL_ASSERT(ast_invariant == GUARANTEED)
8px Baseline, 24px Gutter & 12-Column Grid
Fixed 8px baseline snap (--baseline: 8px), 24px gutters, 72px column modules, and responsive breakpoint collapses.
All padding, gaps, and line-heights snap to multiples of 8px.
Strict 24px column gutters across all viewports > 768px.
Sovereign layout container centered with horizontal edge padding.
Press anywhere on the page to toggle the diagnostic grid overlay.
Deterministic Component Sandbox
Button variants (primary, default, outline, secondary, ghost, link, destructive, hero, glass), input fields, and status badges.
Button Variant Taxonomy
Regulatory & Status Badges
Surfaces, Elevation Levels & Radius Hierarchy
Elevation without muddy drop-shadows. Elevation is achieved via monotonic lightness increase and 1px crisp borders. Radiuses strictly enforce the industrial 0px invariant.
Page substrate
Standard cards
Floating dropdowns
Modal overlays
Easing Curves & Animation Test Suite
Four standard easing curves: out-quart, out-quint, out-expo, and drawer.
CursorGrid Background Shader Studio
The interactive cursor shader reverse-engineered from work.mariusz.cc/design-system. Move your mouse or click anywhere on this page to trigger radial shockwave pulses.
import CursorGridCanvas from "@/components/landing/cursor-grid-canvas"
// Embedded in 2TOX Footer & Hero:
<CursorGridCanvas
mode="dark-footer"
cellSize={20}
fillMode="outline"
noiseTexture={false}
blendMode="source-over"
maxOpacity={1}
fadeDuration={480}
clickPulse={true}
/>