/**
 * Node77 · Aurora Light — design tokens
 */

:root {
  --font-display: "Outfit", "Space Grotesk", system-ui, sans-serif;
  --font-sans: "DM Sans", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: clamp(2.25rem, 5vw, 3.5rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-lumen: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 520ms;

  --brand-cyan: #06b6d4;
  --brand-indigo: #6366f1;
  --brand-violet: #8b5cf6;
  --brand-magenta: #ec4899;
  --brand-amber: #f59e0b;

  --accent-brand: #4f46e5;
  --accent-hover: #4338ca;
  --accent-muted: rgba(79, 70, 229, 0.08);
  --accent-glow: rgba(99, 102, 241, 0.35);

  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #6366f1 48%, #a855f7 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(168, 85, 247, 0.08) 100%);
  --gradient-warm: linear-gradient(135deg, #f472b6 0%, #818cf8 50%, #22d3ee 100%);
  --gradient-text: linear-gradient(135deg, #0f172a 0%, #4f46e5 45%, #db2777 100%);

  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.1);

  --content-max: 76rem;
  --header-height: 68px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(79, 70, 229, 0.12);
  --shadow-glow: 0 8px 32px rgba(99, 102, 241, 0.25);

  --inset-rim: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --inset-rim-deep: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(15, 23, 42, 0.04);
  --lumen-focus-ring: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.35);
}

html.theme-light {
  color-scheme: light;

  --lumen-void: #f4f7ff;
  --lumen-graphite: #eef2ff;
  --lumen-panel: #ffffff;
  --lumen-slate: #e2e8f0;
  --lumen-hairline: rgba(15, 23, 42, 0.08);
  --lumen-hairline-strong: rgba(15, 23, 42, 0.14);
  --lumen-muted: #64748b;
  --lumen-foreground: #0f172a;
  --lumen-glow: #1e293b;

  --bg-base: var(--lumen-void);
  --bg-elevated: var(--lumen-graphite);
  --bg-surface: var(--lumen-panel);
  --bg-surface-hover: #f8fafc;
  --text-primary: var(--lumen-foreground);
  --text-secondary: var(--lumen-muted);
  --shadow-panel: var(--shadow-md);
  --content-bg: var(--lumen-void);
  --panel-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --surface-radial: radial-gradient(ellipse 100% 80% at 50% 120%, rgba(99, 102, 241, 0.08), transparent 60%);
  --surface-radial-top: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.12), transparent 65%);
  --horizon-line: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);

  --color-border: var(--lumen-hairline);
  --color-surface: var(--lumen-panel);
  --color-text: var(--lumen-foreground);
  --color-text-muted: var(--lumen-muted);
  --color-accent-cyan: var(--brand-cyan);
}
