# Microsoft DESIGN.md

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

Microsoft's consumer storefront runs on the MWF/Fluent web design system — Segoe UI Variable type set tight and light, Brilliant Blue (#0078d4) actions on white, hairline-bordered cards with classic Fluent two-layer shadows, and cinematic product hero carousels. Sub-brands (Windows, Surface, Microsoft 365, Copilot) each dial their own accent within the same token grammar.

- Website: https://microsoft.com
- Primary color: Blue `#0078D4`
- Fonts: Segoe UI Variable Text, Segoe UI Variable Display
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/microsoft

## Palette preview

- `muted`: `#616161`
- `neutral`: `#262626`
- `outline`: `#e7e7e7`
- `primary`: `#0078d4`
- `surface`: `#ffffff`
- `tertiary`: `#702573`
- `secondary`: `#0067b8`
- `on-primary`: `#ffffff`

## Typography preview

- `button`: Segoe UI Variable Text, Segoe UI, Helvetica Neue, Arial, sans-serif
- `title-md`: Segoe UI Variable Display, Segoe UI, Helvetica Neue, Arial, sans-serif

---

## Overview

Microsoft.com is the consumer storefront for one of the world's largest software ecosystems — Office, Windows, Surface, Xbox, Azure, and now Copilot. The design language is the web expression of **Fluent 2 / MWF (Microsoft Web Framework)**: bright white surfaces, a single Brilliant Blue action color, Segoe UI Variable type with tight negative tracking, and modular card grids punctuated by cinematic full-bleed product heroes.

The personality is **confident, organized, and promotional**. Density is moderate: a slim 54px global header, a rotating hero carousel, quick-link icon strips, then row after row of product cards. Imagery is photographic and cinematic — rendered hardware (Surface devices, Xbox controllers), the signature Microsoft fabric-swirl wallpapers, and dark lifestyle video heroes on Windows/Surface pages. Sub-brand pages stay inside the same token grammar but shift accent and mood: Microsoft 365 warms to a soft cream, Windows goes dark and moody with frosted-glass chips, and the Copilot/AI surfaces lean into lavender-pink gradients.

## Colors

The palette is anchored by **Brilliant Blue** (`#0078d4`, MWF `brilliant-blue-500`) as the sole interactive primary, with the legacy MWF action blue `#0067b8` still powering links and secondary CTAs. Text is a cool near-black navy ramp (`on-surface` `#0e1726` for headings, `on-surface-variant` `#17253d` for body) rather than pure black, set on white with `#f2f2f2` and warm `#fffcf9` alternates.

