{
  "$schema": "https://design-tokens.github.io/community-group/format/",
  "$description": "GOLDJAXE Cash Cow Design Tokens — production-ready токены для goldjaxe.ai, Academy LMS, Syndicate (Discourse), GATE AdminUI. Источник истины: brand-system-v1/guidelines/BRAND-GUIDELINES.md v1.0 (2026-04-26).",
  "$meta": {
    "version": "1.0.0",
    "generated": "2026-05-01",
    "scope": "cash-cow",
    "applies-to": [
      "goldjaxe.ai",
      "academy.goldjaxe.ai",
      "syndicate.goldjaxe.ai",
      "gate.goldjaxe.ai (AdminUI)"
    ],
    "does-not-apply-to": [
      "goldjaxe.com (visit card — отдельный стиль)",
      "goldjaxe.org (B2B Enterprise — отдельный стиль)"
    ]
  },
  "color": {
    "amber": {
      "primary":  { "value": "#EBC554", "type": "color", "comment": "Primary Amber — лого, CTA, акценты, H1. WCAG AAA на Black для крупного, AA для body" },
      "light":   { "value": "#F8F080", "type": "color", "comment": "Highlight, glow, hover-states" },
      "dark":    { "value": "#C9A332", "type": "color", "comment": "Pressed states, тени, secondary accents" }
    },
    "background": {
      "primary":   { "value": "#080808", "type": "color", "comment": "Основной фон. Полотно сайтов" },
      "secondary": { "value": "#050505", "type": "color", "comment": "Карточки, контейнеры, подложки модалок" }
    },
    "text": {
      "primary":   { "value": "#FFFFFF", "type": "color", "comment": "Body text on dark. WCAG AAA" },
      "secondary": { "value": "#E5E5E5", "type": "color", "comment": "Secondary text" },
      "tertiary":  { "value": "#A3A3A3", "type": "color", "comment": "Captions, disabled" },
      "accent":    { "value": "#EBC554", "type": "color", "comment": "Amber-акцент в тексте — для H1 и ключевых цифр" }
    },
    "border": {
      "subtle":  { "value": "#1A1A1A", "type": "color" },
      "default": { "value": "#525252", "type": "color" },
      "strong":  { "value": "#A3A3A3", "type": "color" },
      "accent":  { "value": "#EBC554", "type": "color" }
    },
    "accent-cyber": {
      "blue": { "value": "#00F0FF", "type": "color", "comment": "Cyber-Blue — ТОЛЬКО terminal UI / Vault / hover-states. НЕ более 2% поверхности экрана" }
    },
    "state": {
      "success": { "value": "#22C55E", "type": "color", "comment": "Зелёный — passed quiz, paid, confirmed" },
      "warning": { "value": "#EBC554", "type": "color", "comment": "Используем Amber — нет конфликтов с системой" },
      "error":   { "value": "#EF4444", "type": "color", "comment": "Failed quiz, error states" },
      "info":    { "value": "#00F0FF", "type": "color", "comment": "Mono terminal info" }
    },
    "submark-silver": {
      "value": "#B0B5BC",
      "type": "color",
      "comment": "Только sub-mark Q-Check/Q-Vision. Не использовать в Cash Cow line напрямую"
    }
  },
  "typography": {
    "family": {
      "display": { "value": "'Space Grotesk', system-ui, sans-serif", "type": "fontFamily", "comment": "Headlines, display, numerical, wordmark" },
      "body":    { "value": "'Inter', system-ui, sans-serif", "type": "fontFamily", "comment": "Body, UI, формы, длинные тексты" },
      "mono":    { "value": "'Space Mono', 'Fira Code', ui-monospace, monospace", "type": "fontFamily", "comment": "Терминал, код, technical UI" }
    },
    "weight": {
      "regular":  { "value": 400, "type": "fontWeight" },
      "medium":   { "value": 500, "type": "fontWeight" },
      "semibold": { "value": 600, "type": "fontWeight" },
      "bold":     { "value": 700, "type": "fontWeight" },
      "heavy":    { "value": 800, "type": "fontWeight", "comment": "Минимум для headline / wordmark" }
    },
    "size": {
      "xs":   { "value": "12px", "type": "fontSize" },
      "sm":   { "value": "14px", "type": "fontSize" },
      "base": { "value": "16px", "type": "fontSize" },
      "lg":   { "value": "18px", "type": "fontSize" },
      "xl":   { "value": "20px", "type": "fontSize" },
      "2xl":  { "value": "24px", "type": "fontSize" },
      "3xl":  { "value": "32px", "type": "fontSize" },
      "4xl":  { "value": "40px", "type": "fontSize" },
      "5xl":  { "value": "48px", "type": "fontSize" },
      "6xl":  { "value": "64px", "type": "fontSize" },
      "7xl":  { "value": "80px", "type": "fontSize" },
      "8xl":  { "value": "96px", "type": "fontSize", "comment": "H1 maximum для Hero" }
    },
    "line-height": {
      "none":    { "value": 1.0, "type": "lineHeight", "comment": "H1 display" },
      "tight":   { "value": 1.05, "type": "lineHeight" },
      "snug":    { "value": 1.1, "type": "lineHeight", "comment": "H2" },
      "normal":  { "value": 1.15, "type": "lineHeight", "comment": "H3" },
      "relaxed": { "value": 1.5, "type": "lineHeight", "comment": "Body" },
      "loose":   { "value": 1.6, "type": "lineHeight", "comment": "Long-form body" }
    },
    "letter-spacing": {
      "tighter": { "value": "-0.02em", "type": "letterSpacing" },
      "tight":   { "value": "-0.01em", "type": "letterSpacing" },
      "normal":  { "value": "0",       "type": "letterSpacing" },
      "wide":    { "value": "0.01em",  "type": "letterSpacing", "comment": "H3" },
      "wider":   { "value": "0.02em",  "type": "letterSpacing", "comment": "H1, H2, captions" },
      "widest":  { "value": "0.05em",  "type": "letterSpacing", "comment": "Wordmark GOLDJAXE" }
    }
  },
  "spacing": {
    "0":  { "value": "0",     "type": "dimension" },
    "1":  { "value": "4px",   "type": "dimension" },
    "2":  { "value": "8px",   "type": "dimension" },
    "3":  { "value": "12px",  "type": "dimension" },
    "4":  { "value": "16px",  "type": "dimension" },
    "5":  { "value": "20px",  "type": "dimension" },
    "6":  { "value": "24px",  "type": "dimension" },
    "8":  { "value": "32px",  "type": "dimension" },
    "10": { "value": "40px",  "type": "dimension" },
    "12": { "value": "48px",  "type": "dimension" },
    "16": { "value": "64px",  "type": "dimension" },
    "20": { "value": "80px",  "type": "dimension" },
    "24": { "value": "96px",  "type": "dimension" },
    "32": { "value": "128px", "type": "dimension" }
  },
  "radius": {
    "none": { "value": "0",    "type": "dimension", "comment": "Brutalism default" },
    "sm":   { "value": "2px",  "type": "dimension", "comment": "Кнопки, инпуты" },
    "md":   { "value": "4px",  "type": "dimension", "comment": "Карточки" },
    "lg":   { "value": "8px",  "type": "dimension", "comment": "Модалки" },
    "full": { "value": "9999px", "type": "dimension", "comment": "Pills, avatars" }
  },
  "shadow": {
    "none":     { "value": "none", "type": "shadow" },
    "subtle":   { "value": "0 1px 2px 0 rgba(0,0,0,0.5)", "type": "shadow" },
    "card":     { "value": "0 4px 12px 0 rgba(0,0,0,0.6)", "type": "shadow" },
    "modal":    { "value": "0 24px 64px 0 rgba(0,0,0,0.8)", "type": "shadow" },
    "glow-sm":  { "value": "0 0 20px 0 rgba(235,197,84,0.25)", "type": "shadow", "comment": "Лёгкий gold glow на hover" },
    "glow-md":  { "value": "0 0 40px 0 rgba(235,197,84,0.40)", "type": "shadow", "comment": "Hero CTA glow" },
    "glow-cyber": { "value": "0 0 24px 0 rgba(0,240,255,0.45)", "type": "shadow", "comment": "Только terminal/Vault" }
  },
  "border-width": {
    "0":       { "value": "0",    "type": "dimension" },
    "default": { "value": "1px",  "type": "dimension" },
    "thick":   { "value": "2px",  "type": "dimension", "comment": "Wordmark divider, gold-border buttons" },
    "heavy":   { "value": "4px",  "type": "dimension", "comment": "Active sidebar item, focus ring" }
  },
  "z-index": {
    "base":    { "value": 0,    "type": "other" },
    "dropdown":{ "value": 10,   "type": "other" },
    "sticky":  { "value": 20,   "type": "other" },
    "header":  { "value": 30,   "type": "other" },
    "modal-bg":{ "value": 40,   "type": "other" },
    "modal":   { "value": 50,   "type": "other" },
    "toast":   { "value": 60,   "type": "other" },
    "terminal":{ "value": 70,   "type": "other", "comment": "Terminal Overlay при первом входе .ai" }
  },
  "duration": {
    "instant": { "value": "0ms",   "type": "duration" },
    "fast":    { "value": "150ms", "type": "duration", "comment": "Hover, button press" },
    "normal":  { "value": "250ms", "type": "duration", "comment": "Default transition" },
    "slow":    { "value": "400ms", "type": "duration", "comment": "Modal fade-in/out" },
    "scramble":{ "value": "80ms",  "type": "duration", "comment": "Per-character scramble text effect" }
  },
  "easing": {
    "default": { "value": "cubic-bezier(0.4, 0, 0.2, 1)", "type": "cubicBezier" },
    "ease-in": { "value": "cubic-bezier(0.4, 0, 1, 1)",   "type": "cubicBezier" },
    "ease-out":{ "value": "cubic-bezier(0, 0, 0.2, 1)",   "type": "cubicBezier" },
    "linear":  { "value": "linear", "type": "cubicBezier" }
  },
  "breakpoint": {
    "sm":  { "value": "640px",  "type": "dimension" },
    "md":  { "value": "768px",  "type": "dimension" },
    "lg":  { "value": "1024px", "type": "dimension" },
    "xl":  { "value": "1280px", "type": "dimension" },
    "2xl": { "value": "1536px", "type": "dimension" }
  },
  "ratio-60-30-10": {
    "background-percent": { "value": 60, "type": "other", "comment": "Background Black занимает ~60% поверхности экрана" },
    "text-percent":       { "value": 30, "type": "other", "comment": "White/Grey текст и иконки ~30%" },
    "accent-percent":     { "value": 10, "type": "other", "comment": "Amber акценты, CTA, заголовки H1 ~10%" },
    "cyber-blue-max":     { "value": 2,  "type": "other", "comment": "Cyber-Blue — максимум 2% поверхности (точечно: terminal/Vault)" }
  }
}
