RESPONSIVE RULES
Mobile-first. Start with the smallest viewport and layer on complexity at larger breakpoints.
BREAKPOINTS
smLarge phones, small tablets
640px
mdTablets
768px
lgSmall laptops
1024px
xlDesktops (max container)
1280px
2xlWide screens
1536px
DEVICE PREVIEW
MOBILE
320–639px
TABLET
640–1023px
DESKTOP
1024px+
SCALING RULES
TYPOGRAPHY
h1: 4xl → 3xl on mobile
h2: 2xl → xl on mobile
h3: xl → lg on mobile
Display: 5xl → 3xl on mobile
Body: no change
SPACING
Section: 64px → 96px
Card gap: 16px → 24px
Grid margin: 16px → 64px
TOUCH TARGETS
Minimum: 44 × 44px
Button height: min 44px on mobile
Link spacing: min 8px between
MOBILE OVERRIDES
Navigation
- • Hamburger menu (3-line, 24px)
- • Full-screen or slide-right panel
- • Menu items: min 48px height, full-width
Forms
- • All inputs full-width
- • Labels above inputs (never beside)
- • Submit button full-width at bottom
Tables
- • Horizontal scroll with indicator
- • Or reformat as stacked cards
- • Never shrink below 14px
Modals
- • Full-screen on mobile
- • Bottom-sheet pattern preferred
- • Standard centered on desktop