---
version: alpha
name: "Warm AI Paper (RTL)"
description: "Warm off-white paper, serif headings and touches of clay and terracotta. Calm, literary and thoughtful — like a conversation with a considerate assistant."
colors:
  primary: "#B04E2C"
  on-primary: "#FFFFFF"
  secondary: "#4E6A58"
  on-secondary: "#FFFFFF"
  neutral: "#F6F2E9"
  surface: "#FBF8F2"
  surface-variant: "#EFE9DC"
  on-surface: "#2B2620"
  on-surface-variant: "#675E52"
  outline: "#E2D9C8"
  success: "#3D7046"
  warning: "#9A6210"
  error: "#A8322A"
typography:
  display-lg:
    fontFamily: "Libertinus Serif"
    fontSize: 46px
    fontWeight: 400
    lineHeight: 1.25
  headline-lg:
    fontFamily: "Libertinus Serif"
    fontSize: 38px
    fontWeight: 400
    lineHeight: 1.25
  headline-md:
    fontFamily: "Libertinus Serif"
    fontSize: 31px
    fontWeight: 400
    lineHeight: 1.2
  title-md:
    fontFamily: "Libertinus Serif"
    fontSize: 25px
    fontWeight: 400
    lineHeight: 1.25
  body-lg:
    fontFamily: "Rubik"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.75
  body-md:
    fontFamily: "Rubik"
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.75
  label-md:
    fontFamily: "Rubik"
    fontSize: 15px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 8px
  md: 12px
  lg: 18px
  button: 12px
  input: 12px
  full: 999px
spacing:
  xs: 5px
  sm: 10px
  md: 20px
  lg: 30px
  xl: 60px
motion:
  standard:
    duration: 240ms
    timingFunction: "cubic-bezier(0.4, 0, 0.2, 1)"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.button}"
    height: 44px
    padding: 30px
  button-secondary:
    backgroundColor: "{colors.surface-variant}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.button}"
    height: 44px
  button-accent:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-secondary}"
    rounded: "{rounded.button}"
    height: 44px
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.lg}"
    padding: 30px
  input:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.input}"
    height: 44px
  badge:
    backgroundColor: "{colors.surface-variant}"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.full}"
---

# Warm AI Paper — Hebrew / RTL design system

## Overview

Warm off-white paper, serif headings and touches of clay and terracotta. Calm, literary and thoughtful — like a conversation with a considerate assistant.

This interface is **Hebrew-first and right-to-left**. Every screen is built with `<html lang="he" dir="rtl">` and logical CSS properties, so layout, icons, numbers and forms behave correctly in Hebrew. Best for: AI assistant products, writing and knowledge tools, reading apps.

## Colors

A light theme: the page background is the calmest layer; surfaces sit on top of it.

