/* Generated by scripts/export-kit.mjs from MyFliip/myfliip@ff4107413321 — DO NOT EDIT BY HAND (edits are overwritten by the next sync PR). */
/* ============================================================
   FLiiP Design Tokens
   Palette, type and scale tokens for myfliip.com and the exported
   landing-pages kit. Colours follow the FLiiP Brand Guidelines
   (2026, v1.2) as transcribed in GTMEngineering
   strategy/positioning_2026.md §9 (Appendix A maps the old palette).

   Rules that travel with these tokens:
   - FLiiP Blue (--c-blue) is an ACCENT: 1–5 highlighted keywords in
     headlines of 24px+ (or on dark), the logomark, chart series, focus
     rings and decorative marks. Never a section, hero, card or table
     background, and never body text on white.
   - v1.2: filled buttons use --c-action (Blue 600, white label 4.6:1);
     links and small blue text use --c-link (Blue 700) on light and
     --c-link-on-dark (Blue 400) on dark.
   - Surfaces are Pure White (--c-white) or FLiiP Black (--c-black).
     Dark surfaces may use --grad-dark instead of a flat fill.
   - Blue 500 on white is 3.7:1: AA for large text and UI only.
   - The pre-2026 palette (old dark blue, sky blue, pale blue, blue-black
     ink, mid gray, deep blue) is retired. tests/brand.spec.js lists the
     hex values and fails the build if one reappears in dist/.
   ============================================================ */

