/* created_by: claude-code · date_created: 2026-10-13 · session: persuasion-factory-v0 · skill: none
   MIRROR of Projects/Shopify Migration/theme/assets/vetrinex-tokens.css (the approved store look),
   Dawn bridge block removed. Re-sync from that file; never fork values here. */
/*
 * Vetrinex Labs — Design Tokens (Shopify theme copy)
 * created_by: claude-code | date_created: 2026-09-10 | session: vishal-onboarding | skill: rpm-execute
 *
 * *** SOURCE OF TRUTH: _business/design-system/tokens.css ***
 * which itself mirrors the LIVE offer page (quiz.vetrinexlabs.com/offer/).
 * This file is a THEME-SIDE MIRROR of that token set so Dawn sections can read it.
 * When the source changes, re-sync this file — do not fork the values here.
 *
 * Rule: components consume these variables only — never hardcode hex values.
 * Fonts are self-hosted (@font-face lives inline in layout/theme.liquid via asset_url).
 *
 * Loaded AFTER Dawn's base.css so the Dawn bridge block at the bottom wins:
 * Dawn's native header/footer/buttons inherit Bitter/Figtree from --font-*-family.
 */

:root {
  /* ---- Brand ---- */
  --navy:        #001554;   /* headlines, authority */
  --navy-2:      #282B82;   /* secondary brand */
  --navy-deep:   #0A1F63;   /* inset panel inside a navy card */
  --navy-line:   #3A4C8A;   /* hairline on navy surfaces */
  --slate:       #7B87C2;   /* tertiary — dose bar, timeline ramp */
  --slate-lt:    #B9C2DC;   /* timeline start, dotted underline */
  --salmon:      #F07C6E;   /* timeline ramp step 3 */

  /* ---- The one red ----
     ONE red covers CTA fill, accents and alerts. Deliberately bright: it has to pop.
     3.28:1 on white — fine for a button, not for small text:
       - white text ONLY at CTA size (>=18.66px bold) — 3:1 large-text bar
       - navy text on a coral fill at any smaller size — 5.18:1
       - small red TEXT on a light background — use --coral-ink (6.79:1) */
  --coral:       #F9544C;
  --coral-dark:  #E2453C;   /* hover/press */
  --coral-ink:   #B0221C;   /* SAME red, deeper — small coral TEXT only, never a fill */

  /* Button fill is a SEPARATE knob from the brand red. Recognizability comes from the
     button STYLE (single line, arrow, raised edge), not the hue. */
  --btn:         #F9544C;
  --btn-hover:   #E2453C;
  --btn-edge:    #C0362B;   /* darker bottom edge — the raised/pressable look */

  --gold:        #FDB933;   /* clinical-threshold line, warm accent */
  --green:       #1AA06A;   /* success / check + star glyphs. Ratified by Vatsan 2026-09-16:
                              the landing-page green wins. The 2026-09-14 #293081 "brand indigo,
                              no green" override is reverted — it never reached tokens.css, the
                              guidelines, or the ad system, and split the offer page in two. */

  /* ---- Product sub-brands ---- */
  --joint-blue:      #0096D6;   /* Advanced Joint Support */
  --probiotic-teal:  #00AC92;
  --fishoil-salmon:  #F06181;

  /* ---- Surfaces: a WARM ladder, plus exactly one cool tint ----
     white -> cream -> sand. Use --bg-tint sparingly. */
  --bg-white:  #FFFFFF;
  --bg-cream:  #FFF8F0;   /* soft / reflective sections */
  --bg-sand:   #F7EFE4;   /* heavier warm surface */
  --bg-tint:   #F0F3FA;   /* 4% navy — the ONLY cool surface */
  --bg-dark:   #101820;   /* dark sections; never pure black */

  --line:       #EAE2D6;  /* warm hairline — section rules, card borders */
  --line-cool:  #DFE3EF;  /* hairline on --bg-tint / navy-adjacent surfaces */

  /* ---- Text ---- */
  --ink:        #23252F;
  --muted:      #6C6F7E;
  --muted-2:    #8D909E;
  --on-dark:    #FFFFFF;
  --on-dark-2:  #DDE2EC;  /* body copy on dark */
  --on-dark-3:  #9AA3B5;  /* muted on dark */

  /* ---- Type ---- */
  --font-head: 'Bitter', Georgia, 'Times New Roman', serif;   /* headlines, price numbers */
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', monospace;           /* stats, data */

  --tracking-head:  -0.02em;
  --tracking-label:  0.08em;
  --leading-body:    1.6;

  /* Six sizes, nothing else. MOBILE values here; the >=768px block below carries the
     desktop ladder. Fixed steps, not clamp() — type is stepped, spacing is fluid. */
  --fs-h1:    28px;
  --fs-h2:    24px;
  --fs-h3:    20px;
  --fs-body:  16px;
  --fs-small: 15px;
  --fs-label: 12px;
  --fs-price: 20px;   /* price number (Bitter) — its own step, sits with h3 */
  --fs-cta:   22px;   /* CTA main line */

  /* Bitter headlines are 600. NEVER 800 — the slab stems close up the counters and the
     headline reads as shouting. 800 is Figtree's, for emphasis and labels only. */
  --weight-body:     400;
  --weight-medium:   500;
  --weight-headline: 600;   /* Bitter, h1-h3 */
  --weight-semi:     600;
  --weight-xbold:    800;   /* Figtree emphasis + labels — never Bitter */

  /* ---- Layout ---- */
  --container: 1120px;
  --measure:   720px;   /* accordions / reading columns */
  --pad-y:     clamp(28px, 4.5vw, 52px);
  --pad-x:     clamp(18px, 3vw, 40px);

  /* ---- Radii: four steps, nothing else ---- */
  --r-xs:   4px;
  --r-sm:   10px;
  --r-lg:   18px;
  --r-pill: 999px;

  --shadow-cta:  0 10px 26px -12px rgba(249, 84, 76, .7);
  --shadow-card: 0 2px 12px rgba(0, 21, 84, .08);

  --tap-min: 44px;

  /* ---- Back-compat aliases (kept in sync with source of truth) ---- */
  --color-navy: var(--navy);
  --color-teal-dark: var(--navy-2);
  --color-slate-blue: var(--slate);
  --color-coral: var(--coral);
  --color-coral-dark: var(--coral-dark);
  --color-coral-ink: var(--coral-ink);
  --color-gold: var(--gold);
  --color-success: var(--green);
  --color-joint-blue: var(--joint-blue);
  --color-probiotic-teal: var(--probiotic-teal);
  --color-fishoil-salmon: var(--fishoil-salmon);
  --bg-gray-light: var(--bg-sand);
  --text-primary: var(--navy);
  --text-body: var(--ink);
  --text-on-dark: var(--on-dark);
  --font-headline: var(--font-head);
  --tracking-headline: var(--tracking-head);
  --text-h1: var(--fs-h1);
  --text-h2: var(--fs-h2);
  --text-h3: var(--fs-h3);
  --text-body-size: var(--fs-body);
  --text-small: var(--fs-small);
  --text-caption: var(--fs-label);
  --text-cta: var(--fs-cta);
  --weight-semibold: var(--weight-semi);
  --weight-extrabold: var(--weight-xbold);
  --radius-button: var(--r-sm);
  --radius-card: var(--r-lg);
  --shadow-cta-hover: var(--shadow-cta);
  --shadow-sticky: 0 -4px 20px rgba(0, 0, 0, .1);
  --gutter: var(--pad-x);
  --side-margin: var(--pad-x);
  --container-max: var(--container);
  --tap-target-min: var(--tap-min);
  --space-section: var(--pad-y);
  --space-between-sections: var(--pad-y);
  --space-subsection: 24px;
  --space-paragraph: 16px;
  --space-list-item: 12px;
}

/* Desktop ladder. 46/34/22/17 — 12px then 5px steps, so hierarchy holds top to bottom. */
@media (min-width: 768px) {
  :root {
    --fs-h1:    46px;
    --fs-h2:    34px;
    --fs-h3:    22px;
    --fs-body:  17px;
    --fs-label: 13px;
  }
}

