/*
 * ciq-tokens.css: the ONE design-token file shared by coveredgeiq.com and the
 * CoverEdgeIQ Insights Ghost theme (BLOG-THEME-SCAFFOLD-01, Builder, 2026-11-10).
 *
 * Values are read from the live site source (Lovable project CoverEdge Helper,
 * src/components/CoverEdgeIQLanding.css, .coveredge-page block) so both surfaces
 * start identical. Direction per VB/Jason Oct 28: Newsreader headings, Public Sans
 * body, bright white page, no gold, no navy.
 *
 * Site import (follow-up card, not done in this job): place this file at
 * src/styles/ciq-tokens.css in the Lovable repo, add `@import "./styles/ciq-tokens.css";`
 * in the top import block of src/styles.css, then point the .coveredge-page
 * variables at these names (e.g. --ink: var(--ciq-ink)).
 * Theme import: default.hbs links it before screen.css via {{asset "css/ciq-tokens.css"}}.
 * Edit values HERE only; never fork a copy into either surface.
 */
:root {
  /* Color: neutrals */
  --ciq-paper: #ffffff;        /* page: bright white (site --page) */
  --ciq-panel: #f4f8f7;        /* rare tinted panel (site --panel) */
  --ciq-ink: #15191c;          /* body + headings (site --ink) */
  --ciq-ink-2: #3c444b;        /* secondary text (site --ink-2) */
  --ciq-ink-3: #5e666d;        /* meta text, AA on paper (site --ink-3) */
  --ciq-line: #e3e8ea;         /* rules and dividers only (site --line) */

  /* Color: accents */
  --ciq-teal: #1f766b;         /* links and tags (site --teal) */
  --ciq-teal-tint: #e3f1ee;    /* selection, quiet highlight (site panel tint) */
  /* Accent = live site --action #b85514 (DL:253 + accent ruling 2026-11-10, CoS/VB 7:13 PM CT).
     Set ONE value here; both surfaces follow. No gold, no navy. */
  --ciq-accent: #b85514;
  /* #b85514 only as button fill with white text (4.83:1), or as text >=24px (18.66px bold), e.g. the wordmark "IQ".
     Never small text on #f4f8f7 (4.51, no margin) or #e3f1ee (4.16 fails). */
  --ciq-accent-press: #9a4610;  /* hover/pressed fill; white on it 6.45:1 */
  --ciq-on-accent: #ffffff;

  /* Type. "CIQ ..." = the blog theme's self-hosted faces (partials/fonts.hbs); the site skips those
     names (and the "... Fallback" metric-matched faces) and uses its own Google-hosted Newsreader / Public Sans. Same faces either way. */
  --ciq-font-display: "CIQ Newsreader", "CIQ Newsreader Fallback", "Newsreader", Georgia, "Times New Roman", serif;
  --ciq-font-text: "CIQ Public Sans", "CIQ Public Sans Fallback", "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --ciq-font-doc: "JetBrains Mono", ui-monospace, "Courier New", monospace;
  --ciq-weight-display: 500;
  --ciq-tracking-display: -0.015em;

  /* Fluid type scale (Utopia-style clamp, 390px -> 1440px viewport) */
  --ciq-step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);  /* 14 -> 15 meta */
  --ciq-step-0:  clamp(1.0625rem, 1.02rem + 0.19vw, 1.1875rem); /* 17 -> 19 body */
  --ciq-step-1:  clamp(1.25rem, 1.17rem + 0.33vw, 1.5rem);      /* 20 -> 24 */
  --ciq-step-2:  clamp(1.5rem, 1.36rem + 0.57vw, 1.875rem);     /* 24 -> 30 h2 */
  --ciq-step-3:  clamp(1.875rem, 1.6rem + 1.14vw, 2.625rem);    /* 30 -> 42 */
  --ciq-step-4:  clamp(2.125rem, 1.7rem + 1.9vw, 3.5rem);       /* 34 -> 56 h1 */
  --ciq-leading-body: 1.6;
  --ciq-leading-display: 1.08;
  --ciq-measure: 68ch;

  /* Space (8px base) */
  --ciq-space-1: 0.5rem;
  --ciq-space-2: 1rem;
  --ciq-space-3: 1.5rem;
  --ciq-space-4: 2rem;
  --ciq-space-5: 3rem;
  --ciq-space-6: 4rem;
  --ciq-space-7: 6rem;
  --ciq-gutter: clamp(1.25rem, 0.6rem + 2.8vw, 4rem);           /* 20 -> 64 (site --gutter) */

  /* Wordmark (site a.mark: Newsreader 600, 36px desktop / 30px mobile, -0.02em, "IQ" in accent) */
  --ciq-mark-size: 36px;
  --ciq-mark-size-sm: 30px;
  --ciq-mark-weight: 600;
  --ciq-mark-tracking: -0.02em;

  /* Shape and motion */
  --ciq-radius-control: 8px;   /* buttons and inputs: no pills */
  --ciq-radius-tag: 6px;       /* site choice tags (was 999px pill) */
  --ciq-radius-panel: 18px;    /* site --radius, panels only */
  --ciq-ease-out: cubic-bezier(.23, 1, .32, 1);
  --ciq-focus: 3px solid var(--ciq-teal);
}
