/* Brand tokens. The ONLY place for colours, fonts and the logo size. Source: Arcaio Bowling Brand Book v1.1 (Drive: Arcaio Bowling > 02_Brand).
   Burgunder #5A2233 · Rav #E6A43C · Cream #F4EFE4 · Midnatt #182A46 · Charcoal #1A1A1A · Arcaio-teal #48A395. Flat colours only, never pure white or black.
   Contrast rules (brand book section 3, verified): amber (--color-amber) is for text and UI ONLY on burgunder or midnatt, never on cream (1.9:1).
   Teal is a flat shape/icon accent only, never text on cream (2.6:1). A late logo or palette swap means editing this file and the files in assets/img/. */
:root {
  color-scheme: light;
  --color-bg: #f4efe4;
  --color-surface: #faf6ec;
  --color-surface-alt: #ebe4d3;
  --color-text: #1a1a1a;
  --color-muted: #4d4743;
  --color-line: #d9d0bd;
  --color-control-border: #766b64;
  --color-accent: #5a2233;           /* burgunder: primary action and headings accent on cream */
  --color-accent-contrast: #f4efe4;
  --color-accent-soft: #eadbd6;
  --color-focus: #1a5fd0;
  --color-danger: #9b1c1c;
  --color-ok: #1f6b3a;

  --color-dark: #182a46;             /* midnatt: dark sections */
  --color-dark-2: #5a2233;           /* burgunder as dark section */
  --color-on-dark: #f4efe4;
  --color-on-dark-muted: #d9d2c4;
  --color-amber: #e6a43c;            /* rav: ONLY on dark/burgunder (text, buttons, ball) */
  --color-on-amber: #1a1a1a;
  --color-teal: #48a395;             /* flat accent only (shapes, icons) */
  --color-focus-on-dark: #f4efe4;

  --color-lane: #2c456b;             /* flat tint of midnatt for the lane drawing */
  --color-lane-edge: #223958;
  --color-pin: #f4efe4;
  --color-placeholder-a: #ebe4d3;
  --color-placeholder-b: #d9d0bd;
  --color-todo-bg: #fff3b0;
  --color-todo-text: #4a3b00;
  --color-todo-line: #b38f00;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --logo-width: 168px;               /* brand book: logo at least 120 px wide, clearspace at least the ball diameter */
}
/* Fonts per the brand book: Fraunces (headings) and Inter (body and UI). Both open-licence (SIL OFL 1.1), self-hosted, no Google Fonts request. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/assets/fonts/fraunces-variable-latin.woff2") format("woff2"); }
