/* Design tokens: custom properties on :root only, no selectors for elements
   or classes. Components and pages use these instead of literal values. */

:root {
  /* Spacing: margins, paddings and gaps. The steps match Bulma's spacing
     helpers, so ported markup maps directly (mb-4 → --space-4). */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 3rem;

  /* Fonts: display is for page titles, body for everything else. Cuprum is
     loaded in bold (700) only, Source Sans 3 in 200–900 with italics
     (fonts.css). */
  --font-display: "Cuprum", sans-serif;
  --font-body: "Source Sans 3", sans-serif;

  /* Colors: brand */
  --color-primary: #0F8B5F;
  --color-primary-dark: #0B6B49;
  --color-primary-deep: #193B22;
  --color-primary-tint: #E4F3EC;
  --color-accent: #FFB70F;
  /* Accent on white as light as primary-tint is primary (~11%). */
  --color-accent-tint: #FFF7E5;
  /* Hovered accent button (design 9a). */
  --color-accent-dark: #C98900;

  /* Colors: text */
  --color-heading: #193B22;
  --color-text: #4D4D4D;
  --color-muted: #7A7A7A;
  --color-link: #2563EB;

  /* Colors: status */
  --color-destructive: #B83232;
  /* Destructive on white as light as primary-tint is primary. */
  --color-destructive-tint: #FBE9E9;
  /* Hovered destructive button (design 9a). */
  --color-destructive-dark: #8F2727;

  /* Colors: surfaces and borders */
  --color-surface: #FFFFFF;
  --color-background: #F7F7F7;
  /* Gray fill on white, e.g. the header's social icons on hover. */
  --color-surface-muted: #EFEFEF;
  --color-border: #E3E3E3;
  /* A darker border, for hovered controls (design 13a). */
  --color-border-strong: #B5B5B5;

  /* Colors: focus */
  /* Keyboard focus ring around anything focusable: the links' blue, as on
     focused inputs in the design (13a). */
  --color-focus-ring: #2563EB;
  /* Buttons' rings, a light tint of each button's color (design 9a): green,
     gold and red buttons. */
  --color-focus-ring-primary: #7FCBAA;
  --color-focus-ring-accent: #FFD873;
  --color-focus-ring-destructive: #E8A0A0;
  /* Neutral buttons' ring: the links' blue halfway to white. */
  --color-focus-ring-neutral: #92B1F5;
}
