/*
 * Brand theme of the public front (landing pages and the game's code-entry step).
 * Provisional: every value here is meant to be changed; docs/landing.md says how.
 * Served as /static/brand/theme.css. api/landing/tests/test_theme.py checks the text
 * pairs below for WCAG 2.1 AA contrast, so a change that breaks AA fails the tests.
 */
:root {
  /* Text and surfaces */
  --brand-text: #272626;          /* charcoal; 15.0:1 on white */
  --brand-muted: #5c5b5b;         /* secondary text; 6.8:1 on white */
  --brand-bg: #ffffff;
  --brand-surface: #f5f6f8;       /* quiet panels */
  --brand-line: #d0d0d0;          /* decorative rules only: 1.5:1, below the 3:1 needed for controls */
  --brand-control-border: #767676; /* input and control outlines; 4.5:1 on white */

  /* Accent */
  --brand-accent: #2f5aae;        /* deep blue; 6.6:1 on white, for links and buttons */
  --brand-accent-strong: #234684; /* hover and pressed */
  --brand-on-accent: #ffffff;

  /* Hero band */
  --brand-hero-bg: #14213d;       /* dark navy */
  --brand-hero-text: #ffffff;     /* 16.0:1 on the navy */
  --brand-hero-muted: #c9d3e6;    /* 10.6:1 on the navy */
  --brand-hero-line: #5a6a8c;     /* decorative lines in the band */

  /* Focus ring (WCAG 2.4.7) */
  --brand-focus: #2f5aae;
  --brand-focus-on-dark: #ffffff;

  /* Notices */
  --brand-draft-bg: #fff4e0;
  --brand-draft-border: #a15c00;
  --brand-draft-text: #5c3400;    /* 9.9:1 on the draft background */

  /* Type: self-hosted Inter and Literata (OFL 1.1), Latin and Greek */
  --brand-font-sans: "HEX Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand-font-serif: "HEX Serif", Georgia, serif;

  --brand-radius: 4px;
  --brand-measure: 40rem;         /* line length of running text */
  --brand-page: 68rem;            /* page width */
}
