:root {
  /* Base smoky palette */
  --color-bg: #0B0B0F;
  --color-bg-deep: #06060A;
  --color-surface-1: #15151C;
  --color-surface-2: #1E1E27;
  --color-surface-3: #2A2A36;
  --color-border: #2F2F3D;
  --color-border-strong: #3E3E50;

  /* Text */
  --color-text: #F5F5F7;
  --color-text-muted: #A1A1B3;
  --color-text-dim: #6B6B7F;

  /* Ember accents (brand) */
  --color-ember: #FF6B2B;
  --color-ember-strong: #FF8548;
  --color-ember-deep: #D94E15;
  --color-ember-glow: rgba(255, 107, 43, 0.35);
  --color-ember-soft: rgba(255, 107, 43, 0.12);

  /* Method badges */
  --color-low-slow: #C77430;
  --color-low-slow-bg: rgba(199, 116, 48, 0.15);
  --color-hot-fast: #E23E2B;
  --color-hot-fast-bg: rgba(226, 62, 43, 0.15);

  /* Heat */
  --color-direct: #F2B33C;
  --color-indirect: #6B8AFE;

  /* Semantic */
  --color-success: #3ECF8E;
  --color-warning: #F2B33C;
  --color-danger: #E5484D;
  --color-info: #6B8AFE;

  /* Carb badge scale */
  --color-carb-low: #3ECF8E;
  --color-carb-mid: #F2B33C;
  --color-carb-high: #E5484D;

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse at 50% 0%, #2A1F1A 0%, #15151C 40%, #0B0B0F 80%);
  --gradient-ember: linear-gradient(135deg, #FF6B2B 0%, #E23E2B 100%);
  --gradient-ember-soft: linear-gradient(135deg, rgba(255,107,43,0.2) 0%, rgba(226,62,43,0.1) 100%);
  --gradient-card: linear-gradient(180deg, #1A1A22 0%, #15151C 100%);
  --gradient-card-hover: linear-gradient(180deg, #20202A 0%, #18181F 100%);
  --gradient-smoke: linear-gradient(180deg, rgba(255,107,43,0.08) 0%, rgba(0,0,0,0) 60%);
  --gradient-tube: linear-gradient(180deg, #E23E2B 0%, #FF6B2B 30%, #F2B33C 60%, #4A90E2 100%);

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, monospace;

  --fs-hero: clamp(2.25rem, 5vw + 1rem, 4rem);
  --fs-h1: clamp(1.75rem, 3vw + 1rem, 2.75rem);
  --fs-h2: 1.5rem;
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-loose: 1.7;

  /* Spacing (4px scale) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows (dark-aware) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
  --shadow-ember: 0 8px 32px var(--color-ember-glow);
  --shadow-ember-strong: 0 12px 48px rgba(255, 107, 43, 0.5);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
  --dur-slow: 480ms;

  /* Layout */
  --max-content: 1280px;
  --header-h: 72px;
  --tabbar-h: 68px;
  --drawer-w: 320px;
}
