/* Shared nav + footer chrome for all landing pages. Self-contained (literal
   colors) so it renders correctly regardless of any page's own variables. */

nav { border-bottom: 1px solid #e5e7eb; background: #ffffff; position: relative; }
nav .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: #111827; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; background: #111827; border-radius: 8px; display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #6b7280; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #111827; }
.nav-links a.btn-primary { color: #ffffff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; cursor: pointer; border: none; }
.btn-primary { background: #2563eb; color: #ffffff; }
.btn-primary:hover { background: #1d4ed8; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #111827; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

.site-footer { border-top: 1px solid #e5e7eb; background: #f9fafb; margin-top: 80px; }
.site-footer .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.footer-inner { display: grid; grid-template-columns: minmax(200px, 1.4fr) 3fr; gap: 56px; padding: 56px 0 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; color: #111827; text-decoration: none; }
.footer-logo .logo-mark { width: 28px; height: 28px; }
.footer-logo .logo-mark svg { width: 15px; height: 15px; }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; color: #6b7280; line-height: 1.6; max-width: 260px; }
/* The columns wrapper is a <nav>; reset the generic nav{} chrome so it doesn't
   paint a white bar / border behind the footer. */
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; background: none; border: none; position: static; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; margin-bottom: 4px; font-weight: 600; }
.footer-col a { font-size: 0.875rem; color: #6b7280; text-decoration: none; line-height: 1.3; }
.footer-col a:hover { color: #111827; }
.footer-bottom { padding: 24px 0 40px; border-top: 1px solid #e5e7eb; font-size: 0.8rem; color: #9ca3af; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 24px; gap: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); z-index: 100; }
    .mobile-toggle { display: block; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
