# WordsToTime DESIGN.md

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

A single-screen utility page built on Rubik, white surfaces, hairline-bordered light-gray cards and two saturated accent colors (mint green and electric blue) that mark state and numbers rather than decorate.

- Website: https://wordstotime.com
- Primary color: Lime `#8BE4B2`
- Fonts: Rubik Variable
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/wordstotime

## Palette preview

- `outline`: `#d3d3d3`
- `primary`: `#8be4b2`
- `surface`: `#ffffff`
- `tertiary`: `#fdb85d`
- `secondary`: `#07c1ff`
- `on-primary`: `#294635`
- `on-surface`: `#000000`
- `surface-bright`: `#f6f6f7`

## Typography preview

- `body-md`: Rubik Variable
- `label-md`: Rubik Variable

---

## Overview

WordsToTime is a one-purpose calculator: paste a word count, get a reading time. The page behaves like a well-made paper form rather than a marketing site — a short left-aligned logo headline, a single sentence of instruction, and one bordered panel that holds the entire tool. There is no imagery, no illustration, and no photography anywhere on the page; the visual interest comes entirely from typography weight, hairline rules, and two flat accent colors.

The mood is calm, literal and slightly playful. Personality is carried by the logo, where two words are highlighted like marker pen on paper (`words` in mint, `time` in electric blue), and by the copy, which stays in plain lowercase-leaning utility language. Density is low: a single 650px column, generous 24px card padding, and one section per idea.

The audience is speakers, students and presentation writers who want an answer in seconds, so everything above the fold is either the input or the answer.

## Colors

