# HashiCorp DESIGN.md

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

HashiCorp's post-IBM-acquisition design language — a dark-first infrastructure aesthetic of near-black surfaces with violet ambient glows, HashiCorp Sans display type, small 5px radii, translucent hairline borders, and an electric blue action color that adapts per-product (e.g. Terraform purple).

- Website: https://hashicorp.com
- Primary color: Indigo `#1060FF`
- Fonts: system-ui, HashiCorp Sans
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/hashicorp

## Palette preview

- `error`: `#f24c53`
- `accent`: `#b457ff`
- `outline`: `#d5d7db`
- `primary`: `#1060ff`
- `surface`: `#ffffff`
- `tertiary`: `#7b42bc`
- `secondary`: `#2b89ff`
- `on-primary`: `#ffffff`

## Typography preview

- `body-lg`: system-ui
- `title-lg`: HashiCorp Sans

---

## Overview

HashiCorp's site is a **dark-first, cinematic infrastructure aesthetic**: near-black canvases (`#0D0E12`) lit by violet and blue ambient glows and thin converging "network line" graphics, projecting scale and engineering seriousness. Headlines in proprietary HashiCorp Sans are huge (up to 82px) and quiet — "Do cloud right" — while a white top nav and light content sections keep the page from feeling monolithic. Product sub-brands re-skin the accent color (Terraform purple `#7B42BC`, Vault gold, etc.) inside the same shell. The audience is platform engineers and CIOs; the mood is calm authority, now stamped "an IBM Company."

## Colors

- **Infrastructure Blue `#1060FF` (primary):** The global CTA color ("Get started"), white text, `#0C56E9` border/hover. On dark sections it brightens to `#2B89FF` for links and accent fills; `#2264D6` and `#389AFF` fill out the ramp.
- **Product Purple `#7B42BC` / `#B457FF` (tertiary/accent):** Terraform's brand color on product CTAs and the announcement chip border; deep `#42225B` tints the hero glow. Each product page substitutes its own accent here.
- **Dark surfaces:** `#0D0E12` base, `#15181E` container, `#1E222A` raised, `#1C345F` for tinted blue panels. Text on dark: `#EFEFF1` strong, `#D5D7DB` mid, `#B2B6BD` muted.
- **Light surfaces:** `#FFFFFF` nav/content, `#FAFAFA` secondary buttons and subtle bands; text `#3B3D45`, strong `#0C0C0E`.
- **Borders:** translucent hairlines — `#B2B6BD` at 10–40% on dark, `#3B3D45` at 40% on light; inputs use solid `#616875`.
- **Focus:** a 3px `#5990FF` (`rgb(89,144,255)`) outer ring. The brand gradient used in hero line-art runs orange → red → purple → blue (`--mds-gradient-hashicorp-stops`).

## Typography

- **Display/headlines:** HashiCorp Sans (a proprietary grotesque via `next/font`, fallback `__hashicorpSans_Fallback`) at weights 600–700 — 82px display, 52/42/34px section heads, 1.17–1.19 line-height, with −0.01em tracking on the 42px cut.
- **Body/UI:** `system-ui` stack — deliberately native — at 16px/400 with a generous 1.69 line-height in `#B2B6BD` on dark.
- **Labels:** 15–16px/500 for buttons and nav; a compact 13px/400 for footer links. Buttons sit in system-ui even when headlines use the brand face.
- Sentence case throughout; the only all-caps is the small "TRUSTED BY LEADING ORGANIZATIONS" logo-wall label.

## Layout

A single **1312px** max-width container on an 8px base scale (4/8/16/24/48/88). Heroes are left-aligned or centered stacks over full-bleed dark artwork; content alternates between dark showcase bands and clean white sections. Nav is a slim white bar (logo + "an IBM Company" tagline, Solutions/Products/Pricing/Developers/Resources/Company) with product sub-navs appearing on product pages.

## Elevation & Depth

Depth is **atmospheric, not shadowed**. Cards on dark are separated by translucent `#B2B6BD` hairlines at ~10–40% opacity and tonal steps (`#0D0E12` → `#15181E` → `#1E222A`). The only real shadows are the tiny `rgba(97,104,117,0.05)` 1px+2px pair under light-theme buttons and an inset `0 1px 2px` inside inputs. Ambient violet/blue radial glows and thin line-work carry the depth cue in heroes.

