---
version: alpha
name: "Dignified Institutional (RTL)"
description: "Deep navy on a warm ivory background with gold used only as a thin accent line, serif headings. Dignified, calm and trustworthy — for yeshivot, nonprofits and long-standing organizations."
colors:
  primary: "#1B2B4F"
  on-primary: "#FFFFFF"
  secondary: "#B08D3C"
  on-secondary: "#13213D"
  neutral: "#FBFAF6"
  surface: "#FFFFFF"
  surface-variant: "#F3EFE4"
  on-surface: "#13213D"
  on-surface-variant: "#4A5468"
  outline: "#E4DCC8"
  success: "#1F7A4D"
  warning: "#9A6B00"
  error: "#A3262A"
typography:
  display-lg:
    fontFamily: "Noto Serif Hebrew"
    fontSize: 52px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg:
    fontFamily: "Noto Serif Hebrew"
    fontSize: 42px
    fontWeight: 700
    lineHeight: 1.25
  headline-md:
    fontFamily: "Noto Serif Hebrew"
    fontSize: 33px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Noto Serif Hebrew"
    fontSize: 27px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Assistant"
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.75
  body-md:
    fontFamily: "Assistant"
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.75
  label-md:
    fontFamily: "Assistant"
    fontSize: 15px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 3px
  md: 6px
  lg: 10px
  button: 6px
  input: 6px
  full: 999px
spacing:
  xs: 5px
  sm: 10px
  md: 20px
  lg: 30px
  xl: 60px
motion:
  standard:
    duration: 200ms
    timingFunction: "ease"
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}"
---

# Dignified Institutional — Hebrew / RTL design system

## Overview

Deep navy on a warm ivory background with gold used only as a thin accent line, serif headings. Dignified, calm and trustworthy — for yeshivot, nonprofits and long-standing organizations.

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: religious institutions, nonprofits and foundations, donation sites.

## Colors

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

- **Primary (#1B2B4F):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#B08D3C):** highlights, badges, the one featured card per screen. Text on it is #13213D.
- **Neutral / background (#FBFAF6):** the page itself.
- **Surface (#FFFFFF) and surface-variant (#F3EFE4):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#13213D) and on-surface-variant (#4A5468):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#E4DCC8):** borders and dividers.
- **Status:** success #1F7A4D, warning #9A6B00, error #A3262A.

## Typography

- **Display / headings:** Noto Serif Hebrew, weight 700.
- **Body:** Assistant, weight 400, line-height 1.75.
- Scale (ratio 1.25): 52px / 42px / 33px / 27px / 21px / 17px / 15px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Noto+Serif+Hebrew:wght@500;600;700&family=Assistant:wght@400;600;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 section headings with a short gold rule beneath them; keep body measure narrow (60–70 characters).

## Elevation & Depth

- Card shadow: `0 1px 0 #E4DCC8, 0 8px 24px rgba(19,33,61,0.06)`
- Raised / hover shadow: `0 1px 0 #E4DCC8, 0 14px 36px rgba(19,33,61,0.10)`
- Button shadow: `none`; on hover `0 6px 18px rgba(27,43,79,0.22)`
- A thin gold rule (2px, accent color) under section headings or on the inline-start edge of a featured card is the signature detail — gold is never a large fill behind body text.

## Shapes

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

## Motion & Micro-interaction

- Duration 200ms, easing `ease`.
- Hover behaviour: **lift** (cards and buttons rise 2px).
- 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 gold only as a thin rule, frame or icon accent — never as a large fill.
- Do set headings in a Hebrew serif and body text in a clean sans.
- Do use a warm ivory page instead of cold white.
- Do show the Hebrew date next to the Gregorian one.
- Don't use loud colors, gradients or emoji.
- Don't use very round corners — they cheapen the tone.
- Don't put gold text on white — the contrast is too low.

## 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=Noto+Serif+Hebrew:wght@500;600;700&family=Assistant:wght@400;600;700&display=swap");

:root {
  --rs-bg: #FBFAF6;
  --rs-bg-image: none;
  --rs-surface: #FFFFFF;
  --rs-surface-2: #F3EFE4;
  --rs-text: #13213D;
  --rs-text-muted: #4A5468;
  --rs-primary: #1B2B4F;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #B08D3C;
  --rs-on-accent: #13213D;
  --rs-border: #E4DCC8;
  --rs-success: #1F7A4D;
  --rs-warning: #9A6B00;
  --rs-danger: #A3262A;
  --rs-focus: #1B2B4F;
  --rs-font-display: "Noto Serif Hebrew", "Times New Roman", serif;
  --rs-font-body: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "IBM Plex Mono", "Assistant", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: 0;
  --rs-heading-line: 1.25;
  --rs-line: 1.75;
  --rs-text-display: 52px;
  --rs-text-h1: 42px;
  --rs-text-h2: 33px;
  --rs-text-h3: 27px;
  --rs-text-lg: 21px;
  --rs-text-base: 17px;
  --rs-text-sm: 15px;
  --rs-text-xs: 13px;
  --rs-radius-sm: 3px;
  --rs-radius-md: 6px;
  --rs-radius-lg: 10px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 6px;
  --rs-input-radius: 6px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: 0 1px 0 #E4DCC8, 0 8px 24px rgba(19,33,61,0.06);
  --rs-shadow-raised: 0 1px 0 #E4DCC8, 0 14px 36px rgba(19,33,61,0.10);
  --rs-shadow-button: none;
  --rs-shadow-button-hover: 0 6px 18px rgba(27,43,79,0.22);
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 200ms;
  --rs-easing: ease;
  --rs-hover-transform: translateY(-2px);
  --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;
}
```
