---
version: alpha
name: "Fintech Gradient (RTL)"
description: "White canvas with a vivid diagonal multicolor gradient band behind it, deep navy text and an indigo-violet primary. Crisp layered shadows — premium, technical and trustworthy."
colors:
  primary: "#5847F0"
  on-primary: "#FFFFFF"
  secondary: "#C2286E"
  on-secondary: "#FFFFFF"
  neutral: "#FFFFFF"
  surface: "#FFFFFF"
  surface-variant: "#F5F7FB"
  on-surface: "#122A4A"
  on-surface-variant: "#4E5F78"
  outline: "#E3E8F0"
  success: "#0B7A55"
  warning: "#A65A00"
  error: "#C0233B"
typography:
  display-lg:
    fontFamily: "Miriam Libre"
    fontSize: 53px
    fontWeight: 700
    lineHeight: 1.15
  headline-lg:
    fontFamily: "Miriam Libre"
    fontSize: 42px
    fontWeight: 700
    lineHeight: 1.15
  headline-md:
    fontFamily: "Miriam Libre"
    fontSize: 33px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: "Miriam Libre"
    fontSize: 26px
    fontWeight: 700
    lineHeight: 1.25
  body-lg:
    fontFamily: "Assistant"
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.65
  body-md:
    fontFamily: "Assistant"
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.65
  label-md:
    fontFamily: "Assistant"
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.4
rounded:
  sm: 6px
  md: 8px
  lg: 14px
  button: 8px
  input: 8px
  full: 999px
spacing:
  xs: 5px
  sm: 10px
  md: 20px
  lg: 30px
  xl: 60px
motion:
  standard:
    duration: 200ms
    timingFunction: "cubic-bezier(0.215, 0.61, 0.355, 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}"
---

# Fintech Gradient — Hebrew / RTL design system

## Overview

White canvas with a vivid diagonal multicolor gradient band behind it, deep navy text and an indigo-violet primary. Crisp layered shadows — premium, technical and trustworthy.

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: payments and fintech products, developer product pages, startup websites.

## Colors

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

