/*
  Moss Board tokens
  A warm charcoal clubhouse for games of skill and patient hobbies. A fixed icon rail on the left,
  checkered boards drawn in cream and moss, chunky green buttons that press down on a solid edge,
  and amber "best move" highlights with drawn arrows. Friendly, a little competitive, very clear.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Rubik:wght@600;700;800&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --mb-page: #2C2925;
  --mb-rail: #211F1C;
  --mb-panel: #383530;
  --mb-raised: #45413B;
  --mb-line: #4D4943;
  --mb-stripe: #33302B;

  /* Text */
  --mb-text: #F3F0E8;
  --mb-dim: #B9B2A6;
  --mb-faint: #8C857A;

  /* Board */
  --mb-cream: #E9E6C9;
  --mb-moss: #6E9A4C;
  --mb-coord-on-cream: #6E9A4C;
  --mb-coord-on-moss: #E9E6C9;

  /* Accents */
  --mb-sprout: #84BA4E;
  --mb-sprout-hi: #96CB5E;
  --mb-sprout-deep: #4C7A31;
  --mb-amber: #EAA53A;
  --mb-amber-wash: rgba(234, 165, 58, 0.55);
  --mb-berry: #D8574D;
  --mb-berry-deep: #9C3530;
  --mb-slate-btn: #4A4640;
  --mb-slate-deep: #302D29;

  /* Fonts */
  --mb-display: "Rubik", "Nunito Sans", system-ui, sans-serif;
  --mb-body: "Nunito Sans", system-ui, sans-serif;
  --mb-mono: "DM Mono", ui-monospace, monospace;

  /* Type scale */
  --mb-size-hero: clamp(2.5rem, 5.4vw, 4.25rem);
  --mb-size-h2: clamp(1.9rem, 3.4vw, 2.75rem);
  --mb-size-h3: 1.3rem;
  --mb-size-lead: 1.2rem;
  --mb-size-body: 1rem;
  --mb-size-small: 0.875rem;
  --mb-size-tiny: 0.75rem;

  /* Shape */
  --mb-radius-sm: 4px;
  --mb-radius: 8px;
  --mb-radius-lg: 12px;
  --mb-radius-pill: 999px;
  --mb-press: 0 5px 0;          /* the solid bottom edge on chunky buttons, colour added per button */
  --mb-press-sm: 0 3px 0;
  --mb-shadow-card: 0 2px 0 rgba(0, 0, 0, 0.28);
  --mb-shadow-board: 0 10px 0 #1B1916, 0 24px 48px rgba(0, 0, 0, 0.45);

  /* Space */
  --mb-space-1: 4px;
  --mb-space-2: 8px;
  --mb-space-3: 12px;
  --mb-space-4: 16px;
  --mb-space-5: 24px;
  --mb-space-6: 32px;
  --mb-space-7: 48px;
  --mb-space-8: 72px;
  --mb-space-9: 104px;

  /* Layout */
  --mb-rail-width: 176px;
  --mb-content: 1120px;
}
