﻿/* CalcMaster local design tokens */
:root {
  --cm-font-sans: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --cm-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --cm-font-size-xs: 0.8125rem;
  --cm-font-size-sm: 0.875rem;
  --cm-font-size-base: 1rem;
  --cm-font-size-lg: 1.125rem;
  --cm-font-size-xl: 1.25rem;
  --cm-font-size-2xl: 1.5rem;
  --cm-font-size-3xl: 1.875rem;

  --cm-line-height-tight: 1.2;
  --cm-line-height-base: 1.5;
  --cm-line-height-relaxed: 1.7;

  --cm-font-weight-regular: 400;
  --cm-font-weight-medium: 500;
  --cm-font-weight-semibold: 600;
  --cm-font-weight-bold: 700;

  --cm-space-0: 0;
  --cm-space-1: 0.25rem;
  --cm-space-2: 0.5rem;
  --cm-space-3: 0.75rem;
  --cm-space-4: 1rem;
  --cm-space-5: 1.25rem;
  --cm-space-6: 1.5rem;
  --cm-space-8: 2rem;
  --cm-space-10: 2.5rem;
  --cm-space-12: 3rem;
  --cm-space-16: 4rem;

  --cm-content-width: 72rem;
  --cm-calculator-width: 40rem;
  --cm-input-width: 100%;

  --cm-color-page-bg: #ffffff;
  --cm-color-surface: #f8fafc;
  --cm-color-surface-alt: #eef2ff;
  --cm-color-surface-muted: #f1f5f9;
  --cm-color-border: #d9e2ec;
  --cm-color-border-strong: #cbd5e1;
  --cm-color-text: #0f172a;
  --cm-color-text-muted: #475569;
  --cm-color-text-subtle: #64748b;
  --cm-color-primary: #f59e0b;
  --cm-color-primary-contrast: #111827;
  --cm-color-link: #1d4ed8;
  --cm-color-focus: #2563eb;
  --cm-color-success: #166534;
  --cm-color-success-bg: #dcfce7;
  --cm-color-warning: #92400e;
  --cm-color-warning-bg: #fef3c7;
  --cm-color-error: #b91c1c;
  --cm-color-error-bg: #fee2e2;
  --cm-color-info: #1d4ed8;
  --cm-color-info-bg: #dbeafe;

  --cm-radius-sm: 0.375rem;
  --cm-radius-md: 0.5rem;
  --cm-radius-lg: 0.75rem;
  --cm-radius-xl: 1rem;

  --cm-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.08);
  --cm-shadow-md: 0 6px 18px rgb(15 23 42 / 0.10);

  --cm-transition-fast: 120ms ease-in-out;
  --cm-transition-standard: 180ms ease-in-out;

  --cm-breakpoint-sm: 36rem;
  --cm-breakpoint-md: 48rem;
  --cm-breakpoint-lg: 64rem;
}