- **Primary (#5847F0):** the main action color — primary buttons, links, active navigation, focus rings. Text on it is #FFFFFF.
- **Secondary / accent (#C2286E):** highlights, badges, the one featured card per screen. Text on it is #FFFFFF.
- **Neutral / background (#FFFFFF):** the page itself (with a decorative background: `linear-gradient(170deg, rgba(255,255,255,0) 0 380px, #FFFFFF 381px), linear-gradient(115deg, #FFC16B 0%, #FF7AB0 28%, #A98BFF 55%, #6FD3FF 82%, #8FF0D2 100%)`).
- **Surface (#FFFFFF) and surface-variant (#F5F7FB):** cards, inputs, sidebars; the variant for secondary buttons, tabs and table hover.
- **On-surface (#122A4A) and on-surface-variant (#4E5F78):** body text and secondary text. Both pass WCAG AA (4.5:1) on every surface.
- **Outline (#E3E8F0):** borders and dividers.
- **Status:** success #0B7A55, warning #A65A00, error #C0233B.

## Typography

- **Display / headings:** Miriam Libre, weight 700, letter-spacing -0.015em.
- **Body:** Assistant, weight 400, line-height 1.65.
- **Mono:** Cousine (Latin only — Hebrew inside mono text falls back to Assistant).
- Scale (ratio 1.27): 53px / 42px / 33px / 26px / 20px / 16px / 14px.
- Load fonts from Google Fonts — all of them include Hebrew glyphs: `https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@500;600;700&family=Assistant:wght@300;400;600&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.
- Let the gradient band run diagonally behind the hero, and overlap it with white cards that carry the content.

## Elevation & Depth

- Card shadow: `-2px 13px 27px -5px rgba(30,45,90,0.20), -1px 8px 16px -8px rgba(0,0,0,0.25)`
- Raised / hover shadow: `-4px 30px 60px -12px rgba(30,45,90,0.28), -2px 18px 36px -18px rgba(0,0,0,0.30)`
- Button shadow: `-1px 2px 5px -1px rgba(30,45,90,0.25), -1px 1px 3px -1px rgba(0,0,0,0.25)`; on hover `-2px 7px 14px -3px rgba(88,71,240,0.35), -1px 3px 6px -2px rgba(0,0,0,0.20)`
- Shadows are two crisp layers — a wide tinted one and a tight dark one — both falling down-left, so white cards pop off the gradient band.

## Shapes

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

## Motion & Micro-interaction

- Duration 200ms, easing `cubic-bezier(0.215, 0.61, 0.355, 1)`.
- 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 run a vivid diagonal gradient band across the top only, with a white canvas below.
- Do give white cards two crisp layered shadows falling down-left.
- Do set text in deep navy instead of black.
- Do use one indigo-violet for the pill-shaped primary button.
- Don't put small text directly on the gradient — always on a white surface.
- Don't use the gradient on buttons or cards.
- Don't use blurry gray shadows with no direction.

## 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=Miriam+Libre:wght@500;600;700&family=Assistant:wght@300;400;600&family=Cousine:wght@400;700&display=swap");

:root {
  --rs-bg: #FFFFFF;
  --rs-bg-image: linear-gradient(170deg, rgba(255,255,255,0) 0 380px, #FFFFFF 381px), linear-gradient(115deg, #FFC16B 0%, #FF7AB0 28%, #A98BFF 55%, #6FD3FF 82%, #8FF0D2 100%);
  --rs-surface: #FFFFFF;
  --rs-surface-2: #F5F7FB;
  --rs-text: #122A4A;
  --rs-text-muted: #4E5F78;
  --rs-primary: #5847F0;
  --rs-on-primary: #FFFFFF;
  --rs-accent: #C2286E;
  --rs-on-accent: #FFFFFF;
  --rs-border: #E3E8F0;
  --rs-success: #0B7A55;
  --rs-warning: #A65A00;
  --rs-danger: #C0233B;
  --rs-focus: #5847F0;
  --rs-font-display: "Miriam Libre", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-body: "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
  --rs-font-mono: "Cousine", "Assistant", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rs-heading-weight: 700;
  --rs-body-weight: 400;
  --rs-heading-tracking: -0.015em;
  --rs-heading-line: 1.15;
  --rs-line: 1.65;
  --rs-text-display: 53px;
  --rs-text-h1: 42px;
  --rs-text-h2: 33px;
  --rs-text-h3: 26px;
  --rs-text-lg: 20px;
  --rs-text-base: 16px;
  --rs-text-sm: 14px;
  --rs-text-xs: 12px;
  --rs-radius-sm: 6px;
  --rs-radius-md: 8px;
  --rs-radius-lg: 14px;
  --rs-radius-pill: 999px;
  --rs-btn-radius: 8px;
  --rs-input-radius: 8px;
  --rs-border-width: 1px;
  --rs-border-style: solid;
  --rs-shadow-card: -2px 13px 27px -5px rgba(30,45,90,0.20), -1px 8px 16px -8px rgba(0,0,0,0.25);
  --rs-shadow-raised: -4px 30px 60px -12px rgba(30,45,90,0.28), -2px 18px 36px -18px rgba(0,0,0,0.30);
  --rs-shadow-button: -1px 2px 5px -1px rgba(30,45,90,0.25), -1px 1px 3px -1px rgba(0,0,0,0.25);
  --rs-shadow-button-hover: -2px 7px 14px -3px rgba(88,71,240,0.35), -1px 3px 6px -2px rgba(0,0,0,0.20);
  --rs-shadow-input: none;
  --rs-blur: 0px;
  --rs-duration: 200ms;
  --rs-easing: cubic-bezier(0.215, 0.61, 0.355, 1);
  --rs-hover-transform: translateY(-2px);
  --rs-icon-stroke: 1.75;
  --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:not(.rs-btn--icon) { border-radius: 999px; }
```
