# Grammarly DESIGN.md

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

A confident, clean editorial identity built on Grammarly's "origin" token ramp — deep teal-green actions on white surfaces, ink-blue headlines set in Matter, friendly rounded buttons, and saturated gradient panels reserved for product illustration.

- Website: https://grammarly.com
- Primary color: Forest Green `#027E6F`
- Fonts: Glyph, Matter
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/grammarly

## Palette preview

- `error`: `#eb0a00`
- `outline`: `#d9d9d9`
- `primary`: `#027e6f`
- `surface`: `#ffffff`
- `on-error`: `#ffffff`
- `tertiary`: `#d5ff00`
- `secondary`: `#0d8065`
- `on-primary`: `#ffffff`

## Typography preview

- `body-lg`: Glyph
- `title-lg`: Matter

---

## Overview

Grammarly's marketing site is bright, clean, and reassuring — the visual equivalent of its product promise. Pure white pages carry deep blue-ink headlines, a single forest-green action color, and saturated gradient panels that showcase the product UI like app screens floating over colored paper.

The personality is **helpful professionalism**: a writing partner that is smart but never intimidating. Layouts are roomy and centered, copy is short, and imagery alternates between real photography of people at work (cut out against solid color backdrops) and floating frosted-white suggestion chips that dramatize the product's UI. Everything is flat — depth comes from color fields and hairline borders, not shadows.

## Colors

The palette comes from Grammarly's "origin" token ramp and is deliberately restrained: one green for action, ink neutrals for text, and a rainbow illustration ramp used only inside artwork.

