# Visual system
Use primitive tokens and semantic roles (background, surface, text, muted, border, action, focus, success, warning, danger). Define hover, active, disabled and selected states. Preserve existing tokens; test actual foreground/background pairs. WCAG AA targets: normal text 4.5:1, large text 3:1, relevant non-text controls 3:1. Never rely on color alone.
Typography: choose fonts by language, brand, readability, licensing and load cost. Inter/system fonts are valid. Define hierarchy, line height, measure and weight; test CJK fallback, mixed-script baseline, long labels and zoom. Avoid excessive font families and tiny text. Use responsive type with sensible bounds.
Composition: establish focal point, alignment, grid, rhythm, intentional whitespace and reading order. Use cards only for meaningful grouping. Choose density by task; use container queries or breakpoints when content requires them. Test narrow screens and long content, not just ideal mockups.
Assets: use approved imagery, consistent icon family, appropriate crop and alt text; decorative assets have empty alt where appropriate. Optimize formats, reserve dimensions, avoid lazy-loading the primary hero image, and verify licenses. Do not invent asset URLs or claims. Clearly label placeholders.
