/*
 * Raising Superheroes brand tokens. SINGLE SOURCE for colour, type and shape.
 * Taken from the client's static landing page (landing/styles.css, 24 Nov 2026).
 * Components map their own tokens to these (e.g. --rs-cookie-bg: var(--rs-brand-ink)).
 * Change a value here and the whole site follows.
 *
 * ACCESSIBILITY RULES (WCAG 2.2 AA, measured 25 Nov 2026) - read before using a colour:
 *   white on tangerine        2.96  FAILS      -> never put white text on tangerine
 *   ink on tangerine          4.27  large only -> OK for text >= 18.66px bold or >= 24px
 *   tangerine on white        2.96  FAILS      -> never use tangerine for text on light
 *   tangerine on ink          4.27  large only -> OK for big headings, rules, shapes
 *   ink / muted / ocean on white or cream     all >= 4.9  OK
 *   light-on-ink (#d6e5e3)    9.74  OK
 *   canary on ink             6.38  OK         canary on white 2.0 FAILS (so focus ring is ink on light)
 * The logotype is exempt (WCAG 1.4.3 logotypes).
 */
:root {
  /* Brand palette (names from the landing page) */
  --rs-brand-ink: #123746;        /* primary dark: header, hero, body text */
  --rs-brand-ocean: #006873;      /* teal accent: links, small coloured text on light */
  --rs-brand-peacock: #1f4c5a;
  --rs-brand-jade: #336b47;
  --rs-brand-tangerine: #ea7600;  /* signature orange: buttons, shapes, big type on dark */
  --rs-brand-canary: #f4aa00;     /* yellow: focus ring on dark, highlights */
  --rs-brand-cream: #fff9ed;
  --rs-brand-mist: #eaf4f1;
  --rs-brand-aqua: #9bdde4;
  --rs-brand-sand: #f4d39c;
  --rs-brand-white: #ffffff;
  --rs-brand-muted: #5b7078;      /* secondary text on white/cream (>= 4.9) */
  --rs-brand-border: #dde8e5;
  --rs-brand-on-dark: #d6e5e3;    /* body text on ink (9.74) */
  --rs-brand-footer: #0b2a35;
  --rs-brand-wash: #e3f5f7;       /* testimonial / soft panel background */
  /* 28 Nov 2026 landing design (sampled from docs/website/landing-page/RS_Landing_and_Events_2026-11-28.pdf);
     used on the public pages only (home/static/home/site.css) */
  --rs-design-navy: #06354f;      /* bands, header, footer, headings */
  --rs-design-orange: #e67131;    /* header/hero buttons, tick circles */
  --rs-design-orange-bright: #ff7a1a; /* "Come and join us" button */
  --rs-design-wash: #eaf8fb;      /* testimonials band */
  --rs-design-cream: #fefcf8;     /* FAQ band */
  --rs-design-line: #9cdfea;      /* thin pale-blue rules */

  /* Semantic roles (use these in components) */
  --rs-text: var(--rs-brand-ink);
  --rs-text-muted: var(--rs-brand-muted);
  --rs-bg: var(--rs-brand-white);
  --rs-bg-soft: var(--rs-brand-cream);
  --rs-bg-dark: var(--rs-brand-ink);
  --rs-link: var(--rs-brand-ocean);
  --rs-action-bg: var(--rs-brand-tangerine);
  --rs-action-fg: var(--rs-brand-ink);     /* ink on tangerine: AA for large bold text only */
  --rs-focus: var(--rs-brand-ink);         /* focus ring on light backgrounds */
  --rs-focus-on-dark: var(--rs-brand-canary);
  --rs-danger: #a4001f;                    /* error text: 7.3 on white (not from the landing page) */
  --rs-success: var(--rs-brand-jade);

  /* Type */
  --rs-font: Roboto, Arial, "Helvetica Neue", sans-serif;
  --rs-weight-regular: 400;
  --rs-weight-medium: 500;
  --rs-weight-bold: 700;
  --rs-weight-black: 900;
  --rs-text-base: 1rem;
  --rs-leading: 1.48;
  /* Button labels must stay >= 1.17rem AND bold so ink-on-tangerine counts as "large text". */
  --rs-button-size: 1.2rem;

  /* Shape & layout */
  --rs-radius-pill: 999px;
  --rs-radius-card: 12px;
  --rs-radius-leaf: 0 88px 0 88px;         /* the landing page's signature asymmetric corners */
  --rs-radius-leaf-flip: 88px 0 88px 0;
  --rs-max: 1180px;
  --rs-gutter: 48px;
  --rs-header-height: 84px;
  --rs-shadow-card: 0 20px 45px #12374620;
}
