/* ==========================================================================
   wpMaintora — design tokens ("The Care Console")
   Maps to Elementor Global Colours / Global Fonts in the WordPress phase.
   ========================================================================== */

:root {
  /* Dark system */
  --bg-0: #080c0b;
  --surface-1: #111715;
  --surface-2: #19211d;
  --surface-3: #222c27;
  --line: rgb(247 249 245 / 0.08);
  --line-strong: rgb(247 249 245 / 0.14);
  --text-1: #f7f9f5;
  --text-2: #9ba8a0;
  --text-3: #7a867f;

  /* Accent */
  --lime: #c7ff5e;
  --lime-hover: #b4f03f;
  --lime-soft: rgb(199 255 94 / 0.12);
  --lime-glow: rgb(199 255 94 / 0.18);
  --on-lime: #0b1204;
  --amber: #ffb547;

  /* Light system */
  --light-0: #f5f7f2;
  --light-1: #ffffff;
  --light-line: #e1e6de;
  --ink: #0b100e;
  --ink-2: #4e5a53;

  /* Type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-text: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Type scale — 12px floor for any readable text (illustration labels included) */
  --fs-micro: 0.75rem;                                      /* 12 */
  --fs-label: 0.8125rem;                                    /* 13 */
  --fs-small: 0.9375rem;                                    /* 15 */
  --fs-base: clamp(1.0313rem, 0.98rem + 0.22vw, 1.125rem);  /* 16.5–18 */
  --fs-lead: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);     /* 18–23 */
  --fs-h4: clamp(1.1875rem, 1.08rem + 0.45vw, 1.5rem);      /* 19–24 */
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);           /* 24–36 */
  --fs-h2: clamp(2.5rem, 1.35rem + 4.6vw, 6rem);            /* 40–96 */
  --fs-hero: clamp(2.75rem, 0.75rem + 7.4vw, 7.25rem);      /* 44–116 */
  --fs-mega: clamp(3rem, 1rem + 9vw, 10rem);

  /* Readable measures */
  --measure-lead: 34rem;
  --measure-text: 40rem;

  --tracking-display: -0.045em;
  --tracking-heading: -0.035em;
  --tracking-mono: 0.04em;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --section-y: clamp(5rem, 3.4rem + 7vw, 10rem);

  /* Layout */
  --page-max: 82.5rem;                                 /* 1320 content */
  --page-pad: clamp(1rem, 0.4rem + 2.8vw, 3rem);       /* 16px min side gutter */
  --gutter: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  --nav-h: 4rem;

  /* Radii — a system, not a default */
  --r-xs: 8px;
  --r-sm: 12px;   /* buttons, inputs */
  --r-md: 20px;   /* cards, panels */
  --r-lg: 28px;   /* console, large panels */
  --r-xl: 36px;   /* light sheets */
  --r-pill: 999px;/* chips, selector only */

  /* Elevation */
  --shadow-1: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 12px 32px -12px rgb(0 0 0 / 0.6);
  --shadow-2: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 30px 80px -20px rgb(0 0 0 / 0.75);
  --shadow-light: 0 1px 2px rgb(11 16 14 / 0.04), 0 18px 40px -18px rgb(11 16 14 / 0.18);

  /* Motion system (GSAP mirrors these in assets/js/motion.js)
     micro 150–250 · component 250–450 · section 500–800 · hero ≈1.4s total */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);       /* = GSAP "expo.out" — entrances, selection */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1); /* = GSAP "power2.out" — micro & state changes */
  --dur-micro: 200ms;
  --dur-comp: 380ms;
  --dur-section: 700ms;
  /* legacy aliases */
  --dur-fast: var(--dur-micro);
  --dur: var(--dur-comp);
  --dur-slow: var(--dur-section);

  --z-nav: 50;
  --z-sheet: 60;
  --z-toast: 90;
  --z-dialog: 100;
}
