RGB.ir Brand & Liquid Glass Design Constitution

The authoritative visual, mathematical, and engineering specification governing RGB.ir across Persian, English, Arabic, and Turkish: additive prism geometry, zero-alpha 1-bit & tonal monochrome marks, zero-CLS bilingual typography, 8px spatial physics, concentric corner curvature, and WCAG 2.2 AA/AAA contrast.

  • Edition 3.0 Master
  • FA · EN · AR · TR
  • 4px / 8px Spatial Grid
  • WCAG 2.2 AA / AAA

RGB.ir Brand & Liquid Glass Design System Guidelines

02Bilingual Typography System & Positional Type Scale

Proprietary geometric RGB (Latin) paired with custom RGBir (Persian/Arabic) and HarfBuzz-calibrated zero-CLS fallbacks.

RGB Geometric Sans (EN · TR · ASCII) 400 · 700 · 800
Aa Bb Cc Dd Ee Gg Rr 0123456789

Renders English and Turkish interfaces, domain names, URLs, and LTR numerals in weights 400, 700, and 800. Optical tracking is restricted strictly to [dir="ltr"].

RGBir Custom Sans (Persian & Arabic) ascent: 83.8% · CLS: 0
آ ب پ ت ج چ ح خ ر ز س ش ق ک گ ی ۰۱۲۳۴۵۶۷۸۹

Paired with metric-matched RGBir Fallback (ascent-override: 83.8%, descent-override: 40%) for zero layout shift. Persian and Arabic copy must always keep letter-spacing: 0.

Positional RoleFluid Formula (rem / clamp)375px to 1440pxWeightLine-HeightLive Specimen
Hero Display H1clamp(2.1rem, 5.1vw, 3.55rem)33.6px - 56.8px8001.38RGB Liquid Glass
Standard Page H1clamp(2rem, 4.6vw, 3.3rem)32.0px - 52.8px8001.45Technical SEO
Section H2clamp(1.5rem, 3vw, 2.2rem)24.0px - 35.2px8001.45Core Web Vitals
Editorial Chapter H2clamp(1.45rem, 1.05rem+1.5vw, 1.95rem)23.2px - 31.2px8001.5001 · Architecture
Card Title H3clamp(1.15rem, 2vw, 1.4rem)18.4px - 22.4px8001.45NVMe Cloud Hosting
Lead Paragraphclamp(1.05rem, 1.6vw, 1.2rem)16.8px - 19.2px4001.9056ch - 62ch measure
Long-Form Prose1.09rem (max 72ch)16.8px - 17.4px4001.98text-wrap: pretty
Base UI Copy1.0625rem (OS-scalable)17.0px @ 100%4001.90Standard UI copy
Buttons & Inputs1rem (min-height: 48px)16.0px700 / 4001.50Action · Input
Chips & Tables0.75rem - 0.92rem12.0px - 14.7px600 - 8001.6599.9% · 156 ms LCP
✓ Correct: RTL letter-spacing: 0
زبان سایت و خدمات سئو
✕ Wrong: Positive RTL tracking
زبان سایت و خدمات
✓ Correct: Tabular Numerals (tnum)
1,111,000
9,840,000
✕ Wrong: Unaligned proportional digits

Always enforce font-variant-numeric: tabular-nums on prices, KPIs, ratings, and data tables.

03Spatial Grid (4px / 8px) & Gestalt Proximity Blueprint

Internal spacing is strictly tighter than external separation: 8px label-to-input < 16px field-to-field < 24-32px card pad < 56-96px section rhythm.

--sp-1 4px / 0.25rem
Micro icon & badge nudges
--sp-2 8px / 0.5rem
Label-to-input vertical bond
--sp-3 12px / 0.75rem
Control vertical pad & compact grid
--sp-4 16px / 1rem
Field-to-field gap & mobile gutter
--sp-5 20px / 1.25rem
Standard card & post grid gap
--sp-6 24px / 1.5rem
Desktop .wrap gutter & card floor
--sp-8 32px / 2rem
Feature .card ceiling padding
--sp-10 40px / 2.5rem
Footer column & major block gap
--sp-12 48px / 3rem
48px touch target & shell pad
--sp-sec clamp(56px,8vw,96px)
Vertical .section rhythm
GESTALT PROXIMITY & CONTAINER HIERARCHY1:2:3 SPATIAL RATIO
Card Outer Padding = 24px - 32px (--sp-6 to --sp-8) Domain Address (Label) 8px (--sp-2) tight bond https://rgb.ir min-h: 48px 16px (--sp-4) = 2x label gap Project Scope (Next Field) Enterprise Web Design & Technical SEO 1400px Header & Footer Frame 1200px Standard .wrap (24px Desktop / 16px Mobile Gutter) 72ch Editorial Prose Reading Column

048-Token Corner Radius Scale & Apple Concentricity Law

