/* Design tokens — mirrored 1:1 from the Figma variables of the Customer App
   (file yWCxJj1yKHeaoP2u68TYgj, section "Customer App"). Change a value here and
   every screen follows. A zoo re-skinning the app only needs to override the
   --brand-* block. */
:root {
  /* Brand ramps */
  --primary: #7764e4;          /* Customer primary/default */
  --primary-300: #cfc9f6;      /* Customer primary/300 */
  --primary-100: #ebe8fb;      /* border/secondary */
  --secondary-700: #3b7651;    /* Customer secondary/700 */
  --secondary-300: #c1ddcb;    /* Customer secondary/300 */
  --secondary-50: #f6faf8;     /* surface/secondary */
  --tertiary: #e76951;         /* Customer tertiary/default */
  --tertiary-300: #f7cac2;     /* Customer tertiary/300 */
  --tertiary-200: #fbe9e5;     /* Customer tertiary/200 */
  --sun-300: #fef0cb;          /* Customer tertiary 2/300 */

  /* Neutrals */
  --ink: #18181c;              /* text/body, text/heading, surface/action 2 */
  --ink-hover: #808082;        /* surface/action 2 - hover */
  --muted: #808082;            /* text/body small */
  --muted-2: #747477;          /* search placeholder */
  --neutral-300: #aeaeb0;
  --line: #ebe8fb;
  --line-2: #e6e6e8;
  --page: #fefefe;             /* surface/page */
  --white: #ffffff;
  --black: #000000;

  /* Semantic */
  --text: var(--ink);
  --text-muted: var(--muted);
  --text-action: var(--primary);
  --text-on-action: var(--white);
  --surface: var(--page);
  --surface-alt: var(--secondary-50);
  --surface-action: var(--primary);
  --surface-dark: var(--ink);
  --success: #3b7651;
  --success-bg: #e8f3ec;
  --danger: #d93f2b;
  --danger-bg: #fbe9e5;
  --warning-bg: #fef0cb;

  /* Gradients used by promo cards */
  --grad-promo-1: linear-gradient(119deg, #7764e4 1%, #e76951 89%);
  --grad-promo-2: linear-gradient(120deg, #5346a0 17%, #ada2ef 108%);
  --grad-promo-3: linear-gradient(120deg, #ee9685 17%, #e3be5f 108%);
  --grad-scrim: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 95%);

  /* Type — Manrope, matching the Customer_* text styles */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-minor: 10px;   /* Customer_Minor_Medium */
  --fs-sub: 12px;     /* Customer_Subtext_* */
  --fs-body: 14px;    /* Customer_Body_* (semibold uses 0.28px tracking) */
  --fs-major: 16px;   /* Customer_Major_* */
  --fs-title: 20px;
  --fs-h2: 24px;
  --fs-display: 40px;

  /* Spacing (4pt grid) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px;
  --gutter: 16px;

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 100px;

  /* Elevation */
  --shadow-1: 0 4px 13px rgba(0,0,0,.05);
  --shadow-2: 0 8px 24px rgba(24,24,28,.10);
  --shadow-nav: 0 12px 10px #d0d6e2;
  --shadow-sheet: 0 -8px 32px rgba(24,24,28,.16);

  /* Motion */
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  --dur-1: 160ms; --dur-2: 240ms; --dur-3: 320ms;

  /* Device */
  --device-w: 390px;
  --device-h: 844px;
  --status-h: 34px;
  --nav-h: 92px;
}
