/* ============================================================
   RELAVENDO · TYPOGRAPHY
   Hebrew-first. Rubik (geometric display) + Assistant (legible body).
   Tabular figures for every shekel amount.
   ============================================================ */
:root {
  --font-display: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Assistant', 'Segoe UI', system-ui, sans-serif;
  --font-num: 'Assistant', system-ui, sans-serif; /* use with --num-tabular */

  /* Enable tabular, lining figures for money. Apply via font-feature-settings. */
  --num-tabular: "tnum" 1, "lnum" 1; /* @kind other */

  /* ---- Type scale (mobile-first, rem @16px base) ---- */
  --fs-display: 40px;   /* hero money number */
  --fs-h1: 30px;
  --fs-h2: 24px;
  --fs-h3: 20px;
  --fs-title: 18px;
  --fs-body: 16px;      /* default body */
  --fs-sm: 14px;
  --fs-xs: 12px;
  --fs-micro: 11px;     /* labels / legal — floor */

  /* ---- Weights ---- */
  --fw-regular: 400; /* @kind font */
  --fw-medium: 500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold: 700; /* @kind font */

  /* ---- Line heights ---- */
  --lh-tight: 1.1; /* @kind font */
  --lh-snug: 1.25; /* @kind font */
  --lh-body: 1.55; /* @kind font */

  /* ---- Letter spacing (Hebrew rarely wants tracking; labels only) ---- */
  --ls-label: 0.02em; /* @kind font */
}

/* Utility: money amounts — tabular, lining, display font */
.rlv-money {
  font-family: var(--font-num);
  font-feature-settings: var(--num-tabular);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0;
  direction: ltr;            /* numbers + ₪ stay LTR inside RTL text */
  unicode-bidi: isolate;
}
