/* Shared header/footer chrome for article pages */
header.site, footer.site {
  --bg: #0b0e17;
  --bg-elev: #12172a;
  --bg-card: #151b30;
  --border: #232a44;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --text-faint: #64748b;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
header.site *, footer.site * { box-sizing: border-box; }
header.site a, footer.site a { text-decoration: none; color: inherit; }
header.site .wrap, footer.site .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
header.site .brand, footer.site .brand { display: flex; align-items: center; gap: 10px; }
header.site .brand img, footer.site .brand img { display: block; height: 28px; width: auto; }
header.site nav.main {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px 28px;
}
header.site nav.main br { display: none; }
header.site nav.main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .15s;
  white-space: nowrap;
}
header.site nav.main a:hover { color: #fff; }
header.site .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(139, 92, 246, .6);
  white-space: nowrap;
}
footer.site {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  padding: 56px 0 28px;
}
footer.site .fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site h3 { color: #fff; font-size: 13px; font-weight: 700; margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 9px; font-size: 13.5px; }
footer.site a:hover { color: #fff; }
footer.site .fbottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
}
@media (max-width: 860px) {
  header.site nav.main { display: none; }
  footer.site .fgrid { grid-template-columns: 1fr; }
}
