@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

:root {
  color-scheme: light;
  /* Tredye design target: #fafbfc page, white surfaces, hairline #e2e8f0. */
  --lfc-bg: #fafbfc;
  --lfc-surface: #ffffff;
  --lfc-surface-soft: #f8fafc;
  --lfc-surface-raised: #ffffff;
  --lfc-text: #475569;
  --lfc-text-strong: #0f172a;
  --lfc-muted: #64748b;
  --lfc-muted-soft: #94a3b8;
  --lfc-border: #e2e8f0;
  --lfc-border-soft: #eef2f6;
  --lfc-primary: #4f46e5;
  --lfc-primary-hover: #4338ca;
  --lfc-primary-soft: #eef2ff;
  --lfc-secondary: #4f46e5;
  --lfc-secondary-soft: #eef2ff;
  --lfc-positive: #16a34a;
  --lfc-positive-soft: #ecfdf3;
  --lfc-negative: #dc2626;
  --lfc-negative-soft: #fef2f2;
  --lfc-warning: #b45309;
  --lfc-warning-soft: #fffbeb;
  --lfc-purple: #7c3aed;
  --lfc-neutral: #64748b;
  --lfc-neutral-soft: #f1f5f9;
  --lfc-radius: 14px;
  --lfc-radius-sm: 10px;
  --lfc-radius-lg: 18px;
  --lfc-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  --lfc-shadow-raise: 0 4px 12px rgba(15, 23, 42, 0.05);
  --lfc-font-sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --lfc-font-display:
    "Plus Jakarta Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --lfc-font-mono:
    "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --bg: var(--lfc-bg);
  --surface: var(--lfc-surface);
  --surface-2: var(--lfc-surface-soft);
  --line: var(--lfc-border);
  --line-soft: var(--lfc-border-soft);
  --ink: var(--lfc-text);
  --ink-strong: var(--lfc-text-strong);
  --muted: var(--lfc-muted);
  --muted-2: var(--lfc-muted-soft);
  --brand: var(--lfc-primary);
  --brand-ink: var(--lfc-primary);
  --brand-soft: var(--lfc-primary-soft);
  --warn: var(--lfc-warning);
  --warn-soft: var(--lfc-warning-soft);
  --danger: var(--lfc-negative);
  --up: var(--lfc-positive);
  --down: var(--lfc-negative);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1260px;
  --shadow: var(--lfc-shadow);
  --sans: var(--lfc-font-sans);
  --mono: var(--lfc-font-mono);
}
.theme-dark {
  color-scheme: dark;
  --lfc-bg: #0f172a;
  --lfc-surface: #172033;
  --lfc-surface-soft: #1c2740;
  --lfc-surface-raised: #172033;
  --lfc-text: #cbd5e1;
  --lfc-text-strong: #f1f5f9;
  --lfc-muted: #94a3b8;
  --lfc-muted-soft: #7c8ba1;
  --lfc-border: #2b3a52;
  --lfc-border-soft: #223049;
  --lfc-primary: #a5b4fc;
  --lfc-primary-hover: #c7d2fe;
  --lfc-primary-soft: #232a52;
  --lfc-positive: #4ade80;
  --lfc-positive-soft: #143b2a;
  --lfc-negative: #fca5a5;
  --lfc-negative-soft: #452226;
  --lfc-warning: #fcd34d;
  --lfc-warning-soft: #3b2f1c;
  --lfc-neutral-soft: #223049;
}
