Layout
Built at 390px first, then widened. One idea per section, short lines, room to breathe.
Spacing
An 8px grid with a 4px half step, as in RWA.io.
--space-1 · 4px
--space-2 · 8px
--space-3 · 12px
--space-4 · 16px
--space-5 · 24px
--space-6 · 32px
--space-7 · 48px
--space-8 · 72px
Radius
--radius-sm · 6px
--radius-md · 8px
--radius-lg · 12px
--radius-xl · 16px
--radius-btn · 8px
Buttons and inputs 8px, cards 12px, dialogs 16px. No pills.
Shadows
Resting
Hover
Overlay
One shadow per element. At night, hairlines replace shadows.
Breakpoints
| Width | What changes |
|---|---|
| 320 to 639 | One column. Menu behind a button. Review at 390 first. |
| 640 to 1023 | Two columns for cards and swatches. |
| 1024 and up | Side navigation, three columns, content up to 1120px. |
Targets
Anything you can tap is at least 44 by 44px. Buttons and inputs are 48px tall.