# Mozilla DESIGN.md

> Public preview. The complete DESIGN.md source (all 82 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Mozilla's brand system on two custom families: Mozilla Headline 600 at -0.01em tracking for every display size from 128px down to 16px, over a Mozilla Text body at 16px/20px, with zero border-radius and zero shadows anywhere, a strict 4px spacing grid, black-and-white grounds split by a #161616 night, and exactly two accents — the #0060DF link blue and the #00D230 brand green.

- Website: https://mozilla.org
- Primary color: Blue `#0060DF`
- Fonts: Mozilla Text, Mozilla Headline
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/mozilla

## Palette preview

- `ink`: `#000000`
- `muted`: `#b3b3b3`
- `night`: `#161616`
- `outline`: `#0060df`
- `primary`: `#0060df`
- `surface`: `#ffffff`
- `on-night`: `#ffffff`
- `secondary`: `#00d230`

## Typography preview

- `nav`: "Mozilla Text", system-ui, -apple-system, sans-serif
- `title`: "Mozilla Headline", "Mozilla Text", system-ui, sans-serif

---

## Overview

mozilla.org runs on one of the most austere systems in this directory: **two custom families, two accents, no rounded corners and no shadows at all.** Mozilla Headline (600 only) carries every display size from a 128px hero down to a 16px eyebrow, always at -0.01em tracking and a line-height that matches the font size almost exactly; Mozilla Text (400/600/700) carries everything readable. The grounds are pure black and white, split by a `#161616` night that hosts the hero, the product bands and the entire footer. Against that, exactly two colors are allowed to speak: the **`#0060DF` link blue** and the **`#00D230` brand green**. Everything sits on a strict 4px spacing grid inside a 1440px container, and the only easing in the building is a single `cubic-bezier(0.5, 0, 0, 1)`.

## Colors

Black, white, one gray ramp, and two accents:

- **Primary `#0060DF` (blue):** the interactive color. Every link, every outline button's label and 2px border, the solid CTA's fill, and the "Continue" submit. White on it is 5.6:1 — the system's most reliable pairing.
- **Secondary `#00D230` (green):** the brand accent, used sparingly — the animated Mozilla logo mark in the hero and small highlights. It never carries text.
- **Ink `#000000` / night `#161616`:** the two dark grounds. Black is the light-ground text color; `#161616` is the dark band and footer fill, and also the tab toggle's selected state.
- **Surface `#FFFFFF` / background `#FAFAFA`:** the light grounds. Cards, the header and the product grid are white; `#FAFAFA` backs the input and newsletter fields.
- **Muted `#B3B3B3`:** the eyebrow gray on dark bands; `#414141` does the same job as a one-off border and fill on the homepage.
- **Accent washes `#FFF1F8` blush, `#D6FFCD` mint, `#FAF0E6` cream and `#FF97E2` pink (prose only):** section-level tints that appear one at a time on the about page, always behind imagery rather than text, so they never become component tokens.
- **In assets (prose only):** the Firefox, Focus, Relay, VPN, Monitor and MDN product icons, the Thunderbird and 0DIN marks, and the hero's animated logo are all SVG/PNG artwork — their oranges, purples and pinks are never flat computed colors.

## Typography

**Two families, split by job, never mixed within a string.** Mozilla Headline 600 takes the display range at a near-solid line-height: 128px/128px (the homepage hero), 80px/80px (the about hero), 66px/66px (stat numerals), 56px/61.6px (page titles), 48px/52.8px, 32px/35.2px (card heads), 28px/30.8px (product names) and 16px/17.6px (eyebrows). Every size carries -0.01em tracking, so the negative letter-spacing scales with the font: -1.28px at 128, -0.8px at 80, -0.56px at 56, -0.32px at 32, -0.16px at 16. Mozilla Text takes the readable range — 24px/500 ledes, 18px/400 secondary copy at a loose 1.5, 16px/400 body at exactly 1.25, 14px/400 small — with 600 for the navigation and 700 reserved for button labels and inline links. The system never uses a weight above 700 or a size below 12px.

## Layout

A **1440px container** with a 64px-gutter rhythm and an 800px copy measure (688px for the products grid's text columns). The header is a 72px white bar — wordmark left, "Products" and "About us" right, divided from the page by a single 1px hairline. The homepage hero pairs the 128px "Welcome to Mozilla" with a 24px lede and a single underlined "Learn about us" link, beside the animated green logo mark. Below it: a dark "Love the internet again" band, a "Build A Better Future" band, an "Explore issues" link grid, and a dark mega-footer with four link columns (Products / About Mozilla / Innovations / Get Involved) and a newsletter signup. The products page runs a tab toggle ("For everyone" / "For business") over a three-up grid of icon, name, description and outline button. The about page opens with an 80px "Guard the Open Internet" hero over a full-bleed photograph.

## Elevation & Depth

**There is none — and that is the decision.** No element on mozilla.org has a box-shadow, a drop shadow, a glow or a blur. Depth comes entirely from flat color inversion: white sections, `#161616` sections, and the occasional 16px-radius black card ("One login. Everything Mozilla.") that reads as raised purely because it is dark on light. The one near-exception is the tab toggle, whose selected state is a white or `#161616` plate inside an 8px solid black frame — a hard edge, not a soft one.

## Shapes

**Zero radius is the default.** Buttons, tabs, inputs, cards and images are all square. The system declares only two exceptions: **4px** on small controls and **16px** on the large black statement card. Nothing on the site is pill-shaped, and the 2px outline-button border is the only stroke in the system that isn't a 1px hairline divider.

## Motion & Micro-interaction

One curve, used everywhere: **`cubic-bezier(0.5, 0, 0, 1)`** at 300ms for hover — background-color on buttons and tabs, `text-decoration-color` and `color` on links, `transform` and `box-shadow` on the few liftable elements. Presses drop to **100ms `ease`**. The hero's logo mark is the only continuous animation, and the site ships an explicit **"Pause animation"** control (a 32px `#161616` button, 12px/600 white label) so the motion is never forced on a visitor — an accessibility feature most systems in this directory lack.

## Voice & Content Strategy

Mission-first and plain-spoken, with the manifesto doing the persuading. Real strings from the captured pages:

- "Welcome to Mozilla" / "From trustworthy tech to policies that defend your digital rights, we put you first — always."
- "Learn about us" / "Love the internet again" / "Build A Better Future"
- "Explore issues shaping the technology landscape"
- "Open Source AI Is Winning" / "Owners Not Renters" / "Read the report" / "The Internet You Loved Is Still Here" / "AI Datasets In 450 Languages" / "AI You Control"
- "Guard the Open Internet" / "Mozilla is working to put control of the internet back in the hands of the people using it."
- "Products" / "Firefox is just the beginning. Mozilla's family of products are all designed to keep you safer and smarter online."
- "For everyone" / "For business"
- "Firefox" / "Get the browser that blocks 2000+ data trackers automatically. Enhanced Tracking Protection comes standard in every Firefox browser." / "Download Firefox"
- "Firefox Focus" / "Your dedicated privacy browser with automatic tracking protection and ad blocking." / "Get Firefox Focus"
- "Firefox Relay" / "Protect your real email address to help control your inbox." / "Get Firefox Relay"
- "Mozilla VPN" / "Mozilla Monitor" / "MDN Plus" / "Thunderbird" / "0DIN" / "Tabstack" / "Otari"
- "Firefox browsers" / "About Mozilla" / "The Mozilla Manifesto" / "Get Involved" / "Blog" / "Mozilla Foundation" / "Mozilla.ai" / "Mozilla Ventures" / "Mozilla Advertising" / "Mozilla Builders" / "Mozilla New Products"
- "Sign Up Now" / "Help us improve your Mozilla experience" / "Pause animation" / "Cookie settings"
- "© 1996—2026 Mozilla" style footer legal with the AI text-and-data-mining reservation

## Components

- **`button-outline`** — the workhorse: white ground, `#0060DF` label and 2px border, 0px radius, 40px tall ("Download Firefox", "Get Firefox Relay", "Test your AI agents"). `button-solid` inverts it to a blue fill with a white label ("Continue").
- **`tab` / `tab-active`** — the products page's "For everyone" / "For business" pair: 18px/600 labels, 39px tall, 0px radius, the selected state a `#161616` plate with white text inside an 8px black frame.
- **`card-night`** — the rare 16px-radius element: a 1280px black statement card ("One login. Everything Mozilla.") on white.
- **`link`** — inline 16px links in `#0060DF`, underlined, with the underline itself animating on hover.
- **`nav-link`** — the header's two items in Mozilla Text 18px/600 black.
- **`eyebrow`** — the 16px/600 `#B3B3B3` labels that head the footer columns.
- **`footer`** — the `#161616` mega-footer: white links at 16px/400, 14px secondary, and a `#FAFAFA` newsletter input.
- **`pause-control`** — the 32px `#161616` "Pause animation" button, 12px/600 white.

## Do's and Don'ts

1. Do keep every corner square — 0px is the default radius for buttons, tabs, inputs, cards and images; the only exceptions are 4px small controls and the 16px statement card.
2. Do use no shadows at all: depth comes from flat black-on-white and white-on-`#161616` inversion, never from blur.
3. Do set display type in Mozilla Headline 600 at -0.01em tracking, scaling the negative letter-spacing with the font size (-1.28px at 128px, -0.16px at 16px), and hold the line-height within a pixel or two of the font size.
4. Do keep Mozilla Text for everything readable at 16px/20px, stepping to 24px/500 for ledes and 18px/400 for secondary copy, and reserve 700 for button labels and links.
5. Do let `#0060DF` carry every interactive role — links, outline-button labels and borders, solid-button fills — and confine `#00D230` to the brand mark and small highlights.
6. Do respect the 4px grid (4/8/16/20/24/32/48/64/80/96px), the 1440px container and the 800px copy measure.
7. Do answer hover with the one curve — `cubic-bezier(0.5, 0, 0, 1)` at 300ms on background-color, color and text-decoration-color — and drop to 100ms `ease` for presses.
8. Do ship the "Pause animation" control wherever the hero mark moves; motion is never mandatory on this system.
9. Don't introduce a third font family, a weight above 700, or a size below 12px — the scale is 16/18/24/28/32/48/56/66/80/128px and nothing else.
10. Don't round a button or add a glow to a card: both read as a different brand the moment they appear.
11. Don't re-color the product icons — the Firefox oranges, Relay purples and Monitor pinks are artwork, and replacing them with brand colors breaks every product's identity.
12. Don't drop the footer's AI reservation clause: the legal line covering text and data mining and AI training is part of the system's voice, not decoration.
