/* Hebert Groceries — design tokens (category-prefixed). Components consume only. */
:root {
  /* Dark-only: native controls/scrollbars follow dark UA chrome; no light theme */
  color-scheme: dark;

  /* Color — dark-only; evolved from live palette; accent stays blue */
  --color-bg: #0f1115;
  --color-surface: #1a1d24;
  --color-surface-2: #242833;
  --color-ink: #eef0f5;
  --color-ink-muted: #9aa3b5;
  --color-border: #333848;
  --color-accent: #5b8cff;
  --color-accent-hover: #7aa3ff;
  --color-on-accent: #ffffff;
  --color-ok: #3ecf8e;
  --color-danger: #ff6b7a;

  /* Type — fixed rem minor third (~1.2); system UI only */
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-xs: 0.694rem;
  --text-sm: 0.833rem;
  --text-base: 1rem;
  --text-lg: 1.2rem;
  --text-xl: 1.44rem;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;

  /* Space ladder (rem) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* Radius */
  --radius: 0.5rem;
  --radius-pill: 999px;

  /* Shell */
  --width-app: 32rem;
  --width-auth: 28rem;
  --width-measure: 22rem;
  --width-actions: 18rem;
  --width-menu: 8rem;
  --gutter: 0.9rem;
  --tabbar-h: 3.5rem;
  --touch-min: 2.75rem;

  /* Recurring control / mark sizes */
  --size-hit: 2.5rem;
  --size-mark: 1.75rem;
  --size-brand-sm: 1.375rem;

  /* Motion */
  --transition: 150ms ease;
}
