/* assets/research-article.v1.css — stable, EXPLICITLY VERSIONED stylesheet for
   R2-published /research/<slug> static article pages (scripts/render-article-html.mjs).
   Never rename/replace this file's content without bumping the version suffix
   (v1 -> v2) and updating ARTICLE_CSS_PATH in render-article-html.mjs — old
   cached article HTML in R2 keeps pointing at "v1" until the next rebuild-all
   migrates it to whatever the new template references. This file is served as
   a stable, long-cached static asset (it does NOT go through Vite's hashed
   build pipeline), so its filename must never change silently. */

:root {
  --uvrn-gold: #C9A84C;
  --uvrn-gold-dark: #9a7a2e;
  --uvrn-slate: #1e293b;
  --uvrn-green: #7A9E7E;
  --uvrn-text: #111827;
  --uvrn-muted: #6b7280;
  --uvrn-border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--uvrn-text);
  background: #ffffff;
  line-height: 1.6;
}

code, .tag, .badge, .tier-badge {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a { color: var(--uvrn-gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--uvrn-border);
  padding: 16px 0;
}
.site-header__inner, .site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { font-weight: 600; color: var(--uvrn-text); font-size: 15px; }
.brand--light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.site-nav a { color: var(--uvrn-text); }
.badge {
  border: 1px solid rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.1);
  color: var(--uvrn-gold-dark);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
}

.article { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
.entry-type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--uvrn-gold-dark);
  margin: 0 0 8px;
}
h1 { font-size: 32px; line-height: 1.25; margin: 0 0 12px; }
.entry-meta { color: var(--uvrn-muted); font-size: 14px; margin: 0 0 24px; }
.summary { font-size: 17px; color: #374151; margin-bottom: 32px; }

section { margin-bottom: 32px; }
section h2 { font-size: 18px; margin: 0 0 12px; }

.findings ul { padding-left: 20px; margin: 0; }
.findings li { margin-bottom: 8px; }

.outcome { font-weight: 600; }
.outcome[data-outcome="consensus"] { color: #059669; }
.outcome[data-outcome="indeterminate"] { color: #d97706; }

.sources { list-style: none; padding: 0; margin: 12px 0 0; }
.source-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--uvrn-border);
  font-size: 14px;
}
.tier-badge {
  font-size: 11px;
  border: 1px solid var(--uvrn-border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--uvrn-muted);
}
.source-score { margin-left: auto; color: var(--uvrn-muted); font-size: 13px; }

.receipt {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--uvrn-border);
  font-size: 13px;
  color: var(--uvrn-muted);
}
.tags { margin-top: 8px; }
.tag {
  display: inline-block;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 2px 10px;
  margin: 2px 4px 2px 0;
  font-size: 11px;
  color: #4b5563;
}

.site-footer {
  background: var(--uvrn-slate);
  padding: 40px 0;
  margin-top: 48px;
}
.site-footer__nav { display: flex; gap: 16px; font-size: 12px; }
.site-footer__nav a { color: var(--uvrn-green); }
.site-footer__nav a:hover { color: #fff; }
.copyright { color: var(--uvrn-green); font-size: 10px; margin: 0; }
