10 — Experience and Design System
Build anti-AI-slop premium interfaces: dark-first OKLCH color, fluid clamp() type, DTCG tokens, View Transitions on every public-facing surface.
Apple Test — after every design: two elements compete → remove one; crowded → add whitespace; busy type → reduce sizes, increase weight contrast; final feel: effortless, inevitable.
CSS Patterns
- Overlay
rgba(0,0,0,0.81) · Text shadow 1px 1px 1px rgba(255,255,255,0.333) · Box shadow 2px 2px 2px rgba(0,0,0,0.69)
- Border-radius 5px interactive, 10px containers (never 0, never pill)
- Hero padding 40px · Max text 720px · Line-height 1.4
- Letter-spacing: 0.4px labels, 0.5px nav, 1px titles, 1.4px CTAs
- CTA uppercase always · Button 700 always · Reference: Linear, Notion, Stripe
Typography
- Body: Sora 400/500 · Headings: Space Grotesk 600/700 · Mono: JetBrains Mono 400/500 · Display: Clash Display 700 (hero only)
- Variable fonts: WOFF2, subset, self-host (never Google Fonts CDN),
font-display:swap
- Body min 16px (prefer 18) · Line-height 1.6 body, 1.1-1.2 headings · Letter-spacing -0.02em >2rem · Max 65ch
- Never skip levels. Scale: Minor Third 1.2 general, Perfect Fourth 1.333 marketing
text-wrap:balance headings, text-wrap:pretty paragraphs
- Kinetic gradient type (hero/display only):
background: var(--gradient-primary); background-size: 220% 220%; background-clip: text (+ -webkit- pair), color: transparent, slow background-position pan 8-12s ease infinite alternate
- Gate the pan behind
@media (prefers-reduced-motion: no-preference) — reduced-motion gets the static gradient fill; keep a solid color fallback where clip is unsupported
:root {
--text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
--text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
--text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
--text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
--text-xl: clamp(1.25rem, 1rem + 1.25vw, 1.5rem);
--text-2xl: clamp(1.5rem, 1.1rem + 2vw, 2rem);
--text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
--text-4xl: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
--text-hero: clamp(3rem, 2rem + 5vw, 6rem);
}
Color (Dark Default)
:root {
color-scheme: light dark;
--bg-primary: #060610; --bg-secondary: #0a0a1a; --bg-tertiary: #121225;
--bg-card: #0f0f1f; --bg-elevated: #1a1a35;
--text-primary: #f0f0f5; --text-secondary: #a0a0b5; --text-muted: #606080;
--accent-cyan: #00E5FF; --accent-blue: #50AAE3; --accent-purple: #8B5CF6;
--gradient-primary: linear-gradient(135deg, #00E5FF, #50AAE3);
--gradient-accent: linear-gradient(135deg, #50AAE3, #8B5CF6);
--border-subtle: rgba(255,255,255,0.06); --border-hover: rgba(255,255,255,0.12);
--shadow-sm: 0 1px 2px rgba(0,0,0,0.3); --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.5); --shadow-glow: 0 0 20px rgba(0,229,255,0.15);
}
- Never
#000 (use #060610) · Never #fff (use #f0f0f5)
- Cyan: primary CTAs · Blue: secondary · Gradients on buttons only · 6% borders · Subtle glow on primary interactive
- Elevation via lightness not shadows: base → surface 1 → surface 2 → surface 3
color-scheme:light dark · data-theme="dark|light" user override · localStorage persistence · prefers-color-scheme system default · Always provide toggle
- OKLCH is the authoring space — perceptually uniform ramps, hue-true shifts · relative color
oklch(from var(--brand) l c calc(h + 30)) for derived accents
- Derive shades via
color-mix(in oklch, …), never hand-picked hex neighbors: hover color-mix(in oklch, var(--accent-cyan) 85%, white) · pressed …80%, black · wash …12%, transparent
light-dark() for theme-aware one-liners · dark-ONLY surfaces (cockpit, editor) set color-scheme: dark — native controls/scrollbars/autofill render dark, no white flash
- Contrast 4.5:1 normal, 3:1 large/UI (WCAG 2.2 AA) · Target size min 24×24 px (2.5.8) · Focus 2px thick, 3:1 contrast (2.4.13)
CSS Architecture (2026)
@layer reset, base, tokens, components, utilities, overrides;
- Native nesting (Baseline 2023,
& syntax) · size container queries container-type: inline-size + @container (min-width: 28rem) (Baseline 2023) — component-owned breakpoints
- Style queries
@container style(--variant: featured) — Chrome 111+ / Safari 18+, Firefox pending (verify at caniuse); enhancement-only, base styles ship first
:has() parent selection (Baseline 2023) replaces state JS — form:has(:invalid) [type=submit], .grid:has(.card:hover) .card:not(:hover) sibling-dim
- Declare layer order ONCE at bundle top — later layers win (utilities beat components); un-layered styles beat ALL layers, so layer everything
@scope bounded styling · Scroll-state queries @container scroll-state(stuck: top) (Baseline 2026)
- Anchor positioning (
anchor-name / position-anchor / position-area) replaces Floating UI — Chrome/Edge 133+ first, cross-engine newer (verify at caniuse) · @oddbird polyfill v0.7+ for the tail
- Popover API
popover + popovertarget (Baseline 2024) — top-layer, light-dismiss, focus-managed, zero JS; pair with anchor positioning for menus/tooltips
- CSS
if() · Typed attr() · sibling-index() / sibling-count() stagger: transition-delay: calc((sibling-index() - 1) * 40ms)
appearance:base-select native <select> (Chrome 135+) · @supports for progressive enhancement
- Baseline 2026:
@scope · Anchor positioning · Scroll-state queries · @starting-style · interpolate-size: allow-keywords · field-sizing: content · text-wrap: pretty · @property
W3C DTCG Design Tokens (2025.10 Stable)
- JSON
.tokens / .tokens.json, MIME application/design-tokens+json
- Token:
$value (required), $type, $description, $deprecated, $extensions
- Types: color | dimension | duration | fontFamily | fontWeight | cubicBezier | number + composites (shadow, border, gradient, typography, transition)
- Aliasing:
"$value": "{base.color}" · $ref JSON Pointer · Group $type inheritance · $root for base + variants · $extends for deep merge
- Full Display P3, OKLCH, CSS Color Module 4; naming: no
$ prefix, no {} / . in names
- Tools: Tokens Studio, Style Dictionary, Penpot, Figma
AI-Ready Design Documentation
DESIGN.md: plain-text markdown; sections: Visual Theme, Color Palette, Typography, Spacing + Layout, Components, Elevation
- Atomic docs: context-rich units per component with states, variants, props, constraints, a11y, rationale
- MCP servers (Figma Dev Mode MCP) for programmatic access
Shared components and live build presentation
- Reuse the canonical Storybook components and approved tokens/themes across OnePrompt and draftl.ink. Define stable section slots and typed content/asset contracts so agents can work independently without duplicating component systems.
- Show the cached/precompiled theme shell immediately, then update the isolated preview iframe with accepted granular patches. Keep research/build state visible and truthful; preserve the host editor's framework-owned DOM and use the generated site's renderer/HMR. Existing React/Tailwind/shadcn site templates and the Angular administration surface remain distinct.
- Prefer native CSS/Web Animations/View Transitions for the reveal. Respect reduced motion and keyboard focus; never delay real build work to stage an animation. WASM/SWC belongs in a browser worker only if measured transform savings justify it.
- The assembly, ordering and reconnect contract lives in
rules/event-sourced-build-progress.md; completion lives in 06-build-and-slice-loop/SKILL.md.
Layout
- Container 1140px (wide 1400, narrow 720), padding
clamp(1rem,3vw,3rem)
- Sections
clamp(4rem,8vw,8rem), border between; grid auto-fit minmax(280px,1fr), 1fr at 768px
- Patterns: Hero (full-viewport, centered) · Features (3-col icon+heading+desc) · Alternating (zigzag) · Pricing (3-tier highlighted) · FAQ (accordion) · CTA (full-width dark) · Footer (4-col stack)
- SaaS: Single-CTA 13.5%; Hero / Proof / Features / Demo / Testimonials / Pricing / FAQ / CTA; bento grid for feature showcases
- Bento:
repeat(auto-fill, minmax(240px, 1fr)) + grid-auto-flow: dense; 1-2 anchor cards grid-column: span 2 (hero metric also grid-row: span 2) — never uniform tiles
- Bento anchors carry an accent wash
linear-gradient(135deg, rgba(0,229,255,.08), transparent 60%) + border-hover; collapse spans via container query ≤480px, not viewport
- Asymmetry with order: ONE dominant cell per visual row, constant gap
clamp(0.75rem, 2cqi, 1.5rem), internal baselines aligned
Components
- Cards — bg-card, border-subtle, 12px radius, hover: border-hover + shadow-glow
- Buttons — Primary gradient #060610 text, 600 weight, 8px radius, hover 0.9, active scale(0.98), focus 3px cyan. Secondary: transparent, border, hover cyan
- Nav — sticky,
rgba(6,6,16,0.85), blur(16px)
- Forms — bg-secondary, border-subtle, 8px, focus cyan + glow
- Glass —
backdrop-filter: blur(16px) saturate(140%) + rgba(10,10,26,0.6) bg + 1px top --border-subtle; @supports solid fallback; ≤3 blurred surfaces per view (GPU)
- Grain — tiled SVG
feTurbulence data-URI at 3-5% opacity, mix-blend-mode: overlay, pointer-events:none — kills gradient banding; never a runtime filter over scrolling areas
- Spartan UI — copied-in components (not a black-box dep), OnPush everywhere, lazy-load heavy views (tables, editors, charts), Tailwind + design-token theming. Per
rules/angular.md.
Interaction (every interactive element)
cursor:pointer, hover state, focus-visible (3px cyan, 2px offset), active (scale 0.98), transition (0.2s color, 0.1s transform). WCAG 2.2 — min 24×24px targets, focus not obscured by sticky headers, dragging alternatives required, accessible auth.
- Rings on
:focus-visible only (keyboard), never bare :focus — and via outline + outline-offset, which survive overflow:hidden + border-radius where box-shadow clips
- Focus-Not-Obscured (2.4.11 AA):
html { scroll-padding-top: calc(var(--nav-h) + 1rem) } (+ scroll-padding-bottom for sticky footers) so tab/anchor targets never land under sticky chrome
4-state distinction (NON-NEGOTIABLE)
Every link/button/card MUST visually differ across :default | :hover | :focus-visible | :active — NEVER let two states look identical.
- Default → neutral · Hover → underline-sweep + color shift +
translateY(-1px) · Focus-visible → 3px cyan ring 2px offset (distinct from hover) · Active → scale(0.98) + immediate color confirm
Audit gate: Playwright cycles each interactive element through 4 states → screenshots → diff ≥3px pixel-difference between adjacent states or fail.
Underline-sweep (text links default)
.underline-hover{position:relative}
.underline-hover::after{content:"";position:absolute;z-index:1;left:51%;right:51%;bottom:0;background:var(--brand-accent);height:1px;transition:left .3s ease-out,right .3s ease-out}
.underline-hover:hover::after,.underline-hover:focus-visible::after{left:0;right:0}
var(--brand-accent) / theme equivalent — never hard-coded #hex.
See submodules: design-tokens.md, build-breaking-rules.md, cinematic-doctrine.md.
1---2name: experience-and-design-system-23description: "Anti-AI-slop design system for distinctive, premium interfaces. Bold typography, dark-first #060610, fluid clamp() type, cascade layers + native nesting + container queries, OKLCH color, @starting-style, View Transitions API, DTCG tokens."4metadata:5 source: https://skillmd.com/skills/heymegabyte/experience-and-design-system-26 version: "2.2.0"7 updated: "2026-10-27"8 effort: "high"9 model: "opus"10license: "Rutgers"11compatibility:12 claude-code: ">=2.0.0"13 agentskills: ">=1.0.0"14submodules:15 - build-breaking-rules.md16 - cinematic-doctrine.md17 - design-tokens.md18priority: 319pack: "design"20stage: stable21triggers:22 - "design"23 - "ui"24 - "components"25 - "theme"26paths:27 - "org:website_build"28---2930# 10 — Experience and Design System3132Build anti-AI-slop premium interfaces: dark-first OKLCH color, fluid `clamp()` type, DTCG tokens, View Transitions on every public-facing surface.3334**Apple Test** — after every design: two elements compete → remove one; crowded → add whitespace; busy type → reduce sizes, increase weight contrast; final feel: effortless, inevitable.3536## CSS Patterns3738- Overlay `rgba(0,0,0,0.81)` · Text shadow `1px 1px 1px rgba(255,255,255,0.333)` · Box shadow `2px 2px 2px rgba(0,0,0,0.69)`39- Border-radius 5px interactive, 10px containers (never 0, never pill)40- Hero padding 40px · Max text 720px · Line-height 1.441- Letter-spacing: 0.4px labels, 0.5px nav, 1px titles, 1.4px CTAs42- CTA uppercase always · Button 700 always · Reference: Linear, Notion, Stripe4344## Typography4546- Body: Sora 400/500 · Headings: Space Grotesk 600/700 · Mono: JetBrains Mono 400/500 · Display: Clash Display 700 (hero only)47- Variable fonts: WOFF2, subset, self-host (never Google Fonts CDN), `font-display:swap`48- Body min 16px (prefer 18) · Line-height 1.6 body, 1.1-1.2 headings · Letter-spacing -0.02em >2rem · Max 65ch49- Never skip levels. Scale: Minor Third 1.2 general, Perfect Fourth 1.333 marketing50- `text-wrap:balance` headings, `text-wrap:pretty` paragraphs51- Kinetic gradient type (hero/display only): `background: var(--gradient-primary); background-size: 220% 220%; background-clip: text` (+ `-webkit-` pair), `color: transparent`, slow `background-position` pan 8-12s ease infinite alternate52- Gate the pan behind `@media (prefers-reduced-motion: no-preference)` — reduced-motion gets the static gradient fill; keep a solid `color` fallback where clip is unsupported5354```css55:root {56 --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);57 --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);58 --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);59 --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);60 --text-xl: clamp(1.25rem, 1rem + 1.25vw, 1.5rem);61 --text-2xl: clamp(1.5rem, 1.1rem + 2vw, 2rem);62 --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);63 --text-4xl: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);64 --text-hero: clamp(3rem, 2rem + 5vw, 6rem);65}66```6768## Color (Dark Default)6970```css71:root {72 color-scheme: light dark;73 --bg-primary: #060610; --bg-secondary: #0a0a1a; --bg-tertiary: #121225;74 --bg-card: #0f0f1f; --bg-elevated: #1a1a35;75 --text-primary: #f0f0f5; --text-secondary: #a0a0b5; --text-muted: #606080;76 --accent-cyan: #00E5FF; --accent-blue: #50AAE3; --accent-purple: #8B5CF6;77 --gradient-primary: linear-gradient(135deg, #00E5FF, #50AAE3);78 --gradient-accent: linear-gradient(135deg, #50AAE3, #8B5CF6);79 --border-subtle: rgba(255,255,255,0.06); --border-hover: rgba(255,255,255,0.12);80 --shadow-sm: 0 1px 2px rgba(0,0,0,0.3); --shadow-md: 0 4px 12px rgba(0,0,0,0.4);81 --shadow-lg: 0 8px 32px rgba(0,0,0,0.5); --shadow-glow: 0 0 20px rgba(0,229,255,0.15);82}83```8485- Never `#000` (use `#060610`) · Never `#fff` (use `#f0f0f5`)86- Cyan: primary CTAs · Blue: secondary · Gradients on buttons only · 6% borders · Subtle glow on primary interactive87- Elevation via lightness not shadows: base → surface 1 → surface 2 → surface 388- `color-scheme:light dark` · `data-theme="dark|light"` user override · `localStorage` persistence · `prefers-color-scheme` system default · Always provide toggle89- OKLCH is the authoring space — perceptually uniform ramps, hue-true shifts · relative color `oklch(from var(--brand) l c calc(h + 30))` for derived accents90- Derive shades via `color-mix(in oklch, …)`, never hand-picked hex neighbors: hover `color-mix(in oklch, var(--accent-cyan) 85%, white)` · pressed `…80%, black` · wash `…12%, transparent`91- `light-dark()` for theme-aware one-liners · dark-ONLY surfaces (cockpit, editor) set `color-scheme: dark` — native controls/scrollbars/autofill render dark, no white flash92- Contrast 4.5:1 normal, 3:1 large/UI (WCAG 2.2 AA) · Target size min 24×24 px (2.5.8) · Focus 2px thick, 3:1 contrast (2.4.13)9394## CSS Architecture (2026)9596```css97@layer reset, base, tokens, components, utilities, overrides;98```99100- Native nesting (Baseline 2023, `&` syntax) · size container queries `container-type: inline-size` + `@container (min-width: 28rem)` (Baseline 2023) — component-owned breakpoints101- Style queries `@container style(--variant: featured)` — Chrome 111+ / Safari 18+, Firefox pending (verify at caniuse); enhancement-only, base styles ship first102- `:has()` parent selection (Baseline 2023) replaces state JS — `form:has(:invalid) [type=submit]`, `.grid:has(.card:hover) .card:not(:hover)` sibling-dim103- Declare layer order ONCE at bundle top — later layers win (utilities beat components); un-layered styles beat ALL layers, so layer everything104- `@scope` bounded styling · Scroll-state queries `@container scroll-state(stuck: top)` (Baseline 2026)105- Anchor positioning (`anchor-name` / `position-anchor` / `position-area`) replaces Floating UI — Chrome/Edge 133+ first, cross-engine newer (verify at caniuse) · @oddbird polyfill v0.7+ for the tail106- Popover API `popover` + `popovertarget` (Baseline 2024) — top-layer, light-dismiss, focus-managed, zero JS; pair with anchor positioning for menus/tooltips107- CSS `if()` · Typed `attr()` · `sibling-index()` / `sibling-count()` stagger: `transition-delay: calc((sibling-index() - 1) * 40ms)`108- `appearance:base-select` native `<select>` (Chrome 135+) · `@supports` for progressive enhancement109- **Baseline 2026**: `@scope` · Anchor positioning · Scroll-state queries · `@starting-style` · `interpolate-size: allow-keywords` · `field-sizing: content` · `text-wrap: pretty` · `@property`110111## W3C DTCG Design Tokens (2025.10 Stable)112113- JSON `.tokens` / `.tokens.json`, MIME `application/design-tokens+json`114- Token: `$value` (required), `$type`, `$description`, `$deprecated`, `$extensions`115- Types: color | dimension | duration | fontFamily | fontWeight | cubicBezier | number + composites (shadow, border, gradient, typography, transition)116- Aliasing: `"$value": "{base.color}"` · `$ref` JSON Pointer · Group `$type` inheritance · `$root` for base + variants · `$extends` for deep merge117- Full Display P3, OKLCH, CSS Color Module 4; naming: no `$` prefix, no `{}` / `.` in names118- Tools: Tokens Studio, Style Dictionary, Penpot, Figma119120## AI-Ready Design Documentation121122- `DESIGN.md`: plain-text markdown; sections: Visual Theme, Color Palette, Typography, Spacing + Layout, Components, Elevation123- Atomic docs: context-rich units per component with states, variants, props, constraints, a11y, rationale124- MCP servers (Figma Dev Mode MCP) for programmatic access125126### Shared components and live build presentation127128- Reuse the canonical **Storybook** components and approved tokens/themes across OnePrompt and draftl.ink. Define stable section slots and typed content/asset contracts so agents can work independently without duplicating component systems.129- Show the cached/precompiled theme shell immediately, then update the isolated preview iframe with accepted granular patches. Keep research/build state visible and truthful; preserve the host editor's framework-owned DOM and use the generated site's renderer/HMR. Existing React/Tailwind/shadcn site templates and the Angular administration surface remain distinct.130- Prefer native CSS/Web Animations/View Transitions for the reveal. Respect reduced motion and keyboard focus; never delay real build work to stage an animation. WASM/SWC belongs in a browser worker only if measured transform savings justify it.131- The assembly, ordering and reconnect contract lives in `rules/event-sourced-build-progress.md`; completion lives in `06-build-and-slice-loop/SKILL.md`.132133## Layout134135- Container 1140px (wide 1400, narrow 720), padding `clamp(1rem,3vw,3rem)`136- Sections `clamp(4rem,8vw,8rem)`, border between; grid `auto-fit minmax(280px,1fr)`, 1fr at 768px137- Patterns: Hero (full-viewport, centered) · Features (3-col icon+heading+desc) · Alternating (zigzag) · Pricing (3-tier highlighted) · FAQ (accordion) · CTA (full-width dark) · Footer (4-col stack)138- SaaS: Single-CTA 13.5%; Hero / Proof / Features / Demo / Testimonials / Pricing / FAQ / CTA; bento grid for feature showcases139- Bento: `repeat(auto-fill, minmax(240px, 1fr))` + `grid-auto-flow: dense`; 1-2 anchor cards `grid-column: span 2` (hero metric also `grid-row: span 2`) — never uniform tiles140- Bento anchors carry an accent wash `linear-gradient(135deg, rgba(0,229,255,.08), transparent 60%)` + border-hover; collapse spans via container query ≤480px, not viewport141- Asymmetry with order: ONE dominant cell per visual row, constant gap `clamp(0.75rem, 2cqi, 1.5rem)`, internal baselines aligned142143## Components144145- **Cards** — bg-card, border-subtle, 12px radius, hover: border-hover + shadow-glow146- **Buttons** — Primary gradient #060610 text, 600 weight, 8px radius, hover 0.9, active scale(0.98), focus 3px cyan. Secondary: transparent, border, hover cyan147- **Nav** — sticky, `rgba(6,6,16,0.85)`, `blur(16px)`148- **Forms** — bg-secondary, border-subtle, 8px, focus cyan + glow149- **Glass** — `backdrop-filter: blur(16px) saturate(140%)` + `rgba(10,10,26,0.6)` bg + 1px top `--border-subtle`; `@supports` solid fallback; ≤3 blurred surfaces per view (GPU)150- **Grain** — tiled SVG `feTurbulence` data-URI at 3-5% opacity, `mix-blend-mode: overlay`, `pointer-events:none` — kills gradient banding; never a runtime filter over scrolling areas151- **Spartan UI** — copied-in components (not a black-box dep), OnPush everywhere, lazy-load heavy views (tables, editors, charts), Tailwind + design-token theming. Per `rules/angular.md`.152153## Interaction (every interactive element)154155`cursor:pointer`, hover state, focus-visible (3px cyan, 2px offset), active (scale 0.98), transition (0.2s color, 0.1s transform). WCAG 2.2 — min 24×24px targets, focus not obscured by sticky headers, dragging alternatives required, accessible auth.156157- Rings on `:focus-visible` only (keyboard), never bare `:focus` — and via `outline` + `outline-offset`, which survive `overflow:hidden` + `border-radius` where box-shadow clips158- Focus-Not-Obscured (2.4.11 AA): `html { scroll-padding-top: calc(var(--nav-h) + 1rem) }` (+ `scroll-padding-bottom` for sticky footers) so tab/anchor targets never land under sticky chrome159160### 4-state distinction (NON-NEGOTIABLE)161162Every link/button/card MUST visually differ across `:default | :hover | :focus-visible | :active` — NEVER let two states look identical.163164- Default → neutral · Hover → underline-sweep + color shift + `translateY(-1px)` · Focus-visible → 3px cyan ring 2px offset (distinct from hover) · Active → `scale(0.98)` + immediate color confirm165166Audit gate: Playwright cycles each interactive element through 4 states → screenshots → diff ≥3px pixel-difference between adjacent states or fail.167168### Underline-sweep (text links default)169170```css171.underline-hover{position:relative}172.underline-hover::after{content:"";position:absolute;z-index:1;left:51%;right:51%;bottom:0;background:var(--brand-accent);height:1px;transition:left .3s ease-out,right .3s ease-out}173.underline-hover:hover::after,.underline-hover:focus-visible::after{left:0;right:0}174```175176`var(--brand-accent)` / theme equivalent — never hard-coded #hex.177178## See submodules: design-tokens.md, build-breaking-rules.md, cinematic-doctrine.md.