/* =========================================================================
   themes.css: ALL colours of the site live here, in two independent sets.

   [data-theme="jrc"]     JRC Studio pages (/, /apps, /services, /community)
   [data-theme="knotra"]  Knotra pages (/knotra and its privacy, delete-data and terms pages)

   Each page picks one set on <html data-theme="...">, so changing a Knotra value never
   touches JRC Studio, and the other way round. site.css uses only these variables.
   The JRC set has a light page plus a dark "on-dark" block for the indigo hero band;
   the Knotra set is dark everywhere.

   How to change Knotra's colours:
   1. Edit only the values inside [data-theme="knotra"] below.
   2. --bg / --bg-alt: page background and the alternating section background.
   3. --surface / --surface-hover: cards (translucent so the aurora shows through).
   4. --text / --muted: body text and secondary text (at least 4.5:1 contrast on --bg).
   5. --border: thin lines around cards and between sections.
   6. --accent: buttons, links, focus ring; --accent-ink is the text on an --accent button.
   7. --accent2 / --accent3 / --glow: aurora highlights and the soft light behind the hero.
   8. --grad-1..3: the gradient of the highlighted word in big headings.
   Then run `python build.py` and check the pages with `python serve.py`.
   Knotra's values come from the app itself (Tablica/DESIGN.md, theme.py PALETTE).
   ========================================================================= */

[data-theme="jrc"] {
  /* from the JRC Studio logo: indigo gradient, teal-to-sky open ring */
  --bg: #F6F5FF;
  --bg-alt: #EDEBFF;
  --surface: #FFFFFF;
  --surface-hover: #FBFAFF;
  --text: #17124A;
  --muted: #514C84;
  --border: #DAD7F6;
  --accent: #3D33BD;          /* logo indigo */
  --accent-ink: #FFFFFF;
  --accent2: #0E7C70;         /* logo teal, darkened for text on light */
  --accent3: #2E7FC0;         /* logo sky, darkened for text on light */
  --glow: #6A6AF0;            /* logo top-left light */
  --eyebrow: #0E7C70;
  --grad-1: #3D33BD;
  --grad-2: #4B5FD6;
  --grad-3: #0E7C70;
  --focus: #3D33BD;
  --shadow: rgb(61 51 189 / .14);
  /* hero band = the logo gradient */
  --hero-from: #6A6AF0;
  --hero-mid: #3D33BD;
  --hero-to: #160F4B;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
}
/* colours inside the indigo hero band of JRC pages */
[data-theme="jrc"] .on-dark {
  --bg: #160F4B;
  --bg-alt: #1E1660;
  --surface: rgb(255 255 255 / .08);
  --surface-hover: rgb(255 255 255 / .13);
  --text: #FFFFFF;
  --muted: #DCDBFF;
  --border: rgb(255 255 255 / .2);
  --accent: #FFFFFF;
  --accent-ink: #3D33BD;
  --accent2: #75DECF;         /* logo ring teal */
  --accent3: #63BDF6;         /* logo ring sky */
  --eyebrow: #9FE9DE;
  --grad-1: #75DECF;
  --grad-2: #63BDF6;
  --grad-3: #B9B9FF;
  --focus: #75DECF;
  --shadow: rgb(10 6 40 / .5);
}

[data-theme="knotra"] {
  /* Knotra app palette: aurora on deep navy */
  --bg: #050814;              /* app background */
  --bg-alt: #070C1C;          /* app board */
  --surface: rgb(79 195 255 / .045);
  --surface-hover: rgb(79 195 255 / .085);
  --text: #E2ECFF;
  --muted: #A3B5DC;           /* app muted #7C93C6, lightened for small text contrast */
  --border: rgb(124 147 198 / .22);
  --accent: #4FC3FF;          /* app primary */
  --accent-ink: #050814;
  --accent2: #2CE5D2;         /* aurora teal */
  --accent3: #A879FF;         /* aurora purple */
  --glow: #4FC3FF;
  --eyebrow: #7FE9DC;
  --grad-1: #2CE5D2;
  --grad-2: #4FC3FF;
  --grad-3: #A879FF;
  --focus: #4FC3FF;
  --shadow: rgb(79 195 255 / .25);
  --hero-from: #0A1229;
  --hero-mid: #050814;
  --hero-to: #120D2A;
  --danger: #FF5C7A;
  --success: #38F5A8;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
}
