- Replace fabricated proof (testimonials, AI portraits, case images, unsourced metrics) with the real offer: a small senior team present for the whole turn, a written proposal, and iterative delivery. - New cycle diagram built from the logo's arcs: four stages with an inner iteration loop that turns while the iterations stage is read. - Accessible contact form (email type, autocomplete, announced errors, sending state, honeypot, captcha on) and no PII sent to PostHog. - English version at /en/ and /en/thanks/, all copy in _data/i18n.js. - Contrast fixes, mobile menu, self-hosted Schibsted Grotesk. - Add PRODUCT.md and DESIGN.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
273 lines
16 KiB
Markdown
273 lines
16 KiB
Markdown
---
|
||
name: 2piDev
|
||
description: A small senior software studio drawn as one full turn, from survey to support.
|
||
colors:
|
||
ground: "#fbfcfe"
|
||
surface: "#ffffff"
|
||
ink: "#0b1220"
|
||
ink-2: "#3a4354"
|
||
ink-soft: "#1c2536"
|
||
muted: "#5b6475"
|
||
line: "#e4e7ee"
|
||
orange-brand: "#ff7f2a"
|
||
orange-text: "#b54a08"
|
||
blue-brand: "#0079ff"
|
||
blue-text: "#0062d1"
|
||
night: "#0b1220"
|
||
night-field: "#111a2c"
|
||
night-edge: "#5a6684"
|
||
night-text: "#c3cad8"
|
||
night-muted: "#9aa4b8"
|
||
night-focus: "#8fc2ff"
|
||
night-error: "#ff8a80"
|
||
night-error-text: "#ffaba3"
|
||
typography:
|
||
display:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif"
|
||
fontSize: "clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem)"
|
||
fontWeight: 600
|
||
lineHeight: 1.02
|
||
letterSpacing: "-0.04em"
|
||
headline:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "clamp(1.9rem, 1.4rem + 1.9vw, 2.85rem)"
|
||
fontWeight: 600
|
||
lineHeight: 1.08
|
||
letterSpacing: "-0.032em"
|
||
title:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "1.5rem"
|
||
fontWeight: 600
|
||
lineHeight: 1.33
|
||
letterSpacing: "-0.025em"
|
||
title-sm:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "1.125rem"
|
||
fontWeight: 600
|
||
lineHeight: 1.55
|
||
letterSpacing: "-0.01em"
|
||
lede:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem)"
|
||
fontWeight: 400
|
||
lineHeight: 1.6
|
||
body:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "1rem"
|
||
fontWeight: 400
|
||
lineHeight: 1.75
|
||
label:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "0.9375rem"
|
||
fontWeight: 500
|
||
lineHeight: 1.5
|
||
numeral:
|
||
fontFamily: "Schibsted Grotesk, ui-sans-serif, system-ui, sans-serif"
|
||
fontSize: "1rem"
|
||
fontWeight: 500
|
||
fontFeature: "tnum"
|
||
rounded:
|
||
sm: "6px"
|
||
md: "8px"
|
||
full: "9999px"
|
||
spacing:
|
||
gutter-mobile: "20px"
|
||
gutter: "32px"
|
||
row-y: "24px"
|
||
row-y-lg: "28px"
|
||
stage-y: "40px"
|
||
stage-y-lg: "56px"
|
||
section-y: "80px"
|
||
section-y-lg: "112px"
|
||
shell: "76rem"
|
||
components:
|
||
button-primary:
|
||
backgroundColor: "{colors.ink}"
|
||
textColor: "{colors.surface}"
|
||
typography: "{typography.label}"
|
||
rounded: "{rounded.md}"
|
||
padding: "0 20px"
|
||
height: "44px"
|
||
button-primary-hover:
|
||
backgroundColor: "{colors.ink-soft}"
|
||
button-secondary:
|
||
backgroundColor: "{colors.surface}"
|
||
textColor: "{colors.ink}"
|
||
typography: "{typography.label}"
|
||
rounded: "{rounded.md}"
|
||
padding: "0 20px"
|
||
height: "44px"
|
||
button-small:
|
||
rounded: "{rounded.md}"
|
||
padding: "0 14px"
|
||
height: "36px"
|
||
button-light:
|
||
backgroundColor: "{colors.surface}"
|
||
textColor: "{colors.ink}"
|
||
typography: "{typography.label}"
|
||
rounded: "{rounded.md}"
|
||
padding: "0 20px"
|
||
height: "44px"
|
||
field:
|
||
backgroundColor: "{colors.night-field}"
|
||
textColor: "{colors.surface}"
|
||
typography: "{typography.body}"
|
||
rounded: "{rounded.md}"
|
||
padding: "12px 16px"
|
||
nav-link:
|
||
textColor: "{colors.ink-2}"
|
||
typography: "{typography.label}"
|
||
rounded: "{rounded.sm}"
|
||
padding: "8px 12px"
|
||
nav-link-hover:
|
||
textColor: "{colors.ink}"
|
||
night-surface:
|
||
backgroundColor: "{colors.night}"
|
||
textColor: "{colors.surface}"
|
||
---
|
||
|
||
# Design System: 2piDev
|
||
|
||
## Overview
|
||
|
||
**Creative North Star: "The Full Turn"**
|
||
|
||
2π is a full turn, so the system is drawn as one cycle on a quiet sheet of paper. A cool near-white ground, dark ink type and hairline rules carry everything; the logo's two arcs (orange and blue) are the only colour, and they are spent almost entirely on the cycle diagram and its stage markers. The craft register is the clean modern studio site done carefully: tight display tracking, generous section rhythm, tabular degree numerals, no ornament that the content does not earn.
|
||
|
||
Density is calm and editorial. Content sits in hairline-ruled rows rather than boxes, alternating sections switch between the ground and pure white with a rule at each seam, and the page closes on a solid ink "night" surface that holds the contact form. Depth is almost flat: one soft lift on the primary button and the mobile menu, a blue glow on focused fields, nothing else.
|
||
|
||
The world refuses card-grid walls, stat chips, eyebrow kickers, stock or generated imagery, and decorative colour outside the cycle.
|
||
|
||
**Key Characteristics:**
|
||
- Cool white ground, ink type, hairline rules instead of containers.
|
||
- The two logo hues appear only as the cycle and its stage markers.
|
||
- One typeface (Schibsted Grotesk) at semibold with negative tracking for headings.
|
||
- Stages marked in degrees (0°, 90°, 180°, 270°), always tabular.
|
||
- Dark ink primary buttons; the page closes on a solid ink night surface.
|
||
|
||
## Colors
|
||
|
||
A near-monochrome ink-on-cool-white palette with two saturated logo hues held in reserve for the cycle.
|
||
|
||
### Primary
|
||
- **Ink** (`ink`): headings, primary button fill, cycle labels and the 2π mark, the night surface. The system's dominant voice.
|
||
- **Soft Ink** (`ink-soft`): primary button hover only.
|
||
|
||
### Secondary
|
||
- **Turn Orange** (`orange-brand`): the first arc of the cycle (stages 0°, 90°, 180°) and its nodes, and the right half of the iteration loop; the thanks mark; selection fill on the night surface; tinted as `#ffd7bd` for text selection on light ground.
|
||
- **Burnt Orange Text** (`orange-text`): degree numerals for the orange stages when set as text on light ground, where the brand orange would fail contrast.
|
||
|
||
### Tertiary
|
||
- **Turn Blue** (`blue-brand`): the second arc of the cycle (270°) and its node, and the left half of the iteration loop; text caret in inputs; the focus-glow tint on fields.
|
||
- **Deep Blue Text** (`blue-text`): degree numerals for the blue stages as text, and the global focus outline on light ground.
|
||
|
||
### Neutral
|
||
- **Cool Ground** (`ground`): page background and header; also `theme-color`.
|
||
- **White** (`surface`): alternating section bands, secondary button fill, cycle node fill.
|
||
- **Slate Ink** (`ink-2`): lede, nav links, stage body copy.
|
||
- **Muted Slate** (`muted`): row descriptions, language switch, cycle degree and centre captions.
|
||
- **Hairline** (`line`): every rule, row divider, section seam and secondary button border.
|
||
- **Night** (`night`, `night-field`, `night-edge`, `night-text`, `night-muted`): the contact surface and footer: ink ground, a slightly lifted field fill, a mid-slate field edge, softened body text and muted captions. `night-focus` is the focus colour on night; `night-error` / `night-error-text` carry validation.
|
||
|
||
### Named Rules
|
||
**The Two Arcs Rule.** Orange and blue belong to the cycle: its arcs, nodes and degree numerals, plus direct derivatives of the logo mark (the thanks-page ring, selection and caret tints). They never fill buttons, backgrounds, icons or headings.
|
||
|
||
**The Contrast Twin Rule.** Each brand hue has a text twin (`orange-text`, `blue-text`). Brand values draw strokes; text twins set type.
|
||
|
||
## Typography
|
||
|
||
**Display Font:** Schibsted Grotesk (self-hosted variable woff2, weights 400–900, with ui-sans-serif / system-ui fallback)
|
||
**Body Font:** Schibsted Grotesk
|
||
**Label/Mono Font:** none; numerals use `tabular-nums` instead of a mono face.
|
||
|
||
**Character:** A single newsroom-born grotesk does all the work. Headings are semibold and pulled tight; body stays at regular weight with open leading.
|
||
|
||
### Hierarchy
|
||
- **Display** (600, fluid 2.6rem to 4.75rem, 1.02): page H1 only, capped near 15ch; balanced wrapping.
|
||
- **Headline** (600, fluid 1.9rem to 2.85rem, 1.08): section H2s.
|
||
- **Title** (600, 1.5rem, -0.025em): process stage titles.
|
||
- **Title Small** (600, 1.125rem, -0.01em): row titles, team terms, FAQ questions (at 500).
|
||
- **Lede** (400, fluid ~1.06rem to 1.19rem, 1.6): the paragraph under each H2, max ~35rem, in Slate Ink.
|
||
- **Body** (400, 1rem, 1.75): row and stage copy, max ~34–40rem, `text-wrap: pretty`.
|
||
- **Label** (500, 0.9375rem): buttons, nav, promises, "you receive" lines. Never uppercase.
|
||
- **Numeral** (500, tabular): degree markers, step numbers, the copyright year.
|
||
|
||
### Named Rules
|
||
**The Tight Heading Rule.** Every heading is semibold with negative tracking proportional to size (-0.04em display, -0.032em headline, -0.025em title, -0.01em small title). Body and labels are never tracked.
|
||
|
||
**The Degree Rule.** Sequence is expressed in degrees of the turn, always tabular, never as "Step 01" or a kicker above the heading.
|
||
|
||
## Layout
|
||
|
||
A single shell (max 76rem, 20px gutters, 32px from `sm`) with a 12-column grid at `lg` (1024px). Sections breathe at 80px vertical padding, 112px from `sm`. Section pattern: H2 (and lede) on the left 4–6 columns, hairline rows on the right 6–8 columns; on mobile everything stacks in one column. The hero splits 1.12fr / 0.88fr with the cycle on the right, max ~33rem wide.
|
||
|
||
Sections alternate between Cool Ground and White bands with a hairline at each seam. Rows inside a list sit at 24–28px vertical padding; process stages at 40px (56px at `lg`), offset by a fixed degree column (3.75rem, 4.5rem from `sm`). In "How we work" the cycle sticks at `top: 7rem` beside the stages on desktop and is hidden below `lg`. The sticky header is 4rem; anchors scroll with a 5rem offset. Breakpoints: `sm` 640px, `md` 768px (desktop nav appears), `lg` 1024px.
|
||
|
||
## Elevation & Depth
|
||
|
||
Flat by default; depth comes from tonal bands (ground vs white vs night) and hairlines. Only three shadows exist.
|
||
|
||
### Shadow Vocabulary
|
||
- **Button lift** (`box-shadow: 0 1px 2px rgba(11,18,32,0.18), inset 0 1px 0 rgba(255,255,255,0.08)`): primary button only.
|
||
- **Menu drop** (`box-shadow: 0 12px 24px -12px rgba(11,18,32,0.18)`): the open mobile menu panel under the header.
|
||
- **Field focus glow** (`box-shadow: 0 0 0 3px rgba(0,121,255,0.35)`): focused fields on night.
|
||
|
||
### Named Rules
|
||
**The Hairline-Not-Box Rule.** Group content with 1px `line` rules between rows, never with shadowed cards. A header gains its bottom hairline only once the page scrolls.
|
||
|
||
## Shapes
|
||
|
||
Gently rounded controls (8px for buttons, fields and the error summary; 6px for nav links, the menu button and focus outlines). Content regions have no corners at all: they are bands and rows. The one recurring geometry is the circle: the cycle ring, its 11px-radius nodes, the hollow node marks beside the hero promises, and the round-capped arcs (10px stroke) of the logo.
|
||
|
||
## Components
|
||
|
||
### Buttons
|
||
Dark, compact and confident; a 2px arrow nudge is the only flourish.
|
||
- **Shape:** gently curved (8px), min-height 44px (36px small).
|
||
- **Primary:** Ink fill, white label, 20px side padding, Button-lift shadow; hover to Soft Ink. Trailing arrow shifts 2px right on hover (200ms).
|
||
- **Secondary:** White fill, Hairline border, Ink label; hover border `#cfd4de` and fill `#f6f7fa`.
|
||
- **Light (night only):** White fill, Ink label; hover `#e9ecf2`. The submit button is Light, full width on mobile, with an inline spinner and 80% opacity while busy.
|
||
- **Focus:** global 2px outline (`blue-text` on light, `night-focus` on night) at 3px offset.
|
||
|
||
### Inputs / Fields
|
||
Live only on the night surface.
|
||
- **Style:** `night-field` fill, 1px `night-edge` border, 8px radius, 12px/16px padding, white text, placeholder `#8e98ad`, caret Turn Blue.
|
||
- **Hover:** border `#74809d`.
|
||
- **Focus:** border `night-focus` plus Field-focus glow; no outline.
|
||
- **Error:** border `night-error`, message below in `night-error-text` at 0.875rem; a summary block above the form uses a 60% `night-error` border over a 10% tint with `#ffd2cd` text.
|
||
- **Labels:** white 0.875rem/500 above the field; optional hints right-aligned in `night-muted` at 0.75rem.
|
||
|
||
### Hairline Rows
|
||
The system's container. A list whose children each carry a top hairline, the last also a bottom one. Rows use a two-column grid from `sm` (title column 12–20rem, description fills), titles in Title Small Ink, descriptions in Body Muted. The FAQ is a row list of `details`: 1.125rem/500 summaries at 24px padding, a drawn plus (two 1.5px Slate Ink bars) that collapses to a minus on open (300ms).
|
||
|
||
### Navigation
|
||
Sticky 4rem header on Cool Ground, transparent bottom border that turns Hairline on scroll. Desktop links are Label weight in Slate Ink, hover Ink, 8px/12px padding. A language switch in Muted and a small primary "Hablemos" button stay visible at every width. Below `md`, a 36px menu button toggles a full-width panel of 1rem/500 links separated by hairlines, with the Menu-drop shadow.
|
||
|
||
### The Cycle Diagram (signature)
|
||
A 600-unit SVG: a 250-radius ring split into two round-capped 10px arcs, orange on the right (0° to 180°) and blue on the left, with a small gap at top and bottom. Four 11px nodes at 0° (Relevamiento), 90° (Propuesta), 180° (Iteraciones), 270° (Soporte) (white fill, 5px stroke in their arc's hue); labels sit inside the ring at 23px/600 Ink with a 17px/500 tabular degree beneath in Muted (side labels sit 52 units below their node so they never share a line with the centre); "2π" at 76px/600 (-0.04em) sits above centre over a 19px caption.
|
||
- **Iteration loop:** a 90-radius inner circle tangent to the ring at 180°, drawn as the logo in miniature (orange right half, blue left half, 7px round-capped, gaps top and bottom), holding the "Iteraciones / 180°" label. The ring is presence for the whole turn; the loop is iterative development. Never draw development as a single segment of the ring.
|
||
- **Draw on load:** arcs draw over 1.1s (blue delayed 0.45s, the loop's halves at 0.75s and 0.95s), nodes scale in from 0 staggered 0.25s apart, all on `ease-out` and only under `prefers-reduced-motion: no-preference`.
|
||
- **Sticky follow:** in the process section the active stage's node scales to 1.45 and fills with its arc hue; inactive nodes keep their opaque white fill (the arc never shows through) and only their outline lightens to #ffcaa5 (orange side) or #a9cfff (blue side); labels drop to 55%, degrees 75% (0.4s transform, 0.3s fill/stroke/opacity). Never dim a node with opacity.
|
||
- **Iteration turn:** while the iterations stage (180°) is active, the loop rotates 360° every 1.8s on `ease-out` and a 17px tabular counter under its label reads "Iteración 1, 2, 3…" (static "×N" under reduced motion).
|
||
|
||
### Night Contact Surface
|
||
The page's close and footer on solid Ink. Headline in white, lede in `night-text`, captions and footer in `night-muted`, links white with a 40% white underline that goes solid on hover. Check marks are drawn 1.8px strokes in `night-text`. Focus outlines switch to `night-focus`, selection to Turn Orange. The footer sits on the same ground separated by a 10% white hairline.
|
||
|
||
## Do's and Don'ts
|
||
|
||
### Do:
|
||
- **Do** separate content with 1px `#e4e7ee` hairline rows and alternate ground/white bands with a rule at each seam.
|
||
- **Do** keep orange and blue on the cycle, its nodes and degree numerals; set numerals as text in `orange-text` / `blue-text`.
|
||
- **Do** set every heading in Schibsted Grotesk 600 with negative tracking, and every numeral tabular.
|
||
- **Do** use the Ink primary button for the single main action per view and the bordered white secondary beside it.
|
||
- **Do** gate every entrance animation behind `prefers-reduced-motion: no-preference`, using `cubic-bezier(0.16, 1, 0.3, 1)`.
|
||
- **Do** draw icons as thin round-capped SVG strokes in ink or the current text colour.
|
||
|
||
### Don't:
|
||
- **Don't** build card grids, stat chips or boxed feature tiles; rows and bands carry structure.
|
||
- **Don't** put eyebrow kickers or uppercase labels above headings.
|
||
- **Don't** fill buttons, backgrounds or headings with the brand orange or blue.
|
||
- **Don't** use stock photos, generated imagery, fabricated logos or metrics.
|
||
- **Don't** add shadows beyond the three in the vocabulary.
|
||
- **Don't** introduce a second typeface or a monospace for numbers.
|