# samodziala.pl design manual

**Updated:** 2026-11-24. **Reference:** `SamoDziala_WWW_V1.57_SD-KLASYCZNE/index.html` for layout; owner-supplied `SamoDziala_SVG.svg` and transparent S favicon for the current logo. **Scope:** the complete application: public pages, every simulation, operator panel, authentication, client review, proposals, PDF exports, icons and share artwork.

The public design uses a white canvas, near-black typography, a yellow signal color, thin rules, large regular-weight headings, rectangular content surfaces, and rounded action buttons. The distinctive elements are the S vector mark, the cropped oversized “S” in the homepage opening, numbered section labels, and alternating white, yellow, and black content blocks.

SD-KLASYCZNE is the sole active identity. There is no legacy theme or opt-in classic variant. The public site uses the reference light canvas; the operator can also use a neutral dark adaptation with the same yellow accent, S mark, typography and rectangular surfaces. Status colors remain semantic indicators rather than brand colors.

## 1. Design reference and content ownership

The supplied HTML is a visual and structural reference. The application's maintained content, publications, and working tools remain authoritative. The reference contains several generations of CSS overrides; reproduce its final rendered SD-KLASYCZNE appearance, not its earlier pink palette or bold typography.

Preserve existing Polish copy, client descriptions, opinions, signatures, simulation descriptions, actions, routes, calculation behavior, and exports. A visual redesign does not authorize rewriting a client statement, replacing a real simulation with a mockup, or copying the template's sample publications into the live catalog.

| Concern | Source of truth |
| --- | --- |
| Work-area names, descriptions, simulation titles and links | `src/core/work-areas.ts` |
| Published case studies and client attribution | Existing publication loaders and realization domain |
| Homepage lead and before-and-after table | `src/components/landing/hero-section.tsx` |
| First-conversation promise and contact anchors | `src/components/landing/sections.ts` |
| Analysis and implementation steps | `src/components/landing/analysis-section.tsx` |
| Contact submission, feedback, attribution, protection | `src/components/landing/contact-form.tsx` |
| Operator identity | `src/core/owner.ts` |
| Global tokens and primitives | `src/styles.css`, `src/app-surfaces.css` |
| Editorial layouts | `src/components/landing/home.css`, `home-sections.css`, `home-public.css` |
| Logo geometry | `src/components/brand/brand-artwork.ts` |
| Supplied realization screenshots | `src/assets/realizations/`, mapped by `realization-cover.tsx` |

Public copy is Polish; implementation documentation is English. Keep the lowercase domain **samodziala.pl** in URLs, email, metadata, and legal attribution. The new visual wordmark reads **SamoDziała**.

## 2. Visual identity

### Logo

Use the owner-supplied geometric S vector from `SamoDziala_SVG.svg`, maintained without path changes in `src/components/brand/brand-artwork.ts` and rendered by `brand-mark.tsx`. Its view box is `0 0 64 64`, including intentional clear space. The principal shape uses `--logo-ink` (`#111110` on light surfaces, white on dark surfaces); the yellow segment uses `--logo-accent` (`#fcc729`). This S replaces the earlier template SD mark everywhere.

The header lockup combines the S mark and the SamoDziała wordmark. Use a 44px square SVG and 28px regular-weight wordmark on desktop, with an 11px gap. On small screens use a 38px square SVG, 23px wordmark, and 8px gap. The SVG includes its own margins; do not crop them or add a separator.

Give a home link an accessible brand name. Hide decorative SVG geometry from assistive technology. Preserve the clear space included in the source view box. Do not stretch, rotate, crop, recolor individual strokes, or turn the logo into a spinner.

### Oversized S

A solid, typographic “S” letter fills the space the homepage opening leaves beside the pitch and action; it is not an enlarged logo SVG. It sits at the content's right edge and is cut by the full-width rule that closes the opening (hidden overflow). Its type size is `clamp(420px, 36vw, 620px)`. Below 1100px there is no room beside the pitch, so it is hidden and the header lockup carries the mark.

