/* ------------------------------------------------------------------
   AITourPilot — colour and type tokens
   Approved 2026-08-23. Rules and contrast table: ./DESIGN_SYSTEM.md
   ------------------------------------------------------------------ */
:root {
  /* GROUNDS — gallery wall colours */
  --limewash:  #F2F1EC;  /* the default ground        */
  --clay:      #E5D9CE;  /* warm tinted ground        */
  --grisaille: #C7D3D9;  /* cool tinted ground        */
  --sage:      #D3DDCA;  /* green tinted ground       */
  --hall:      #38505E;  /* dark ground — keep it rare */
  --forest:    #35544B;  /* dark green ground, same weight as --hall (L 7.6% vs 7.4%) */

  /* TEXT */
  --ink:             #22201C;
  --ink-soft:        #5C5A53;
  --ink-onDark:      #EDEDE6;
  --ink-onDark-soft: #B6C6CE;

  /* ACCENT — one job only, decided per project */
  --accent:        #8A3324;
  --accent-onDark: #EDBBA4;  /* required on --hall; #8A3324 is 1.04:1 there — invisible */

  /* LINES */
  --rule:        #DAD7CE;
  --rule-onDark: #526976;

  /* TYPE — set font-optical-sizing: auto so Literata's opsz axis works */
  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --sans:  "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --measure: 34rem;   /* ~62 characters at 17px */
  --radius:  14px;

  /* SPACING — every vertical gap is one of these six steps. Rules, and the
     reason they are one-sided, are in SPACING.md. Do not add a seventh. */
  --s1:  8px;   /* inside a component: a title from its own text       */
  --s2: 12px;   /* a label from the thing it labels                    */
  --s3: 16px;   /* paragraph to paragraph                              */
  --s4: 24px;   /* a heading from its text; padding inside a card      */
  --s5: 32px;   /* the next component in a sequence                    */
  --s6: 48px;   /* a block that interrupts the reading                 */
}

/* Verified contrast (WCAG 2.1) — all AA for normal text:
   ink/limewash 14.38 · ink-soft/limewash 6.10 · ink/clay 11.73
   ink/grisaille 10.65 · accent/limewash 7.20 · accent/clay 5.87
   accent/grisaille 5.33 · onDark/hall 7.21 · onDark-soft/hall 4.83
   accent-onDark/hall 4.94.  Calculate any new pairing; do not estimate. */
