# Scale.com Design Conventions

These conventions apply to the Scale.com website at the repository root.
Also follow the shared rules in `.claude/shared-design.md`.

## Layout

- Make all images transparent.
- Default border radius is `24px`.
- Use a simple spacing rhythm: `8px` inside tight groups, `16px` between related groups, and `32-40px` between major sections.

## Light-Mode Tokens

- Background: cream `#f5f4ef`.
- Card/surface fill: white `#ffffff`.
- Text primary: near-black `#1a1a1a`.
- Text secondary / tags: `rgba(0, 0, 0, 0.55)`.
- Card borders: `rgba(0, 0, 0, 0.08-0.1)`, `0.5px` weight.
- Arrows/dividers: `rgba(0, 0, 0, 0.45)` solid, `rgba(0, 0, 0, 0.3)` dashed.
- Use tokenized text, border, and background colors by intent: primary text, secondary text, subtle border, hover border, and active fill.

## Typography

- Font: Aeonik, Regular / Medium.
- Card titles: `22px` Medium, line-height `130%`.
- Body / descriptions: `14px` Regular.
- Small labels: `14px` Regular at `55%` opacity.

## Style

- Always flat.
- No drop shadows, inset shadows, blur effects, or decorative glow gradients. Remove them if they exist.
- No purple accents unless specifically requested. The default secondary color is neutral grey.
- When converting dark mode to light mode: clone the frame, then recursively swap black to cream, white to dark, strip effects, remove faded gradient overlays, and force text to fully opaque dark.

## Icons

- Prefer Material Icons over hand-drawn paths or other icon libraries.
- In Figma, use the `Material Icons` font, `Regular` style, and set the text content to the icon glyph name, for example `dataset`, `verified_user`, `dashboard_customize`, `track_changes`, or `assessment`.
- Render icons as filled glyphs, not stroked paths. Do not outline or stroke Material Icons.
- For card/block layouts, place icons in a subtle square icon block (`48x48`, `12px` radius) and set the icon glyph to `24-28px`.
- Use near-black `#1a1a1a` for neutral icons, or a muted product accent when the icon block has a matching low-opacity tint.
- Keep icon visual weight lighter than the title. The icon supports the block; it should not become the illustration.
- For brand logos, check `@iconify-json/logos`; brand marks render filled at about `56x56` centered.

## Usage

- Start with the styleguide at `/styleguide` (local dev or a preview deployment; it is a 404 on scale.com) before creating a new static page.
