---
protocol: uifino/design-md@2.0
name: "Medusa Design System"
slug: "medusajs.com"
url: "https://medusajs.com"
platform: "website"
category: "Commerce"
fit_for: ["Headless Commerce", "Developer Platforms", "Order Admin Consoles", "Cloud Infrastructure"]
avoid_for: ["Playful Toy Stores", "Holiday Gift Guides", "Consumer Social Apps"]
typography:
  display: "Inter"
  open_alternative: "Inter + JetBrains Mono"
  body: "Inter"
  mono: "Roboto Mono"
  headline_tracking: "-0.02em"
tokens:
  default_radius: "6px"
  radius_ladder: ["4px", "6px", "8px", "12px"]
  spacing_px: [4, 8, 12, 16, 24, 32, 48, 80]
colors:
  light:
    canvas: "#FFFFFF"
    surface: "#FAFAFA"
    elevated: "#F4F4F5"
    border: "#E4E4E7"
    ink: "#18181B"
    muted: "#52525B"
    accent: "#27272A"
    accent_foreground: "#FFFFFF"
  dark:
    canvas: "#09090B"
    surface: "#121215"
    elevated: "#18181B"
    border: "#27272A"
    ink: "#FAFAFA"
    muted: "#A1A1AA"
    accent: "#FAFAFA"
    accent_foreground: "#09090B"
---

# Medusa — DESIGN.md Protocol

## 1. Visual Direction & Fit
Precision #FFFFFF Swiss commerce platform ruled by continuous 1px #E4E4E7 architectural hairlines, tactile 6px #27272A inset-bevel CTAs, and crisp Zinc-scale order management UIs.

- **Best Suited For**: Headless Commerce · Developer Platforms · Order Admin Consoles · Cloud Infrastructure
- **Avoid Using For**: Playful Toy Stores · Holiday Gift Guides · Consumer Social Apps

## 2. Surface & Color Hierarchy
- **Dark Mode**: Canvas `#09090B` · Surface `#121215` · Border `1px solid #27272A` · Ink `#FAFAFA` · Accent `#FAFAFA`
- **Light Mode**: Canvas `#FFFFFF` · Surface `#FAFAFA` · Border `1px solid #E4E4E7` · Ink `#18181B` · Accent `#27272A`

## 3. Typography, Geometry & Spacing
- **Display / Body**: `Inter` (Open-source alternative: `Inter + JetBrains Mono`), tracking `-0.02em`.
- **Monospace**: `Roboto Mono` with `font-variant-numeric: tabular-nums`.
- **Radius & Rhythm**: Default radius `6px` (ladder: 4px, 6px, 8px, 12px), spacing `4px · 8px · 12px · 16px · 24px · 32px · 48px · 80px`.

## 4. Measured Live DOM Audit

### Measured Color Area Share
| Role | CSS Variable | Hex | Share |
| :--- | :--- | :--- | :--- |
| Swiss Pure White Canvas | `--medusa-canvas` | `#FFFFFF` | 86.2% |
| Preview Well Zinc-50 | `--medusa-surface` | `#FAFAFA` | 7.4% |
| 1px Architectural Grid Line | `--medusa-border` | `#E4E4E7` | 3.1% |
| Primary Display Zinc-900 | `--medusa-ink` | `#18181B` | 1.6% |
| Inset-Bevel Button Zinc-800 | `--medusa-btn` | `#27272A` | 1.0% |
| Body & Spec Zinc-600 | `--medusa-muted` | `#52525B` | 0.7% |

### Measured Typography & Free Open-Source Alternatives
| Level | Detected Font | Free Alternative | Size / Weight / Line-Height / Tracking |
| :--- | :--- | :--- | :--- |
| H1 Hero | Inter | `Inter` | 48px · 500 · 54px (1.13) · -0.96px (-0.02em) |
| H2 Section | Inter | `Inter` | 40px · 500 · 46px (1.15) · -0.64px (-0.016em) |
| Body Copy | Inter | `Inter` | 16px · 400 · 24px (1.50) · 0em |
| CLI & Order IDs | Roboto Mono | `JetBrains Mono` | 12.5px · 400 · 18px (1.44) · 0em |

### Component Geometry & Surface Physics (Container Max Width: `1200px`)
- **Inset-Bevel Zinc-800 Primary CTA**: radius `6px` · border `none` · shadow `inset 0 0.75px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.4), 0 0 0 1px #18181B` · height: 32px · 13px medium Inter
- **1px Ring-Shadow White Secondary CTA**: radius `6px` · border `none` · shadow `0 1px 2px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.08)` · height: 32px · crisp tactile elevation
- **1px #E4E4E7 Structural Grid Cell**: radius `0px` · border `1px solid #E4E4E7` · shadow `none` · shared hairline rails across full page

### Interactive Hover Transitions
- **Zinc-800 Tactile Primary CTA**: Rest (`#27272A` / border `#18181B` / text `#FFFFFF`) → Hover (`#3F3F46` / border `#18181B` / text `#FFFFFF`) · `all 150ms cubic-bezier(0.4, 0, 0.2, 1)`
- **White Ring-Shadow Secondary CTA**: Rest (`#FFFFFF` / border `#E4E4E7` / text `#18181B`) → Hover (`#FAFAFA` / border `#D4D4D8` / text `#09090B`) · `all 150ms cubic-bezier(0.4, 0, 0.2, 1)`
- **5-Column Capability Tab Cell**: Rest (`#FFFFFF` / border `#E4E4E7` / text `#52525B`) → Hover (`#FAFAFA` / border `#18181B` / text `#18181B`) · `background-color 150ms ease, color 150ms ease`

