/* Kei design tokens — the one source for every Kei surface (home, flow, Studio, account, RSVP shell, modal).
   The Reveal inherits all of this and may override ONLY the four --kei-party-* values from its Party DNA. */
:root {
  /* type — one family everywhere; the party display face is used only via --kei-party-display in the Reveal */
  --kei-font: 'Quicksand', sans-serif;            /* UI voice: display, titles, buttons, labels, controls. Never below 13px, never under 600 at small sizes */
  --kei-body: 'Roboto Slab', Georgia, serif;      /* reading voice: Body L / Body / Small */
  --kei-body-weight: 400;
  --kei-label-weight: 700;
  --kei-party-display: var(--kei-font);     /* Reveal sets this to the DNA lockup face */
  --kei-text-xs: 11px;  --kei-text-sm: 13px; --kei-text-md: 15px; --kei-text-lg: 17px;
  --kei-title-sm: 20px; --kei-title-md: 28px; --kei-title-lg: 40px; --kei-display: 56px;
  --kei-track-label: 0.12em;                /* uppercase labels + eyebrows */

  /* colour */
  /* product neutrals — cool grey, never beige. The product UI uses ONLY these plus the party's colours. */
  --kei-ink: #171717;        --kei-ink-2: #444444;   --kei-muted: #8A8A8A;
  --kei-paper: #FAFAFA;      --kei-panel: #F6F6F6;   --kei-field: #F0F0F0;   --kei-chip: #ECECEC;
  --kei-white: #FFFFFF;      --kei-hairline: rgba(0,0,0,0.08);
  /* status: what a message means, never decoration. Error red and success green on product surfaces; info stays neutral */
  --kei-error: #C7372F;      --kei-error-soft: #FDECEA;
  --kei-success: #23764A;    --kei-success-soft: #E5F3EA;
  /* brand canvas — used where Kei is the subject (social, coming soon, film), never on product chrome. Six tonal pairs: a pastel ground + a saturated mark of the same hue. Purple is home. */
  --kei-canvas-purple: #E8D0FF; --kei-canvas-purple-mark: #C174DF;
  --kei-canvas-pink: #FFC4FE; --kei-canvas-pink-mark: #E25BDE;
  --kei-canvas-coral: #FFCFBB; --kei-canvas-coral-mark: #FF865F;
  --kei-canvas-yellow: #FFE8A8; --kei-canvas-yellow-mark: #FFC11A;
  --kei-canvas-green: #B9EABD; --kei-canvas-green-mark: #43BC61;
  --kei-canvas-blue: #BDD9FF; --kei-canvas-blue-mark: #6FA4EC;
  /* brand — purple, five steps */
  --kei-purple-50: #F7F0FC;  --kei-purple-100: #EEDFF8; --kei-purple-300: #C174DF; --kei-purple-500: #7A4FA3; --kei-purple-700: #3F2654;
  --kei-brand: var(--kei-purple-500); --kei-brand-mark: var(--kei-purple-300); --kei-brand-panel: var(--kei-purple-100); --kei-brand-ink: var(--kei-purple-700);
  --kei-primary: var(--kei-ink);            /* primary button inside the product is neutral ink; purple is for brand moments only */
  /* surface tints — home value cards + illustration only, never buttons or text */
  --kei-peach: #FFC4A6;      --kei-blue: #B7D4F8;    --kei-yellow: #F6D57A;   --kei-green: #B7D6B8;   --kei-coral: #E4572E;
  /* legacy aliases */
  --kei-purple: var(--kei-purple-500); --kei-lavender: var(--kei-purple-100);

  /* Party DNA hooks — the ONLY things the Reveal may change */
  --kei-party-ground: var(--kei-paper);     /* page ground: light / dark / tinted */
  --kei-party-ink: var(--kei-ink);          /* text on that ground */
  --kei-party-accent: var(--kei-primary);   /* primary button + eyebrow colour */
  --kei-party-card: var(--kei-white);       /* card surface on that ground */

  /* shape */
  --kei-r-sm: 12px; --kei-r-md: 16px; --kei-r-lg: 20px; --kei-r-xl: 28px; --kei-r-pill: 999px;
  /* space (4-base) */
  --kei-s-1: 4px; --kei-s-2: 8px; --kei-s-3: 12px; --kei-s-4: 16px; --kei-s-6: 24px; --kei-s-8: 32px; --kei-s-12: 48px; --kei-s-16: 64px;
  /* elevation — only for floating things (modal, popover, dragged card) */
  --kei-shadow-float: 0 1px 0 rgba(0,0,0,0.06), 0 24px 48px -28px rgba(0,0,0,0.35);
  --kei-scrim: rgba(0,0,0,0.55);
  /* control heights */
  --kei-h-sm: 40px; --kei-h-md: 48px; --kei-h-lg: 56px;
  --kei-ease: cubic-bezier(.2,.8,.2,1);
}
