/* ============================================================================
   LumicIQ — shared design tokens, base, and primitives.
   Link this once and you get the house style; add page-specific layout on top.

     <link rel="stylesheet" href="/assets/tokens.css">

   Conventions:
   - Design tokens are CSS custom properties on :root (use var(--gold) etc.).
   - Reusable primitive classes are prefixed `lq-` so they never collide with
     a page's own classes. Use them for the bits every page shares (wrapper,
     masthead, eyebrow, headings, pills, chips, panels, section headers, footer);
     write page-specific layout in the page's own <style>.
   - The wordmark is /assets/lumiciq-wordmark.svg — use:
       <img class="lq-logo" src="/assets/lumiciq-wordmark.svg" alt="LumicIQ">
   - Fonts (load in <head>): Playfair Display (display), Inter (UI), IBM Plex Mono.
   ========================================================================== */

:root{
  /* surfaces */
  --page:#0a0805; --bg:#15110C; --bg-soft:#1C1712; --panel:#1A1510;
  /* ink */
  --cream:#F0EAD6; --dim:rgba(240,234,214,.64); --faint:rgba(240,234,214,.42);
  /* accent */
  --gold:#C8A24A; --gold-soft:rgba(200,162,74,.55); --gold-tint:rgba(200,162,74,.09);
  --green:#8FA37A;
  /* hairlines */
  --line:rgba(240,234,214,.14); --line-soft:rgba(240,234,214,.07);
  /* type */
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  /* semantic priority/status — for product-style docs */
  --p-critical:#dc2626; --p-high:#ea580c; --p-medium:#ca8a04; --p-low:#737370;
  --success:#16a34a; --warning:#ea580c; --danger:#dc2626; --info:#2563eb;
}

/* ---- base ---- */
*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--page);font-family:var(--sans);color:var(--cream);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
/* warm radial vignette behind everything */
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(120% 55% at 50% -8%, rgba(200,162,74,.08), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(200,162,74,.04), transparent 60%);}
a{color:inherit;text-decoration:none;}

/* ---- layout wrapper ---- */
.lq-wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto;padding:44px clamp(20px,5vw,40px) 44px;}

/* ---- masthead / wordmark ---- */
.lq-masthead{display:flex;justify-content:space-between;align-items:center;}
.lq-logo{height:28px;width:auto;display:block;filter:drop-shadow(0 1px 22px rgba(200,162,74,.12));}

/* ---- eyebrow + headings ---- */
.lq-eyebrow{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.26em;
  text-transform:uppercase;color:var(--gold);}
.lq-h1{font-size:30px;line-height:1.08;margin:8px 0 0;font-weight:700;letter-spacing:-.015em;color:var(--cream);}
.lq-h1.serif{font-family:var(--serif);font-weight:600;font-size:40px;line-height:1.05;letter-spacing:-.01em;}
.lq-sub{font-size:13.5px;color:var(--dim);margin-top:10px;line-height:1.55;max-width:760px;}

/* ---- mono status pill (e.g. "Confidential · Draft", "Internal · @lumiciq.com only") ---- */
.lq-pill{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:9.5px;
  letter-spacing:.15em;text-transform:uppercase;color:var(--faint);}
.lq-pill.boxed{border:1px solid var(--line);border-radius:5px;padding:6px 11px;}
.lq-pill .dot{width:5px;height:5px;border-radius:50%;background:var(--gold);flex:none;}
.lq-pill.live .dot{background:var(--green);animation:lq-pulse 2.8s infinite;}
@keyframes lq-pulse{0%{box-shadow:0 0 0 0 rgba(143,163,122,.45);}70%{box-shadow:0 0 0 7px rgba(143,163,122,0);}100%{box-shadow:0 0 0 0 rgba(143,163,122,0);}}

/* ---- chip ---- */
.lq-chip{font-family:var(--mono);font-size:10px;letter-spacing:.04em;background:var(--bg-soft);
  border:1px solid var(--line);color:var(--dim);padding:5px 9px;border-radius:4px;white-space:nowrap;}
.lq-chip b{color:var(--gold);font-weight:500;}

/* ---- panel / card surface ---- */
.lq-panel{background:var(--panel);border:1px solid var(--line-soft);border-radius:9px;padding:14px 16px;}
.lq-panel.glow{background:linear-gradient(180deg,rgba(200,162,74,.06),rgba(200,162,74,.012));border-color:var(--gold-soft);}

/* ---- section header with an editorial mono number + rule ---- */
.lq-shead{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.lq-shead .n{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);}
.lq-shead .t{font-size:15px;font-weight:700;color:var(--cream);letter-spacing:-.01em;}
.lq-shead .rule{flex:1;height:1px;background:var(--line-soft);}

/* ---- footer with the LumicIQ wordmark text ---- */
.lq-footer{margin-top:30px;border-top:1px solid var(--line);padding-top:14px;display:flex;
  justify-content:space-between;gap:18px;align-items:flex-end;flex-wrap:wrap;}
.lq-footer .notes{font-size:9.5px;line-height:1.6;color:var(--faint);max-width:74%;}
.lq-footer .notes b{color:var(--dim);font-weight:600;}
.lq-footer .notes a{color:var(--gold-soft);}
.lq-mark{font-family:var(--serif);font-size:16px;color:var(--cream);line-height:1;}
.lq-mark span{color:var(--gold);}
.lq-meta{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin-top:5px;text-align:right;}

/* ---- print: keep the warm canvas, drop shadows ---- */
@media print{ html,body{background:var(--bg);} }
