/* The nav's one call to action, "Open the cell builder" (27 Nov 2026).
   One file for every page, linked last in <head>, so it wins over each
   template's own inline styles and the button is styled in one place.

   Sam chose this one from six: a quiet dark label with the arrow in its own
   blue block. The arrow is drawn here (::after), so the label in the
   templates has no arrow character. */
nav a.btn-primary,
nav a.nav-cta,
nav a.btn.nav-open {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: #fff !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: none;
  transform: none;
  transition: border-color .18s ease, background .18s ease !important;
}
/* the label: the padding sits on the text side only, the arrow block is flush */
nav a.btn-primary,
nav a.nav-cta,
nav a.btn.nav-open { padding: 0 0 0 16px !important; align-items: center; }
nav a.btn-primary::after,
nav a.nav-cta::after,
nav a.btn.nav-open::after {
  content: "\2192";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 14px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background .18s ease;
}
nav a.btn-primary:hover,
nav a.nav-cta:hover,
nav a.btn.nav-open:hover {
  background: rgba(255, 255, 255, .10) !important;
  border-color: rgba(96, 165, 250, .65) !important;
  box-shadow: none;
  transform: none;
}
nav a.btn-primary:hover::after,
nav a.nav-cta:hover::after,
nav a.btn.nav-open:hover::after { background: #3b82f6; }
/* phones: the logo and this button share one narrow row */
@media (max-width: 640px) {
  nav a.btn-primary, nav a.nav-cta, nav a.btn.nav-open { font-size: 12.5px !important; padding: 0 0 0 10px !important; }
  nav a.btn-primary::after, nav a.nav-cta::after, nav a.btn.nav-open::after { width: 28px; height: 32px; margin-left: 8px; font-size: 14px; }
}
