/* Shared visual tokens for articlescore.com and app.articlescore.com.
   Landing and app both load this file so color, type, and radius stay in sync. */

:root {
  --bg: #f9f8f7;
  --paper: #ffffff;
  --ink: #050505;
  --muted: #5e5b57;
  --faint: #8a8681;
  --line: rgba(5,5,5,.08);
  --soft: #f3f1ef;
  --fill: #050505;
  --on-fill: #fcfcfc;
  --fill-hover: #222;
  --accent: #050505;
  --demo-ok: #1f7a4d;
  --demo-warn: #a15c00;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(20,16,12,.04), 0 12px 32px rgba(20,16,12,.06);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --doc: Arial, "Helvetica Neue", sans-serif;

  /* App aliases mapped onto the landing system */
  --desk: var(--bg);
  --rail: var(--soft);
  --rail-text: var(--ink);
  --mute: var(--muted);
  --hair: var(--line);
  --rule: var(--line);
  --tungsten: var(--accent);
  --serif: var(--doc);
  --holds: var(--demo-ok);
  --shaky: var(--demo-warn);
  --counter: #b42318;
  --fails: #b42318;
}

html[data-theme="dark"] {
  --bg: #0e2439;
  --paper: #122b44;
  --ink: rgba(235,235,235,.88);
  --muted: #848c97;
  --faint: #7e8a9c;
  --line: #1f364d;
  --soft: #1f364d;
  --fill: #d6a22d;
  --on-fill: #37404a;
  --fill-hover: #edc835;
  --accent: #d6a22d;
  --demo-ok: #7dcea0;
  --demo-warn: #f0c674;
  --shadow: 0 1px 2px rgba(0,0,0,.28), 0 14px 34px rgba(0,0,0,.32);
  --counter: #f6aea9;
  --fails: #f6aea9;
}
