/*
 * Qiwil brand tokens, single source for every page on qiwil.com.
 *
 * Pages must link this before their own <style> block and must not redefine
 * a token here. Six independent copies of this palette is why privacy.html
 * once rendered on pure black while the homepage rendered on #060608.
 *
 * --max-w is the one token a page may override: content width is a per-page
 * editorial decision (homepage 1200, diagnostic 1080, offers 880, legal 800).
 */

:root {
  --bg-primary: #fafafa;
  --bg-secondary: #f3f4f6;
  --bg-card: #fff;
  --bg-card-hover: #f9f9f9;
  --border: #e5e7eb;
  --border-hover: #d1d5db;
  --text-primary: #0f0f0f;
  --text-secondary: #4b5563;
  --text-tertiary: #9ca3af;
  --accent: #059669;
  --accent-light: #047857;
  --accent-glow: rgba(5, 150, 105, .08);
  --nav-bg: rgba(250, 250, 250, .9);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 150ms ease;
  --max-w: 1200px;
}

[data-theme="dark"] {
  --bg-primary: #060608;
  --bg-secondary: #0d0d10;
  --bg-card: #131317;
  --bg-card-hover: #1a1a1f;
  --border: #1c1c22;
  --border-hover: #2e2e38;
  --text-primary: #f0f0f2;
  --text-secondary: #8888a0;
  --text-tertiary: #44445a;
  --accent: #059669;
  --accent-light: #10b981;
  --accent-glow: rgba(5, 150, 105, .15);
  --nav-bg: rgba(6, 6, 8, .85);
}

/* ---------- logo ---------- */
.logo-mark { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px }
.logo-mark span { display: block; border-radius: 3px; background: var(--accent) }
.logo-mark span:nth-child(2) { opacity: .85 }
.logo-mark span:nth-child(3) { opacity: .75 }
.logo-mark span:nth-child(4) { opacity: .9 }
.logo-text {
  font-family: var(--font-mono); font-size: 1.0625rem; font-weight: 500;
  letter-spacing: .02em; color: var(--text-primary);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none }
