/* ============================================
   Jade — Design Tokens
   Hyperliquid-aligned content subscription platform
   ============================================ */

:root {
  /* ── Background Depth Scale ── */
  --bg-void: #0a0a0a;
  --bg-base: #0d0d0d;
  --bg-surface: #151515;
  --bg-card: #1a1a1a;
  --bg-card-hover: #1f1f1f;
  --bg-raised: #252525;
  --bg-input: #161616;
  --bg-overlay: rgba(0, 0, 0, 0.75);

  /* ── Hyperliquid Green Accent Scale ── */
  --green-bright: #00FF87;
  --green-primary: #00E678;
  --green-dim: #00CC6A;
  --green-muted: rgba(0, 255, 135, 0.15);
  --green-border: rgba(0, 255, 135, 0.30);
  --green-glow: rgba(0, 255, 135, 0.08);
  --green-text: #00FF87;

  /* ── Text Hierarchy ── */
  --text-primary: #fafafa;
  --text-secondary: #b4b4b4;
  --text-muted: #898989;
  --text-faint: #5a5a5a;
  --text-on-green: #0a0a0a;

  /* ── Border Scale (Depth Through Borders) ── */
  --border-subtle: #1e1e1e;
  --border-default: #2a2a2a;
  --border-visible: #363636;
  --border-prominent: #4a4a4a;

  /* ── Semantic Colors ── */
  --red-error: #f3727f;
  --yellow-warning: #ffa42b;
  --blue-info: #539df5;
  --orange-unread: #FF6B2B;
  --gold-premium: #FFD700;

  /* ── Typography ── */
  --font-primary: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  /* Font sizes */
  --text-display-hero: 48px;
  --text-display-section: 32px;
  --text-h1: 24px;
  --text-h2: 20px;
  --text-h3: 18px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-caption: 13px;
  --text-label: 12px;
  --text-mono: 13px;

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Line heights */
  --leading-tight: 1.05;
  --leading-snug: 1.15;
  --leading-normal: 1.25;
  --leading-relaxed: 1.55;
  --leading-loose: 1.65;

  /* ── Spacing (8px Grid) ── */
  --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;
  --space-16: 64px;

  /* ── Border Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --radius-circle: 50%;

  /* ── Shadows ── */
  --shadow-none: none;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-green: 0 0 20px rgba(0, 255, 135, 0.15);
  --shadow-glow-green-strong: 0 0 30px rgba(0, 255, 135, 0.25);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);

  /* ── Z-Index ── */
  --z-dropdown: 100;
  --z-overlay: 200;
  --z-modal: 300;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 350ms;

  /* ── Layout ── */
  --sidebar-width: 72px;
  --sidebar-expanded: 240px;
  --aside-width: 280px;
  --main-max-width: 680px;
  --bottom-bar-height: 56px;
}