/* Junoa Bright tokens for the web. Light only, by decision (design-tokens/JUNOA_BRIGHT.md).
   Hex values mirror waypoint-app src/theme/tokens.js. test/contrast.test.mjs pins them. */
:root {
  color-scheme: light;

  /* Grounds */
  --paper: #F5F7FA;
  --card: #FFFFFF;

  /* Ink. --ink-3 is for hairlines and icons only. It measures 2.85:1 on --paper and fails AA as text. */
  --ink: #0F1115;
  --ink-2: #576070;
  --ink-3: #8B94A3;

  /* Action: every button, link and active state. */
  --action: #1257F0;
  --action-pressed: #0E45C4;
  --action-tint: #E9F0FE;

  /* Fork: lineage and forking, nothing else. Selectors that use these must contain "fork". */
  --fork: #7A3BF5;
  --fork-tint: #F1EAFE;

  /* Semantic. --success is #017A4A: the spec value #00A264 measures 3.31:1 and fails AA. */
  --success: #017A4A;
  --success-tint: #E4F7EF;
  --danger: #D92D20;

  /* Structure */
  --rule: #E5E9EF;
  --rule-soft: #EFF2F6;

  /* Foregrounds on a filled ground */
  --on-action: #FFFFFF;
  --on-fork: #FFFFFF;

  /* Shape: the 8/12/16/22/pill step */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Two-layer soft shadows, ink coloured */
  --shadow-card: 0 5px 14px rgb(15 17 21 / 0.07);
  --shadow-sheet: 0 10px 26px rgb(15 17 21 / 0.1);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-xxl: 28px;
  --space-xxxl: 40px;

  /* Press feedback: scale(0.97) over 140ms. Easing control points from motion.easeOut. */
  --press-ms: 140ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
