/* tokens — design variables. Declared in @layer tokens; the themes layer overrides them. */
@layer reset, tokens, base, layout, ui, pages, overlays, themes, motion;

@layer tokens {
  :root {
    color-scheme: dark;
    --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

    /* surfaces: a dark ink-blue base with raised "plates" */
    --bg: #0b1020;
    --plate: #1a2340;
    --plate-hi: #232f55;
    --plate-lo: #121a33;
    --edge: #080c1a;
    --rim: rgba(255, 255, 255, .09);
    --line: rgba(160, 185, 255, .16);
    --scrim: rgba(4, 7, 16, .72);

    /* text */
    --ink: #f4f7ff;
    --ink-2: #b6c2e6;
    --ink-3: #8593bd;

    /* signal colours (fills) and their readable text variants (ink-*) */
    --buy: #3ddc84;
    --buy-edge: #17934f;
    --buy-ink: #05311a;
    --hot: #ff8a3d;
    --hot-edge: #c2490b;
    --hot-ink: #3a1200;
    --core: #a78bff;
    --core-edge: #6a49d6;
    --core-ink: #1c0b52;
    --dust: #ffe27a;
    --dust-ink: #ffe27a;
    --info: #5cc8ff;
    --info-ink: #7fd6ff;
    --good-ink: #5ee39a;
    --bad: #ff5d7a;
    --bad-ink: #ff8aa0;
    --core-text: #c9b8ff;

    /* region identity colours (fixed by the brief) */
    --r-core: #f0c069;
    --r-industry: #7fd8c8;
    --r-overload: #f08a8a;
    --r-deep: #a99bff;

    /* tier colours for the six generators */
    --t1: #5b8cff;
    --t2: #2ec4d6;
    --t3: #3ddc84;
    --t4: #ffb938;
    --t5: #a78bff;
    --t6: #ff6b9d;

    /* shape, depth, motion */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --depth: 4px;
    --shadow-pop: 0 18px 44px -14px rgba(0, 0, 0, .75);
    --ease: cubic-bezier(.2, .8, .25, 1);

    /* chrome sizes */
    --hud-h: 56px;
    --dock-h: 58px;
    --nav-h: 62px;
  }
}
