/* Shared header and footer for every marketing page (index, trial, privacy,
   terms, card, trail). One file, one markup snippet, so they can never drift.
   Selectors are element-qualified on purpose: landing.css still styles a bare
   nav element on the older pages, and these need to win. */

header.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: #FFFFFF; border-bottom: 1px solid #F0F0F0;
}
nav.site-nav {
  width: 100%; max-width: 1080px; margin-inline: auto;
  padding: 16px clamp(16px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: static; background: transparent; border: 0; box-shadow: none;
}
nav.site-nav .site-logo { display: inline-flex; line-height: 0; }
nav.site-nav .site-logo img { height: 30px; width: auto; display: block; }
nav.site-nav a.site-login {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: 0;
  color: #333333; background: #FFFFFF; text-decoration: none;
  border: 1.5px solid #E5E5E5; border-radius: 100px; padding: 10px 16px;
  display: inline-flex; align-items: center; transition: color .15s, border-color .15s;
}
nav.site-nav a.site-login:hover { color: #4B6BF5; border-color: #4B6BF5; }
nav.site-nav a:focus-visible { outline: 3px solid #4B6BF5; outline-offset: 3px; border-radius: 100px; }

footer.site-footer {
  width: 100%; max-width: 1080px; margin-inline: auto;
  padding: 40px clamp(16px, 5vw, 48px) 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px; line-height: 1.5; color: #6E6E6E; background: transparent;
}
footer.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; padding: 0; position: static; background: transparent; border: 0; margin-left: auto; }
footer.site-footer a { color: #6E6E6E; text-decoration: none; }
footer.site-footer a:hover { color: #1A1A1A; }

/* The Jump signature. Same mark as lilyslattes.com and byromroseconstruction.com:
   "BUILT BY" in tracked caps, then the wordmark as paths (no font dependency),
   62px wide, 80% opacity lifting to full on hover. Takes currentColor so it sits
   in Snailmail's footer grey. */
footer.site-footer .built-by {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none; opacity: .8;
  transition: opacity .18s, transform .18s;
}
footer.site-footer .built-by span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
footer.site-footer .built-by .jump-mark { width: 62px; height: auto; display: block; }
footer.site-footer .built-by:hover, footer.site-footer .built-by:focus-visible { opacity: 1; transform: translateY(-1px); color: #1A1A1A; }
@media (max-width: 719px) {
  footer.site-footer nav { margin-left: 0; }
  footer.site-footer .built-by { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { footer.site-footer .built-by:hover { transform: none; } }
