/* SPDX-License-Identifier: LicenseRef-Proprietary */
/* Copyright (c) 2026 Gaiko, Inc. */
/* RatioCore Enterprise Memory — "Living memory" design language.
/* Copied from guilherme/ratiocore knowledge/frontend/src/kit (RatioCore Knowledge design system), unchanged except the font URL. */
   The palette is RatioCore's; everything else is new. */

@font-face {
  font-family: 'Inter';
  src: url('/static/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-2: #f7fbff;
  --bg-3: #eef6fd;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);

  /* lines */
  --line: #d8e4ed;
  --line-2: #e7eff6;
  --line-strong: #c9d8e6;

  /* ink */
  --ink: #1d2b3a;
  --ink-2: #33475a;
  --muted: #60758a;
  --faint: #8aa0b3;
  --ghost: #a9bccb;

  /* the one accent */
  --accent: #397fae;
  --accent-deep: #2b6690;
  --accent-ink: #1f4f73;
  --accent-soft: #eef6fd;
  --accent-line: #c6dcee;
  --accent-glow: rgba(57, 127, 174, 0.18);

  /* meaning */
  --good: #39866a;
  --good-soft: #eaf5f0;
  --good-line: #bfe0d2;
  --warn: #a87516;
  --warn-soft: #fbf4e6;
  --warn-line: #ecd6a8;
  --amber: #e3b65e;
  --bad: #b53d4c;
  --bad-soft: #fbeef0;
  --bad-line: #efc3ca;
  --violet: #7b5ea7;
  --violet-soft: #f3effa;
  --violet-line: #d9cdea;
  --teal: #1f8a8a;

  /* type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  /* shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* depth */
  --sh-1: 0 1px 2px rgba(29, 43, 58, 0.06);
  --sh-2: 0 1px 2px rgba(29, 43, 58, 0.05), 0 8px 24px -6px rgba(31, 55, 78, 0.10);
  --sh-3: 0 2px 4px rgba(29, 43, 58, 0.05), 0 24px 48px -12px rgba(31, 55, 78, 0.18);
  --sh-accent: 0 1px 2px rgba(43, 102, 144, 0.25), 0 8px 20px -6px rgba(57, 127, 174, 0.45);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* layout */
  --page-max: 1360px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --bar-h: 64px;

  color-scheme: light;
}
