:root {
  --line: #dfe6f0;
  --text: #202b3a;
  --muted: #64748b;
  --primary: #2857c5;
  --primary-soft: #edf3ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: .075em;
  white-space: nowrap;
}
.site-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 1px solid #163f9f;
  font-weight: 850;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.site-nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: #d9e5ff;
}
.site-footer {
  margin-top: 30px;
  padding: 19px 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: .82rem;
}
.site-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.site-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 9px;
  color: var(--primary);
  font-weight: 700;
}
.site-footer-counts { color: var(--muted); }
.angular,
.button,
.badge,
.eyebrow,
.status-pill,
.tag,
.section-head .id,
.site-brand-mark,
button,
input,
textarea,
select,
.card,
.panel,
.menu-card,
.table-card,
.info-card,
.list-card,
.post,
.comment,
.page-link,
.stat-card,
.counter-band,
.counter-box,
.module,
.quarter {
  border-radius: 2px !important;
}

@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .site-nav { justify-content: flex-start; }
}
