# HP DESIGN.md

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

Clean retail-commerce system for HP — a single confident blue on white, medium-weight Forma DJR headlines at tight line-heights, 8px rounded buttons, and flat, border-defined surfaces.

- Website: https://hp.com
- Primary color: Indigo `#024AD8`
- Fonts: forma-djr-micro
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/hp

## Palette preview

- `primary`: `#024ad8`
- `surface`: `#ffffff`
- `on-primary`: `#ffffff`
- `on-surface`: `#1a1a1a`
- `surface-dim`: `#f5f5f5`
- `inverse-surface`: `#1a1a1a`
- `primary-container`: `#165dba`
- `surface-container`: `#e8e8e8`

## Typography preview

- `body-lg`: forma-djr-micro
- `body-md`: forma-djr-micro

---

## Overview

HP.com is a polished consumer-electronics storefront: bright white pages, crisp product photography, and one dependable blue (`#024AD8`) doing all the persuading. Everything is set in Forma DJR — HP's bespoke grotesque — at a distinctive medium weight (500) with tight, almost headline-tight line-heights of 1.0, which makes even 56px copy feel tidy and compact. The mood is optimistic tech retail: "Built for what's next" eyebrow lines, big product names like "HP OmniBook", paired Learn/Shop buttons, and endless carousels of laptops, printers, and monitors floating on near-white surfaces.

## Colors

- **Primary / "HP Blue" (#024AD8):** The single accent — filled buttons, outlines on secondary buttons, links, the "HP for Business" nav chip, and active states. A slightly softer #165DBA serves as a container/hover step.
- **On Surface (#1A1A1A):** Near-black ink for all headlines and most body copy; darker than typical gray-text corporate sites.
- **On Surface Variant (#3D3D3D) & #696969:** Secondary copy and legal/micro print.
- **Surface Dim (#F5F5F5) & Container (#E8E8E8):** Product carousels and section bands sit on these near-whites; chips and quick-buy buttons use E8E8E8 fills.
- **Inverse (#1A1A1A):** Dark promo bands and the black button variant ("Learn" on light heroes); text inverts to white.

## Typography

One family — **Forma DJR** (loaded as `forma-djr-micro`) — carries the entire page, falling back to Arial/Helvetica.

- **Headlines:** Always weight 500 with line-height 1.0 — display at 72px, section headers at 56px (sometimes 32px on denser layouts). Sentence case, normal tracking.
- **Titles:** Card and block titles at 24px/500 and 20px/500 with slightly looser 1.17–1.2 line-heights.
- **Body:** 16px/24px regular; hero subheads step up to 20px.
- **Labels & buttons:** 16px at weight 500 — the same medium voice as headlines, which makes CTAs feel like small headlines rather than chrome.
- **Legal/nav:** 14px/400 with ~1.33 line-height.

## Layout

- **Grid:** Very wide 1680px max container — HP designs for large monitors first. Product carousels run edge-to-edge inside it with fixed ~270px card columns.
- **Rhythm:** 8px base scale; buttons pad 6–12px, cards and chips 12–16px, section gaps at 24–64px.
- **Hero:** Split composition — left-aligned eyebrow + oversized headline + paired CTAs, product render on the right — inside a light surface, with a dot/bar carousel pager underneath.
- **Sections:** "Our Products" and promo bands alternate white and #F5F5F5, each headed by a 56px medium headline.

## Elevation & Depth

Completely flat — the build measured zero box-shadows. Depth is communicated with surface tonal steps (white → #F5F5F5 → #E8E8E8), 1px outline buttons, and hairline dividers. Overlays like the privacy banner float on plain white with a border, not a shadow.

## Shapes

Softly geometric: buttons, chips, and inputs take a consistent **8px radius**; cards and product tiles open up to **16px**; tiny elements (progress bars, badges) drop to 3–4px; and circular controls (carousel arrows, AI-mode sparkle) go 50%/full. The 8/16 rhythm plus flat fills gives the catalog a friendly but orderly feel.

## Motion & Micro-interaction

State changes are uniform: `color`, `background-color`, and `border-color` all transition over **300ms ease**. Structural moves are slightly slower — drawers expand via `max-height 300ms ease-in-out`, carousel slides translate over **400ms ease**, and the scroll-progress bar animates `width` over **700ms ease**. Keep to these durations; avoid bouncy curves, and respect `prefers-reduced-motion` on the auto-advancing hero carousel.

## Voice & Content Strategy

Upbeat, forward-looking retail copy. Eyebrows tease ("Built for what's next"), headlines are product names or short benefits ("HP OmniBook", "Keep up with everything life takes"), and CTAs are monosyllabic retail verbs — "Learn", "Shop". New AI features get playful micro-copy ("Shop HP.com by just asking", "Try it now"). Tone is confident but never technical on the surface; specs hide behind "Learn".

## Components

- **Primary button:** HP Blue fill, white 16px/500 label, 8px radius, compact 6px 12px padding (~36px); hero sizes grow to 12px 16px (~48px).
- **Secondary button:** Identical geometry on white with a 1px HP Blue (or black, on promos) outline and matching label color.
- **Dark button:** #1A1A1A fill with white label for promos where blue is reserved for links.
- **Navigation:** Clean white bar — blue HP roundel, gray 16px product categories, an outlined blue "HP for Business" pill, and icon buttons for search/cart/account plus a sparkle "Try AI Mode" chip.
- **Cards:** 16px-radius product tiles on white or #F5F5F5, image-first with title, price, and a quick "Shop" chip on #E8E8E8.
- **Carousel pager:** Thin black progress bar with dots and chevron arrows; circular 1px-outlined arrow buttons.

## Do's and Don'ts

- Do keep every headline at weight 500 with line-height 1.0 — never bold, never loose.
- Do pair CTAs as filled-blue + outlined-blue ("Learn" / "Shop") at identical geometry.
- Do use #1A1A1A for text and dark promos — HP's ink is near-black, not gray.
- Do keep surfaces flat: separate sections with #F5F5F5 bands, not shadows.
- Do hold radii to the 8px/16px system; circles only for icon and arrow buttons.
- Don't add gradients, glows, or drop shadows — the brand is flat and photographic.
- Don't set buttons or links in uppercase; labels stay sentence case.
- Don't introduce a second accent color — blue, black, and neutrals carry the whole page.
