# Speedtest DESIGN.md

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

A calm, near-monochrome utility surface for a global broadband speed test — Montserrat at a flat 16px base with grey body ink, a glass 66px header at 70% opacity, MUI's three-layer elevation, and the Ookla cyan-to-violet brand gradient reserved for the gauge ring and progress bars.

- Website: https://speedtest.net
- Primary color: Cyan `#1CBFFF`
- Fonts: Montserrat
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/speedtest

## Palette preview

- `link`: `#0078cf`
- `outline`: `#9193a8`
- `primary`: `#1cbfff`
- `surface`: `#ffffff`
- `tertiary`: `#7c3aed`
- `secondary`: `#1a1b2e`
- `on-primary`: `#0b0c1b`
- `on-surface`: `#000000`

## Typography preview

- `body-lg`: Montserrat
- `body-md`: Montserrat

---

## Overview

Speedtest by Ookla is a global broadband speed test, and its interface is built
around a single object: the gauge. The personality is clinical, calm and
instrument-like — a near-white page, grey ink, one geometric sans, and a
176px circular dial that fills with colour only while it is measuring.

The audience is everyone, so the page is almost entirely one instruction and
one control. Above the fold there is a glass header, the words RESULTS and
SETTINGS, the gauge reading GO, the selected server (name, IP, city) with a
"Change Server" link, and a Multi/Single connection switch. Everything else —
the app cards, the troubleshooting links, the Ookla brand row, the legal
footer — is a quiet scroll of equal-weight links below it.

Density is very low. The page is a single centred column at a 1260px maximum,
and the vertical rhythm is generous and even. There is no grid of feature
cards, no hero image and no marketing copy anywhere on the page.

The visual signature is the **brand gradient**: a 92° cyan-to-violet ramp that
appears as the gauge's ring stroke, as the thin rule under the glass header,
and as the outstream video progress bar. It is the only saturated colour on an
otherwise greyscale page, which is what makes the moment a test starts feel
like an event.

## Colors

The system is almost entirely greyscale, with one brand gradient and one link
blue providing all the colour.

