/* aiprivat.ro design tokens — draft D1.
   One brand, two materials:
   - Dezvoltatori = the GPU board: solder-mask green, copper traces, white silkscreen.
   - Business     = the office file: cool paper, dark ink, violet-blue stamp ink.
   Type: Archivo (variable width, used condensed for display) + Martian Mono for every figure. Both self-hosted. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-ext.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font-display: "Archivo", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-data: "Martian Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  --step--2: 0.72rem;
  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 5rem;

  --radius: 3px;
  --tap: 44px;
  --max: 1220px;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Dezvoltatori: the board ---------- */
[data-theme="dev"] {
  color-scheme: dark;
  --bg: #0b1c16;            /* solder mask */
  --bg-2: #0f241d;
  --surface: #11281f;
  --surface-2: #163127;
  --surface-3: #1c3b2f;
  --line: #264a3c;          /* silkscreen outline, dim */
  --line-strong: #3b6a57;
  --text: #e8eee4;          /* silkscreen white */
  --muted: #93aa9d;
  --accent: #d08a4c;        /* copper */
  --accent-strong: #eaa66a;
  --accent-ink: #1a0f06;
  --via: rgba(208, 138, 76, 0.16);
  --ok: #9ef0b8;  --ok-bg: rgba(158, 240, 184, 0.10);
  --good: #c9e8b0; --good-bg: rgba(201, 232, 176, 0.08);
  --warn: #f2b857; --warn-bg: rgba(242, 184, 87, 0.12);
  --bad: #ff8a78; --bad-bg: rgba(255, 138, 120, 0.10);
  --cell-empty: #1d3a2f;
  --cell-on: #d08a4c;
  --cell-spill: #f2b857;
  --cell-over: #ff8a78;
  --focus: #eaa66a;
}

/* ---------- Business: the file ---------- */
[data-theme="business"] {
  color-scheme: light;
  --bg: #eceee9;            /* cool office paper */
  --bg-2: #e4e7e1;
  --surface: #fbfbf9;       /* a clean sheet */
  --surface-2: #f3f4f0;
  --surface-3: #e7e9e3;
  --line: #d3d7cf;
  --line-strong: #b3b9ae;
  --text: #171c27;          /* ink */
  --muted: #4f5767;
  --accent: #3b3aa8;        /* stamp ink, violet-blue */
  --accent-strong: #2d2c8c;
  --accent-ink: #ffffff;
  --via: rgba(59, 58, 168, 0.08);
  --ok: #1d6f47;  --ok-bg: #e3f1e8;
  --good: #1d6f47; --good-bg: #edf5ef;
  --warn: #9a5700; --warn-bg: #fbf0df;
  --bad: #ac2a20; --bad-bg: #fbe9e7;
  --cell-empty: #dfe2db;
  --cell-on: #3b3aa8;
  --cell-spill: #c98a2b;
  --cell-over: #ac2a20;
  --focus: #3b3aa8;
}
