/*
 * radio-controlled.co.uk colour tokens
 * Created 2026-11-17 from the v7 style lock (.tastemaker/style-lock.md), extended with
 * the missing roles (blue-200, line-form, success, notice backgrounds).
 * These are the only colours new or edited templates should use.
 * Contrast ratios are measured against white unless stated.
 *
 * Not deployed. Intended home: wp-content/themes/newshop-ecommerce/rcuk-tokens.css
 * (enqueued site-wide from header-rcuk7.php) and lightning-rc/app/styles/v7-tokens.css.
 */

:root {
  /* Blues */
  --blue-50:   #eaf5fd; /* tint panels, card fills. Replaces every grey panel */
  --blue-100:  #d3eafb; /* hairlines, card outlines. Decorative only */
  --blue-200:  #a9d4f5; /* hover fill on tint, selected chips. Decorative only */
  --blue-500:  #048de0; /* brand: bands, large headings, PDP buy button. 3.56, 24px+ text only */
  --blue-700:  #006ba8; /* links and small blue text. 5.72 */

  /* Navy */
  --navy:       #041c30; /* buttons, dark bands, body text on blue. 17.3 */
  --navy-hover: #0b3050; /* button hover. 13.52 */
  --on-navy:    #c9d8e6; /* secondary text on navy. 11.9 on navy */

  /* Text */
  --ink:       #111418; /* headings and primary text. 18.47 */
  --ink-2:     #3b434d; /* body copy. 10.02 */
  --mute:      #5b6672; /* captions, meta, was-prices. 5.85 */
  --line-form: #b8c4cf; /* input borders. UI only */

  /* Signal */
  --orange:     #ef5f45; /* "Just landed" and pre-order tags, navy text only (5.27). Never white text, never on blue */
  --sale:       #d3222a; /* sale prices, sale badges with white text (5.21), errors */
  --success:    #14794a; /* in stock, confirmations. 5.44 */
  --success-bg: #e6f4ec; /* success notice fill */
  --warn-bg:    #fdeee9; /* warning notice fill, navy text */

  /* Surfaces */
  --white: #ffffff;      /* page */

  /* Semantic aliases: use these in templates */
  --c-page:        var(--white);
  --c-surface:     var(--blue-50);
  --c-border:      var(--blue-100);
  --c-text:        var(--ink);
  --c-body:        var(--ink-2);
  --c-muted:       var(--mute);
  --c-link:        var(--blue-700);
  --c-brand:       var(--blue-500);
  --c-action:      var(--navy);
  --c-action-hover:var(--navy-hover);
  --c-action-text: var(--white);
  --c-price:       var(--navy);
  --c-price-sale:  var(--sale);
  --c-stock:       var(--success);
  --c-error:       var(--sale);
}

/*
 * Retired colours (found in the 2026-11-17 review) and their replacements:
 *   #0a0f1e #1a1a2e #0a2b63 #0b3b66 #0a2540 #0a1f44      -> --navy
 *   #0073aa #0077c8 #1f6fd6 #0369a8 #0a4a99              -> --blue-700 (text) / --blue-500 (fills)
 *   #1f2937 #4a5568 #6b7280 #787878 #555 #888 #999       -> --ink / --ink-2 / --mute
 *   #e9edf1 #f0f1f3 #f7f9fb #f5f5f5 (grey panels)        -> --blue-50
 *   #ff6a13 #c03d24 (orange CTAs)                        -> --navy (buttons) / --orange (tags only)
 *   #16a34a #3fdb47 (greens)                             -> --success
 *   rgb(229,57,53) #dc2626 (reds)                        -> --sale
 */

/* Shape, type and motion tokens (v7) */
:root {
  --font-body: "Rubik", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Rubik", system-ui, sans-serif;
  --r-img: 10px;
  --r-tile: 16px;
  --r-panel: 24px;
  --r-pill: 999px;
  --wrap: 1280px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}
