/* Tuna design tokens: the one place for colours, type and sizes, shared by the Django pages and the React app.
   Fonts: Bricolage Grotesque (titles, figures) and Figtree (text), self-hosted (SIL OFL, src/static/fonts/OFL-*.txt). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Type */
  --font-body: Figtree, system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", Figtree, system-ui, sans-serif;
  --text-sm: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.375rem;
  --text-xl: 1.875rem;

  /* Colours: the page, the ink and the lines */
  --paper: #f3f2ee;
  --paper-raised: #fff;
  --ink: #161816;
  --ink-strong: #3f433e;
  --ink-soft: #5e625c;
  --line: #eceae3;
  --line-strong: #c9c6bc;
  --track: #e2e0d9;
  --accent: #161816;
  --accent-ink: #fff;
  --danger: #c92a2a;

  /* The brand orange: the batch-cooking card, the basket, today's calories */
  --orange: #ff6b3d;
  --orange-soft: #ff9470;
  --orange-pale: #ffc9b6;
  --orange-mist: #ffe3d8;

  /* Recipe tones: each recipe has a colour, and a lighter one for its shapes */
  --yellow: #ffd45c;
  --yellow-soft: #ffe89e;
  --green: #bfe3a6;
  --green-soft: #dcf0ce;
  --blue: #afcff7;
  --blue-soft: #d3e4fa;
  --coral: #f7b3a1;
  --coral-soft: #fbd3c8;
  --peach: #ffc58f;
  --peach-soft: #ffddbc;
  --lilac: #d8ccf6;
  --lilac-soft: #eae3fb;
  --stone: #eceae3;
  --stone-soft: #f7f6f2;

  /* Shape and sizes */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --pill: 99px;
  --tap: 44px;
  --focus: 3px solid #2563eb;
}