Arbitrary pixel integers are prohibited. Every corner snaps to 8 geometric tokens and nested containers obey R_inner = max(R_min, R_outer - padding).

Micro 3XS--r-3xs: 4px
Focus rings, chart bars, 18px checkboxes
Inline 2XS--r-2xs: 6px
Inline code, kbd, compact admin tags
Compact XS--r-xs: 8px
24-34px inner icon tiles, mega-menu links
Control SM--r-sm: 12px
48px form inputs, selects, 36-44px squircles
Card MD--r-md: 18px
Standard cards, tables, callouts, FAQs
Feature LG--r-lg: 26px
Feature .glass cards, mega-menus, covers
Monolith XL--r-xl: 34px
Monolith shells: .tool-panel, .cta-band, .foot-card
Capsule Pill--r-pill: 999px
All .btn buttons, floating .nav bar & filter chips
OPTICAL PROOF · WHY CONCENTRICITY MATTERSR_INNER = R_OUTER - PADDING
✕ Non-Concentric (26px / 26px) Pinched 45 deg diagonal gap ✓ Concentric (26px - 14px = 12px) Shared center · Constant 14px wall
ICON SQUIRCLE PROPORTION LAW (R ≈ 0.30 × S)4 UNIFIED TIERS
828×28px
--r-xs
1240×40px
--r-sm
1856×56px
--r-md
2684×84px
--r-lg

05Color Physics, 4-Tier Liquid Glass & WCAG 2.2 Matrix

Obsidian canvas depth, 3 translucent specular glass tiers, AA-compliant --blue-fill (#2563EB), and uniform 1px semantic state borders.

Z0 · --bg#07090F
Obsidian CanvasBase viewport ground
Z1 · --surfaceWhite 4.5%
Rest Glass Card+ 1px --border (9%)
Z2 · --surface-2White 7.5%
Interactive GlassGhost buttons & hover
--grad120deg 4-Stop
Spectral Beam#FF4D6A · #B06BFF · #4D9FFF · #2EE6A8
--red#FF4D6A (6.8:1)
Crimson Ray (R)Danger / Invalid / Apex
--blue-fill#2563EB (5.17:1)
Royal Button FillAA solid fill w/ #FFFFFF
--blue#4D9FFF (7.6:1)
Sky Link & FocusText links & focus ring
--green#2EE6A8 (12.4:1)
Emerald Ray (G)Verified / Pass / Live
Token PairContrast RatioWCAG 2.2Mandated UI Scope
--text (#EEF1F8)17.6 : 1AAAHeadings, primary prose, active controls
--text-2 (#A9B1C3)9.4 : 1AAALead paragraphs, card copy, table cells
--text-3 (#8690A6)5.9 : 1AATimestamps, captions, field hints, headers
#FFF / --blue-fill5.17 : 1AAPrimary CTA buttons & active pills with #FFFFFF
Uniform 1px Semantic State Surfaces (Single-Edge Stripes Permanently Banned)
✓ Verified / Pass Surface1px uniform border + 9% tint
! Warning / Attention Surface1px uniform border + 9% tint
✕ Error / Invalid SurfaceZero single-edge stripes

06Live Component Anatomy, Motion Curves & Production CSS Tokens

Interactive control specimens, spring-damped compositor curves gated under prefers-reduced-motion, and the canonical :root stylesheet.

Live Interactive Control Reference

MOTION PHYSICS · COMPOSITOR EASING CURVESPREFERS-REDUCED-MOTION GATED
--ease-out (260ms) cubic-bezier(.22, 1, .36, 1) --ease-std (160ms) cubic-bezier(.4, 0, .2, 1)

Animate compositor properties (transform, opacity) and color states inside @media (prefers-reduced-motion: no-preference). Slow indeterminate spinners to 2.4s under reduce.

:root {
  color-scheme: dark;
  --bg: #07090f; --bg-2: #0b0f1a;
  --surface: rgba(255,255,255,.045); --surface-2: rgba(255,255,255,.075); --surface-3: rgba(255,255,255,.11);
  --border: rgba(255,255,255,.09); --border-2: rgba(255,255,255,.18);
  --text: #eef1f8; --text-2: #a9b1c3; --text-3: #8690a6;
  --red: #ff4d6a; --purple: #b06bff; --blue: #4d9fff; --blue-fill: #2563eb; --green: #2ee6a8; --amber: #ffc34d;
  --font-sans: "RGB","RGBir","RGBir Fallback","Vazirmatn",-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,sans-serif;
  --font-mono: ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
  --r-3xs: 4px; --r-2xs: 6px; --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 34px; --r-pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --ease-out: cubic-bezier(.22,1,.36,1); --ease-std: cubic-bezier(.4,0,.2,1); --dur-fast: 160ms; --dur-med: 260ms;
}

Need this level of visual & engineering precision on your own product?

We apply the exact same identity geometry, zero-CLS typography, and Core Web Vitals architecture across client web design, graphic identity, and technical SEO projects.