## 5. Multi-Page Section Anatomy

### Page: Home (`/`)
- **01 Zinc Banner & Hairline Nav** (Banner + White Bar [0%–1.6%]): 40px #18181B security announcement strip above a 65px #FFFFFF 1px-ruled navbar with `37.5k` stars and 6px CTAs.
- **02 Agentic Hero & Order Admin** (Hero + 5-Tab Admin [1.64%–24.8%]): Left-aligned hero and 5-column capability tabs framing a live `Order #2456` Admin UI above a 5x2 1px-ruled logo grid.
- **03 Operations & Cloud 3-Grid** (Ops + 3-Col Cloud [24.83%–54.7%]): Product and sales-channel UI cards above a 3-column Medusa Cloud grid (AI chat, traffic autoscaling, usage billing).
- **04 Agentic Storefront & Quote** (Preview + Quotes [54.71%–79.0%]): Warm gradient stage showcasing AI storefront generation above an EightSleep/Heineken/Mitsubishi quote switcher.
- **05 $29 Cloud CTA & 5-Col Foot** (Cloud CTA + 5-Col [79%–100.0%]): Centered `$29` Cloud CTA with thumbnail pill button above a structured 5-column 1px-ruled sitemap footer.

### Page: Pricing (`/pricing`)
- **01 Promo Strip & Ruled Navbar** (Banner + White Bar [0%–0.8%]): 105px header aligning flush with the 4-column Swiss pricing grid rails.
- **02 4-Tier Plans & 0% GMV Strip** (4-Tier + 4-KPI [0.85%–9.4%]): 4-column 1px-ruled tiers (`$29`/`$99`/`$299`/Custom) above a 4-cell SLA, region, SOC 2, and full-ownership strip.
- **03 10-Group Swiss Feature Matrix** (5-Col Spec Ledger [9.39%–79.2%]): Ten exhaustive 5-column 1px-ruled specification tables covering Commerce, Agents, Edge, DDoS, Search, and Compute.
- **04 Split 14-Row FAQ & Footer** (2-Col FAQ + Footer [79.18%–100.0%]): 2-column split pairing a sticky FAQ heading with 14 expandable billing rows above the 5-column footer.

### Page: Medusa Cloud (`/cloud`)
- **01 Security Strip & White Nav** (Banner + White Bar [0%–3.5%]): 105px global header introducing the focused Medusa Cloud product page.
- **02 8-Pill Bar & Deploy Stage** (8-Tab + Deploy UI [3.55%–49.0%]): 8-pill feature switcher above a unified card pairing a `git push origin main` pipeline UI with 3 deployment columns.
- **03 4-KPI Strip & Enterprise** (4-KPI + 2-Col Card [49%–73.3%]): 4-column icon KPI row above a clean elevated card detailing SSO/RBAC, 24/7 SLAs, and dedicated engineers.
- **04 5-Column Structured Footer** (5-Col Ruled Footer [73.35%–100.0%]): Crisp #FFFFFF 5-column sitemap with newsletter input and green `Medusa Cloud` status indicator.

### Page: Enterprise (`/enterprise`)
- **01 Dark Zinc Architectural Bar** (Dark Zinc Topbar [0%–1.1%]): 105px #09090B dark-mode header ruled by 1px #27272A Zinc hairlines.
- **02 5x Velocity & Global Cases** (Hero + 3 Cases [1.14%–29.8%]): 5x migration chart and `$25b+`/`15b+`/`500k+` KPIs above Heineken, EightSleep, and SPAR photo case cards.
- **03 RBAC Matrix & 99.99% Chart** (2x2 + Uptime Chart [29.83%–66.0%]): 2x2 dark security/RBAC panels above a glowing blue-and-white `99.99%` autoscaling instance histogram.
- **04 Scale Bento, FAQ & Dark Foot** (2x2 + FAQ + Footer [66%–100.0%]): Million-order throughput and 0%-cut 2x2 bento followed by enterprise FAQ, `Talk to sales` bar, and dark footer.

## 6. Signature Rules & Anti-AI Slop Guardrails
- **DO**: Frame every section, 5-column capability tab strip, customer logo cell, and pricing matrix inside continuous 1px #E4E4E7 vertical and horizontal structural hairlines over #FFFFFF.
- **DO**: Set clean `Inter` 500 display headings (40px–48px, `-0.02em` tracking, #18181B ink) paired with 14px–16px #52525B Zinc-600 body copy and restrained semantic status dots (`Paid`, `Shipped`, `Connected`).
- **DO**: Craft compact 28px–32px tactile buttons (`border-radius: 6px`, 13px medium): #27272A charcoal primary with a `0.75px` top white inset highlight, and #FFFFFF secondary with a `1px` `rgba(0,0,0,0.08)` ring shadow.
- **DO**: Switch seamlessly to a #09090B/#121215 Zinc dark architectural grid on `/enterprise` for SLA uptime histograms and RBAC permission matrices.
- **DON'T**: NEVER add loud shopping-cart illustrations, rainbow SaaS gradients, or oversized 999px pill buttons; Medusa looks like precision developer infrastructure.
- **DON'T**: NEVER break the vertical 1px #E4E4E7 container rails; align headers, feature columns, and testimonials strictly to the shared structural grid.
- **DON'T**: NEVER use heavy blurry drop shadows; elevate Admin UI previews with crisp 1px multi-ring borders over #FAFAFA wells.
- **DON'T**: NEVER oversize body copy or buttons; 13px medium triggers and dense data tables give Medusa its signature Linear-grade craft.