It does not get a band of its own: a full-width S band between the opening and the first section cost about 420px of scroll at 1440px for one glyph, and was removed on 2026-11-24.

This is decorative and must be `aria-hidden`. Cropping is appropriate only for this motif and the decorative footer wordmark, never for useful text.

### Asset handling

**Download current logos and consult the public brand guide at [samodziala.pl/marka](https://samodziala.pl/marka).** This is the canonical destination for partners, designers and media looking for logo files, colors, typography and writing guidance. Link people to this page rather than sharing the original Downloads filenames. The complete [logo package (ZIP)](https://samodziala.pl/brand/samodziala-logo.zip) contains the following SVG and 1024 × 1024 PNG pairs:

| Filename stem (under `/brand/logo/`) | Appearance | Use |
| --- | --- | --- |
| `samodziala-logo-przezroczyste` | Dark S, yellow detail, transparent background | Light surfaces |
| `samodziala-logo-biale-tlo` | Dark S, yellow detail, white background | Ready-to-use square |
| `samodziala-logo-czarne-tlo` | White S, yellow detail, black background | Dark square |
| `samodziala-logo-biale-przezroczyste` | White S, yellow detail, transparent background | Dark surfaces |

All brand outputs use the S geometry. `brand-lockup.tsx` composes the mark and wordmark for headers, the operator panel, login and proposal documents. The provided transparent PNG is preserved as `src/assets/brand/favicon-source.png` and supplies raster favicon sizes. The vector favicon adapts its ink to light/dark browser chrome. Square avatars retain the original clear space, including under circular platform masks.

`pnpm brand:assets` regenerates the downloadable files and ZIP under `public/brand/`, favicon SVG/ICO/PNG, touch/PWA icons, `site.webmanifest`, static Open Graph images, Slack artwork and `src/assets/social-palette.json`. `pnpm brand:social` regenerates both light and dark sets under `brand/social/`. Update generators before regeneration; never hand-edit generated assets. The manifest uses white for the default theme and background. Dynamic realization previews use the same S geometry, palette and bundled font as static cards.

The `/marka` page follows the shared public light theme and has five numbered sections: logo, colors, typography, about the brand and writing guidance. It includes individual SVG/PNG downloads, the ZIP package, copyable HEX values and a reusable brand description, plus a link back to `/design.md`. It is linked as “Marka” in the desktop and mobile header menus, linked in the site footer and indexed in the sitemap. There is no illustration or painterly-style section. Desktop navigation sits beside the content; on mobile it flows above it. Copy controls report success or failure accessibly and leave the source text visible for manual copying.

Social banners use regular-weight wordmarks, a yellow top rule and neutral space. All 36 profile/banner exports are generated locally; publishing them to external social accounts is a separate operation.

## 3. Color tokens

`src/styles.css` owns all semantic color tokens in OKLCH. The table below gives their equivalent reference HEX values. `:root`, `.classic-home` and `.classic-page` share the light palette; `.dark` supplies the operator's neutral dark adaptation. Public page wrappers retain the light canvas without changing the saved operator preference. Portaled controls inherit the active application palette. Never introduce a separate per-demo brand palette.

| Role | Token | Value | Use |
| --- | --- | --- | --- |
| Canvas / card | `--background`, `--card` | `#ffffff` | Main reading surface |
| Ink / primary | `--foreground`, `--primary` | `#1c1c1b` | Headings, primary buttons, black feature block |
| On-primary | `--primary-foreground` | `#ffffff` | Text on black buttons |
| Support text | `--muted-foreground` | `#656560` | Paragraphs, metadata, secondary links |
| Grey plane | `--muted` | `#f3f3f1` | Quiet background areas |
| Soft plane | `--home-soft` | `#fafaf9` | Approach, contact form, footer |
| Thin rule | `--border` | `#e8e8e5` | Section and card boundaries |
| Input boundary | `--input` | `#979790` | Visible field boundaries on white |
| Signal yellow | `--accent` | `#ffe500` | Highlight, selected state, key planes |
| On-yellow | `--accent-foreground` | `#1c1c1b` | Text on yellow |
| Logo ink | `--logo-ink` | `#111110` | Supplied S geometry |
| Logo yellow | `--logo-accent` | `#fcc729` | Supplied logo detail |
| Focus | `--ring` | `#1c1c1b` | Focus outline on light surfaces |

The template uses lighter grey for some small text. The implementation darkens supporting text for readability. Yellow must carry dark text; never use white body text on yellow. The black simulation teaser uses light text and a yellow focus outline.

Yellow is a signal, not a background for every section. Use it in the headline highlight, contact navigation item, a process feature plane, selected controls, and occasional card states. The headline highlight is a sharp horizontal marker made with a stepped CSS gradient; do not introduce atmospheric gradients or glows.

### Neutral dark adaptation and semantic states

| Role | Dark value |
| --- | --- |
| Canvas / ink | `#1c1c1b` / `#fafaf9` |
| Card, popover, sidebar | `#242423` |
| Muted and secondary surface | `#30302e` |
| Supporting text | `#b5b5ad` |
| Border / input | `#444440` / `#777770` |
| Primary, accent and focus | `#ffe500` with `#1c1c1b` text |
| Logo ink / detail | `#ffffff` / `#fcc729` |

Light primary actions are black with white text; dark primary actions are yellow with black text. The panel theme control retains light, dark and system choices and persists the operator's preference. Do not use teal in either mode. Charts use yellow, ink, neutral greys and a restrained ochre fifth series. Data labels, legends and shapes must make series distinguishable without relying only on color.

Status tokens remain separate from the brand: `destructive` is red, `success` green, `warning` amber, `info` blue and `delivery` violet. Their `-foreground` companions provide readable text on tinted surfaces. Preserve the existing words, icons and workflow meaning of every status. Yellow selection styling must not replace an error, approval, sending or delivery indicator. The exact status tokens are:

| Token | Light OKLCH | Dark OKLCH |
| --- | --- | --- |
| `destructive` / foreground | `.577 .245 27.325` / same | `.7 .19 25.723` / `.75 .16 25.331` |
| `success` / foreground | `.61 .16 150` / `.42 .12 150` | `.72 .16 150` / `.82 .13 150` |
| `warning` / foreground | `.74 .14 75` / `.45 .11 65` | `.78 .15 75` / `.86 .12 80` |
| `info` / foreground | `.65 .13 235` / `.44 .11 240` | `.72 .14 235` / `.82 .1 235` |
| `delivery` / foreground | `.62 .14 295` / `.45 .13 295` | `.72 .14 295` / `.82 .13 295` |

Chart series 1–5 are `#bfa900`, `#1c1c1b`, `#777770`, `#b5b5ad`, `#a06e17` in light mode and `#ffe500`, `#fafaf9`, `#b5b5ad`, `#777770`, `#fcc729` in dark mode. Primary foreground is white in light mode and ink in dark mode; secondary, card, popover and sidebar foregrounds follow the corresponding main ink. Sidebar selected states follow accent/accent-foreground; sidebar focus follows ring.

## 4. Typography

The reference uses **Arial, Helvetica, sans-serif**. Use this stack globally, including tables, forms and dialogs. No webfont request is needed. PDF and PNG renderers bundle **Arimo Regular**, an Arial-compatible open-source face with Polish glyphs, from [Google Fonts Arimo](https://github.com/googlefonts/Arimo). Its OFL license is stored beside `src/assets/fonts/Arimo-Regular.ttf`; renderers must not depend on a third-party font request or the host's installed fonts. The former Manrope family is removed.

| Role | Desktop | Small screens | Weight / line height |
| --- | --- | --- | --- |
| Homepage H1 | `clamp(58px, 7.05vw, 110px)` | `clamp(44px, 11vw, 64px)` | 400 / 1.02 |
| Section H2 | `clamp(38px, 4.35vw, 70px)` | Reflows at the same lower bound | 400 / 1.06 |
| Feature heading | `clamp(40px, 5vw, 76px)` | Reflow without forced desktop breaks | 400 / about 1.1 |
| Catalog H1 | `clamp(48px, 6.4vw, 96px)` | Fluid | 400 / 1.05 |
| Card heading | 28–32px | 28–32px | 400 / 1.1–1.2 |
| Intro / lead | 20–31px by context | 20–23px | 400 / 1.3–1.45 |
| Body | 16–18px | At least 16px for primary content | 400 / 1.5 |
| Section label | 12px, uppercase | 12px | 700 / 1.4 |
| Action | 15px | 15px | 400 / 1.4 |

Use the reference's restrained negative tracking: about `-.03em` for the opening and `-.022em` for headings. Small uppercase labels use approximately `.13em`. Numbered sequences use tabular numerals. Balance headings and use readable paragraph measures.

Do not shrink a long client title to make it look like a short sample title. Let it wrap. Preserve Polish diacritics in every exported format.

## 5. Homepage structure

Follow the reference's sequence and visual rhythm while retaining the application's content:

1. **Sticky header:** S lockup, services link, published realizations when available, simulations, cooperation, questions, brand, and a yellow contact action.
2. **Opening:** existing “Twoi ludzie od ważnych spraw, komputer od reszty” headline in the new oversized treatment; a lead sentence, the “Napisz, co zabiera Ci czas” action with the free-conversation note, then a small three-row before-and-after table. The action stays above the table so a phone's first screen holds it. The oversized S sits beside the table, cut by the rule that closes the opening.
3. **01 / Services:** the existing eight work areas, descriptions, counts, and context-sensitive links in rectangular cards. Do not replace them with the reference's six generic service descriptions.
4. **02 / Approach:** a wide pale feature section using the existing statements about understanding the firm, choosing tools, and complementing recruitment.
5. **03 / Terms:** the buyer's safeguards as problem, value and effect (`docs/wartosci-pwe.md`, PWE-F10): fixed price for a written scope, invoice on acceptance, exit after each stage, three months of fixes, code and usually the accounts on the client's side, running cost known before the decision. Below them, the sample offer's four facts, labelled as a fictional chain of four restaurants, and a link to `/przykladowa-oferta`. The block keeps its own copy of the amounts so the sample offer page stays untouched, and a test fails when the two drift apart. It promises no result and adds no `Offer` structured data.
6. **04 / Realizations:** up to three current published records with their real titles, excerpts, client attribution, and links. Hide this section when there are no publications. Never insert the reference's example clients as fallback data.
7. **05 / Simulations:** black preview block with four manually selectable examples from the real catalog, each retaining its original description and action. Link to the complete catalog.
8. **06 / Cooperation:** the existing four analysis/implementation steps presented as a ruled timeline. Preserve the distinction between a free initial conversation and separately agreed work. The timeline ends with a link to `/przykladowa-oferta`: a complete sample offer (cover letter and documents 1-4 as PDFs) for a fictional client, built with the `oferta-samodziala` skill in its own folder outside this repository. Only the client PDFs go into `public/przyklady/oferta/`; the estimate and the consistency review never do. Every document and the page say that the company and its numbers are fictional.
9. **07 / Questions:** the objections that come right before contact, as open headings and paragraphs from `src/core/home-faq.ts`, every answer visible without a click. The same text is the page's `FAQPage` structured data.
10. **08 / Contact:** one heading in the hero button's words and a one-line lead, then the existing form first and widest. Beside it, in small type: what happens after sending, a one-line direct email, and the note for outreach recipients. No second heading competes with the form.
11. **Split action and footer:** yellow and grey action areas, navigation, oversized decorative wordmark ("Samo" faded, "Działa." in ink on the hero's yellow marker), and the existing legal identity and links.

When unpublished realizations are omitted, do not fabricate section 04 content just to fill the sequence: the numbering skips from 03 to 05. Section numbers count up without repeats, with and without realizations; `landing-page.test.tsx` checks both.

No single work area gets its own homepage section or header link. The reference's “03 / Content automation” section was dropped on 2026-11-24: it repeated the “Marketing i treści” card from 01 / Services and linked to two simulations already in the catalog, one of them also a tab in 05 / Simulations, and its header link presented one of eight areas as the main service. A work area's examples belong in its card, its area page and the simulation catalog.

## 6. Layout and components

The maximum classic content width is **1560px**, with **20px** side gutters, changing to **19px** on small screens. Align the header, content, and footer to the same edges. Desktop sections use roughly 110px top and 120px bottom padding; compact layouts use 64–82px.

Section introductions use a 28% label column and a remaining content column. Collapse them below 880px. The header is 82px high, or 72px on small screens. Collapse navigation before labels collide; the implementation uses the existing `xl` menu breakpoint.

Cards have square corners, thin borders, and no elevated shadows. Retain comfortable internal spacing, usually 24–32px. Service and catalog cards can use yellow hover and focus-within states, but useful content must remain visible without hover. A static card must not imply an unavailable action.

Primary actions are black rounded pills with light text and a yellow arrow. Outlined actions have a quiet border and dark text. Use at least 52px height for prominent actions and at least 44px for touch controls. Text remains the accessible action name; arrows are decorative.

The footer's split action becomes a vertical stack on mobile. Footer navigation and legal text must wrap rather than forcing horizontal scrolling. The decorative wordmark sits below every functional link and is `aria-hidden`. Its "Działa." is deliberately the loudest element in the footer (approved 2026-11-25): the automation stays faded and its result is what the visitor sees last. Keep it the only ink-and-yellow accent there.

## 7. Realizations: preserve publication and meaning

Restyle the public catalog and detail views without changing their data sources or publication rules. The catalog must retain its empty state, client name, excerpt, detail action, and client website link. A detail page keeps its breadcrumbs, complete description, opinion, signature, contact action, and connected processes.

Keep headings embedded in client Markdown meaningful. Do not replace descriptions with marketing summaries or rewrite approved opinions to fit a layout. Render long names, paragraphs, lists, and attributed quotations without cropping.

The supplied template contains two matching project screenshots: the Sysformer conversation-review interface and the Rokstal production-hall analysis. They are extracted unchanged into `src/assets/realizations/sysformer.webp` and `rokstal.webp` and mapped to those exact existing publication slugs by `realization-cover.tsx`. Both homepage and realization catalog use the same cover component. Show them at 16:9, with intrinsic 800×450 dimensions, lazy loading and descriptive Polish alternative text. Never assign a screenshot by card order or to an unrelated client. The Live Music Play cover is an authentic 1920×1080 screenshot of `https://livemusicplay.pl/`, captured on 2026-10-21 after dismissing the cookie notice with essential cookies only, and stored as `src/assets/realizations/live-music-play.webp`. It shows the homepage headline, city search and upcoming events; use it for the matching publication on homepage/catalog cards and on its detail page. The Antra cover is an authentic 1920×1080 screenshot of `https://antra.one/`, captured on 2026-10-21 after rejecting optional cookies, and stored as `src/assets/realizations/antra.webp`. Show it on the matching cards and detail page. Its alternative text identifies the public homepage; do not present it as a screenshot of the private CRM described in the case study. Preserve the client’s own colors inside screenshots. Other publications receive a decorative S placeholder, hidden from assistive technology. Do not create sample client publications just to display an image.

Unpublished records remain absent. Preview notices and missing-signature states retain their current meaning. This visual update does not alter the review, approval, or sending workflow.

## 8. Simulations: preserve the tools

The simulation catalog still uses `DEMOS` grouped by `WORK_AREAS`. Preserve every title, description, action, category anchor, and route. All existing demos remain reachable; a homepage selection is only a preview of the complete catalog.

Homepage selection uses Radix tabs with explicit accessible names and keyboard navigation. It changes the selected catalog example, not the internal step of a simulation. Do not label catalog choices as if they were sequential steps of one workflow. There is no automatic switching in this preview.

The underlying simulations retain their current logic, inputs, human decisions, forward/back controls, resets, contact attribution, and exports. In particular, pallet planning remains a working calculator with PDF output. A visual reference is not a reason to wrap these tools in an iframe or replace them with the HTML's embedded copy.

Keep the distinction between demonstrations and real calculations already present in the source copy. All fifteen simulation destinations use the shared header, footer, Arial stack, neutral/yellow palette, square content surfaces and pill actions. `.classic-tool` controls their layout: a 1440px maximum workspace, H1 at 38–68px, H2 at 28–44px and 23px subheadings. Keep the working interface denser than a marketing section. The sticky process navigation sits below the 82px desktop / 72px mobile header, highlights the current step in yellow, and retains focus, keyboard arrows and scroll behavior. Never apply homepage-sized headings to table cells, input labels or result annotations.

Pallet PDF exports use locally bundled Arimo, black rules, neutral diagrams and a small yellow header marker. Keep all dimensions, warnings, partial-plan labels, package numbers and packing instructions intact. Client example artwork inside a simulation is content, not application chrome; preserve its contextual visual identity.

### Operator, authentication and business documents

The operator shell uses a neutral soft background, a white or dark header, the shared S lockup, and a separate ruled navigation row. The header aligns to a 1560px canvas; the working area has a 1440px maximum width, 32px desktop gutters and 16px mobile gutters. Page headings use 30–44px regular type. Tables, filter chips, labels and dense metadata retain practical 12–16px sizes. Use 24–48px spacing between related work areas; do not insert decorative oversized letters into operational screens.

All queue, sent-history, run, statistics, signal, scan-settings, proposal, realization, strategy, settings and help routes inherit this shell. Cards and editors use thin rules and square corners; selections and navigation use yellow emphasis. Keep the original document navigation links, accessible grouped menus, their no-JavaScript fallback and POST logout. A skip link focuses `#panel-main`. Never change authentication, business actions, publication rules or permissions as part of styling.

Login and client-review PIN entry use a softly toned full-height canvas with a yellow top rule and a centered bordered form. The form carries the S lockup and a regular 32px heading. Preserve credentials/PIN contracts, validation, pending/error states, Turnstile and keyboard access. The authorized client-review screen uses the same public realization layout with its existing approval controls.

Proposal documents use the S lockup, neutral rectangular modules and a yellow price area. The print stylesheet retains A4 pagination and the compact layout, with black text/rules and the new identity. Do not change proposal scope, amounts, validity, client details, sharing tokens or print/export controls. Error, not-found, empty, loading and disabled states use the same global palette and primitives.

Work-area guides, about pages and legal documents use `.classic-document`: 42–84px page titles, 28–42px section headings, 25px subheadings, generous leading and bounded reading measures. Keep legal paragraphs, ordered lists, inline links and heading hierarchy intact. The catalog and realization detail retain their specific editorial scales described above.

## 9. Contact and legal identity

Keep `#kontakt`, `/api/contact`, the current email/message fields, server-provided visit source, Turnstile, honeypot, pending state, success feedback, error feedback, and privacy links. The template's optional company and subject fields are not added to the current form contract. The existing hidden company-labelled field is a honeypot (its submitted name comes from `HONEYPOT_FIELD`, currently `firma`); it must not become a visible company input merely because the reference collects that information.

Use **kontakt@samodziala.pl** for contact. Public copy speaks on behalf of SamoDziała (for example, “Odpowiemy” and “Poznajemy proces”), without naming a specific person responsible for the conversation, analysis or implementation. Retain the existing explanation for recipients who arrived after outreach. Form errors must preserve the visitor's message and remain near the action.

The operator is **Auditmos OÜ**, registration **17025406**, VAT **EE102758111**, Narva mnt 13-27, 10151 Tallinn, Estonia. Keep the existing company and registry links. Never copy the template's placeholder legal details into public pages.

## 10. Accessibility and responsive behavior

Use one H1, an ordered heading hierarchy, named sections, semantic lists, real links, and buttons for actions. Decorative marks, arrows, and the oversized S are hidden from screen readers. The skip link must reach the main landmark.

Preserve the existing mobile menu controls, Escape behavior, and return of focus. Keep focus visible on white, yellow, and black surfaces. Sticky elements must not obscure anchor targets; classic sections use a 100px scroll offset.

Verify at 320px, 390px, tablet, and desktop widths. Content reflows in reading order. Large decorative elements can crop; paragraphs, form fields, buttons, and client names cannot. Check at increased zoom and with the application's saved dark preference.

The hero is static: a lead sentence and a three-row before-and-after table in 15px type (14px on phones), each row a few words drawn from one entry in `docs/wartosci-pwe.md`, under column headers that say "Dziś" and "Po zmianie" in words, not by color alone. It has no rotation and no control other than its call to action. Do not introduce the reference's scroll-reveal gates, continuous decorative animations, or automatic teaser rotation. Essential content must render without waiting for animation.

The one scroll effect is the footer wordmark (approved 2026-11-25, `home-public.css`). As the footer scrolls in, a single left-to-right pass turns "Działa" from faded to ink and draws the yellow marker under it. It is tied to scroll position, so it never moves on its own, and it reveals nothing that is not decorative. Its resting CSS is the finished state, so reduced motion and browsers without scroll-driven animations show it complete. Use a transform for the marker and keep this the only scroll-linked animation on public pages.

Use at least 4.5:1 contrast for normal text and 3:1 for large text. Form feedback must communicate meaning in words, not color alone. No full accessibility certification is implied by adopting these defaults.

## 11. Implementation boundaries

Use TanStack Start routes and the existing React components. The template's hash router, embedded application bundles, local storage administration, and demo contact backend are not part of the design implementation.

Load shared presentation once through `src/styles.css`, which imports `home.css` and `app-surfaces.css`. `home.css` holds shared identity/header rules and scoped homepage composition; `home-sections.css` holds homepage sections; `home-public.css` holds shared footer and public catalog/detail styling. `app-surfaces.css` adapts documents, tools, panel, entry screens and shared primitive slots. The `/marka` route loads `brand-page.css` through its own document head. `.classic-home` is the editorial layout scope, `.classic-page` is the public subpage surface, and `.operator-shell` is the authenticated workspace. These are layout roles, not parallel old/new designs. Keep source files below 500 lines.

Shadcn source files remain generated and unedited. Apply semantic tokens and shared slot styling through CSS and compose the existing primitives. Square radius tokens cover cards, fields, popovers and dialogs; explicit pill treatment covers action buttons, tabs and selection chips. Remove elevated card shadows while retaining visible focus rings. Continue using status variants for success, warning, error, information and delivery states. Continue using native server-rendered data and maintained APIs instead of duplicating business logic in the presentation layer.

Preserve old homepage anchors such as `#co-automatyzujemy` and `#analiza-procesu` alongside the new navigation structure. Legal routes, demo routes, publication URLs, and query-driven contact feedback remain stable.

## 12. Other materials and verification

For new documents, slides, social artwork, and video, adapt the white/black/yellow direction to the format: regular-weight headings, restrained rules, one useful yellow signal, generous space, and clear human decisions. A website's oversized crop is not a requirement for a report. Keep generated assets synchronized with their source tokens and shared S geometry.

Use approved evidence. Clearly distinguish simulation, proposal, pilot, and production work. Keep sources, units, measurement scope, and permitted attribution beside material claims. Never invent savings, testimonials, or customer logos to fill a visual slot.

Before completion, run `pnpm types`, `pnpm test`, and `pnpm lint`. Inspect the rendered desktop and mobile UI, menu, contact states, tab selection, catalog links, publication visibility, and long content. Verify underlying simulation behavior with the existing tests and a representative browser journey. A passing build alone is not visual verification.

This file is the maintained design reference and is published as `/design.md`. Update it together with the actual implementation. All application surfaces and generated brand assets follow this identity; do not reintroduce the Morski palette, orbit mark or Manrope typography.
