/*
  Shared design tokens, V0. Written once so the helper site and the landing page can both load it.
  Holds only what is common: type scale, spacing, rule weights, numbered-label style, one shared accent.
  Surface palettes stay in each site's own stylesheet (a product site and an information site differ on purpose).
  The accent value is provisional until the landing page's chosen draft is known; change it here only.
*/
:root {
  /* type: system stacks, no remote fonts */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;

  /* type scale, ratio about 1.2, base 17px set on html */
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.45rem;
  --step-3: 1.8rem;
  --step-4: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);

  /* spacing scale */
  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;

  /* rules: hard, square, 1 to 3 px */
  --rule-hair: 1px;
  --rule-mid: 2px;
  --rule-strong: 3px;
  --radius: 0;

  /* the one shared accent (provisional) */
  --accent: #c9331e;
  --accent-dark-mode: #f56b58;
}

@media (prefers-color-scheme: dark) {
  :root { --accent: var(--accent-dark-mode); }
}

/* numbered label: a real sequence, e.g. "01 // סדר פעולות" */
.num-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.02em;
}
