/* =====================================================================
   Theme — generated from site.config.mjs by build/build-theme.mjs
   ---------------------------------------------------------------------
   Do not edit this file by hand. Change site.config.mjs and rebuild:

       node build/build-theme.mjs

   Only the accent colour, the fonts and the radius come from the config;
   the neutral greys are the template's own palette.
   ===================================================================== */

:root {
  --bg            : #0d0f13;
  --bg-raised     : #14171d;
  --bg-overlay    : #171b22;
  --bg-input      : #0f1217;
  --border        : #252a33;
  --border-strong : #343b47;

  --text          : #e7e9ee;
  --text-dim      : #a0a7b4;
  --text-faint    : #6b7382;

  --accent        : #ff7a1a;  /* from site.config.mjs */
  --accent-soft   : #ff7a1a21;
  --accent-text   : #ffa96a;
  --accent-alt    : #ffb703;
  --accent-ink    : #ffffff;  /* text on the accent */
  --link          : #7fb2ff;

  --mark-bg       : #ff7a1a33;
  --mark-text     : #ffaf76;

  --radius:   10px;
  --radius-s: 7px;
  --shadow:   0 18px 48px rgba(0, 0, 0, .55);

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --wrap: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg            : #fbfbfc;
    --bg-raised     : #ffffff;
    --bg-overlay    : #ffffff;
    --bg-input      : #f4f5f7;
    --border        : #e3e5ea;
    --border-strong : #cfd3da;
  
    --text          : #15181d;
    --text-dim      : #545c68;
    --text-faint    : #7b8493;
  
    --accent        : #ff7a1a;  /* from site.config.mjs */
    --accent-soft   : #ff7a1a21;
    --accent-text   : #ffa96a;
    --accent-alt    : #ffb703;
    --accent-ink    : #ffffff;  /* text on the accent */
    --link          : #1a5fd0;
  
    --mark-bg       : #ff7a1a33;
    --mark-text     : #ffaf76;

    --shadow: 0 18px 48px rgba(20, 25, 35, .18);
  }
}
