/* Awrdable brand tokens. Light theme only.
   Colours, type and shape for the product and anything else that carries the name.
   The values that also appear in the logo are set in build_brand.py; keep the two in step. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rubik:wght@500;600&display=swap");

:root {
  /* Brand */
  --ink: #1f2a44;          /* the tile, the name, headings, body text, primary buttons */
  --gold: #e0a82e;         /* the cup's base; highlights and marks. Never text on a light ground */
  --gold-deep: #b8862b;    /* "able" in the name and large headings only (3.1:1 on paper) */
  --gold-text: #8a6212;    /* gold-toned text at ordinary sizes (5.2:1 on paper) */
  --paper: #fbf8f1;        /* page ground */
  --panel: #ffffff;        /* cards, tables, forms */

  /* Ink scale */
  --ink-900: #141b2e;
  --ink-500: #4a5672;      /* secondary text (6.9:1 on paper) */
  --ink-300: #98a2b8;      /* disabled, placeholders */
  --ink-100: #e3e7ef;
  --ink-50: #f2f4f8;

  /* Gold scale */
  --gold-200: #f3d58a;
  --gold-100: #fbefcb;     /* highlight behind text; ink text on it is 12.4:1 */

  /* Neutrals */
  --line: #e7e0d2;         /* hairlines and borders */
  --soft: #f3eee3;         /* quiet fills, table headers */
  --muted: #5b6478;        /* captions and hints (5.6:1 on paper) */

  /* Status. Teal is shared with Data Golem. */
  --ok: #1f6f6b;
  --ok-soft: #e3f1ef;
  --warn: #8a5a00;
  --warn-soft: #fbf1dc;
  --bad: #b3261e;
  --bad-soft: #fbe6e4;

  /* Type */
  --font-display: "Rubik", Helvetica, Arial, sans-serif;   /* the name and headings, weight 500 */
  --font-text: "Inter", Helvetica, Arial, sans-serif;      /* everything else, weights 400 and 500 */
  --size-display: 32px;
  --size-title: 24px;
  --size-heading: 18px;
  --size-body: 15px;
  --size-small: 13px;
  --leading-tight: 1.2;
  --leading-body: 1.55;

  /* Shape. The logo's tile corner is 15 on a 52 tile, about 29%. */
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
}
