/* BitBuddy design tokens — dark, restrained, high-contrast product UI. */
:root {
  /* Canvas */
  --color-bg: #0b0e11;
  --color-surface: #12161c;
  --color-surface-2: #181d25;
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-surface-inset: #0e1218;
  --color-highlight: rgba(255, 255, 255, 0.055);

  /* Text */
  --color-text: #e8eef4;
  --color-text-secondary: #9aa8b7;
  --color-text-muted: #6d7b8a;

  /* Primary teal — dark enough for white label text (WCAG AA) */
  --color-primary: #0e7c86;
  --color-primary-hover: #0a656d;
  --color-primary-active: #08545b;
  --color-on-primary: #ffffff;
  --color-accent: #3ecfdb;
  --color-primary-muted: rgba(14, 124, 134, 0.2);

  /* Warning / secondary — amber, not neon orange */
  --color-warning: #d97706;
  --color-warning-text: #f3c57a;
  --color-danger: #e85d4c;
  --color-success: #2f9e7a;
  --color-up: #3dd68c;
  --color-down: #f07167;

  /* Type — denser product scale */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-md: 0.9375rem;
  --font-size-lg: 1.0625rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.75rem;
  --font-size-3xl: 2.25rem;
  --line-height-body: 1.55;
  --line-height-tight: 1.2;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-card:
    inset 0 1px 0 var(--color-highlight),
    0 10px 28px rgba(0, 0, 0, 0.36);
  --shadow-card-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.42);
  --shadow-focus: 0 0 0 3px var(--color-primary-muted);

  /* Illustrations stay secondary to content */
  --illustration-max-width: 16rem;
  --illustration-max-height: 14rem;
  --illustration-muted-size: 7.5rem;
}
