{
 "schema": "consumable-brand-rules/1",
 "version": "1.0.0",
 "summary": "Machine-readable Consumable brand rules. The deck-builder and social-card validators enforce every rule with severity \"error\" (input is rejected, exit code 3) and report rules with severity \"warning\". Human version: brand/brand-rules.md.",
 "colors": {
  "signal": "#2665d6",
  "ink": "#1e2330",
  "marble": "#f3f3f1",
  "chartreuse": "#d2e823",
  "forest": "#254f1a",
  "white": "#ffffff",
  "textSecondary": "#4f5347",
  "textSubtle": "#676b5f",
  "borderSoft": "#ddded6",
  "blueTint": "#e7ecf7"
 },
 "font": {
  "family": "Schibsted Grotesk",
  "file": "fonts/SchibstedGrotesk-Variable.ttf",
  "weights": [
   400,
   500,
   800
  ],
  "only": true,
  "banned": [
   "any monospace font",
   "IBM Plex Mono",
   "any second typeface"
  ]
 },
 "logo": {
  "description": "The Signal mark: one dot sending out two sound waves. Use alone (mark) or with the lowercase consumable wordmark (lockup). Always one colour.",
  "kinds": [
   "lockup",
   "mark"
  ],
  "colors": {
   "white": "#ffffff",
   "signal": "#2665d6",
   "ink": "#1e2330",
   "chartreuse": "#d2e823",
   "forest": "#254f1a"
  },
  "minimum": {
   "markPx": 20,
   "lockupWidthPx": 96
  },
  "official": "Only the files in logos/. Never redraw, retype, outline, stretch, add effects or recolour parts. No F1 logo anywhere; if Formula 1 must be named, set it in plain text."
 },
 "grounds": {
  "signal": {
   "bg": "#2665d6",
   "text": "#ffffff",
   "sub": "#ffffff",
   "accent": "#ffffff",
   "logo": [
    "white",
    "chartreuse"
   ],
   "logoDefault": "white",
   "highlight": {
    "fill": null,
    "text": "#d2e823"
   },
   "hairline": "#f3f3f166"
  },
  "marble": {
   "bg": "#f3f3f1",
   "text": "#1e2330",
   "sub": "#4f5347",
   "accent": "#2665d6",
   "logo": [
    "signal",
    "ink"
   ],
   "logoDefault": "signal",
   "highlight": {
    "fill": "#d2e823",
    "text": "#1e2330"
   },
   "hairline": "#ddded6"
  },
  "white": {
   "bg": "#ffffff",
   "text": "#1e2330",
   "sub": "#4f5347",
   "accent": "#2665d6",
   "logo": [
    "signal"
   ],
   "logoDefault": "signal",
   "highlight": {
    "fill": "#d2e823",
    "text": "#1e2330"
   },
   "hairline": "#ddded6"
  },
  "ink": {
   "bg": "#1e2330",
   "text": "#f3f3f1",
   "sub": "#f3f3f1",
   "accent": "#d2e823",
   "logo": [],
   "logoDefault": null,
   "highlight": {
    "fill": null,
    "text": "#d2e823"
   },
   "hairline": "#f3f3f166"
  },
  "chartreuse": {
   "bg": "#d2e823",
   "text": "#254f1a",
   "sub": "#254f1a",
   "accent": "#254f1a",
   "logo": [
    "forest"
   ],
   "logoDefault": "forest",
   "highlight": null,
   "hairline": "#254f1a40"
  },
  "forest": {
   "bg": "#254f1a",
   "text": "#d2e823",
   "sub": "#d2e823",
   "accent": "#d2e823",
   "logo": [
    "chartreuse"
   ],
   "logoDefault": "chartreuse",
   "highlight": null,
   "hairline": "#d2e82340"
  }
 },
 "groundsNote": "Approved logo pairings: White on Signal Blue (primary), Chartreuse on Signal Blue (24px and up), Forest on Chartreuse, Chartreuse on Forest, Ink on Marble; Signal Blue on white or Marble for practical light grounds. Ink grounds carry no logo.",
 "text": [
  {
   "id": "no-trailing-period",
   "severity": "error",
   "appliesTo": [
    "headline",
    "title",
    "cta",
    "label",
    "attribution"
   ],
   "pattern": "\\.\\s*$",
   "message": "Headlines, headers, titles, labels and buttons never end with a period",
   "fix": "Remove the final period"
  },
  {
   "id": "easi-ads-spelling",
   "severity": "error",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\b(?:easy|easi)[\\s-]*ads?\\b",
   "flags": "i",
   "allow": "EASI Ads",
   "message": "Spell the product EASI Ads (capital EASI, capital A, plural)",
   "fix": "Write EASI Ads"
  },
  {
   "id": "banned-names",
   "severity": "error",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\b(?:iheart(?:radio|media)?|cumulus|audacy)\\b",
   "flags": "i",
   "message": "Don't name iHeart, Cumulus or Audacy",
   "fix": "Remove the name; describe the category instead, positively"
  },
  {
   "id": "no-f1-logo",
   "severity": "error",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\b(?:f1|formula\\s*1|formula\\s*one)\\s+logo\\b",
   "flags": "i",
   "message": "No F1 logo",
   "fix": "Name Formula 1 in plain text only, with no logo"
  },
  {
   "id": "positive-only",
   "severity": "error",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\b(?:unlike|better than|worse than|beats?|outperforms?|competitors?|inferior|annoying|boring|hate|useless|dying|dead)\\b",
   "flags": "i",
   "message": "Positive-only messaging: say what Consumable does well; never knock competitors or other channels",
   "fix": "Rewrite as a positive statement about Consumable"
  },
  {
   "id": "positive-tone-check",
   "severity": "warning",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\b(?:fail(?:s|ed|ure)?|waste[ds]?|ignored?|skip(?:ped|s)?|never|problem|struggle)\\b",
   "flags": "i",
   "message": "Check tone: this word often reads negative",
   "fix": "Prefer a positive framing"
  },
  {
   "id": "soften-claims",
   "severity": "warning",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\b(?:guarantee[ds]?|always|lowest cpa|every commute|upper[- ]funnel)\\b",
   "flags": "i",
   "message": "Soften commute, upper-funnel and CPA claims; don't promise outcomes",
   "fix": "Use softer wording"
  },
  {
   "id": "shopify-app-store",
   "severity": "error",
   "appliesTo": [
    "*"
   ],
   "pattern": "\\bshopify app store\\b",
   "flags": "i",
   "message": "No Shopify App Store claim",
   "fix": "Write \"Integrate with Shopify\""
  },
  {
   "id": "sentence-case",
   "severity": "warning",
   "appliesTo": [
    "headline",
    "title"
   ],
   "check": "titleCase",
   "message": "Use sentence case for headlines and titles",
   "fix": "Capitalise only the first word and proper nouns"
  },
  {
   "id": "no-all-caps",
   "severity": "error",
   "appliesTo": [
    "headline",
    "title",
    "label",
    "cta"
   ],
   "check": "allCaps",
   "message": "No all-caps labels or eyebrows",
   "fix": "Use sentence case; let the headline carry the slide"
  }
 ],
 "stats": {
  "id": "sourced-stats",
  "severity": "error",
  "pattern": "(?:\\d[\\d,.]*\\s*(?:%|x\\b|[mbk]\\+?(?=\\s|$|[^a-z])|\\+|h\\b|m\\b|hrs?\\b|hours?\\b|minutes?\\b|mins?\\b|million|billion|thousand))|(?:[$\u00a3\u20ac]\\s?\\d)",
  "flags": "i",
  "sourceSlot": "source",
  "sourcePattern": "^Source: \\S",
  "message": "No unsourced stats: every number needs a short named source line on the same slide or card",
  "fix": "Fill the source slot as \"Source: <name>\" (e.g. Source: Nielsen), or remove the number",
  "approved": [
   {
    "value": "3h 55m",
    "meaning": "Average US daily time spent with audio",
    "source": "Source: Nielsen",
    "detail": "Nielsen, The Record: Q3 2026 U.S. audio listening trends (Edison Research Share of Ear Q3 2026)"
   }
  ]
 },
 "layout": {
  "spacing": [
   8,
   24,
   72
  ],
  "allowedGaps": [
   24,
   48,
   72
  ],
  "noEyebrows": "Templates have no eyebrow, kicker or label-above-headline slots. Unknown slots are rejected.",
  "noDashedBoxes": true,
  "noHardBlackDividers": "Use 1px #ddded6 hairlines only",
  "flatColour": "No gradients except the Chartreuse highlight marker",
  "highlight": "Mark one phrase per slide or card with ==double equals==. On Marble and White it gets the Chartreuse marker band (58-92% of the text height, as .hl on the site) with Ink text; on Signal Blue and Ink the phrase is set in Chartreuse instead (no band, for contrast). Not available on Chartreuse or Forest grounds. Only in slots that allow it."
 }
}