- **`primary` — `#8be4b2` (mint green).** The selected/active state. Any toggle in the "Reading Aloud / Silent Reading" bar or the reading-speed pills that is currently on wears this fill, always paired with `#294635` text. It is also the highlight behind `words` in the logo and the 3px focus ring's darker sibling (`#7bc69c`).
- **`on-primary` — `#294635`.** Deep desaturated green used as the text color on every mint fill. The pairing measures roughly 6.5:1, comfortably above AA.
- **`secondary` — `#07c1ff` (electric blue).** The numeric accent. Every word count and every computed duration in the "Common Conversions" table is a small blue chip with black text. It also highlights `time` in the logo.
- **`surface` — `#ffffff`.** The page background and the text input's fill. The whole page is white, so panels are separated by borders, not by background contrast.
- **`surface-container` — `#f5f5f5`.** The tool panel and the conversions table card. Barely off-white — enough to read as a surface, not enough to compete with the accents.
- **`surface-container-high` — `#e6e6e6`.** The resting fill of every unselected button (the site's own `--input-bg`).
- **`surface-container-hover` — `#dddddd`.** Hover fill for those same buttons.
- **`surface-bright` — `#f6f6f7`.** Reserved light panel tone (`--light-bg`), used for secondary blocks that sit beside the main card.
- **`on-surface` — `#000000`.** All body copy, labels, headings and input text.
- **`on-surface-variant` — `#808080`.** Footer and affiliate-disclosure text — de-emphasized but still legible.
- **`outline` — `#d3d3d3`.** The 1px hairline that draws the tool card, the conversions card and horizontal rules.
- **`outline-variant` — `#7bc69c`.** The 3px focus outline on the word-count input — a darkened mint, not a new hue.
- **`tertiary` — `#fdb85d`.** Warm amber used only by the embedded promotional block's CTA, not by the product UI.

## Typography

One family does everything: **Rubik Variable**, loaded as a single variable file covering weights 300–900. The site only ever asks for 400 and 500, which keeps the page quiet.

- `headline-display` (32px / 500) — the `convert words to time.` logo, set on three deliberate line breaks with `flex-shrink: 0` so it never wraps.
- `headline-md` (18.72px / 500) — the `Common Conversions (Reading Aloud)` section heading.
- `value-lg` (25.6px / 400) — both the word-count input's text and the `0 sec` result. Numbers are the hero, so they get the largest size on the page.
- `body-md` (16px / 400, 1.3) — paragraphs, table rows, footer.
- `label-md` (16px / 400) — button and field labels.
- `label-sm` (12.8px / 400) — compact controls.
- `caption-md` (12px / 400 / 0.125em tracking, set uppercase) — the `广告` disclosure under the promo block.

The scale is deliberately shallow: display, section head, value, body, label, caption. Nothing is bold, nothing is italic, and no tracking tricks are used outside the disclosure line.

## Layout

A single centered column, `container-max: 650px`, with the body itself inset `margin: 5px` on the sides and `40px` at the bottom. The top of the page is a two-column flex row: the logo headline on the left (fixed width, never shrinks) and the explanatory copy on the right, capped at `480px` with `line-height: 1.3rem` and `15px` between paragraphs.

Inside the tool card the vertical rhythm is built from a 5px base unit: `36px` above the word-count field, `10px` between the field and its hint, `15px` between the result group and the sections around it, `24px` of card padding. Sections are separated by `<hr>` — a 1px `#d3d3d3` rule with `30px` above and below. The conversions table is a two-column CSS grid (`max-content max-content`) with a `15px 20px` gap, so rows align on the question and the answer.

Below `600px` the button bar stacks vertically and the grid collapses to `align-items: end` with a `10px` gap; below `520px` the curved SVG text and marquee hide entirely.

## Elevation & Depth

There are **no shadows anywhere** on the page — `shadows` is empty in the extracted styles. Depth is created with two tools only:

1. **A 1px hairline** (`#d3d3d3`) with a `5px` radius, which draws the tool panel and the conversions card against white.
2. **A barely-off-white fill** (`#f5f5f5`) inside that hairline, so the panel reads as raised without any blur.

The only exception is the focus state, which uses a solid `3px` `#7bc69c` outline rather than a glow. Because nothing floats, the page prints and reads like a form.

## Shapes

Radii are small and consistent — the whole system lives between `2px` and `6px`:

- `2px` — inline highlight chips (`words`, `time`, and the numbers in the conversions table), which get `2px 5px` of padding so the highlight hugs the text like a marker stroke.
- `3px` — the site's global `--br`: buttons, pills and the word-count input.
- `5px` — the tool card and the conversions card.
- `6px` — the promotional block's CTA.

Nothing is fully rounded. There are no pills, no circles in the product UI, and no `border-radius: 9999px` in use — the one circular element on the page is the arrow inside the ad block.

## Motion & Micro-interaction

Motion is minimal and functional: a single `all 150ms ease` transition on every button (`state-change`), and a faster `100ms` variant on the promo CTA, which also scales to `1.06` and rotates `1deg` on hover for a playful nudge. The word-count input has no transition — it simply swaps to a 3px mint outline on focus.

The one animated flourish is outside the product UI: a text marquee inside the promo block runs a `22s linear infinite` translate. Do not read it as part of the tool's language.

## Voice & Content Strategy

The copy is terse, literal and lowercase-friendly. Instructions are one sentence and never explain what the page already shows:

- "How long will it take to read a speech or presentation?"
- "...or paste in your text for auto-counting"
- "Some links on this site are affiliate links, which means we may earn a commission if you make a purchase through them, at no extra cost to you."

Controls are labelled with their exact parameter — `Slow (100 wpm)`, `Average (130 wpm)`, `Fast (160 wpm)` — so the value is always visible in the label. Results are stated as bare durations (`0 sec`, `3 min 51 sec`), never as prose. Section headings are sentence-case questions. The affiliate disclosure is present but visually demoted to gray, which is the correct register for a compliance line.

## Components

- **`button-primary` (selected toggle)** — `#8be4b2` fill, `#294635` text, `3px` radius, `10px 14px` padding, `40px` tall, 16px label, with a `10px` gap reserved for a leading icon (a speaker glyph on "Reading Aloud", a document glyph on "Silent Reading"). Hover does not change the selected button — it is already the active state.
- **`button-secondary` (resting toggle)** — `#e6e6e6` fill, black text, identical metrics. On hover it darkens to `#dddddd` over 150ms. Below `600px` these buttons stack full-width.
- **`input-default`** — white fill, no border (the card's hairline provides the edge), `3px` radius, `12px` padding, `25.6px` text, `54px` tall. Focus swaps the invisible border for a `3px` `#7bc69c` outline. The hint `...or paste in your text for auto-counting` sits `10px` beneath it.
- **`card`** — `#f5f5f5` fill, `1px #d3d3d3` border, `5px` radius, `24px` padding, `30px` top margin. This is the tool panel; the same recipe is reused for the conversions table with `15px` internal padding.
- **`value-chip`** — inline `2px`-radius highlight with `2px 5px` padding, used in two flavors: mint (`words`, selected states) and electric blue (every number in the conversions table). Text stays black on blue and `#294635` on mint.
- **`result-display`** — `25.6px` reading of the computed duration in a flex row with a `15px` gap; the value is click-to-copy (`cursor: pointer` on the span).

## Do's and Don'ts

- **Do** keep the page white and let the `1px #d3d3d3` hairline define every panel.
- **Do** reserve mint green for "currently selected" and electric blue for "this is a number" — the two accents mean different things and must not be swapped.
- **Do** set body copy and labels at 16px/400; only the result and the input go larger.
- **Don't** add box-shadows, glows or gradients — depth here is a hairline plus a `#f5f5f5` fill.
- **Don't** round anything past `6px`, and never use a pill or full circle in the product UI.
- **Don't** bold anything; weight contrast comes from 400 vs 500 only.
- **Don't** put a border on the text input — its focus ring is the only edge it needs.
- **Do** keep the affiliate disclosure present and gray; don't promote it into body copy.
- **Don't** introduce a second typeface; the entire system is one variable font.
- **Do** stack the toggle buttons full-width below `600px` instead of letting them wrap.
