/* Muve web tokens — lifted from the app's dark theme (mobile-app/src/theme/appTheme.ts darkTokens).
 * Keep these in step with the app: page #1A1614, glass rgba(26,22,20,.9), text #EDEEF0, accent #A9D6F5. */
:root {
  color-scheme: dark;

  /* Colour */
  --color-page: oklch(20.4% 0.008 50);            /* #1A1614 espresso */
  --color-page-deep: oklch(15.5% 0.007 50);
  --color-glass: oklch(20.4% 0.008 50 / 0.62);    /* app glass, lighter so the bokeh reads through on web */
  --color-glass-strong: oklch(20.4% 0.008 50 / 0.9);
  --color-glass-edge: oklch(100% 0 0 / 0.09);
  --color-glass-edge-strong: oklch(100% 0 0 / 0.16);
  --color-fill-soft: oklch(100% 0 0 / 0.06);
  --color-fill: oklch(100% 0 0 / 0.1);
  --color-ember: oklch(52% 0.1 58 / 0.22);        /* warm espresso glow, rgba(139,90,43) */
  --color-text: oklch(94.9% 0.003 265);           /* #EDEEF0 */
  --color-text-2: oklch(94.9% 0.003 265 / 0.7);
  --color-text-3: oklch(94.9% 0.003 265 / 0.48);
  --color-accent: oklch(85.4% 0.061 234);         /* MUVE blue #A9D6F5 */
  --color-accent-soft: oklch(85.4% 0.061 234 / 0.16);
  --color-live: oklch(78% 0.15 160);              /* statusGreen #34D399 */
  --color-cta: oklch(100% 0 0);
  --color-cta-hover: oklch(92% 0.004 265);
  --color-cta-text: oklch(24.5% 0.002 285);       /* #222223 charcoal */
  --color-focus: oklch(85.4% 0.061 234);

  /* Type */
  --font-display: "Muve", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: clamp(1.1875rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --text-display: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);

  /* Space — 4pt scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 7rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --measure: 34rem;
  --page-max: 72rem;

  /* Shape */
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --blur-glass: 30px;
  --rule: 1px solid var(--color-glass-edge);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-med: 240ms;
  --dur-slow: 600ms;
}
