/* MemTrex Design Tokens — sister brand to MeMAero */
:root {
  /* Brand — inherited from MeMAero family */
  --brand-primary:        #C62D2D;
  --brand-primary-hover:  #A82121;
  --brand-dark:           #1F2124;
  --brand-mid:            #2E3236;

  /* Brand — MemTrex terrain identity (replaces MeMAero navy) */
  --brand-terrain:        #2A3B2A;
  --brand-terrain-light:  #3D5C3D;

  /* Page surfaces (warm — LI10 rule: never pure white) */
  --bg-page:              #F2EFEA;
  --bg-surface:           #F8F5F0;
  --bg-surface-dark:      #EDEAE4;

  /* Text */
  --text-primary:         #1F2124;
  --text-secondary:       #69727D;
  --text-light:           #9DA5AE;
  --text-on-dark:         #F2EFEA;
  --text-on-dark-muted:   rgba(242,239,234,0.7);

  /* Borders */
  --border:               #D0CBC4;
  --border-light:         #E4E0D9;

  /* Semantic */
  --focus-ring:           #C62D2D;

  /* Tier accent tokens */
  --standard-accent:      #2A3B2A;
  --pro-accent:           #C62D2D;

  /* Typography */
  --font-display:         'Space Grotesk', sans-serif;
  --font-body:            'Inter', sans-serif;

  /* Type scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Layout */
  --container:  1280px;
  --container-narrow: 860px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(31,33,36,0.08), 0 1px 2px rgba(31,33,36,0.06);
  --shadow-md:  0 4px 12px rgba(31,33,36,0.1), 0 2px 6px rgba(31,33,36,0.06);
  --shadow-lg:  0 10px 30px rgba(31,33,36,0.12), 0 4px 12px rgba(31,33,36,0.08);
  --shadow-xl:  0 20px 50px rgba(31,33,36,0.16);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;

  /* Z-index */
  --z-below:    -1;
  --z-base:     0;
  --z-above:    10;
  --z-nav:      100;
  --z-overlay:  200;
  --z-modal:    300;
  --z-toast:    400;
}