- **Primary (#1cbfff):** `.text-ookla-blue`, the Ookla brand blue. It is the
  mid-stop of the gradient and is used directly as the outstream video
  progress fill and the gauge ring. It is a cyan-leaning blue rather than a
  corporate one, and it is the single most recognisable value in the system.
- **Primary-variant (#00e0d7):** `border-T-50`, a teal that sits one step
  cooler than the primary. Used for tertiary borders, and the coolest value in
  the palette.
- **Primary-container (#141526):** `bg-primary`, a very dark indigo. It is the
  dark-mode page ground and the deepest colour in the system.
- **Secondary (#1a1b2e):** `text-secondary`, a near-black indigo one step
  lighter than the container, used for dark-mode secondary text.
- **Tertiary (#7c3aed):** the violet end-stop of the gradient.
- **Surface (#ffffff) / surface-dim (#f2f2f2):** `bg-L-10` and the page
  ground. The dim grey is also the gauge's resting fill and, at 70% opacity,
  the glass header background.
- **Surface-container (#e2e2e2) / surface-bright (#aaaaaa):** the two greys
  above the ground, used for the footer band and the theme-toggle track.
- **On-surface (#000000) / on-surface-variant (#666666) / on-surface-muted
  (#323232):** the three-level ink scale. `#666666` is by far the most common
  text colour on the page — 38 measured rules — which is what gives the whole
  interface its soft, low-contrast calm. `#323232` is `text-D-50`, the
  "dark-50" step, used for outlined button labels.
- **Link (#0078cf):** a deeper, more conventional blue, distinct from the
  brand blue, used for text links such as "Change Server". The site carries
  two blues and they never touch.
- **Outline (#9193a8):** the hairline, used at 50% alpha for the gauge's
  resting ring and for divider borders.
- **The gradient (light):**
  `linear-gradient(92deg, #2adfe9 11.09%, #0ea5e9 40%, #1cbfff 58%, #7c3aed 81.24%)`
  — four stops, with the second and third both blues, producing a cyan→blue→
  blue→violet ramp.
- **The gradient (on dark):**
  `linear-gradient(92deg, #6afff3 11.09%, #1cbfff 46.5%, #bf71ff 81.24%)` —
  three stops, with a much brighter mint start and a softer violet end, so the
  ramp stays legible against `#141526`.

The site is light-first but ships a full dark theme through a sun/moon toggle
in the header; the dark values above (`#141526`, `#1a1b2e`) are the palette it
switches to. Third-party overlay colours — the OneTrust consent banner's
`#373951` ground, `#56bdfd` button and `#0b0c1b` ink — are deliberately
excluded, because they are not part of the product's own system.

## Typography

One family: **Montserrat**, a geometric sans, loaded with a long fallback stack
(`Avenir, "Avenir Next LT Pro", Corbel, "URW Gothic", source-sans-pro,
sans-serif`). It carries 100% of the measured rules — there is no second
family, no monospace and no display face.

The base size is **16px** with a **1.5** line height, and the scale is
unusually flat: only three sizes do real work, and the rest are inherited.

- **Display-md (40px / 500 / 1.17):** the gauge's GO label. Weight 500 rather
  than 700 — the only 500 on the page, and it is what keeps a 40px label
  looking calm rather than shouty.
- **Headline-lg (24px / 400 / 1.5):** the `h6` size used for the large nav
  items in the open menu, at 24px in `#666666`.
- **Headline-md (18px / 400 / 1.17):** `h3`, the server name and the feature
  card titles, in `#272727`.
- **Headline-sm (16px / 600 / 1.6):** `h6` — the "Sign In" call to action and
  the menu's column headings. The only 600 weight in the chrome.
- **Body-lg (16px / 400 / 1.5):** the default — buttons, nav links, list
  items, body copy, footer links.
- **Body-md (15px / 400 / 1.43):** the slightly smaller link size used in
  dense lists, at 15px in `#666666`.
- **Label-lg (16px / 400 / 1.5):** button and control labels.
- **Label-md (13px / 600 / 1.47):** the smallest button label, used only on
  the consent-banner action and the densest controls.

Tracking is untouched everywhere — no negative tracking, no letterspacing, no
uppercase, no small caps. Hierarchy is carried entirely by the size scale, the
three-level ink ramp and the 400/500/600 weight split. Montserrat's wide
geometric letterforms do the rest, which is why a 16px nav link reads as
clearly as a 16px link in a narrower face.

## Layout

A single centred column at a **1260px** maximum inside a 1440px viewport, with
24px of inline padding. Nothing is full-bleed except the header and footer
bands.

The header is the only fixed element: **66px** tall, `#f2f2f2` at 70% opacity
over the page, with a 2px brand-gradient rule along its bottom edge. It holds
the wordmark, Menu, English, a theme toggle, an outlined "Download" button and
an outlined "Sign In" button — all on one row, all 44px tall.

Below it the page is a single vertical stack: the RESULTS and SETTINGS
eyebrows, the 176px gauge, the server identity row, the connection switch, then
a six-cell grid of app and troubleshooting cards, a three-cell row of Ookla
product links, and the footer.

Inner measures are deliberately narrow. The server identity block is capped at
300px, the ad slots at 728px and 970px, and the consent overlay at 700px, so no
line of copy ever runs the full column. The footer is a four-column link list
at 32px of vertical padding.

Spacing is MUI's 8px base (`--mui-spacing: 8px`) and is dominated by four
values — 8px, 16px, 24px and 32px — with 3px and 4px for micro-gaps inside
controls. The scale is a clean doubling rather than a named-step system.

## Elevation & Depth

Depth comes from MUI's standard three-layer elevation ramp, which the site
declares in full as `--mui-shadows-1` through `--mui-shadows-24`:

```
0px 2px 4px -1px rgba(0,0,0,0.2),
0px 4px 5px 0px  rgba(0,0,0,0.14),
0px 1px 10px 0px rgba(0,0,0,0.12)
```

Three shadows at three different alphas (20%, 14%, 12%) and three different
blurs, which together read as one soft lift rather than as three stacked
shadows. This exact stack is what the glass header uses, and it is the only
elevation applied to a full-width surface.

A single lighter shadow appears on the consent overlay:
`rgba(0,0,0,0.2) 0 0 18px 0` — a wide, very diffuse glow that separates the
banner from the page without lifting it.

Everything else is flat. The gauge, the buttons, the cards and the footer have
no shadow at all; separation comes from the `#e2e2e2` footer band, the
`#9193a8` hairline at 50% alpha, and the 70%-opacity glass header. No element
has a coloured shadow and nothing glows — the gradient is always a stroke or a
fill, never a halo.

## Shapes

A small, consistent radius scale with two clear regimes.

- **2px** — the smallest radius, on tiny utility elements and the densest
  buttons.
- **4px** — `--mui-shape-borderRadius`, MUI's default, used on form fields and
  small panels.
- **8px** — cards and inset panels.
- **14px** — mid-size containers.
- **18px** — the outlined header buttons ("Download", "Sign In") and the theme
  toggle track.
- **24px** — the large panels.
- **9999px** — the gauge, and only the gauge. At 176px tall with a full
  radius, it is a true circle rather than a rounded rectangle, and it is the
  only fully-rounded object in the system.

There are no asymmetric radii. Buttons are rounded rectangles at 18px, not
capsules, which is what keeps the header's two actions from competing with the
circular gauge.

## Motion & Micro-interaction

Motion is fast, standard and almost entirely transition-based. The site
declares Tailwind's default easing and applies it consistently:

```
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
--default-transition-duration: 150ms
```

- **hover-feedback (200ms, cubic-bezier(0.4,0,0.2,1)):** the long-form
  transition covering `color`, `background-color`, `border-color`,
  `outline-color`, `text-decoration-color`, `fill`, `stroke` and the gradient
  custom properties together. Naming all seven colour properties explicitly
  means a hover never animates geometry.
- **state-change (300ms, cubic-bezier(0.4,0,0.2,1)):** `box-shadow`, on seven
  rules — the slower, larger movement used for elevation changes on overlays.

Two keyframes drive the gauge, and both are infinite by design because the
gauge is a live instrument:

- **gauge-ring (3550ms, linear, infinite):** `start-ring` — `opacity: 0` and
  `scale(1)` at 0%, still hidden at 12.5% and `scale(.995)`, fully visible at
  16.667%, then fading to `opacity: 0` at `scale(1.3)`. The ring expands and
  dissolves over three and a half seconds, which is what makes the gauge look
  like it is reaching outward rather than spinning.
- **gauge-spin (1500ms, linear, infinite):** `spin-circle` — `rotate(0)` at
  0%, `rotate(144deg)` at 40%, `rotate(360deg)` at 100%. The non-linear
  keyframe positions (144° at the 40% mark) give the rotation a deliberate
  ease-in-out character without needing a curve.

The site also respects `prefers-reduced-motion: reduce` with an
`animate-none` override on both loops, which is the correct handling for two
infinite animations. Nothing parallaxes and nothing scroll-animates.

## Voice & Content Strategy

- **Tone of voice:** terse, factual and impersonal. The interface speaks in
  labels, not sentences — "GO", "RESULTS", "SETTINGS", "Change Server",
  "Multi", "Single". There is no marketing copy anywhere on the page.
- **Capitalization:** title case for the named product features in the card
  grid ("Desktop Apps", "Troubleshoot Your Wifi", "Check for Outages",
  "Prepare to Talk to Your ISP", "How Much Speed Do You Need?"), and title case
  for the button labels ("Download", "Sign In"). The gauge label is all caps
  ("GO") and the eyebrow labels are all caps ("RESULTS", "SETTINGS").
- **Terminology:** the product is "Speedtest", the owner is "Ookla", and the
  artefact is a "test" or a "result". The remote machine is a "server", always
  paired with its operator, IP and city. The connection count is "Multi" or
  "Single", never "parallel" or "single-threaded".
- **Button and action labels:** single nouns or two-word verb phrases —
  "Download", "Sign In", "Change Server", "GO". The primary is always "GO";
  never "Start", "Begin" or "Test my speed".
- **Empty, loading and error states:** the gauge *is* the loading state. At
  rest it is a grey circle reading GO; during a test it runs the ring and spin
  loops. The error path is the "Troubleshoot Your Wifi" and "Check for
  Outages" cards, which reframe a failure as a diagnostic rather than an
  apology.
- **Numbers, dates and units:** exact and machine-formatted — the server IP
  (`47.251.155.3`), the city and region ("Los Angeles, CA"), and the legal
  copyright range ("© 2006-2026 Ookla, LLC., an Accenture company"). Speeds
  and pings appear only after a test runs, in the same grey ink.
- **Trademarks:** asserted with the registered mark every time —
  "Speedtest®", "Ookla®", "Downdetector®", "Ekahau®", "RootMetrics®",
  "Speedtest Global Index™", "Speedtest Performance Directory™". The ™ and ®
  symbols are never dropped, including in link text.

## Components

- **gauge** — the 176px circle. `#f2f2f2` fill, full radius, holding a 40px/500
  "GO" label in `#000000`. At rest its ring is `#9193a8` at 50% alpha; during
  a test the ring takes the brand gradient and runs the two infinite
  animations. This is the only circular object in the system and the visual
  centre of the entire product.
- **gauge-ring** — that 2px stroke, expressed as a full-radius component. It
  is the single most important colour decision on the page: the gradient
  appears here and nowhere else at this scale. Its three constituent colours
  also exist as standalone ring tokens — `#00e0d7` (`gauge-ring-teal`, the
  site's `border-T-50` tertiary) and `#7c3aed` (`gauge-ring-violet`, the
  gradient's violet end-stop) — so a ring can be drawn in a single stop without
  the full ramp.
- **header** — the 66px glass bar. `#f2f2f2` at 70% opacity, no radius, 24px
  inline padding, carrying the MUI three-layer shadow. Its bottom edge carries
  a 2px brand-gradient rule, which is the only place the gradient is used as a
  structural divider rather than as a fill.
- **header-brand-rule** — that 2px gradient rule.
- **button-outline** — "Download" and "Sign In". Transparent fill over the
  glass header, `#323232` 16px label, 1px `#9193a8`-at-50% border, 18px radius,
  8px 24px padding, 44px tall. The pair sits at the right end of the header
  and is the only bordered control in the chrome.
- **button-primary** — the filled brand button. `#1cbfff` fill with `#0b0c1b`
  ink, 2px radius, 12px 10px padding, 42px tall, 13px/600 label. Reserved for
  the single most important action in a flow, which is why it is absent from
  the idle page.
- **button-quiet** — the 38px text-only control ("Menu", "English"), 16px in
  `#666666`, no border and no fill, with 8px of inline padding.
- **theme-toggle** — the sun/moon switch. A 36px-tall `#aaaaaa` track at 18px
  radius with 3px of inset padding, holding two icon buttons. The only
  segmented control in the system.
- **link** — 16px in `#0078cf`, no underline at rest. The conventional blue is
  reserved for navigation away from the page.
- **link-brand** — 16px in `#1cbfff`, used where the link is part of the
  instrument (progress, active state) rather than a navigation affordance.
- **nav** — the 64px menu column. 16px in `#666666` at 15px in denser lists,
  with a 24px/400 `#666666` heading above each group.
- **nav-heading** — that 24px group heading.
- **heading / subheading** — the 40px/500 gauge label in `#000000` and the
  18px/400 server name in `#272727`.
- **body** — 16px/400 paragraph and list copy in `#666666`, the workhorse ink
  of the whole page.
- **footer** — the `#e2e2e2` band. 32px of vertical padding, 24px inline,
  holding four columns of 16px links in `#000000` plus the legal block. It is
  the only full-bleed surface with a fill darker than the page.
- **panel / panel-secondary** — the `#141526` and `#1a1b2e` dark-theme
  surfaces, at MUI's default 4px radius. These are the values the page switches
  to when the theme toggle is set to dark.
- **divider** — the 1px `#9193a8` hairline, always at 50% alpha.
- **progress** — the outstream video progress fill: `#1cbfff` at a 2px radius,
  the one place the brand blue is used as a large flat fill rather than as a
  stroke.

## Do's and Don'ts

- Do keep the page greyscale. `#ffffff` ground, `#666666` ink and one gradient
  is the entire palette; a second saturated colour destroys the calm that
  makes the gauge feel like the only thing happening.
- Don't use `#0078cf` and `#1cbfff` interchangeably. The first is the
  navigation link colour, the second is the brand colour, and they are
  deliberately different blues — `#0078cf` sends you somewhere, `#1cbfff` is
  the product.
- Do keep the gradient at 92° with its four light-mode stops
  (`#2adfe9 11.09%, #0ea5e9 40%, #1cbfff 58%, #7c3aed 81.24%`). The stop
  positions are load-bearing — moving the violet past 81% pushes it off the
  edge of the gauge ring.
- Do switch to the three-stop dark gradient (`#6afff3`, `#1cbfff`, `#bf71ff`)
  whenever the surface is `#141526`. The brighter mint start and softer violet
  end are what keep the ramp legible on a dark ground.
- Don't use the gradient as a fill anywhere except the gauge ring, the header
  rule and the progress bar. Those three uses are the whole vocabulary; a
  gradient button or a gradient hero turns the instrument into a brochure.
- Do keep the gauge perfectly circular. 176px with a 9999px radius is the only
  way it reads as a dial rather than as a large rounded button.
- Do keep both gauge loops infinite, and do keep the `prefers-reduced-motion`
  override. The ring and spin are the instrument's "measuring" state, but they
  must be suppressible.
- Do preserve the non-linear `spin-circle` keyframes (144° at the 40% mark).
  Replacing them with a plain `rotate(360deg)` linear loop makes the dial look
  mechanical instead of deliberate.
- Do keep body ink at `#666666` and reserve `#000000` for the gauge label and
  footer links. The 38-rule dominance of the muted grey is what gives the page
  its softness; promoting body copy to black makes the whole page feel loud.
- Don't add a shadow to the gauge, the cards or the footer. Only the glass
  header and the consent overlay carry elevation, and both use MUI's
  three-layer stack or the single 18px blur.
- Do assert every trademark with its symbol — "Speedtest®", "Ookla®",
  "Downdetector®", "Speedtest Global Index™" — in headings, links and legal
  copy alike.
