Design system

Layout

Container widths, spacing, radii, and how pages collapse on smaller screens.

Spacing

Lay out with flex or grid and gap. Never space siblings with margins. Card grids that share rules use gap: 1px over a --bones-border background instead of borders on each cell.

Constants

ThingValue
Containermax-width: 1180px; padding: 0 32px
Section gap128px marketing, 56–64px app
Header66px marketing, 62px app, sticky, blurred
Radii8 chips · 9 buttons and inputs · 14 cards · 16 hero · 999 pills

Responsive

Collapse in this order:

  1. 1024px — two-column sections stack, and 3-up grids become 2-up.
  2. 768px — grids become 1-up, the header collapses to the mark and a menu button, and side panels hide.
  3. 480px — the gutter drops from 32px to 20px.