/* ==========================================================================
   MOTRIX — Design Tokens
   --------------------------------------------------------------------------
   Every visual value for the whole site lives here. Retune the site from
   this one file. When this becomes a WordPress theme, this file is enqueued
   first, before base.css / components.css / pages.css.
   ========================================================================== */

:root {
  /* ---------------------------------------------------------------- COLOR */
  --c-bg: #1b1029;            /* page background — deep purple            */
  --c-bg-raised: #241634;     /* alternating section band                 */
  --c-bg-deep: #150c20;       /* darkest band (testimonials, benefits)    */
  --c-surface: #2e2140;       /* cards                                    */
  --c-surface-2: #382a4d;     /* hovered / nested card                    */

  --c-lime: #bbf351;          /* primary accent — CTAs, highlight words   */
  --c-lime-bright: #cdfb6f;   /* hover state                              */
  --c-lime-dim: rgba(187, 243, 81, 0.14);

  --c-text: #ffffff;          /* headlines                                */
  --c-text-soft: #bca9dd;     /* body copy, labels                        */
  --c-text-mute: #8f7fb0;     /* fine print, captions                     */
  --c-ink: #14091f;           /* text on lime buttons                     */

  --c-border: rgba(255, 255, 255, 0.10);
  --c-border-strong: rgba(255, 255, 255, 0.18);
  --c-danger: #ff8a8a;

  /* Decorative gradients used by placeholder art + glows */
  --g-floor: linear-gradient(135deg, #7b3ff2 0%, #2fd0c5 50%, #b8f351 100%);
  --g-glow: radial-gradient(60% 60% at 50% 0%, rgba(123, 63, 242, 0.35) 0%, transparent 70%);

  /* ----------------------------------------------------------- TYPOGRAPHY */
  --font-display: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Fluid display sizes — scale smoothly instead of jumping at breakpoints */
  --fs-display-xl: clamp(2.75rem, 10.5vw, 5.5rem);   /* hero headline      */
  --fs-display-lg: clamp(2.35rem, 8.5vw, 4rem);      /* section headline   */
  --fs-display-md: clamp(1.75rem, 6vw, 2.5rem);      /* card / sub headline*/
  --fs-display-sm: clamp(1.35rem, 4.5vw, 1.75rem);   /* small headline     */

  --fs-lead: clamp(1.0625rem, 2.6vw, 1.25rem);       /* intro paragraph    */
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-fine: 0.8125rem;
  --fs-label: 1.25rem;                                /* mono eyebrow      */

  --lh-display: 0.95;
  --lh-tight: 1.15;
  --lh-body: 1.55;

  --ls-label: 0.18em;
  --ls-display: -0.02em;

  /* --------------------------------------------------------------- SPACE */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;

  /* Vertical rhythm between page sections (fluid) */
  --sp-section: clamp(3.5rem, 9vw, 7rem);

  /* ------------------------------------------------------------- LAYOUT */
  --container: 1280px;
  --container-narrow: 960px;
  --gutter: 20px;

  /* ------------------------------------------------------------- RADIUS */
  --r-card: 24px;
  --r-media: 18px;
  --r-input: 14px;
  --r-chip: 12px;
  --r-pill: 999px;

  /* ------------------------------------------------------------ EFFECTS */
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.30);
  --shadow-lime: 0 10px 30px rgba(187, 243, 81, 0.22);
  --ring: 0 0 0 3px rgba(187, 243, 81, 0.45);

  --t-fast: 140ms ease;
  --t-base: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 520ms cubic-bezier(0.22, 1, 0.36, 1);

  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

/* Wider gutter once there is room for it. */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1120px) {
  :root { --gutter: 48px; }
}

/* ==========================================================================
   BREAKPOINT REFERENCE (CSS variables cannot be used inside media queries,
   so these values are written literally throughout the stylesheets):

     640px   large phone / small tablet
     768px   tablet
     1120px  desktop
     1440px  wide — container cap only
   ========================================================================== */
