/* ============================================================
 * brand.css — Fort McClellan Credit Union
 *
 * GENERATED by tools/brand.py from client.yml. Do not hand-edit:
 * the contrast gate reads client.yml, so an edit made here alone is
 * unverified. Change client.yml and regenerate.
 *
 * This is the ONLY file in the site that names a brand colour.
 * core.css consumes these tokens and is byte-identical everywhere.
 * ============================================================ */

:root {
  /* --- dark surfaces: hero, footer, dark bands --- */
  --brand-dark:            #234D26;  /* primary */
  --brand-dark-deep:       #17331A;  /* derived: depth */
  --brand-dark-mid:        #2E6331;  /* derived: gradient midpoint */
  --brand-secondary:       #2B5C2E;

  /* --- interactive: links, buttons --- */
  --brand-primary:         #3E7D3A;  /* AA on white */
  --brand-primary-light:   #6FB56A;

  /* --- accent: fills, borders, dots. NOT text on dark. --- */
  --brand-accent:          #F4B41A;
  --brand-accent-deep:     #C88F0F;

  /* --- accent TEXT on a dark background ---
     These exist because the brand accent is often unreadable on the
     brand dark. Verified by tools/brand.py; see CONTRAST_RULES. */
  --accent-on-dark:        #F4B41A;
  --accent-light-on-dark:  #FBD97A;
  --outline-on-dark:       #FBD97A;  /* outline button border+label */

  /* --- text colours ON a filled surface --- */
  --on-primary:            #FFFFFF;  /* label on a primary button */
  --on-accent:             #234D26;  /* label on an accent fill */
  --on-dark:               #FFFFFF;  /* copy on a dark surface */

  /* --- neutrals --- */
  --surface:               #FAFDF9;
  --surface-alt:           #F1F5EF;
  --surface-tint:          #EAF3E8;
  --text:                  #1E2A20;
  --text-light:            #52604F;
  --border:                #D6E3D3;

  /* --- channel triplets ---
     Needed for rgba() shadows and gradient glows. Without these, a
     shared stylesheet has to hard-code a decimal rgba triplet, which
     leaks whichever client it was first written for into every other
     client's hero. */
  --brand-dark-rgb:        35, 77, 38;
  --brand-primary-rgb:     62, 125, 58;
  --brand-secondary-rgb:   43, 92, 46;
  --brand-accent-rgb:      244, 180, 26;

  /* --- type --- */
  --sans:    'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
