/* public_html/blog/assets/chrome.css — shared header/footer chrome for the
 * public blog (listing + post pages), styled to match the main marketing
 * site's nav and footer so the blog doesn't feel like a separate product. */

:root {
  --wm-purple: #6d28d9;
  --wm-purple-dark: #4c1d95;
  --wm-pink: #db2777;
}

/* ---------- Sticky site nav ---------- */
.wm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #eee7fb;
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.wm-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.25s ease;
}
.wm-nav.is-scrolled {
  box-shadow: 0 2px 16px rgba(76, 29, 149, 0.08);
}
.wm-nav.is-scrolled .wm-nav-inner {
  padding: 10px 24px;
}
.wm-nav.is-scrolled .wm-logo {
  font-size: 17px;
}
.wm-nav.is-scrolled .wm-nav-links a {
  opacity: 0.85;
}
.wm-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
  transition: font-size 0.25s ease;
}
.wm-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wm-purple);
  display: inline-block;
}
.wm-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.wm-nav-links a {
  color: #374151;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease, opacity 0.25s ease;
}
.wm-nav-links a:hover { color: var(--wm-purple); }
.wm-nav-links a.active { color: var(--wm-purple); font-weight: 700; }
.wm-nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wm-nav-cta a.signin { color: #374151; text-decoration: none; font-size: 15px; font-weight: 500; }
.wm-nav-cta a.cta {
  background: linear-gradient(135deg, var(--wm-purple), var(--wm-pink));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .wm-nav-links { display: none; }
}

/* ---------- Footer ---------- */
.wm-footer {
  background: #1b1230;
  color: #cbb9f0;
  margin-top: 64px;
}
.wm-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) {
  .wm-footer-inner { grid-template-columns: 1fr 1fr; }
}
.wm-footer-brand .wm-logo { color: #fff; }
.wm-footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #a898cf;
  max-width: 280px;
}
.wm-footer h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}
.wm-footer ul { list-style: none; margin: 0; padding: 0; }
.wm-footer li { margin-bottom: 10px; }
.wm-footer a {
  color: #cbb9f0;
  text-decoration: none;
  font-size: 14px;
}
.wm-footer a:hover { color: #fff; }
.wm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  color: #8874b8;
}
