body {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

h1, h2, h3 {
  color: #111827;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-hero {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  padding: 24px;
  border-radius: 16px;
}

.site-hero h1 {
  color: white;
  margin-top: 0;
}

.site-hero p {
  margin: 8px 0 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.stat-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  background: #f9fafb;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  color: #111827;
}

.vote-list {
  list-style: none;
  padding-left: 0;
}

.vote-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.vote-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.vote-date {
  font-size: 0.9rem;
  color: #6b7280;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.35rem;
}

.badge-yes {
  background: #dcfce7;
  color: #166534;
}

.badge-no {
  background: #fee2e2;
  color: #991b1b;
}

.badge-abstain {
  background: #fef3c7;
  color: #92400e;
}

.badge-type {
  background: #e0e7ff;
  color: #3730a3;
}

.nav-box {
  border-left: 4px solid #2563eb;
  background: #eff6ff;
  padding: 1rem;
  border-radius: 10px;
}

.site-hero h2 {
  color: white;
  margin-top: 0;
}
