/* ============================================================================
   CarbVer — Marketing Site Tokens
   landing/assets/css/tokens.css

   Marketing-scoped. Deliberately separate from dashboard/assets/css/tokens.css
   so the two stylesheets can diverge without silent cross-contamination.

   Hex values are identical to the dashboard and to the brief (§1.3).
   Names follow the brief. Surfaces are FIXED — the marketing site does not
   flip to dark mode; it uses explicit dark sections instead.

   Source of truth: CarbVer Website Revamp & SaaS Design Prerequisites Brief
                    v1.0, §1.3 (palette), §1.5 (logo), Typography table.
   ============================================================================ */

:root {

  /* --- Brand ------------------------------------------------------------- */
  --dawn-violet:  #4A35D6;   /* primary buttons, links on light, key headings, Scope 2 */
  --violet-light: #7B6CF0;   /* links, icons, Scope 2 on dark backgrounds             */
  --ember-coral:  #C8442B;   /* highlights, Scope 1, key numbers, gradient end        */
  --midpoint:     #893C80;   /* backgrounds only — NEVER behind body text             */
  --teal:         #14A39A;   /* Scope 3, data accents, positive trends                */
  --ink:          #26232B;   /* body text on light — never pure black                 */
  --night:        #12101A;   /* hero, dark sections, footer                           */
  --cream:        #FAF1E0;   /* alternating light sections                            */

  /* --- Brand gradients --------------------------------------------------- */
  --dawn: linear-gradient(135deg, #F4A08C 0%, #893C80 55%, #4A35D6 100%);

  /* --- Base page surface (see decisions.txt, Decision 001) ---------------- */
  /* Overrides brief §1.3. The default page background is the Dawn gradient. */
  --bg-page: var(--dawn);
  /* Card surface used wherever text, data, forms or charts sit on the
     gradient. White at 96% keeps the gradient visible at the edges without
     eroding contrast for body copy. */
  --card-bg:     rgba(255,255,255,0.96);
  --card-border: rgba(38,35,43,0.08);
  --card-shadow: 0 8px 28px -12px rgba(38,35,43,0.18);

  /* --- Scope colours (fixed everywhere; always paired with a label) ------ */
  --scope-1: #C8442B;        /* coral */
  --scope-2: #4A35D6;        /* violet */
  --scope-3: #14A39A;        /* teal  */

  /* --- Status ------------------------------------------------------------ */
  --status-success: #1F9D6B;
  --status-warning: #E0A100;
  --status-error:   #D1245A;
  --status-info:    #2D7FF9;

  /* --- Surfaces (fixed — no dark-mode flip on the marketing site) -------- */
  --surface-light: #FFFFFF;
  --surface-warm:  var(--cream);
  --surface-dark:  var(--night);
  --surface-dark-raised: #1B1826;
  --surface-dark-border: #342F44;

  /* --- Text -------------------------------------------------------------- */
  --text-on-light:        var(--ink);
  --text-muted-on-light:  #6B6678;
  --text-on-dark:         #F4F1FA;
  --text-muted-on-dark:   #A39EB5;

  /* --- Borders & focus --------------------------------------------------- */
  --border-on-light: #E4E0EC;
  --border-on-dark:  #342F44;
  --focus-ring-light: var(--dawn-violet);
  --focus-ring-dark:  var(--violet-light);

  /* --- Typography -------------------------------------------------------- */
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter",  system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: 56px;  --lh-display: 60px;   /* Outfit Bold — hero headline only */
  --fs-h1:      40px;  --lh-h1:      44px;   /* Outfit Bold — page titles        */
  --fs-h2:      28px;  --lh-h2:      34px;   /* Outfit SemiBold — section titles */
  --fs-h3:      20px;  --lh-h3:      28px;   /* Outfit SemiBold — card titles    */
  --fs-body:    16px;  --lh-body:    24px;   /* Inter Regular                    */
  --fs-ui:      14px;  --lh-ui:      20px;   /* Inter Medium — buttons, inputs   */
  --fs-caption: 13px;  --lh-caption: 18px;   /* Inter Medium — footnotes, units  */
  --fs-figure:  32px;  --lh-figure:  40px;   /* Outfit SemiBold, tabular — KPIs  */

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* --- Layout ------------------------------------------------------------ */
  --content-max:   1200px;
  --gutter:        24px;
  --side-margin:   24px;
  --col-gap:       24px;

  --space-1:  4px;
  --space-2:  8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --section-pad-desktop: 96px;
  --section-pad-tablet:  64px;
  --section-pad-mobile:  48px;

  --nav-h-desktop: 72px;
  --nav-h-mobile:  64px;

  /* --- Radii ------------------------------------------------------------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* --- Motion (respect prefers-reduced-motion in landing.css) ----------- */
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* --- Z-index scale ----------------------------------------------------- */
  --z-nav: 100;
  --z-modal: 200;
  --z-toast: 300;
}

/* ============================================================================
   NON-NEGOTIABLES — carried as comments so a future session cannot drift.

   From §1.3 "Never" column:
     - NEVER use Dawn Violet for small body text on dark (use Violet Light).
     - NEVER put white text on Ember Coral at small sizes (use for error? no —
       coral is NOT for errors; errors use --status-error).
     - NEVER put body text or data tables on the Dawn gradient or Midpoint.
     - NEVER use Teal for primary actions.
     - NEVER use pure black (#000) — use Ink.

   From §1.5 logo rules:
     - White wordmark on Night or the Dawn gradient.
     - Ink or gradient wordmark on white or Cream.
     - Never recolour, stretch, add effects, or redraw.
     - Never place the gradient logo on the gradient background.
     - Clear space = half the wordmark height.
     - Minimum widths: wordmark 80px, monogram 24px.

   From §1.3 tone of voice:
     - Plain, exact, credible. Short sentences. Active voice.
     - Numbers over adjectives. No exclamation marks. No "revolutionary".

   From §1.3 motion:
     - Subtle fades and short slides only.
     - Count-up on key numbers FIRST APPEARANCE ONLY.
     - Respect prefers-reduced-motion.

   Suggested surface balance on the marketing site (§1.3):
     Night + Cream ~70% · Violet ~18% · Coral ~8% · Teal ~4%

   The marketing hero is dark. The product defaults to a light workspace.
   ============================================================================ */