/* ============================================================
   DIKA/OS — design tokens
   Single source of truth for colour, type, spacing and motion.
   Palette is drawn from the Themis artwork: warm gold on near-black.
   ============================================================ */

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("../assets/fonts/dm-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("../assets/fonts/dm-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --bg: #07090d;
  --bg-deep: #05070a;
  --surface: #0f1319;
  --surface-2: #0b0f15;
  --surface-3: #151a22;

  /* accent — the gold in the Themis artwork */
  --accent: #d9ad55;
  --accent-strong: #f3cf78;
  --accent-dim: rgba(217, 173, 85, 0.12);
  --accent-glow: rgba(217, 173, 85, 0.22);

  /* kept as an alias so older rules keep reading correctly */
  --law: #d9ad55;
  --law-dim: rgba(217, 173, 85, 0.12);

  /* text */
  --text: #f7f5f0;
  --muted: #a9a69d;
  --dim: #8a8880;

  /* lines */
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --line: var(--border-soft);

  /* status */
  --ok: #7ce293;
  --warn: #e8c67a;
  --steel: #8fb8d9;
  --violet: #b9a7e0;
  --idle: #8b939e;
  --info: #b9a7e0;

  /* type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* geometry */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --max: 1240px;
  --gutter: 48px;
  --header-h: 72px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.15, 0.75, 0.35, 1);
  --dur: 0.5s;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
    --header-h: 64px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
  }
}
