:root {
  --bg: #0e1116;
  --panel: #161b22;
  --border: #262c36;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --high: #3fb950;
  --low: #d29922;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header.site {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

header.site a.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

header.site span.tag {
  color: var(--muted);
  font-size: 0.85rem;
}

.item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.item:hover .headline { color: var(--accent); }

.item .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.badge.filing { background: #1f6feb33; color: #79c0ff; }
.badge.article { background: #2ea04333; color: var(--high); }
.badge.ticker { background: #30363d; color: var(--text); }

.headline {
  font-size: 1rem;
  font-weight: 500;
}

article.release {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

article.release h1 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

article.release .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

article.release section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

article.release section h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 8px;
}

article.release p { margin: 0 0 12px; }

a.back, a.source-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.empty {
  color: var(--muted);
  padding: 24px 0;
}
