/* RematesDB design tokens.
 *
 * The single source of truth for the visual system shared by the
 * public apex and the customer portal. Surfaces consume these
 * variables and add only their own layout rules on top; a value that
 * more than one surface needs belongs here.
 *
 * Direction: the standard developer-API surface, played straight.
 * A neutral cool paper ground, one accent reserved for live state
 * (a fresh ingestion, an active key, a consumed quota), and the
 * material of code and data: monospace for identifiers and scopes,
 * tabular numerals for quotas, counters and dates.
 */

:root {
  /* Ground and ink ------------------------------------------------ */
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-surface-muted: #eef1f5;
  --color-border: #dde2e9;
  --color-border-strong: #b9c2cd;
  --color-text: #12171f;
  --color-text-muted: #55606e;
  --color-text-faint: #7b8593;
  --color-text-inverse: #f7f9fb;

  /* Live state. Never decorative. */
  --color-accent: #0e7490;
  --color-accent-strong: #0b5a70;
  --color-accent-soft: #e0f2f7;
  --color-danger: #a4262c;
  --color-danger-soft: #fbeaea;

  /* Dark chrome: nav CTA, code blocks, brand mark. */
  --color-ink: #101720;
  --color-ink-muted: #9aa5b1;

  /* Type ---------------------------------------------------------- */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.3125rem;
  --text-xl: 1.625rem;
  --text-2xl: 2.125rem;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;

  /* Space --------------------------------------------------------- */
  --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;

  /* Shape and depth ----------------------------------------------- */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 23, 31, 0.06),
    0 1px 3px rgba(18, 23, 31, 0.08);
  --shadow: 0 2px 4px rgba(18, 23, 31, 0.05),
    0 8px 20px rgba(18, 23, 31, 0.07);

  /* Measure and rhythm -------------------------------------------- */
  --width-content: 72rem;
  --width-prose: 68ch;
  --width-code: 44rem;
}