- **Primary (#B04E2C):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#4E6A58):** highlights, badges, the one featured card per screen. Text on it is #FFFFFF.
- **Neutral / background (#F6F2E9):** the page itself.
- **Surface (#FBF8F2) and surface-variant (#EFE9DC):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#2B2620) and on-surface-variant (#675E52):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#E2D9C8):** borders and dividers.
- **Status:** success #3D7046, warning #9A6210, error #A8322A.

## Typography

- **Display / headings:** Libertinus Serif, weight 400, letter-spacing 0em.
- **Body:** Rubik, weight 400, line-height 1.75.
- **Mono:** Cousine (Latin only — Hebrew inside mono text falls back to Rubik).
- Scale (ratio 1.22): 46px / 38px / 31px / 25px / 21px / 17px / 15px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Libertinus+Serif:wght@400;600&family=Rubik:wght@300;400;500&family=Cousine:wght@400;700&display=swap`

## Layout

- Density: **airy**. Spacing scale: 5px, 10px, 15px, 20px, 30px, 40px, 60px, 90px.
- Content max width about 1180px; generous outer padding on desktop, 16px on mobile.
- Sidebars and navigation start on the **right** (inline-start). The primary action in a row sits at the inline-start or is visually dominant; secondary actions follow it.
- Center a single readable column of about 70 characters, with a soft rounded composer anchored at the bottom.

## Elevation & Depth

- Card shadow: `-1px 2px 6px rgba(60,45,30,0.05)`
- Raised / hover shadow: `-2px 8px 24px rgba(60,45,30,0.10)`
- Button shadow: `none`; on hover `-1px 3px 10px rgba(176,78,44,0.22)`
- Almost flat: warm paper tones separate layers, with only a faint warm shadow on the composer and popovers.

## Shapes

- Corner radius: small 8px, medium 12px, large 18px (cards). Buttons 12px, inputs 12px. Pills and badges are fully rounded.
- Border: 1px solid in the outline color.

## Motion & Micro-interaction

- Duration 240ms, easing `cubic-bezier(0.4, 0, 0.2, 1)`.
- Hover behaviour: **none** (color change only).
- Respect `prefers-reduced-motion`: drop all transitions.

## Voice & Content Strategy

- All UI copy is Hebrew. Short, direct, second person plural or neutral (`התחילו`, `שמירה`), no English loanwords where a common Hebrew word exists.
- Buttons are verbs or verbal nouns: `שמירה`, `המשך לתשלום`, `הוספה לעגלה`.
- Error messages say what to do: `מספר טלפון צריך 10 ספרות, למשל 050-1234567`.

## Components

- **Buttons:** primary (filled primary), accent (filled secondary — at most one per view), secondary (surface-variant with outline), ghost (text only). Min height 44px. Directional icons inside buttons are mirrored.
- **Cards:** surface, outline border, large radius, card shadow. One card per screen may use the primary or accent fill to feature something.
- **Inputs:** surface background, outline border, medium radius, 44px. Focus: primary border plus a 3px primary ring at 30% opacity. Invalid: error border plus a message below in the error color.
- **Badges:** pill, small, bold. Status badges are a tinted background with a colored dot, never color alone.
- **Tables:** header row in muted small text, row dividers, numeric columns end-aligned with tabular LTR numbers.
- **Navigation:** sidebar on the right; active item tinted with primary at 12% and primary text.

## Do's and Don'ts

- Do use warm off-white paper, never cold white.
- Do set headings in a regular-weight serif and body text in a clean, readable sans.
- Do use terracotta only for the main action and key highlights.
- Do keep one narrow, readable column with plenty of air.
- Don't use cold or neon colors.
- Don't use heavy, over-bold headings.
- Don't use dashboard-level density — this is a place to think.

## RTL & Hebrew Rules

- Set `<html lang="he" dir="rtl">` at the root. Never mirror the layout manually with `flex-direction: row-reverse` or `float: right`.
- Use logical CSS only: `margin-inline-start/end`, `padding-inline`, `inset-inline-start`, `border-inline-start`, `text-align: start/end`. In Tailwind: `ms-* me-* ps-* pe-* start-* end-* text-start text-end`, never `ml/mr/pl/pr/left/right`.
- Directional icons (arrows, chevrons, "next", "back", send) are mirrored with `transform: scaleX(-1)` under `[dir="rtl"]`. Non-directional icons (search, bell, cart, check) are never mirrored.
- Numbers, prices, phone numbers, IDs, codes and dates keep LTR order: wrap them in `<bdi>` or a span with `direction: ltr; unicode-bidi: isolate`. Use tabular numbers in tables.
- Currency: shekel sign before the number with no space — `₪1,240` — or after with a space — `1,240 ₪`. Pick one and keep it consistent. Thousands separator is a comma.
- Dates are `DD/MM/YYYY` (02/12/2026). Show the Hebrew date next to it when the audience is religious or institutional (e.g. כ״ב בכסלו תשפ״ז).
- Phone, email, URL and ID inputs get `dir="ltr"` but stay right-aligned inside the RTL form. Israeli mobile format: `050-1234567`.
- Hebrew has no capital letters: never rely on `text-transform: uppercase` for hierarchy — use weight, size and color. Avoid letter-spacing on Hebrew body text.
- Hebrew needs a slightly larger line-height than Latin (1.6–1.75 for body). Use a font that really contains Hebrew glyphs; never let Hebrew fall back to a system font next to a Latin web font.
- Gershayim and geresh are real characters: ״ and ׳ (מע״מ, ח״פ, יום ד׳), not straight quotes.
- Tables: first column is on the right; numeric columns align to the end (left). Sidebars sit on the right (inline-start). Breadcrumbs read right-to-left with a mirrored chevron.
- Charts keep the time axis running right-to-left only if the product does so everywhere; otherwise keep chart axes LTR and say so — be consistent.

## Reference CSS

Drop this into the project (or use `theme.css` from the same page, which also contains ready component classes such as `.rs-btn`, `.rs-card`, `.rs-input`).

```css
@import url("https://fonts.googleapis.com/css2?family=Libertinus+Serif:wght@400;600&family=Rubik:wght@300;400;500&family=Cousine:wght@400;700&display=swap");

:root {
  --rs-bg: #F6F2E9;
  --rs-bg-image: none;
  --rs-surface: #FBF8F2;
  --rs-surface-2: #EFE9DC;
  --rs-text: #2B2620;
  --rs-text-muted: #675E52;
  --rs-primary: #B04E2C;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #4E6A58;
  --rs-on-accent: #FFFFFF;
  --rs-border: #E2D9C8;
  --rs-success: #3D7046;
  --rs-warning: #9A6210;
  --rs-danger: #A8322A;
  --rs-focus: #B04E2C;
  --rs-font-display: "Libertinus Serif", "Times New Roman", serif;
  --rs-font-body: "Rubik", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "Cousine", "Rubik", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 400;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0em;
  --rs-heading-line: 1.25;
  --rs-line: 1.75;
  --rs-text-display: 46px;
  --rs-text-h1: 38px;
  --rs-text-h2: 31px;
  --rs-text-h3: 25px;
  --rs-text-lg: 21px;
  --rs-text-base: 17px;
  --rs-text-sm: 15px;
  --rs-text-xs: 13px;
  --rs-radius-sm: 8px;
  --rs-radius-md: 12px;
  --rs-radius-lg: 18px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 12px;
  --rs-input-radius: 12px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: -1px 2px 6px rgba(60,45,30,0.05);
  --rs-shadow-raised: -2px 8px 24px rgba(60,45,30,0.10);
  --rs-shadow-button: none;
  --rs-shadow-button-hover: -1px 3px 10px rgba(176,78,44,0.22);
  --rs-shadow-input: -1px 2px 8px rgba(60,45,30,0.06);
  --rs-blur: 0px;
  --rs-duration: 240ms;
  --rs-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --rs-hover-transform: none;
  --rs-icon-stroke: 1.5;
  --rs-space-1: 5px;
  --rs-space-2: 10px;
  --rs-space-3: 15px;
  --rs-space-4: 20px;
  --rs-space-5: 30px;
  --rs-space-6: 40px;
  --rs-space-7: 60px;
  --rs-space-8: 90px;
}

/* style-specific details (selectors are from theme.css) */
.rs-app .rs-btn--secondary { background: transparent; --rs-btn-border: var(--rs-border); }
.rs-app .rs-input, .rs-app .rs-textarea { background: var(--rs-surface); }
```
