/* ============================================================
   UNCOMPANY · SPACING & SIZING
   A square-grid drawing system. Base unit "1U" = 8px.
   ============================================================ */

:root {
  --un-u: 8px;             /* 1U — the drawing unit */

  --un-space-0: 0;
  --un-space-1: 4px;       /* 0.5U */
  --un-space-2: 8px;       /* 1U */
  --un-space-3: 12px;
  --un-space-4: 16px;      /* 2U */
  --un-space-5: 24px;      /* 3U */
  --un-space-6: 32px;      /* 4U */
  --un-space-7: 48px;      /* 6U */
  --un-space-8: 64px;      /* 8U */
  --un-space-9: 96px;      /* 12U */
  --un-space-10: 128px;    /* 16U */

  /* --- Radii — minimal. Sheets have square corners; only
         soft chrome (app icon, pills, avatars) rounds. --- */
  --un-radius-0: 0;        /* default — the sheet is square */
  --un-radius-sm: 2px;
  --un-radius-md: 4px;
  --un-radius-lg: 8px;
  --un-radius-pill: 999px;
  --un-radius-icon: 22.5%; /* app-icon corner (54/240) */

  /* --- Borders / hairlines --- */
  --un-hair: 1px;          /* the drawn line */
  --un-rule: 2px;          /* signal rule weight at body scale */
  --un-stroke-icon: 1.6px; /* icon set stroke */

  /* --- Layout --- */
  --un-content-max: 1200px;
  --un-measure: 64ch;      /* body reading measure */
  --un-tick: 10px;         /* corner-tick length */
}
