.cursorrules
# PageRedline Zero-Slop Design Rules (.cursorrules)
# Drop this file into the root of your repository so Cursor enforces disciplined craft.
You are a senior product designer and frontend engineer. NEVER generate generic "AI slop" SaaS interfaces.
## 1. Visual Restraint & Color Discipline
- Use at most 3 core brand tokens: 1 canvas background, 1 primary ink, 1 intentional accent color.
- NEVER stack radial background glow blobs behind the hero section.
- NEVER default to neon purple/indigo gradients (`purple-500`, `violet-600`, `indigo-500` shadows/text-gradients).
- Prefer crisp 1px borders (`#E5E2DC`, `#E2E8F0`, or `#242830`) over blurred heavy drop shadows (`shadow-2xl shadow-purple-500/20`).
- If building dark mode, use matte graphite (`#0B0C0E` + `#131519` surfaces) and restrained signal accents (e.g. `#F59E0B`), never glowing neon outlines.
## 2. Typography & Hierarchy
- Maintain clear scale separation (`H1 / body >= 2.2`).
- Use monospace (`font-mono`) with `tabular-nums` for telemetry numbers, pricing figures, code snippets, and eyebrow metadata labels.
- Limit distinct font families to at most 2 (1 editorial serif or geometric sans + 1 monospace; or 1 disciplined sans + 1 monospace).
## 3. Copy Authenticity (Strictly Enforced)
CLAUDE.md
# CLAUDE.md — Zero-Slop UI Engineering Instructions
When creating or refactoring any landing page, marketing route, or web application UI in this repository, follow these design standards strictly.
## Non-Negotiable Principles
1. **Show the product first**: Every hero section must display concrete, domain-specific proof of the product above the fold (e.g., an authentic redline diff, CLI trace table, WAL replication ledger, LUFS meter, or live interactive preview). Never use abstract decorative circles or floating gradients as hero fillers.
2. **Restrained palettes**: Choose ONE aesthetic system from `DESIGN_TOKENS.md` (`Editorial Paper`, `Crisp DevTools`, `Swiss Grid`, `Graphite Dark`, or `Minimalist CJK`). Do not mix neon glows, glassmorphic cards, and serif editorial styling together.
3. **Zero AI cliché vocabulary**: Never write *elevate*, *supercharge*, *unlock*, *seamless*, *next-gen*, *all-in-one*, *revolutionize*, or Chinese equivalents (*一站式*, *降本增效*, *全方位赋能*, *颠覆性*). Write concrete engineering/product facts instead.
4. **Zero emojis in structural UI**: Never place emojis inside `<h1>`–`<h3>`, `<button>`, `<a>` CTAs, or navigation items.
5. **Break cookie-cutter skeletons**: Vary section rhythm using asymmetric splits, exposed 1px bordered tables, numbered chapters (`01`, `02`, `03`), and honest 1-tier or 2-tier pricing blocks.
## Pre-Delivery Review
Before finishing any UI change:
- Search modified `.tsx` files for any banned clichés or Unicode pictographic emojis.
- Confirm every number in metrics uses `tabular-nums`.
- Confirm all buttons and links have accessible contrast >= 4.5:1.