- **Primary (#0078d4):** Brilliant Blue — filled CTA buttons, icon accents, the classic "action color". Hover steps down to `#006dc1`, active/pressed to `#005597`.
- **Secondary (#0067b8):** Legacy MWF blue used for text links, outlined CTAs, and "Learn more >" chevron links.
- **Accent Dark (#091f2c):** "Blue Black" — the near-black navy used for dark primary buttons (Microsoft 365 audience switcher, offer chips) and the selected pill state.
- **Copilot Pink (#e3bee4):** Soft lavender-pink reserved for AI/Copilot surfaces — eyebrow badges ("Watch Ignite"), gradient washes, and highlight fills on AI pages.
- **Tertiary (#702573):** Deep violet used sparingly for promotion banners and Surface/Teams-adjacent accents.
- **On-surface (#0e1726) / On-surface-variant (#17253d):** Dark Blue ramp for all text on light surfaces — headings take the darkest step.
- **Muted (#616161) / Neutral (#262626):** Footer and header chrome grays.
- **Outline (#e7e7e7):** The only border color — 1px hairline rules around cards and nav separators.
- **Inverse Surface (#051118) / Inverse On-surface (#dceef8):** Dark Navy cards with Sky Blue body text on AI and Windows pages.

## Typography

All type is **Segoe UI Variable** in two optical sizes: `Segoe UI Variable Display` for headings and `Segoe UI Variable Text` for body (a `Small` optical variant exists below ~12px). Classic `Segoe UI` remains in chrome like the UHF header/footer. Headings run surprisingly light — weight 400–500 with -0.025em tracking — so hierarchy comes from size, not boldness; only sub-18px titles bump to 600.

- **Headline Display (76px):** Hero-scale, weight 400 — used on campaign surfaces; most hero H1s land at 56–62px.
- **Headline XL/L (48/40px):** Section and hero headings, weight 500.
- **Headline M/S (32/24px):** Card-group headings and mid-page sections.
- **Title (20/18px):** Card titles — 500 at 20px, 600 at 18px.
- **Body L/M/S (18/16/14px):** MWF body scale at weight 400 with -0.03em tracking; 16px/24px is the workhorse.
- **Label (14/12px, 600):** Card eyebrows, badges, quick links.
- **Label Eyebrow (12px, +0.08em):** All-caps kickers like "MICROSOFT IGNITE 2026".
- **Button (15px, 600, -0.02em):** Action-button style shared by filled and outlined CTAs.

## Layout

A **Fixed-Max-Width grid** capped at **1600px** (`container-max`), with a generous **72px** horizontal margin on desktop that collapses through the 1366/1024/860/540/480px breakpoint ladder. The main mobile/desktop split happens at 860px.

Rhythm is a **4px base unit** — the MWF `--ds-spacing` scale runs 2/4/8/12/16/24/32/48/56px, and section "breadth" (vertical padding) defaults to 56px with comfortable (48px) and compact (32px) densities. Cards pack at 16/24/32px internal padding depending on density. The global UHF header is a fixed 54px strip; below it sits a full-width promo ribbon, then the hero carousel spanning the full viewport width inside the 1600px cap.

## Elevation & Depth

Elevation uses the **classic Fluent two-layer shadow** — a 2px ambient ring at `rgba(0,0,0,0.12)` plus a directional umbra at `rgba(0,0,0,0.14)` — in six levels (`--ds-elevation-level-1` through `-6`) scaling from `0 2px 4px` up to `0 32px 64px`. Resting cards sit at level 2 (`0 0 2px` + `0 2px 4px`) with the `#e7e7e7` `outline` hairline doing most of the separation work.

The system also ships **acrylic/blur depth**: `--ds-blur-s/m/l` (8/24/40px) and a 5-rem "glass" blur used on Windows' frosted translucent chips (`rgba(56,60,86,0.6)` over video). Depth on dark pages comes from tonal layering and imagery, not shadows.

## Shapes

Corners are **softly rounded, never sharp, never fully pill** (except true pills): the MWF radius scale is 4px → 8px → 16px → 200px circle.

- **Buttons:** 8px (`md`) rectangles — substantial but not round.
- **Cards:** 8px on the storefront grid, 16px (`lg`) on dark AI/Windows carousel cards.
- **Audience switcher / chips:** fully rounded pills (`full`) — the Microsoft 365 "For individuals / For business" segmented control is a white pill with a black selected segment.
- **Icon buttons & avatars:** perfect circles (carousel prev/next arrows are outlined circles; the account avatar is a 50% circle).

## Motion & Micro-interaction

Motion is **Fluent motion**: quick, purposeful, and always choreographed — nothing bounces. The signature easing is an expo-out curve `cubic-bezier(0.19, 1, 0.22, 1)` used for large transforms (carousel slides, card reveals) over ~600ms.

- **State changes:** 125–200ms `ease-in-out` — button hovers fade `background-color` at 150ms, links and opacity at 200ms.
- **Surface enter:** `ms-motion-fadeIn`, `slideDownIn`, `scaleDownIn` keyframes; heroes and cards fade-in on scroll (~300ms opacity, 600ms transform).
- **Carousel:** slide transforms at 600–800ms with a `--slide-open-delay` stagger; autoplay pauses on interaction.
- **Reduced motion:** `prefers-reduced-motion` is honored across the sheets (97 matches) — carousels stop and fades collapse to instant.

## Voice & Content Strategy

- **Tone of voice:** Confident, benefit-led, and lightly promotional — "AI-powered help" phrasing stays grounded in outcomes ("move faster", "turn AI investment into measurable results"). No exclamation marks, no whimsy.
- **Capitalization:** Sentence case on headings and buttons ("The apps you know go further with Copilot"); product names keep brand capitalization ("Microsoft 365", "Surface Pro", "XBOX"); eyebrow kickers are all-caps ("MICROSOFT IGNITE 2026", "MICROSOFT 365 FOR INDIVIDUALS").
- **Terminology:** "Copilot" for AI assistance, "Microsoft 365" (never "Office 365" in new copy), "Surface" for hardware. Offers are phrased as savings — "Save 30% on your first month or year".
- **Button and action labels:** Short verb phrases that name the destination — "Shop now", "See offer >", "Learn more >", "Get started", "Watch Ignite". Chevron `>` suffix marks link-style CTAs; filled buttons stay bare.
- **Empty, loading, and error states:** Marketing surface — errors are rare; promo banners are dismissible with an × and always carry a single inline action link.

## Components

- **Filled primary button (`button-primary`):** Brilliant Blue fill, white 15px semibold label, 8px radius, ~40px height with ~12px vertical padding. Hover darkens to `#006dc1`.
- **Dark action button (`button-secondary`):** Blue-Black `#091f2c` fill with white label — used on Microsoft 365 and offer ribbons where blue would clash with photography.
- **Outlined button (`button-outline`):** White fill, 1px `#0067b8`-family border and text — the secondary CTA paired beside filled buttons ("Explore Ignite highlights").
- **Chevron link (`link-cta`):** Blue text + `>` suffix, semibold 14px, no fill — the default card action.
- **Global nav (`nav`):** 54px white UHF strip, 13px Segoe UI labels, logo left, cart/search/account right; dropdowns open full-width mega-menus with a hairline separator.
- **Storefront card (`card`):** White surface, 8px radius, `#e7e7e7` `outline` hairline + level-2 Fluent shadow; image top, eyebrow badge, 20px title, 16px body, chevron link bottom.
- **Dark feature card (`card-dark`):** `#051118` surface, 16px radius, Sky-Blue body text — the AI/Windows carousel card with a photo header.
- **Eyebrow badge (`eyebrow-badge`):** Small 4px-radius label chip (hot pink on promos, Copilot pink on AI) marking "NEW"/"热销"/event kickers.
- **Segmented pill control (`pill-tab`/`pill-tab-selected`):** Full-radius white track; selected segment is a solid `#091f2c` pill — audience switcher on product pages.
- **Chat composer (`input-default`):** Rounded input ("Ask about Microsoft AI solutions.") with a `+`/send affordance — the Copilot ask-bar pattern.
- **Hero carousel:** Full-bleed media slide, right-aligned copy stack (badge → H1 → sub → CTA), circular outline prev/next arrows and a pause control on a baseline strip.

## Do's and Don'ts

- Do use Brilliant Blue `#0078d4` for exactly one primary action per view; pair it with an outlined or chevron secondary, never a second fill.
- Don't use pure black `#000` for text — always the navy ramps (`#0e1726`/`#17253d`) or `#262626` in chrome.
- Do keep heading weights at 400–500; reach for 600 only at 18px and below.
- Don't mix radius systems — 8px buttons/cards, 16px dark feature cards, full pills only for true pill components.
- Do separate cards with the level-2 Fluent shadow + the `#e7e7e7` `outline` hairline; never a single heavy shadow.
- Don't set Segoe in loose tracking — headings always carry -0.025em, body -0.03em.
- Do give hero media the full viewport width inside the 1600px cap; copy sits in a right or center column, never edge-to-edge text.
- Don't add drop shadows to dark surfaces — on `#051118` (`inverse-surface`) cards, depth is tonal plus optional acrylic blur.
- Do honor `prefers-reduced-motion` — the carousel must be pausable and fades must collapse.
- Don't write title-case marketing headlines — sentence case only; all-caps is reserved for 12px eyebrow kickers.
