/* Shared chrome for every page on biasly.ai.
 *
 * The landing page and the /daily feed are rendered by different paths — one a
 * static-ish Jinja render, the other a template — and their tokens and nav CSS
 * had been copy-pasted between them. This is the single source; page-specific
 * styles stay in each page's own <style> block, which must be linked AFTER
 * this file so it can override.
 *
 * Served at /site.css (see backend/main.py). */

:root {
  --blue-900: #1e293b;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-50:  #eff6ff;
  --red-600:  #dc2626;
  --red-50:   #fef2f2;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  background: var(--blue-900);
  color: var(--white);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-brand { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--white);
  color: var(--blue-900);
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
}
@media (max-width: 560px) { .nav-links { display: none; } }

/* ── Footer ── */
footer {
  background: var(--slate-900);
  color: var(--slate-500);
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
}
footer a { color: var(--slate-500); text-decoration: underline; }
