/* fyouf design tokens: shared source of truth for CSS variables. */

:root {
  /* Brand book palette */
  --brand-violet-deep: #6A19DA;
  --brand-violet: #8E24AA;
  --brand-orchid: #AB47BC;
  --brand-blue: #4285F5;
  --brand-sky: #81D4FA;
  --brand-gradient: linear-gradient(90deg, #6A19DA 0%, #8E24AA 27%, #AB47BC 48%, #4285F5 76%, #81D4FA 100%);
  --brand-conic: conic-gradient(from 210deg, #6A19DA 0deg, #8E24AA 72deg, #AB47BC 142deg, #4285F5 238deg, #81D4FA 318deg, #6A19DA 360deg);

  --purple: var(--brand-violet-deep);
  --purple-light: var(--brand-orchid);
  --purple-soft: rgba(106, 25, 218, 0.08);

  /* Surfaces */
  --bg: #faf9fc;
  --bg-alt: #f3f0fa;
  --surface: rgba(255, 255, 255, 0.82);

  /* Text */
  --ink: #111116;
  --fg: #111116;
  --muted: rgba(17, 17, 22, 0.58);
  --dim: rgba(17, 17, 22, 0.34);

  /* Lines */
  --line: rgba(106, 25, 218, 0.09);
  --line-strong: rgba(106, 25, 218, 0.16);

  /* Shadows */
  --shadow: 0 18px 54px rgba(106, 25, 218, 0.08), 0 2px 8px rgba(17, 17, 22, 0.04);
  --shadow-hover: 0 24px 72px rgba(106, 25, 218, 0.13), 0 4px 14px rgba(17, 17, 22, 0.06);

  /* Semantic */
  --success: #1d8f6f;
  --warning: #b7791f;
  --danger: #d9415d;

  /* Typography */
  --font-sans: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'JetBrains Mono', monospace;

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

  --icon-scale: 1;
}

html[data-theme="dark"] {
  --bg: #0e0e14;
  --bg-alt: #16161f;
  --surface: #1c1c28;
  --ink: #f0f0f5;
  --fg: #f0f0f5;
  --muted: rgba(240, 240, 245, 0.62);
  --dim: rgba(240, 240, 245, 0.36);
  --line: rgba(240, 240, 245, 0.10);
  --line-strong: rgba(240, 240, 245, 0.18);
  --purple: #8e5cff;
  --purple-light: #81D4FA;
  --purple-soft: rgba(106, 25, 218, 0.22);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0, 0, 0, 0.45);
}
