skills/creative/popular-web-designs/templates/x.ai.md
Hermes Agent — Implementation Notes
The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes:
- Primary:
Geist Mono| Mono:Geist Mono- Font stack (CSS):
font-family: 'Geist Mono', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;- Mono stack (CSS):
font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;html<link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700&display=swap" rel="stylesheet">Use
write_fileto create HTML, serve viagenerative-widgetsskill (cloudflared tunnel). Verify visual accuracy withbrowser_visionafter generating.
xAI's website is a masterclass in dark-first, monospace-driven brutalist minimalism -- a design system that feels like it was built by engineers who understand that restraint is the ultimate form of sophistication. The entire experience is anchored to an almost-black background (#1f2228) with pure white text (#ffffff), creating a high-contrast, terminal-inspired aesthetic that signals deep technical credibility. There are no gradients, no decorative illustrations, no color accents competing for attention. This is a site that communicates through absence.
The typographic system is split between two carefully chosen typefaces. GeistMono (Vercel's monospace font) handles display-level headlines at an extraordinary 320px with weight 300, and also serves as the button typeface in uppercase with tracked-out letter-spacing (1.4px). universalSans handles all body and secondary heading text with a clean, geometric sans-serif voice. The monospace-as-display-font choice is the defining aesthetic decision -- it positions xAI not as a consumer product but as infrastructure, as something built by people who live in terminals.
The spacing system operates on an 8px base grid with values concentrated at the small end (4px, 8px, 24px, 48px), reflecting a dense, information-focused layout philosophy. Border radius is minimal -- the site barely rounds anything, maintaining sharp, architectural edges. There are no decorative shadows, no gradients, no layered elevation. Depth is communicated purely through contrast and whitespace.
Key Characteristics:
#1f2228 background with #ffffff text -- no gray middle ground#ffffff): The singular text color, link color, and all foreground elements. In xAI's system, white is not a background -- it is the voice.#1f2228): The canvas. A warm near-black with a subtle blue undertone (not pure black, not neutral gray). This specific hue prevents the harsh eye strain of #000000 while maintaining deep darkness.#ffffff): Link and interactive element color in default state.rgba(255, 255, 255, 0.5)): Hover state for links -- a deliberate dimming rather than brightening, which is unusual and distinctive.rgba(255, 255, 255, 0.2)): Borders, dividers, and subtle surface treatments.rgb(59, 130, 246) / 0.5): Tailwind's default focus ring color (--tw-ring-color), used for keyboard accessibility focus states.rgba(255, 255, 255, 0.05)): Subtle card backgrounds and hover surfaces -- barely visible lift.rgba(255, 255, 255, 0.08)): Slightly more visible hover state for interactive containers.rgba(255, 255, 255, 0.1)): Standard border for cards, dividers, and containers.rgba(255, 255, 255, 0.2)): Emphasized borders for active states and button outlines.#ffffff): All headings, body text, labels.rgba(255, 255, 255, 0.7)): Descriptions, captions, supporting text.rgba(255, 255, 255, 0.5)): Muted labels, placeholder text, timestamps.rgba(255, 255, 255, 0.3)): Disabled text, very subtle annotations.GeistMono, with fallback: ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier NewuniversalSans, with fallback: universalSans Fallback| Role | Font | Size | Weight | Line Height | Letter Spacing | Transform | Notes |
|---|---|---|---|---|---|---|---|
| Display Hero | GeistMono | 320px (20rem) | 300 | 1.50 | normal | none | Extreme scale, monospace luxury |
| Section Heading | universalSans | 30px (1.88rem) | 400 | 1.20 (tight) | normal | none | Clean sans-serif contrast |
| Body | universalSans | 16px (1rem) | 400 | 1.50 | normal | none | Standard reading text |
| Button | GeistMono | 14px (0.88rem) | 400 | 1.43 | 1.4px | uppercase | Tracked monospace, commanding |
| Label / Caption | universalSans | 14px (0.88rem) | 400 | 1.50 | normal | none | Supporting text |
| Small / Meta | universalSans | 12px (0.75rem) | 400 | 1.50 | normal | none | Timestamps, footnotes |
Primary (White on Dark)
#ffffff#1f2228rgba(255, 255, 255, 0.9) backgroundGhost / Outlined
#ffffff1px solid rgba(255, 255, 255, 0.2)rgba(255, 255, 255, 0.05) backgroundText Link
#ffffffrgba(255, 255, 255, 0.5) -- dims on hoverrgba(255, 255, 255, 0.03) or transparent1px solid rgba(255, 255, 255, 0.1)rgba(255, 255, 255, 0.2)#1f2228)#ffffff textrgba(255, 255, 255, 0.5) text colorMonospace Tag
#ffffff1px solid rgba(255, 255, 255, 0.2)rgba(255, 255, 255, 0.05)1px solid rgba(255, 255, 255, 0.2)rgb(59, 130, 246) / 0.5#ffffffrgba(255, 255, 255, 0.3)rgba(255, 255, 255, 0.7), universalSans 14px| Level | Treatment | Use |
|---|---|---|
| Flat (Level 0) | No shadow, no border | Page background, body content |
| Surface (Level 1) | rgba(255,255,255,0.03) background | Subtle card surfaces |
| Bordered (Level 2) | 1px solid rgba(255,255,255,0.1) border | Cards, containers, dividers |
| Active (Level 3) | 1px solid rgba(255,255,255,0.2) border | Hover states, active elements |
| Focus (Accessibility) | ring with rgb(59,130,246)/0.5 | Keyboard focus indicator |
Elevation Philosophy: xAI rejects the conventional shadow-based elevation system entirely. There are no box-shadows anywhere on the site. Instead, depth is communicated through three mechanisms: (1) opacity-based borders that brighten on interaction, creating a sense of elements "activating" rather than lifting; (2) extremely subtle background opacity shifts (0.03 to 0.08) that create barely-perceptible surface differentiation; and (3) the massive scale contrast between the 320px display type and 16px body text, which creates typographic depth. This is elevation through contrast and opacity, not through simulated light and shadow.
#1f2228 as the universal background -- never pure black #000000rgba(255, 255, 255, 0.1) -- barely visible, not absentrgba(255, 255, 255, 0.5) -- the reverse of convention0.5 opacity instead| Name | Width | Key Changes |
|---|---|---|
| Mobile | <640px | Single column, hero headline scales dramatically down |
| Small Tablet | 640-768px | Slight increase in padding |
| Tablet | 768-1024px | Two-column layouts begin, heading sizes increase |
| Desktop | 1024-1280px | Full layout, generous whitespace |
| Large | 1280-1536px | Wider containers, more breathing room |
| Extra Large | 1536-2000px | Maximum content width, centered |
| Ultra | >2000px | Content stays centered, extreme margins |
#1f2228)#ffffff)rgba(255, 255, 255, 0.7))rgba(255, 255, 255, 0.5))rgba(255, 255, 255, 0.3))rgba(255, 255, 255, 0.1))rgba(255, 255, 255, 0.2))rgba(255, 255, 255, 0.03))rgba(255, 255, 255, 0.08))rgb(59, 130, 246) at 50% opacity)#ffffff), text Dark (#1f2228)#1f2228 background -- never use pure black or gray backgrounds