/* ============================================================================
   Numix MARKETING tokens — plain CSS, no build step
   ----------------------------------------------------------------------------
   For static pages, Cloudflare Workers that return HTML, email, deck HTML — and
   as the reference when styling numix.co in Framer.

   Values are read off the LIVE numix.co, so a new page matches the site rather
   than approximating it. Product/app UI does NOT use this file — it uses
   brand.css + the Untitled UI semantic layer.

   Typeface: Poppins 400/500/600/700.
     <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
   ========================================================================== */

:root {
  /* --- Primary: the logo gradient, flattened --- */
  --blue:        #5667FF;  /* PRIMARY. Fills, large text, the marquee band     */
  --blue-text:   #3354E0;  /* small text + links (AA: 6.03 vs 4.39)            */
  --blue-deep:   #0040C1;  /* deep gradient stop, hover                        */
  --blue-soft:   #8697F7;  /* gradient start, muted brand                      */
  --blue-100:    #D1E0FF;  /* chips, tinted cards                              */
  --blue-50:     #EFF4FF;  /* soft panel                                       */
  --wash:        #F9FCFF;  /* THE section wash — alternate with white          */
  --wash-2:      #F9FAFC;

  /* --- Logo gradient, unflattened. Hero art and one CTA per page. --- */
  --violet:      #8A5DFC;
  --grad-brand:  linear-gradient(117deg, #8A5DFC 0%, #2B53FE 100%);
  --grad-blue:   linear-gradient(127deg, #5667FF 0%, #2970FF 100%);
  --grad-deep:   linear-gradient(111deg, #0040C1 0%, #6475F6 100%);
  --grad-soft:   linear-gradient(115deg, #8697F7 50%, #C0D6FF 100%);

  /* --- Neutrals --- */
  --ink:         #151515;  /* headings + body. The dominant text colour        */
  --muted:       #6B6B6B;  /* secondary text (NOT #808080 — that fails AA)     */
  --navy:        #171B38;  /* dark sections                                    */
  --line:        #E2E8F0;
  --bg:          #FFFFFF;

  /* --- Pastel category chips. Decoration only — they carry no state. --- */
  --chip-green:  #DFF9E0;
  --chip-pink:   #FFDEF3;
  --chip-yellow: #FFFCE0;
  --chip-cyan:   #E8F9FF;

  /* --- Functional. Same on every surface. --- */
  --success:     #079455;
  --warning:     #DC6803;
  --error:       #D92D20;

  /* --- Form --- */
  --r-pill:      100px;    /* buttons, inputs, chips — the marketing signature */
  --r-card:      16px;
  --r-panel:     24px;
  --shadow:      0 1px 35px rgba(221,222,230,1);
  --shadow-dark: 0 20px 50px -20px rgba(23,27,56,.25);
  --maxw:        1200px;
  --gutter:      24px;
  --section-y:   96px;

  --font: Poppins, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { font-family: var(--font); color: var(--ink); background: var(--bg);
       -webkit-font-smoothing: antialiased; }

/* Type — light weights and wide tracking. Bold headings look off-brand. */
.numix-hero    { font-size: clamp(40px,6vw,64px); font-weight: 400; letter-spacing: -.03em; line-height: 1.125; }
.numix-h2      { font-size: clamp(28px,4vw,36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.numix-h3      { font-size: clamp(22px,3vw,28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.33; }
.numix-lead    { font-size: 18px; font-weight: 500; line-height: 1.55; }
.numix-body    { font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.numix-caption { font-size: 14px; font-weight: 400; color: var(--muted); }

/* One phrase per page, display sizes only. */
.numix-grad-text { background: var(--grad-brand); -webkit-background-clip: text;
                   background-clip: text; color: transparent; }

/* Buttons — pills. */
.numix-btn { display:inline-flex; align-items:center; gap:8px; font-family:var(--font);
  font-weight:500; font-size:15px; padding:12px 24px; border-radius:var(--r-pill);
  border:none; cursor:pointer; transition:.2s; white-space:nowrap; }
.numix-btn-primary { background:var(--blue); color:#fff; }
.numix-btn-primary:hover { background:var(--blue-deep); transform:translateY(-2px); }
.numix-btn-dark { background:var(--ink); color:#fff; }
.numix-btn-dark:hover { background:var(--navy); transform:translateY(-2px); }
.numix-btn-soft { background:var(--blue-50); color:var(--blue-text); }
.numix-btn-soft:hover { background:var(--blue-100); }
.numix-btn-ghost { background:transparent; color:var(--ink); border:1px solid var(--line); }

/* Surfaces. */
.numix-section   { padding: var(--section-y) 0; }
.numix-section-alt { background: var(--wash); }
.numix-wrap      { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.numix-card      { background:#fff; border:1px solid var(--line); border-radius:var(--r-card);
                   padding:24px; box-shadow:var(--shadow); }
.numix-band      { background:var(--blue); color:#fff; border-radius:var(--r-panel); padding:56px 40px; }
.numix-dark      { background:var(--navy); color:#fff; border-radius:var(--r-panel); }

/* Chip / tag — pill, pastel, no state meaning. */
.numix-chip { display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:500;
  padding:6px 14px; border-radius:var(--r-pill); background:var(--blue-100); color:var(--blue-text); }

/* Nav — logo at 26px, pill CTA. */
.numix-nav { display:flex; align-items:center; justify-content:space-between;
             height:68px; max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); }
.numix-nav img.logo { height:26px; display:block; }