- **Primary (#027E6F):** the signature forest green — every primary CTA ("Sign up It's free", "Try for $0.00"), the logo "G", checkmarks, and selected states. Hover deepens to **#016A5E**.
- **Primary container (#EAFAF9) / On-primary-container (#014C43):** a pale mint fill and deep green text pair used for the highlighted "Most popular" plan card and success-adjacent surfaces.
- **Secondary (#0D8065):** a slightly lighter teal-green used for green body links and accent text on white.
- **Tertiary (#D5FF00):** electric lime, used exclusively for promotional energy — the "50% off Pro" banner text and highlight marks, always against near-black.
- **On-surface (#0E101A) / On-surface-variant (#1F243C):** a blue-tinged ink for headlines and a softer midnight slate for body copy — never pure gray.
- **Outline (#D9D9D9) / Outline-variant (#6D758D):** light neutral hairlines for cards, and a denser blue-gray for the outline button's stroke.
- **Inverse pair (#1C1C1C / #FFFFFF):** near-black surfaces for the promo banner, footer, and dark feature sections.
- **Illustration ramp:** mint (#00E0AC), purple (#8675EB), teal, magenta, gold, and red exist in the token ramp but appear only inside product-panel gradients and iconography — never on chrome.
- **Error (#EB0A00):** ramp red-60 for destructive and error states.

## Typography

Two proprietary families divide the labor: **Matter** (a geometric grotesque, set at weight 670 — heavier than bold) owns every headline, and **Glyph** owns all interface and body text.

- **Headlines:** Matter 670 at 36–52px with a mild −0.01em track and tight 1.09–1.12 line-height. Headlines carry the persuasion, so they stay big even on inner pages.
- **Titles:** Matter at 20px/600 labels cards and feature blocks.
- **Body:** Glyph at 18px for lead copy, 16px default, 14px for dense descriptions and footer links, all around 1.5 line-height.
- **Labels:** Glyph 16px/500 on the big 60px CTAs; 14px/600 for tags and small controls. Nav links run 16px/400 in the slate ink color.

## Layout

A centered, fixed-max-width layout at **1280px** on a strict 8px grid (4px half-steps for micro-adjustments).

- **Section rhythm:** 80–96px vertical padding; hero CTAs sit in a wide centered stack.
- **Hero pattern:** eyebrow → Matter headline → 18px subhead → paired CTAs → legal microcopy, then a product carousel or a photograph with floating UI chips.
- **Feature sections** alternate text-left/visual-right and mirrored pairs down the page.
- **Pricing** is a classic three-card row (Free / Pro / Enterprise) with the recommended plan lifted on a mint fill.

## Elevation & Depth

The system is essentially **flat** — the measured shadow list is empty.

- Separation comes from 1px `#EBEBEB`–`#D9D9D9` hairlines on white cards and from tonal fills (mint plan card, dark banner).
- Where elevation exists, it is the tokenized `elevation` scale: a hairline plus a whisper of shadow (0–2px y, 4–12px blur at very low opacity) on floating suggestion chips and popovers.
- The colorful carousel panels get depth from their gradient fields, not from drop shadows.

## Shapes

Friendly mid-radius rounding — the site splits the difference between enterprise square and consumer pill.

- **Buttons:** 6px radius regardless of size — the 34px nav CTA and the 60px hero CTA share the same corner.
- **Cards:** 8px for feature and pricing cards.
- **Pills:** fully rounded (999px) for suggestion chips, tags, and the "Try for free" badge.
- **Icon buttons and avatars:** perfect circles (50%).

## Motion & Micro-interaction

Motion is short and utilitarian — nothing calls attention to itself.

- **State changes** (link hovers, color fills): ~150ms `ease`.
- **Surface entrances** (carousels, panels, drawers): ~300ms `ease-out` transforms; exits are faster.
- **Hover affordances** (cards lifting, icon nudges): ~200ms `ease` on transform and shadow.

## Voice & Content Strategy

- **Tone of voice:** warm, confident, benefit-first. Headlines speak to outcomes ("Think big. We'll take care of the details.", "Great writing gets work done") rather than features.
- **Capitalization:** sentence case for headlines; CTA labels keep their own short grammar ("Sign up It's free", "Try for $0.00", "Contact Sales", "Request a demo").
- **Terminology:** "AI partner", "agents" (Humanizer agent, AI Detector agent), "suggestions" — the product is framed as collaborative, not automated.
- **Feature copy** leads with the user's gain: "Improve clarity and flow with one click", "Adapt your message for the context".
- **Trust microcopy** is explicit: "By signing up, you agree to the Terms and Conditions and Privacy Policy", "Email reminder 2 days before trial ends."

## Components

### Buttons
`button-primary` is the green 60px hero CTA — `#027E6F` fill, white 16px/500 label, 6px radius, 16px/24px padding; a 34px compact version lives in the nav. `button-secondary` is the outlined white variant ("Sign up with Google", "Explore Enterprise") with a `#6D758D` stroke and slate text. `button-outline` inverts the primary pair — white fill, green text and border — used for "Create Account"/"Contact Sales" on pricing cards. `button-icon-circle` is the 48px circular carousel arrow.

### Cards
`card` is a white 8px-radius surface with an `#EBEBEB` hairline (feature carousel panels, suggestion cards). `card-plan` is the mint-filled pricing card that flags the recommended tier.

### Nav & chrome
`nav` is a slim white bar (product dropdowns left, "Sign up" CTA right). `banner-promo` is the full-width near-black strip carrying lime `#D5FF00` offer text. `chip-suggestion` is the frosted-white pill with an icon and 14px label that floats over feature imagery.

### Links
`link-accent` renders inline links and legal links in the lighter `#0D8065` teal on white.

## Do's and Don'ts

- Do reserve `#027E6F` for primary actions, the logo mark, and confirmation iconography — one green CTA per viewport.
- Don't pull the illustration colors (mint #00E0AC, purple, magenta, gold) into UI chrome or text.
- Do set headlines in Matter at weight 670; never substitute a heavier Glyph — the contrast between the two families is the system.
- Don't add drop shadows to cards; separate with hairlines or tonal fills only.
- Do keep buttons at a 6px radius even when they scale to 60px tall.
- Do pair lime `#D5FF00` only with near-black surfaces — it is a promotional accent, not a brand color for UI.
- Don't capitalize CTA labels inconsistently; match the site's own short grammar ("Sign up It's free").
- Do keep photography cut out on solid or gradient color fields with floating white chips, never raw screenshots on gray.
- Do use mint `#EAFAF9` to mark the single recommended choice in a comparison set.
- Don't use pure black for text — headlines take `#0E101A` and body takes the blue-slate `#1F243C`.