## Shapes

Tight, engineered corners: **5px** on buttons and inputs, **4px** on nav items, **8px** on cards, sharp `0` on promotional tiles, `9999px` pills reserved for the announcement tag ("Agentic runtime security, explained"). The small radius reads precise and enterprise-grade rather than friendly.

## Motion & Micro-interaction

- **Color/state transitions:** `150ms ease-in` on color, background, border, and text-decoration — uniform and understated.
- **Surface changes:** `250ms ease` on background-color; `200ms ease` transforms.
- **Signature ease:** a long `600ms cubic-bezier(0.5, 1, 0.89, 1)` decelerating curve for structural reveals (nav underlines, panel expansion).
- **Focus:** instant 3px blue ring; never animated.
- Hero glows are static artwork; no looping decoration observed.

## Voice & Content Strategy

- **Tone:** Aphoristic and assured — "Do cloud right", "A smarter approach to infrastructure operations", "Get started in minutes". Minimal words, maximum gravity.
- **Capitalization:** Sentence case for headlines and buttons; product names capitalized (Terraform, Vault, The Infrastructure Cloud).
- **CTA grammar:** Short verb phrases — "Get started", "Sign up →", "Contact us", "Request a demo →", "Meet The Infrastructure Cloud". Secondary actions are text links with a chevron/arrow.
- **Terminology:** "Infrastructure Lifecycle Management" / "Security Lifecycle Management" (ILM/SLM), "HCP" for HashiCorp Cloud Platform, "IBM HashiCorp Cloud Platform" post-acquisition phrasing, "$500 credit" as the recurring trial hook.

## Components

- **Button — primary (`button-primary`):** `#1060FF` fill, white 16px/500 label, 5px radius, ~11px/19px padding (36px in nav, 48px in heroes), 1px `#0C56E9` border and the faint two-layer shadow.
- **Button — secondary (`button-secondary`):** `#FAFAFA` fill, `#3B3D45` text, 5px radius, translucent `#3B3D45 @40%` border — "Contact us", "Sign up" on dark heroes.
- **Button — dark accent (`button-dark-accent`):** bright `#2B89FF` fill with `#0D0E12` text for on-dark secondary CTAs ("Get the white paper").
- **Button — product (`button-product`):** product-branded fill — `#7B42BC` on Terraform pages — with a faint `20%` light border.
- **Button — link (`button-link`):** borderless `#2B89FF` text with arrow; lowest emphasis tier.
- **Input — dark (`input-dark`):** `#0D0E12` fill, `#616875` 1px border, 5px radius, 11px padding, 48px tall, inner shadow — matches the dark-first chrome.
- **Dark card (`card-dark`):** `#15181E`/`#1E222A` surface, 8px radius, hairline translucent border, `#B2B6BD` copy — pricing tiers, feature tiles.
- **Nav link (`nav-link`):** 15px/500 `#3B3D45` items on the white bar; dropdown carets; blue `#2264D6`/`#1060FF` active/log-in states.
- **Eyebrow tag (`eyebrow-tag`):** small pill with `#B457FF` border/text on dark — inline announcement chips.

## Do's and Don'ts

- Do keep hero sections on `#0D0E12` with ambient violet glows — the dark cinematic field is the brand signature.
- Do use `#1060FF` for the one primary action; switch to product accent colors (`#7B42BC` Terraform, `#B457FF` glows) only inside product contexts.
- Do set display type in HashiCorp Sans 600–700 at 1.17–1.19 line-height; keep body/UI in the system-ui stack.
- Don't add drop shadows on dark surfaces — layer `#15181E`/`#1E222A` tones with translucent hairlines instead.
- Don't round corners past 8px on cards or 5px on buttons; pill radius is for announcement chips only.
- Do use sentence case everywhere; avoid uppercase except the small trusted-by eyebrow.
- Do pair every dark input with the `#616875` border and inner shadow — flat fields disappear on `#0D0E12`.
- Don't mix product accent colors within one surface — each product owns exactly one.
