/* ConquerStyles brand tokens: one source for the public site (site/web), the workspace (site/app) and the owner console (site/admin).
   Family look: ink ground, house orange, Bruno Ace for the wordmark only. Headlines Bricolage Grotesque, body Instrument Sans, JetBrains Mono for code.
   Dark is the direction; light is a toggle (html[data-theme="light"]). Fonts live in site/shared/fonts and are served from /fonts/ (the app build rewrites the path).
   The orange gradient is the ONE signature effect: hero glows, the primary button and the focus ring. Nothing else uses it. */
@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  /* brand constants */
  --orange: #c24e00;          /* fill and the light-mode mark */
  --orange-mark-dark: #ee6000;/* the mark on dark */
  --orange-ink: #a84400;      /* small orange text on light */
  --orange-hi: #ff9a4d;
  --ink: #171d26;
  --paper: #f4f5f8;
  --fg-dark: #e4e9f0;
  --grad: linear-gradient(160deg, #ff9a4d 0%, #ee6000 62%, #c24e00 100%);
  --grad-soft: radial-gradient(70% 90% at 88% 0%, rgba(238, 96, 0, .5), rgba(194, 78, 0, .14) 46%, transparent 72%);
  --r: 14px;
  --font-d: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-b: "Instrument Sans", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* dark (default) */
  --background: #12161d;
  --surface: #171d26;
  --foreground: #e4e9f0;
  --card: #171d26;
  --card-2: #1e2531;
  --sunken: #0f131a;
  --primary: #ee6000;
  --primary-foreground: #171d26;
  --cs-signal: #ee6000;
  --accent-ink: #ff9a4d;       /* small orange text */
  --mark: #ee6000;
  --ring: #ff9a4d;
  --border: rgba(228, 233, 240, .10);
  --border-2: rgba(228, 233, 240, .20);
  --muted: #a7b1c0;
  --faint: #8b96a7;
  --soft: #c3cbd7;
  --cobalt: #9db0cf;           /* neutral slate: informational, never a second brand colour */
  --good: #6fd9a0;
  --bad: #ff8f84;
  --warn: #f3c969;
  --wash-1: rgba(255, 255, 255, .04);
  --wash-2: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  --code-bg: #0f131a;
  --code-fg: #d7dee9;
  --code-key: #ffb27a;
  --code-str: #8fe0c0;
  --scrim: rgba(18, 22, 29, .94);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --background: #f4f5f8;
  --surface: #ffffff;
  --foreground: #171d26;
  --card: #ffffff;
  --card-2: #ebedf2;
  --sunken: #e8ebf1;
  --primary: #c24e00;
  --primary-foreground: #171d26;
  --cs-signal: #c24e00;
  --accent-ink: #a84400;
  --mark: #c24e00;
  --ring: #c24e00;
  --border: rgba(23, 29, 38, .12);
  --border-2: rgba(23, 29, 38, .24);
  --muted: #4b5666;
  --faint: #5d6878;
  --soft: #333c4a;
  --cobalt: #3d5a88;
  --good: #14744a;
  --bad: #b3261e;
  --warn: #8a5a00;
  --wash-1: rgba(23, 29, 38, .04);
  --wash-2: rgba(23, 29, 38, .07);
  --shadow: 0 18px 40px -24px rgba(23, 29, 38, .35);
  --code-bg: #171d26;
  --code-fg: #d7dee9;
  --code-key: #ffb27a;
  --code-str: #8fe0c0;
  --scrim: rgba(244, 245, 248, .95);
  color-scheme: light;
}
