/* ============================================================
   RYLSTONE CLASSIC — SPACING, SIZING & RADII
   4px base grid. Corners are mostly crisp — the plate badge is
   the only generously-rounded shape; UI stays tight & boxy.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --space-0:   0;
  --space-1:   0.25rem;  /* 4 */
  --space-2:   0.5rem;   /* 8 */
  --space-3:   0.75rem;  /* 12 */
  --space-4:   1rem;     /* 16 */
  --space-5:   1.5rem;   /* 24 */
  --space-6:   2rem;     /* 32 */
  --space-7:   2.5rem;   /* 40 */
  --space-8:   3rem;     /* 48 */
  --space-9:   4rem;     /* 64 */
  --space-10:  5rem;     /* 80 */
  --space-12:  6rem;     /* 96 */
  --space-16:  8rem;     /* 128 */

  /* ---- Layout ---- */
  --container-max:   1200px;
  --container-text:  68ch;
  --gutter:          var(--space-5);
  --section-pad-y:   var(--space-12);

  /* ---- Radii (crisp brand — small radii only) ---- */
  --radius-none: 0;
  --radius-xs:   3px;
  --radius-sm:   5px;
  --radius-md:   8px;    /* default card / input */
  --radius-lg:   12px;
  --radius-pill: 999px;  /* tags / chips */
  --radius-plate: 18px;  /* the rally-plate badge corner */

  /* ---- Control sizing ---- */
  --control-h-sm: 36px;
  --control-h-md: 44px;  /* default — meets 44px touch target */
  --control-h-lg: 54px;

  /* ---- Borders ---- */
  --border-hair:  1px;
  --border-thin:  2px;
  --border-thick: 3px;   /* plate outline weight */
  --border-plate: 4px;
}
