/* ============================================================
   Pecas Marketing — shared topbar + footer styles
   ------------------------------------------------------------
   Light-context (sand background) variant of the marketing nav.
   Used by the /guides index and every /guides/<slug> page.

   The dark-context variant (transparent pill on the splash hero
   gradient) lives inline in build.sh under the #prerender-splash
   scope — it's a different visual surface, so it stays separate
   intentionally.

   Source of truth for the markup itself: the emit_marketing_topbar
   and emit_marketing_footer bash functions at the top of build.sh.
   ============================================================ */

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 0;
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg1);
}
.topbar .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--sienna-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar .wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-link {
  color: var(--fg2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.topbar-link:hover { color: var(--fg1); }
.topbar-link.active {
  color: var(--fg1);
  font-weight: 600;
}
.topbar-signin {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--fg1);
  font-size: 13px;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
}
.topbar-signin:hover {
  background: var(--olive-50);
  color: var(--fg1);
}

/* ── Footer ─────────────────────────────────────────────── */
footer.site {
  padding: 32px 24px 36px;
  background: var(--sand-100);
  border-top: 1px solid var(--border-muted);
  margin-top: 48px;
}
footer.site .inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
@media (min-width: 768px) {
  footer.site .inner { flex-direction: row; }
}
footer.site .copy { color: var(--fg3); }
footer.site nav {
  display: flex;
  gap: 18px;
}
footer.site nav a {
  color: var(--fg2);
  text-decoration: none;
}
footer.site nav a:hover { color: var(--fg1); }
