/* Shared site chrome (header + footer) for malimoney.com static pages.
   Light theme — palette mirrors the design system's light-surface tokens
   (design/colors_and_type.css): #0F172A on-light text, #475569 muted,
   #4F46E5 indigo action, #07453E brand deep teal, #e2e8f0 hairlines. */

.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 0 16px;
  margin: 0 0 28px;
  border-bottom: 1px solid #e2e8f0;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #07453E;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: #07453E; }

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-right: auto;
}
.site-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover { color: #0F172A; text-decoration: none; }

.site-open {
  background: #4F46E5;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-open:hover { background: #4338CA; text-decoration: none; color: #fff; }

.site-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.7;
}
.site-footer p { margin: 0 0 8px; color: #64748B; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: #64748B; text-decoration: underline; }
.site-footer a:hover { color: #0F172A; }

/* Pages with a legacy .foot related-links block: avoid stacked hairlines */
.foot + .site-footer {
  border-top: 0;
  margin-top: 12px;
  padding-top: 0;
}

@media (max-width: 560px) {
  .site-header { gap: 12px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 0.88rem; }
}
