/* Tangent brand tokens (v1, Oct 2026) */
/* The font is served from /fonts (see styles.css), not from Google Fonts, so
   it works offline and behind Cloudflare Access, and no request leaves the site. */

:root {
  /* Core palette */
  --tg-tangerine: #F26A1B;      /* brand orange: fills, marks, selected states. NOT for text on light backgrounds (2.9:1) */
  --tg-tangerine-text: #B3470A; /* orange for text/links on Pith (5.1:1) */
  --tg-leaf: #3E7B3A;           /* secondary accent: leaf, success, "healthy" flags. OK as text on Pith (4.8:1) */
  --tg-ink: #2A1A10;            /* "Peel ink": body text, primary buttons, the tangent line */
  --tg-pith: #FFF6EC;           /* page background */
  --tg-surface: #FFFFFF;        /* cards */
  --tg-line: #E8D6C2;           /* hairline borders, unselected chips */

  /* Semantic roles */
  --tg-bg: var(--tg-pith);
  --tg-text: var(--tg-ink);
  --tg-text-muted: #6B5646;
  --tg-primary-bg: var(--tg-ink);       /* main CTA */
  --tg-primary-fg: var(--tg-pith);
  --tg-selected-bg: var(--tg-tangerine); /* chips/toggles; text on it is Ink (5.5:1), never white (3.1:1) */
  --tg-selected-fg: var(--tg-ink);

  /* Type */
  --tg-font: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --tg-weight-regular: 400;
  --tg-weight-semibold: 600;
  --tg-weight-heavy: 800;       /* headings and the wordmark */
  --tg-tracking-tight: -0.02em; /* headings */
  --tg-tracking-wordmark: -0.04em;

  /* Shape: soft squares for controls; circles are reserved for the brand */
  --tg-radius-control: 10px;    /* chips, inputs, small buttons */
  --tg-radius-button: 12px;     /* main CTA */
  --tg-radius-card: 20px;
  --tg-radius-sheet: 28px;
  --tg-tap: 44px;               /* minimum touch target */
}
