/* Shop Tracker brand layer — the same design system the app uses (v1.4.0).
 *
 * One file, linked from every page, so the site and the app stop looking like two
 * different products. Served as a file rather than inlined per page: unlike the app
 * (one document, often offline), these are nine pages a browser caches once.
 *
 * Each page keeps its own :root, which now aliases its old variable names onto
 * these — so every existing `var(--card)` and `var(--muted)` in the page CSS keeps
 * working and nothing had to be hunted down and rewritten.
 */

/* ── Fonts (spec §2) ─────────────────────────────────────────────────────────── */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/manrope-400.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/manrope-500.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/manrope-600.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/manrope-700.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/manrope-800.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-700.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/montserrat-800.woff2) format('woff2')}

/* ── Tokens (spec §2) ────────────────────────────────────────────────────────── */
:root{
  --bg:#070b17;
  --surface:#0f1628;
  --surface-2:#0b1222;      /* inset rows, inputs */
  --surface-3:#16203a;      /* raised panel — what the old --card2 was for */
  --border:#1c2740;
  --border-2:#23324f;
  --text:#eef2f8;
  --text-2:#9aa8bf;
  --text-3:#8796ad;
  --accent:#22d3ee;
  --on-accent:#062030;
  --accent-soft:#123247;
  --money:#34d399;          --money-soft:#0b3324;
  --pending:#fbbf24;        --pending-soft:#3a2a0a;
  --warn:#fdba74;
  --danger:#fda4af;         --danger-soft:#5a1f24;
  --ai:#a78bfa;             --ai-2:#c4b5fd;  --ai-soft:#2a1f5c;
  --timer:#f472b6;
  --info:#60a5fa;           --info-soft:#10284a;
  --logo-blue:#5b9bd5;
  --logo-ink:#ffffff;
  --neutral-soft:#1c2740;
}

/* ── Base ────────────────────────────────────────────────────────────────────── */
html{-webkit-text-size-adjust:100%}
body{
  font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-variant-numeric:tabular-nums;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{letter-spacing:-.02em;font-weight:800}
strong,b{font-weight:800}

/* The wordmark is the only thing in Montserrat (spec §2). */
.st-wordmark{font-family:'Montserrat',sans-serif;font-weight:800;letter-spacing:.02em}

/* Focus that is actually visible — the old pages relied on the browser default,
   which several of them had removed. */
a:focus-visible,button:focus-visible,input:focus-visible,
select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:6px;
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
