{
  "$schema": "https://design-tokens.github.io/community-group/format/",
  "$description": "GastroSol Digital — brand design tokens. W3C Design Tokens Community Group format. Source of truth for brand.css, brandbook.html, Figma (Tokens Studio), and any downstream consumer (partner widgets, microsites, mobile apps).",
  "_license": {
    "url": "https://branding.gastrosol.hu/LICENSE.md",
    "attention": "Usage of these branding files is governed by LICENSE.md. Do not copy, vendor, mirror, or rehost them from another origin.",
    "stability": "Token attribute names and asset file names are stable integration contracts. Values and underlying binaries may change over time."
  },
  "brand": {
    "name": {
      "$value": "GastroSol Digital",
      "$type": "string"
    },
    "legal": {
      "$value": "GastroSol Digital kft.",
      "$type": "string"
    },
    "website": {
      "$value": "https://gastrosol.hu",
      "$type": "string"
    },
    "contact": {
      "$value": "info@gastrosol.hu",
      "$type": "string"
    }
  },
  "color": {
    "_description": "Core palette. Cream is the dominant surface, burgundy is the single accent, sand is the page background, ink is the text color.",
    "cream": {
      "$value": "#FAF6F1",
      "$type": "color",
      "$description": "Primary surface — cards, modal bodies, content panels on dark sections."
    },
    "burgundy": {
      "$value": "#67393D",
      "$type": "color",
      "$description": "Secondary / accent — dark sections, buttons, links, headings on light bg."
    },
    "sand": {
      "$value": "#F4EBDF",
      "$type": "color",
      "$description": "Page background — warm beige base layer."
    },
    "ink": {
      "$value": "#2F2B27",
      "$type": "color",
      "$description": "Body text and headings on light surfaces."
    },
    "white": {
      "$value": "#FFFFFF",
      "$type": "color",
      "$description": "Pure white — reserved for max-contrast inverted UI, never as a page bg."
    },
    "neutral": {
      "_description": "Functional grays for borders, dividers, secondary text, disabled states.",
      "100": {
        "$value": "#FCFCFC",
        "$type": "color",
        "$description": "Subtle off-white — alt rows, subtle fills."
      },
      "200": {
        "$value": "#DBDBDB",
        "$type": "color",
        "$description": "Borders, dividers."
      },
      "600": {
        "$value": "#3D3D3D",
        "$type": "color",
        "$description": "Secondary text on light bg."
      },
      "800": {
        "$value": "#222222",
        "$type": "color",
        "$description": "High-contrast text alt."
      }
    },
    "semantic": {
      "_description": "State / feedback colors. Tuned to coexist with the warm brand palette.",
      "success": {
        "$value": "#2E7D5B",
        "$type": "color",
        "$description": "Positive states, confirmations, response-posted badges."
      },
      "warning": {
        "$value": "#C68A2E",
        "$type": "color",
        "$description": "Caution, draft states, response-generated badges."
      },
      "danger": {
        "$value": "#B23A3A",
        "$type": "color",
        "$description": "Errors, destructive actions, expired states."
      },
      "info": {
        "$value": "#3A6E8F",
        "$type": "color",
        "$description": "Informational notices, neutral system messages."
      }
    },
    "alpha": {
      "_description": "Translucent overlays used in glassmorphism / overlays.",
      "ink-80": {
        "$value": "rgba(47, 43, 39, 0.80)",
        "$type": "color"
      },
      "cream-15": {
        "$value": "rgba(250, 246, 241, 0.15)",
        "$type": "color"
      },
      "cream-30": {
        "$value": "rgba(250, 246, 241, 0.30)",
        "$type": "color"
      }
    }
  },
  "font": {
    "family": {
      "display": {
        "$value": [
          "Lora",
          "Georgia",
          "serif"
        ],
        "$type": "fontFamily",
        "$description": "Headings, hero copy. Italic-friendly serif."
      },
      "body": {
        "$value": [
          "Poppins",
          "system-ui",
          "-apple-system",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "Body text, marketing copy."
      },
      "ui": {
        "$value": [
          "Inter",
          "system-ui",
          "-apple-system",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "UI labels, buttons, tables, dense product chrome."
      },
      "mono": {
        "$value": [
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "Code snippets, IDs, technical readouts."
      }
    },
    "weight": {
      "light": {
        "$value": 300,
        "$type": "fontWeight"
      },
      "regular": {
        "$value": 400,
        "$type": "fontWeight"
      },
      "medium": {
        "$value": 500,
        "$type": "fontWeight"
      },
      "semibold": {
        "$value": 600,
        "$type": "fontWeight"
      },
      "bold": {
        "$value": 700,
        "$type": "fontWeight"
      }
    },
    "size": {
      "_description": "Type scale in pixels. Base = 16px. Ratio is loose (not strictly modular) to match existing in-product usage.",
      "xs": {
        "$value": "12px",
        "$type": "dimension"
      },
      "sm": {
        "$value": "14px",
        "$type": "dimension"
      },
      "base": {
        "$value": "16px",
        "$type": "dimension"
      },
      "md": {
        "$value": "18px",
        "$type": "dimension"
      },
      "lg": {
        "$value": "20px",
        "$type": "dimension"
      },
      "xl": {
        "$value": "22px",
        "$type": "dimension"
      },
      "2xl": {
        "$value": "24px",
        "$type": "dimension"
      },
      "3xl": {
        "$value": "30px",
        "$type": "dimension"
      },
      "4xl": {
        "$value": "36px",
        "$type": "dimension"
      },
      "5xl": {
        "$value": "45px",
        "$type": "dimension"
      },
      "6xl": {
        "$value": "60px",
        "$type": "dimension"
      }
    },
    "lineHeight": {
      "tight": {
        "$value": 1.15,
        "$type": "number",
        "$description": "Display / hero headings."
      },
      "snug": {
        "$value": 1.3,
        "$type": "number",
        "$description": "Sub-headings."
      },
      "normal": {
        "$value": 1.5,
        "$type": "number",
        "$description": "Body copy."
      },
      "relaxed": {
        "$value": 1.7,
        "$type": "number",
        "$description": "Long-form reading."
      }
    },
    "letterSpacing": {
      "tight": {
        "$value": "-0.02em",
        "$type": "dimension"
      },
      "normal": {
        "$value": "0",
        "$type": "dimension"
      },
      "wide": {
        "$value": "0.04em",
        "$type": "dimension"
      }
    }
  },
  "typography": {
    "_description": "Composite typography styles. Reference these from product code rather than re-composing font/size/weight individually.",
    "display": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.display}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.6xl}",
        "lineHeight": "{font.lineHeight.tight}",
        "letterSpacing": "{font.letterSpacing.tight}"
      },
      "$description": "Hero headlines on marketing surfaces."
    },
    "h1": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.display}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.5xl}",
        "lineHeight": "{font.lineHeight.tight}",
        "letterSpacing": "{font.letterSpacing.tight}"
      }
    },
    "h2": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.display}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.4xl}",
        "lineHeight": "{font.lineHeight.snug}"
      }
    },
    "h3": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.display}",
        "fontWeight": "{font.weight.medium}",
        "fontSize": "{font.size.3xl}",
        "lineHeight": "{font.lineHeight.snug}"
      }
    },
    "h4": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.body}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.xl}",
        "lineHeight": "{font.lineHeight.snug}"
      }
    },
    "bodyLg": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.body}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.md}",
        "lineHeight": "{font.lineHeight.relaxed}"
      }
    },
    "body": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.body}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.base}",
        "lineHeight": "{font.lineHeight.normal}"
      }
    },
    "bodySm": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.body}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.sm}",
        "lineHeight": "{font.lineHeight.normal}"
      }
    },
    "uiLabel": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.ui}",
        "fontWeight": "{font.weight.medium}",
        "fontSize": "{font.size.sm}",
        "lineHeight": "{font.lineHeight.normal}",
        "letterSpacing": "{font.letterSpacing.wide}"
      }
    },
    "caption": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.family.ui}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.xs}",
        "lineHeight": "{font.lineHeight.normal}"
      }
    }
  },
  "spacing": {
    "_description": "4px base scale. Use these for padding, margin, and gap. Avoid arbitrary values in product code.",
    "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": "24px",
      "$type": "dimension"
    },
    "6": {
      "$value": "32px",
      "$type": "dimension"
    },
    "7": {
      "$value": "48px",
      "$type": "dimension"
    },
    "8": {
      "$value": "64px",
      "$type": "dimension"
    },
    "9": {
      "$value": "96px",
      "$type": "dimension"
    },
    "10": {
      "$value": "128px",
      "$type": "dimension"
    }
  },
  "radius": {
    "none": {
      "$value": "0",
      "$type": "dimension"
    },
    "sm": {
      "$value": "4px",
      "$type": "dimension"
    },
    "md": {
      "$value": "8px",
      "$type": "dimension"
    },
    "lg": {
      "$value": "12px",
      "$type": "dimension"
    },
    "xl": {
      "$value": "16px",
      "$type": "dimension"
    },
    "2xl": {
      "$value": "24px",
      "$type": "dimension"
    },
    "full": {
      "$value": "9999px",
      "$type": "dimension"
    }
  },
  "shadow": {
    "sm": {
      "$value": "0 1px 2px 0 rgba(47, 43, 39, 0.06)",
      "$type": "shadow"
    },
    "md": {
      "$value": "0 4px 6px -1px rgba(47, 43, 39, 0.08), 0 2px 4px -2px rgba(47, 43, 39, 0.04)",
      "$type": "shadow"
    },
    "lg": {
      "$value": "0 10px 15px -3px rgba(47, 43, 39, 0.10), 0 4px 6px -4px rgba(47, 43, 39, 0.04)",
      "$type": "shadow"
    },
    "xl": {
      "$value": "0 20px 25px -5px rgba(47, 43, 39, 0.12), 0 8px 10px -6px rgba(47, 43, 39, 0.04)",
      "$type": "shadow"
    },
    "inset": {
      "$value": "inset 0 1px 2px 0 rgba(47, 43, 39, 0.06)",
      "$type": "shadow"
    }
  },
  "motion": {
    "duration": {
      "instant": {
        "$value": "0ms",
        "$type": "duration"
      },
      "fast": {
        "$value": "150ms",
        "$type": "duration"
      },
      "base": {
        "$value": "200ms",
        "$type": "duration"
      },
      "slow": {
        "$value": "300ms",
        "$type": "duration"
      },
      "slower": {
        "$value": "500ms",
        "$type": "duration"
      }
    },
    "easing": {
      "linear": {
        "$value": "cubic-bezier(0, 0, 1, 1)",
        "$type": "cubicBezier"
      },
      "in": {
        "$value": "cubic-bezier(0.4, 0, 1, 1)",
        "$type": "cubicBezier"
      },
      "out": {
        "$value": "cubic-bezier(0, 0, 0.2, 1)",
        "$type": "cubicBezier"
      },
      "inOut": {
        "$value": "cubic-bezier(0.4, 0, 0.2, 1)",
        "$type": "cubicBezier"
      },
      "emphasized": {
        "$value": "cubic-bezier(0.2, 0, 0, 1)",
        "$type": "cubicBezier"
      }
    }
  },
  "breakpoint": {
    "_description": "Min-width breakpoints. Aligns with Tailwind defaults.",
    "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"
    }
  },
  "asset": {
    "_description": "All assets are hosted on branding.gastrosol.hu. Reference URLs directly — do not download and re-host.",
    "favicon": {
      "$value": "https://branding.gastrosol.hu/assets/favicon.png",
      "$type": "asset",
      "$description": "Browser tab icon."
    },
    "logo": {
      "transparent": {
        "$value": "https://branding.gastrosol.hu/assets/logobox.png",
        "$type": "asset",
        "$description": "Square mark, transparent background."
      },
      "onRed": {
        "$value": "https://branding.gastrosol.hu/assets/logobox_red.png",
        "$type": "asset",
        "$description": "Square mark, burgundy background — use when placing on photography or unknown surfaces."
      },
      "onBeige": {
        "$value": "https://branding.gastrosol.hu/assets/logobox_beige.png",
        "$type": "asset",
        "$description": "Square mark, sand background — use on white / cream surfaces."
      }
    },
    "wordmark": {
      "_description": "Full name lockup — 4362×512px, transparent background.",
      "red": {
        "$value": "https://branding.gastrosol.hu/assets/gastrosoldigital_red.png",
        "$type": "asset",
        "$description": "Burgundy text — use on light surfaces (cream, sand, white)."
      },
      "beige": {
        "$value": "https://branding.gastrosol.hu/assets/gastrosoldigital_beige.png",
        "$type": "asset",
        "$description": "Cream/beige text — use on dark surfaces (burgundy, photography)."
      }
    },
    "pattern": {
      "default": {
        "$value": "https://branding.gastrosol.hu/assets/pattern.png",
        "$type": "asset",
        "$description": "Decorative pattern, 6531×3988px, transparent — designed for burgundy backgrounds."
      }
    }
  },
  "logo": {
    "_description": "Logo usage rules — clearspace, minimum size, what to avoid.",
    "minWidth": {
      "$value": "32px",
      "$type": "dimension",
      "$description": "Square mark minimum on screen."
    },
    "minWidthWordmark": {
      "$value": "120px",
      "$type": "dimension",
      "$description": "Wordmark minimum on screen."
    },
    "clearspace": {
      "$value": "0.25",
      "$type": "number",
      "$description": "Minimum surrounding space as a fraction of logo width (e.g. 0.25 = 25%)."
    }
  }
}
