/* =============================================================
   AG5 brand tokens — single source of truth (experience.ag5.com)
   Ported from the ag5 repo. Linked by every landing page + component.
   Do not redefine these :root vars inline on pages — edit here.
   ============================================================= */

:root {
  /* Brand colors (from ag5.com live site — verified via DevTools) */
  --ag5-blue:         #0063E1;
  --ag5-blue-dark:    #003D99;
  --ag5-blue-light:   #E6F0FF;
  --ag5-blue-lighter: #EBF4FF;

  --ag5-gold:         #FFD76D;
  --ag5-gold-hover:   #F5C84A;

  --ag5-text:         #000000;
  --ag5-text-dark:    #1A1A2E;
  --ag5-text-light:   #5B6E7F;
  --ag5-text-muted:   #6B7280;

  --ag5-bg:           #F5F9FF;
  --ag5-bg-white:     #FFFFFF;
  --ag5-border:       #E5E7EB;

  /* Typography */
  --ag5-font:         'IBM Plex Sans', Helvetica, Arial, sans-serif;
  --ag5-font-ui:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --ag5-radius:       8px;
  --ag5-radius-lg:    18px;
  --ag5-radius-pill:  999px;
  --ag5-max-width:    1180px;

  /* Elevation */
  --ag5-shadow-sm:    0 1px 3px rgba(16, 36, 64, 0.06);
  --ag5-shadow-md:    0 8px 24px rgba(16, 36, 64, 0.08);
  --ag5-shadow-lg:    0 24px 60px rgba(16, 36, 64, 0.16);
}

/* =============================================================
   FOUC mitigation — reserve space before custom elements upgrade
   so pages don't shift when ag5-components.js defines them.
   ============================================================= */

ag5-exp-header:not(:defined) { display: block; min-height: 68px;  background: #fff; border-bottom: 1px solid var(--ag5-border); }
ag5-exp-footer:not(:defined)          { display: block; min-height: 280px; background: #fff; }
ag5-exp-footer[minimal]:not(:defined) { display: block; min-height: 80px;  background: #fff; }
