/* Shared marketing chrome — owns the header (nav) and footer styling
   for every marketing page. Pages keep their own page-specific styles;
   anything chrome-related belongs here so the header/footer look
   identical across the site. */

/* ---- Header / nav ---- */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15, 26, 77, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 48, 182, 0.5);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, #2DD4BF, #0D9488); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; color: #0F1A4D; }
.logo-text { font-size: 20px; font-weight: 700; color: #fff; }

.nav-links {
  display: flex; align-items: center; gap: 24px; flex-wrap: nowrap;
}
.nav-links a {
  color: #94a3b8; transition: color 0.2s; font-size: 15px;
  text-decoration: none; white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown > button {
  background: none; border: 0; cursor: pointer; color: #94a3b8;
  font: inherit; font-size: 15px; padding: 0;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.nav-dropdown > button:hover { color: #fff; }
.nav-dropdown > button::after { content: '\25BE'; font-size: 10px; opacity: 0.7; margin-left: 2px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 0;
  background: #0F1A4D; border: 1px solid #1730B6; border-radius: 8px;
  padding: 8px 0; min-width: 200px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  display: none; z-index: 100;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown.align-right .nav-dropdown-menu { left: auto; right: 0; }
.nav-dropdown-menu a {
  display: block; padding: 8px 18px; color: #cbd5e1; font-size: 14px;
  text-decoration: none;
}
.nav-dropdown-menu a:hover { background: rgba(45, 212, 191, 0.08); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.btn-primary {
  background: #14B8A6; color: #0F1A4D;
  padding: 10px 20px; border-radius: 8px;
  font-weight: 600; transition: background 0.2s;
  display: inline-block; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: #2DD4BF; text-decoration: none; }

@media (max-width: 900px) { .nav-links { display: none; } }

/* ---- Footer ---- */

footer {
  padding: 48px 24px;
  border-top: 1px solid #1730B6;
  color: #64748b;
  text-align: center;
  font-size: 14px;
}
footer .container { max-width: 1200px; margin: 0 auto; }
footer a { color: #94a3b8; text-decoration: none; }
footer a:hover { color: #fff; }

/* Footer link grid — grouped by section, mirrors the Resources dropdown
   so visitors don't need to find the dropdown to discover everything. */
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(4, 1fr);
  text-align: left;
  margin-bottom: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #cbd5e1; margin-bottom: 4px;
}
.footer-col a { font-size: 14px; }
.footer-bottom { color: #64748b; font-size: 13px; }
.footer-bottom a { color: #94a3b8; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
