/* CØNEXUS design tokens. Approved palette (specification section 2): background #0D0E12, cards #1E2026, borders #2D3139,
   purple #6320EE, neon blue #1A53FF, bronze #A68A42. Text tints are derived and checked for contrast (see docs/DESIGN.md). */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-display-700.woff") format("woff"); }

:root {
  color-scheme: dark;

  /* approved palette */
  --bg: #0D0E12;
  --card: #1E2026;
  --line: #2D3139;
  --purple: #6320EE;
  --blue: #1A53FF;
  --bronze: #A68A42;
  --steel: #8E9AA6;

  /* derived surfaces */
  --bg-2: #12141A;          /* panels between page and card */
  --card-2: #262932;        /* hover / raised */
  --line-2: #3A404B;        /* stronger border */
  --overlay: rgba(6, 7, 10, .72);

  /* text */
  --text: #F3F4F7;
  --text-2: #C4C9D2;
  --muted: #8E9AA6;        /* 7.2:1 on --bg, 5.9:1 on --card */
  --on-accent: #FFFFFF;

  /* accent used as TEXT (the raw purple/blue are too dark to read on the dark page) */
  --purple-text: #A98BFF;
  --blue-text: #7C9CFF;
  --bronze-text: #C9AE63;

  /* status */
  --ok: #3DD6A0;
  --warn: #F2B84B;
  --bad: #FF6B7A;
  --info: #7C9CFF;

  /* chain colours (labels only) */
  --chain-base: #3B82FF;
  --chain-ethereum: #8C9CFF;
  --chain-solana: #B07CFF;

  /* shape and motion */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --glow-purple: 0 0 0 1px rgba(99, 32, 238, .55), 0 0 28px rgba(99, 32, 238, .28);
  --glow-blue: 0 0 0 1px rgba(26, 83, 255, .55), 0 0 28px rgba(26, 83, 255, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* layout */
  --hdr-h: 68px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}