:root {
  /* ---- Brand primaries ---- */
  --c-black:      #04070E;   /* FLiiP Black: default dark surface + body text (= Gray 950) */
  --c-white:      #FFFFFF;   /* Pure White: default light surface */
  --c-blue:       #0B83FA;   /* FLiiP Blue: accent only, never a background (= Blue 500) */

  /* ---- Gray scale: text, backgrounds, borders, surfaces ---- */
  --c-gray-50:    #F9FAFB;
  --c-gray-100:   #F3F5F6;
  --c-gray-200:   #E5E8EB;
  --c-gray-300:   #D0D4DA;
  --c-gray-400:   #9CA2AB;
  --c-gray-500:   #6C737D;
  --c-gray-600:   #4E555D;
  --c-gray-700:   #3B4149;
  --c-gray-800:   #242931;
  --c-gray-900:   #131820;
  --c-gray-950:   #04070E;

  /* ---- Blue scale: the single point of emphasis ---- */
  --c-blue-50:    #F0F7FF;
  --c-blue-100:   #DBEDFF;
  --c-blue-200:   #B3D9FF;
  --c-blue-300:   #7ABDFF;
  --c-blue-400:   #409EFC;
  --c-blue-500:   #0B83FA;
  --c-blue-600:   #0773DF;
  --c-blue-700:   #085EB5;
  --c-blue-800:   #084D91;
  --c-blue-900:   #073D73;
  --c-blue-950:   #06294C;

  /* ---- Semantic aliases ---- */
  --c-ink:            var(--c-gray-950);  /* dark sections, hero backgrounds */
  --c-ink-soft:       var(--c-gray-900);  /* raised panel on dark, gradient stop */
  --c-text:           var(--c-gray-950);
  --c-text-muted:     var(--c-gray-600);  /* secondary copy on white, 7.0:1 */
  --c-border:         var(--c-gray-200);
  --c-surface:        var(--c-white);
  --c-surface-soft:   var(--c-gray-50);
  --c-surface-dark:   var(--c-black);
  --c-accent:         var(--c-blue-500);
  --c-accent-hover:   var(--c-blue-600);
  --c-accent-text:    var(--c-blue-700);  /* small text on white, 6.4:1 */
  --c-accent-on-dark: var(--c-blue-400);  /* accents and small text on FLiiP Black, 7.2:1 */
  --c-accent-tint:    var(--c-blue-50);
  --c-action:         var(--c-blue-600);  /* filled buttons, white label 4.6:1 */
  --c-action-hover:   var(--c-blue-700);
  --c-link:           var(--c-blue-700);  /* links and small blue text on light, 6.4:1 */
  --c-link-hover:     var(--c-blue-800);
  --c-link-on-dark:   var(--c-blue-400);  /* links on FLiiP Black, 7.2:1 */

  /* ---- Legacy aliases (pre-2026 names, re-pointed to the scales) ---- */
  --c-blue-dark:  var(--c-blue-600);  /* hover states */
  --c-blue-deep:  var(--c-blue-800);
  --c-sky:        var(--c-blue-400);  /* on-dark accent. DECORATIVE ONLY on white: 2.8:1, fails AA */
  --c-sky-soft:   var(--c-blue-100);  /* light blue tint surfaces */

  /* ---- Background gradients ---- */
  /* Dark-surface gradient: brighter blue-hued stop where the eye lands
     first (top-left), FLiiP Black along the reading flow. The end stop IS
     the black token (the guide PDF text mis-printed this stop; the swatch, and
     the corrected rule, say FLiiP Black). Optional mono noise on top:
     #04070E at 25%. */
  --c-grad-dark-a: #06182C;
  --c-grad-dark-b: var(--c-black);
  --grad-dark:     linear-gradient(160deg, var(--c-grad-dark-a) 0%, var(--c-grad-dark-b) 100%);
  /* Logomark gradient, for reference only: the mark ships as SVG, and the
     brand forbids adding gradients to anything else. */
  --c-grad-mark-a: #0B83FA;
  --c-grad-mark-b: #0955A1;
  /* Mono noise for dark surfaces (guide: mono, 0.5/0.5, density 100%,
     FLiiP Black at 25%). fractalNoise → feColorMatrix paints every pixel
     #04070E and scales alpha to 0–25%, so it only ever darkens. */
  --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.016 0 0 0 0 0.027 0 0 0 0 0.055 0 0 0 0.25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* The dark section surface: noise over the gradient. Use for heroes and
     climax sections; header, footer and cards stay flat --c-ink. */
  --surface-dark: var(--noise-dark) 0 0 / 200px 200px repeat, var(--grad-dark);

  /* Semantic */
  --c-success:    #1BAA6C;
  --c-warning:    #E2A33B;
  --c-danger:     #D6463C;

  /* Typography */
  --font:         'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  /* Secondary type for short marketing headlines only: Instrument Sans at
     its lowest width (75) and a heavy weight (640–656), ALL CAPS. */
  --font-display: 'Instrument Sans', 'Instrument Sans Fallback', 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  --font-display-stretch: 75%;
  --font-display-weight:  650;
  --font-display-leading: 0.94;     /* hierarchy A: 88–96% */
  --font-display-tracking: -0.005em; /* hierarchy A: 0 to -1% */
  /* Code only (inline code in blog articles). Every UI label, date, chip and
     counter uses --font with tabular-nums: owner rule, Sept 2026. The old
     'JetBrains Mono' value was never loaded, so Macs rendered Menlo. */
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type Scale */
  --sz-eyebrow:   0.75rem;   /* 12px */
  --sz-xs:        0.8125rem; /* 13px */
  --sz-sm:        0.875rem;  /* 14px */
  --sz-base:      1rem;      /* 16px: UI text, list items, feature bodies */
  --sz-body:      1.125rem;  /* 18px: every paragraph (the one body size) */
  --sz-lead:      1.25rem;   /* 20px: the single lead under a title only */
  --sz-h4:        1.25rem;   /* 20px */
  --sz-h3:        1.75rem;   /* 28px */
  --sz-h2:        2.5rem;    /* 40px */
  --sz-h1:        4rem;      /* 64px */
  --sz-display:   5.5rem;    /* 88px */
  --sz-display-xl: 7rem;     /* 112px — hero only */

  /* Line Heights */
  --lh-tight:     1.05;
  --lh-snug:      1.2;
  --lh-normal:    1.5;
  --lh-body:      1.55;      /* paragraphs at --sz-body */
  --lh-relaxed:   1.6;

  /* Letter Spacing */
  --ls-tight:     -0.03em;
  --ls-snug:      -0.02em;
  --ls-normal:    -0.01em;
  --ls-wide:      0.06em;
  --ls-eyebrow:   0.12em;

  /* Spacing Scale */
  --sp-1:   0.25rem;   /*  4px */
  --sp-2:   0.5rem;    /*  8px */
  --sp-3:   0.75rem;   /* 12px */
  --sp-4:   1rem;      /* 16px */
  --sp-5:   1.25rem;   /* 20px */
  --sp-6:   1.5rem;    /* 24px */
  --sp-7:   1.75rem;   /* 28px */
  --sp-8:   2rem;      /* 32px */
  --sp-10:  2.5rem;    /* 40px */
  --sp-12:  3rem;      /* 48px */
  --sp-16:  4rem;      /* 64px */
  --sp-20:  5rem;      /* 80px */
  --sp-24:  6rem;      /* 96px */
  --sp-32:  8rem;      /* 128px */

  /* Border Radius */
  --r-sm:   0.375rem;  /* 6px */
  --r-md:   0.5rem;    /* 8px */
  --r-lg:   0.75rem;   /* 12px */
  --r-xl:   1rem;      /* 16px */
  --r-2xl:  1.5rem;    /* 24px */
  --r-3xl:  2rem;      /* 32px */
  --r-full: 9999px;

  /* Border Radius — long-form aliases */
  --radius-sm:  var(--r-sm);
  --radius-md:  var(--r-md);
  --radius-lg:  var(--r-lg);
  --radius-xl:  var(--r-xl);
  --radius-2xl: var(--r-2xl);
  --radius-3xl: var(--r-3xl);

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -1px rgb(0 0 0 / 0.05);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -2px rgb(0 0 0 / 0.04);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.08), 0 10px 10px -5px rgb(0 0 0 / 0.03);
  --shadow-blue: 0 8px 32px -4px rgb(11 131 250 / 0.35);
  --shadow-blue-lg: 0 20px 60px -10px rgb(11 131 250 / 0.4);

  /* Layout */
  --max-w:        75rem;   /* 1200px */
  --max-w-wide:   80rem;   /* 1280px */
  --max-w-narrow: 44rem;   /* 704px */

  /* Breakpoints (reference, not usable in CSS var) */
  /* --bp-sm: 640px | --bp-md: 768px | --bp-lg: 1024px | --bp-xl: 1280px */

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-reveal: 600ms;

  /* Z-index */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;
}
